ReplicationDetails

class oci.dbmulticloud.models.ReplicationDetails(**kwargs)

Bases: object

Replication metadata details, targeted regions and respective replication state, time created or time when it was updated.

Attributes:

REPLICATION_STATE_ACTIVE

A constant which can be used with the replication_state property of a ReplicationDetails.

REPLICATION_STATE_CREATING

A constant which can be used with the replication_state property of a ReplicationDetails.

REPLICATION_STATE_DELETED

A constant which can be used with the replication_state property of a ReplicationDetails.

REPLICATION_STATE_DELETING

A constant which can be used with the replication_state property of a ReplicationDetails.

REPLICATION_STATE_FAILED

A constant which can be used with the replication_state property of a ReplicationDetails.

REPLICATION_STATE_UPDATING

A constant which can be used with the replication_state property of a ReplicationDetails.

replication_state

Gets the replication_state of this ReplicationDetails.

target_region

Gets the target_region of this ReplicationDetails.

time_created

Gets the time_created of this ReplicationDetails.

time_updated

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

property time_created

Gets the time_created of this ReplicationDetails. Time when the Replication was created in RFC 3339 timestamp format, e.g. ‘2020-05-23T21:10:29.600Z’

Returns

The time_created of this ReplicationDetails.

Return type

datetime

property time_updated

Gets the time_updated of this ReplicationDetails. Time when the Replication was last modified, expressed in RFC 3339 timestamp format, e.g. ‘2020-05-23T21:10:29.600Z’

Returns

The time_updated of this ReplicationDetails.

Return type

datetime