CreateBackupDetails¶
- class oci.psql.models.CreateBackupDetails(**kwargs)¶
Bases:
objectThe information to create a new backup.
Methods:
__init__(**kwargs)Initializes a new CreateBackupDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this CreateBackupDetails.
[Required] Gets the db_system_id of this CreateBackupDetails.
Gets the defined_tags of this CreateBackupDetails.
Gets the description of this CreateBackupDetails.
[Required] Gets the display_name of this CreateBackupDetails.
Gets the freeform_tags of this CreateBackupDetails.
Gets the retention_period of this CreateBackupDetails.
- __init__(**kwargs)¶
Initializes a new CreateBackupDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this CreateBackupDetails.
description (str) – The value to assign to the description property of this CreateBackupDetails.
compartment_id (str) – The value to assign to the compartment_id property of this CreateBackupDetails.
db_system_id (str) – The value to assign to the db_system_id property of this CreateBackupDetails.
retention_period (int) – The value to assign to the retention_period property of this CreateBackupDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateBackupDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateBackupDetails.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateBackupDetails. The OCID of the compartment that contains the backup.
- Returns
The compartment_id of this CreateBackupDetails.
- Return type
str
- property db_system_id¶
[Required] Gets the db_system_id of this CreateBackupDetails. The ID of the database system.
- Returns
The db_system_id of this CreateBackupDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateBackupDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this CreateBackupDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this CreateBackupDetails. A description for the backup.
- Returns
The description of this CreateBackupDetails.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this CreateBackupDetails. A user-friendly display name for the backup. Avoid entering confidential information.
- Returns
The display_name of this CreateBackupDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateBackupDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this CreateBackupDetails.
- Return type
dict(str, str)
- property retention_period¶
Gets the retention_period of this CreateBackupDetails. Backup retention period in days.
- Returns
The retention_period of this CreateBackupDetails.
- Return type
int