BackupCopyStatusDetails¶
-
class
oci.psql.models.BackupCopyStatusDetails(**kwargs)¶ Bases:
objectBackup Copy Status details
Attributes
STATE_COPIEDA constant which can be used with the state property of a BackupCopyStatusDetails. STATE_COPYINGA constant which can be used with the state property of a BackupCopyStatusDetails. STATE_FAILEDA constant which can be used with the state property of a BackupCopyStatusDetails. STATE_NOT_STARTEDA constant which can be used with the state property of a BackupCopyStatusDetails. backup_idGets the backup_id of this BackupCopyStatusDetails. region[Required] Gets the region of this BackupCopyStatusDetails. stateGets the state of this BackupCopyStatusDetails. state_detailsGets the state_details of this BackupCopyStatusDetails. Methods
__init__(**kwargs)Initializes a new BackupCopyStatusDetails object with values from keyword arguments. -
STATE_COPIED= 'COPIED'¶ A constant which can be used with the state property of a BackupCopyStatusDetails. This constant has a value of “COPIED”
-
STATE_COPYING= 'COPYING'¶ A constant which can be used with the state property of a BackupCopyStatusDetails. This constant has a value of “COPYING”
-
STATE_FAILED= 'FAILED'¶ A constant which can be used with the state property of a BackupCopyStatusDetails. This constant has a value of “FAILED”
-
STATE_NOT_STARTED= 'NOT_STARTED'¶ A constant which can be used with the state property of a BackupCopyStatusDetails. This constant has a value of “NOT_STARTED”
-
__init__(**kwargs)¶ Initializes a new BackupCopyStatusDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - state (str) – The value to assign to the state property of this BackupCopyStatusDetails. Allowed values for this property are: “NOT_STARTED”, “COPYING”, “COPIED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- state_details (str) – The value to assign to the state_details property of this BackupCopyStatusDetails.
- backup_id (str) – The value to assign to the backup_id property of this BackupCopyStatusDetails.
- region (str) – The value to assign to the region property of this BackupCopyStatusDetails.
-
backup_id¶ Gets the backup_id of this BackupCopyStatusDetails. The OCID of the backup in the source region
Returns: The backup_id of this BackupCopyStatusDetails. Return type: str
-
region¶ [Required] Gets the region of this BackupCopyStatusDetails. Region name of the remote region
Returns: The region of this BackupCopyStatusDetails. Return type: str
-
state¶ Gets the state of this BackupCopyStatusDetails. Copy States
Allowed values for this property are: “NOT_STARTED”, “COPYING”, “COPIED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The state of this BackupCopyStatusDetails. Return type: str
-
state_details¶ Gets the state_details of this BackupCopyStatusDetails. A message describing the current state of copy in more detail
Returns: The state_details of this BackupCopyStatusDetails. Return type: str
-