BackupCopyStatusDetails¶
- class oci.psql.models.BackupCopyStatusDetails(**kwargs)¶
Bases:
objectBackup Copy Status details
Attributes:
A constant which can be used with the state property of a BackupCopyStatusDetails.
A constant which can be used with the state property of a BackupCopyStatusDetails.
A constant which can be used with the state property of a BackupCopyStatusDetails.
A constant which can be used with the state property of a BackupCopyStatusDetails.
Gets the backup_id of this BackupCopyStatusDetails.
[Required] Gets the region of this BackupCopyStatusDetails.
Gets the state of this BackupCopyStatusDetails.
Gets 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.
- property 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
- property region¶
[Required] Gets the region of this BackupCopyStatusDetails. Region name of the remote region
- Returns
The region of this BackupCopyStatusDetails.
- Return type
str
- property 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
- property 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