NodeBackupConfiguration¶
-
class
oci.bds.models.
NodeBackupConfiguration
(**kwargs)¶ Bases:
object
The information about the NodeBackupConfiguration.
Attributes
LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a NodeBackupConfiguration. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a NodeBackupConfiguration. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a NodeBackupConfiguration. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a NodeBackupConfiguration. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a NodeBackupConfiguration. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a NodeBackupConfiguration. backup_type
Gets the backup_type of this NodeBackupConfiguration. bds_instance_id
[Required] Gets the bds_instance_id of this NodeBackupConfiguration. display_name
[Required] Gets the display_name of this NodeBackupConfiguration. id
[Required] Gets the id of this NodeBackupConfiguration. level_type_details
[Required] Gets the level_type_details of this NodeBackupConfiguration. lifecycle_state
[Required] Gets the lifecycle_state of this NodeBackupConfiguration. number_of_backups_to_retain
[Required] Gets the number_of_backups_to_retain of this NodeBackupConfiguration. schedule
[Required] Gets the schedule of this NodeBackupConfiguration. time_created
[Required] Gets the time_created of this NodeBackupConfiguration. time_updated
[Required] Gets the time_updated of this NodeBackupConfiguration. timezone
[Required] Gets the timezone of this NodeBackupConfiguration. Methods
__init__
(**kwargs)Initializes a new NodeBackupConfiguration object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a NodeBackupConfiguration. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a NodeBackupConfiguration. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a NodeBackupConfiguration. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a NodeBackupConfiguration. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a NodeBackupConfiguration. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a NodeBackupConfiguration. This constant has a value of “UPDATING”
-
__init__
(**kwargs)¶ Initializes a new NodeBackupConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this NodeBackupConfiguration.
- bds_instance_id (str) – The value to assign to the bds_instance_id property of this NodeBackupConfiguration.
- display_name (str) – The value to assign to the display_name property of this NodeBackupConfiguration.
- level_type_details (oci.bds.models.LevelTypeDetails) – The value to assign to the level_type_details property of this NodeBackupConfiguration.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this NodeBackupConfiguration. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this NodeBackupConfiguration.
- time_updated (datetime) – The value to assign to the time_updated property of this NodeBackupConfiguration.
- timezone (str) – The value to assign to the timezone property of this NodeBackupConfiguration.
- schedule (str) – The value to assign to the schedule property of this NodeBackupConfiguration.
- number_of_backups_to_retain (int) – The value to assign to the number_of_backups_to_retain property of this NodeBackupConfiguration.
- backup_type (str) – The value to assign to the backup_type property of this NodeBackupConfiguration.
-
backup_type
¶ Gets the backup_type of this NodeBackupConfiguration. Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created.
Returns: The backup_type of this NodeBackupConfiguration. Return type: str
-
bds_instance_id
¶ [Required] Gets the bds_instance_id of this NodeBackupConfiguration. The OCID of the bdsInstance which is the parent resource id.
Returns: The bds_instance_id of this NodeBackupConfiguration. Return type: str
-
display_name
¶ [Required] Gets the display_name of this NodeBackupConfiguration. A user-friendly name. Only ASCII alphanumeric characters with no spaces allowed. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
Returns: The display_name of this NodeBackupConfiguration. Return type: str
-
id
¶ [Required] Gets the id of this NodeBackupConfiguration. The unique identifier for the NodeBackupConfiguration.
Returns: The id of this NodeBackupConfiguration. Return type: str
-
level_type_details
¶ [Required] Gets the level_type_details of this NodeBackupConfiguration.
Returns: The level_type_details of this NodeBackupConfiguration. Return type: oci.bds.models.LevelTypeDetails
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this NodeBackupConfiguration. The state of the NodeBackupConfiguration.
Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this NodeBackupConfiguration. Return type: str
-
number_of_backups_to_retain
¶ [Required] Gets the number_of_backups_to_retain of this NodeBackupConfiguration. Number of backup copies to retain.
Returns: The number_of_backups_to_retain of this NodeBackupConfiguration. Return type: int
-
schedule
¶ [Required] Gets the schedule of this NodeBackupConfiguration. Day/time recurrence (specified following RFC 5545) at which to trigger the backup process. Currently only DAILY, WEEKLY and MONTHLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR. Other fields are not supported.
Returns: The schedule of this NodeBackupConfiguration. Return type: str
-
time_created
¶ [Required] Gets the time_created of this NodeBackupConfiguration. The time the NodeBackupConfiguration was created, shown as an RFC 3339 formatted datetime string.
Returns: The time_created of this NodeBackupConfiguration. Return type: datetime
-
time_updated
¶ [Required] Gets the time_updated of this NodeBackupConfiguration. The time the NodeBackupConfiguration was updated, shown as an RFC 3339 formatted datetime string.
Returns: The time_updated of this NodeBackupConfiguration. Return type: datetime
-
timezone
¶ [Required] Gets the timezone of this NodeBackupConfiguration. The time zone of the execution schedule, in IANA time zone database name format
Returns: The timezone of this NodeBackupConfiguration. Return type: str
-