ReplicationDetails¶
- class oci.dbmulticloud.models.ReplicationDetails(**kwargs)¶
Bases:
objectReplication metadata details, targeted regions and respective replication state, time created or time when it was updated.
Attributes:
A constant which can be used with the replication_state property of a ReplicationDetails.
A constant which can be used with the replication_state property of a ReplicationDetails.
A constant which can be used with the replication_state property of a ReplicationDetails.
A constant which can be used with the replication_state property of a ReplicationDetails.
A constant which can be used with the replication_state property of a ReplicationDetails.
A constant which can be used with the replication_state property of a ReplicationDetails.
Gets the replication_state of this ReplicationDetails.
Gets the target_region of this ReplicationDetails.
Gets the time_created of this ReplicationDetails.
Gets the time_updated of this ReplicationDetails.
Methods:
__init__(**kwargs)Initializes a new ReplicationDetails object with values from keyword arguments.
- REPLICATION_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the replication_state property of a ReplicationDetails. This constant has a value of “ACTIVE”
- REPLICATION_STATE_CREATING = 'CREATING'¶
A constant which can be used with the replication_state property of a ReplicationDetails. This constant has a value of “CREATING”
- REPLICATION_STATE_DELETED = 'DELETED'¶
A constant which can be used with the replication_state property of a ReplicationDetails. This constant has a value of “DELETED”
- REPLICATION_STATE_DELETING = 'DELETING'¶
A constant which can be used with the replication_state property of a ReplicationDetails. This constant has a value of “DELETING”
- REPLICATION_STATE_FAILED = 'FAILED'¶
A constant which can be used with the replication_state property of a ReplicationDetails. This constant has a value of “FAILED”
- REPLICATION_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the replication_state property of a ReplicationDetails. This constant has a value of “UPDATING”
- __init__(**kwargs)¶
Initializes a new ReplicationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
replication_state (str) – The value to assign to the replication_state property of this ReplicationDetails. 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’.
target_region (str) – The value to assign to the target_region property of this ReplicationDetails.
time_created (datetime) – The value to assign to the time_created property of this ReplicationDetails.
time_updated (datetime) – The value to assign to the time_updated property of this ReplicationDetails.
- property replication_state¶
Gets the replication_state of this ReplicationDetails. The lifecycle state of the Oracle DB Azure Vault resource.
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 replication_state of this ReplicationDetails.
- Return type
str
- property target_region¶
Gets the target_region of this ReplicationDetails. The target region, where resource is replicated.
- Returns
The target_region of this ReplicationDetails.
- Return type
str