DeploymentPeerSummary¶
- class oci.golden_gate.models.DeploymentPeerSummary(**kwargs)¶
Bases:
objectThe summary of the deployment Peer.
Attributes:
A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary.
A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary.
A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary.
A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary.
A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary.
A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary.
A constant which can be used with the peer_role property of a DeploymentPeerSummary.
A constant which can be used with the peer_role property of a DeploymentPeerSummary.
A constant which can be used with the peer_type property of a DeploymentPeerSummary.
A constant which can be used with the peer_type property of a DeploymentPeerSummary.
A constant which can be used with the precheck_status property of a DeploymentPeerSummary.
A constant which can be used with the precheck_status property of a DeploymentPeerSummary.
A constant which can be used with the precheck_status property of a DeploymentPeerSummary.
A constant which can be used with the precheck_status property of a DeploymentPeerSummary.
[Required] Gets the availability_domain of this DeploymentPeerSummary.
Gets the cluster_placement_group_id of this DeploymentPeerSummary.
[Required] Gets the deployment_id of this DeploymentPeerSummary.
[Required] Gets the display_name of this DeploymentPeerSummary.
[Required] Gets the fault_domain of this DeploymentPeerSummary.
[Required] Gets the lifecycle_state of this DeploymentPeerSummary.
[Required] Gets the peer_role of this DeploymentPeerSummary.
[Required] Gets the peer_type of this DeploymentPeerSummary.
Gets the precheck_status of this DeploymentPeerSummary.
[Required] Gets the region of this DeploymentPeerSummary.
Gets the subscription_id of this DeploymentPeerSummary.
[Required] Gets the time_created of this DeploymentPeerSummary.
Gets the time_last_precheck_performed of this DeploymentPeerSummary.
Gets the time_last_synced of this DeploymentPeerSummary.
[Required] Gets the time_role_changed of this DeploymentPeerSummary.
[Required] Gets the time_updated of this DeploymentPeerSummary.
Methods:
__init__(**kwargs)Initializes a new DeploymentPeerSummary object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary. This constant has a value of “FAILED”
- LIFECYCLE_STATE_INACTIVE = 'INACTIVE'¶
A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary. This constant has a value of “INACTIVE”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary. This constant has a value of “UPDATING”
- PEER_ROLE_PRIMARY = 'PRIMARY'¶
A constant which can be used with the peer_role property of a DeploymentPeerSummary. This constant has a value of “PRIMARY”
- PEER_ROLE_STANDBY = 'STANDBY'¶
A constant which can be used with the peer_role property of a DeploymentPeerSummary. This constant has a value of “STANDBY”
- PEER_TYPE_LOCAL = 'LOCAL'¶
A constant which can be used with the peer_type property of a DeploymentPeerSummary. This constant has a value of “LOCAL”
- PEER_TYPE_REMOTE = 'REMOTE'¶
A constant which can be used with the peer_type property of a DeploymentPeerSummary. This constant has a value of “REMOTE”
- PRECHECK_STATUS_FAILED = 'FAILED'¶
A constant which can be used with the precheck_status property of a DeploymentPeerSummary. This constant has a value of “FAILED”
- PRECHECK_STATUS_IN_PROGRESS = 'IN_PROGRESS'¶
A constant which can be used with the precheck_status property of a DeploymentPeerSummary. This constant has a value of “IN_PROGRESS”
- PRECHECK_STATUS_NEEDS_ATTENTION = 'NEEDS_ATTENTION'¶
A constant which can be used with the precheck_status property of a DeploymentPeerSummary. This constant has a value of “NEEDS_ATTENTION”
- PRECHECK_STATUS_SUCCEEDED = 'SUCCEEDED'¶
A constant which can be used with the precheck_status property of a DeploymentPeerSummary. This constant has a value of “SUCCEEDED”
- __init__(**kwargs)¶
Initializes a new DeploymentPeerSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
deployment_id (str) – The value to assign to the deployment_id property of this DeploymentPeerSummary.
region (str) – The value to assign to the region property of this DeploymentPeerSummary.
availability_domain (str) – The value to assign to the availability_domain property of this DeploymentPeerSummary.
fault_domain (str) – The value to assign to the fault_domain property of this DeploymentPeerSummary.
display_name (str) – The value to assign to the display_name property of this DeploymentPeerSummary.
peer_type (str) – The value to assign to the peer_type property of this DeploymentPeerSummary. Allowed values for this property are: “LOCAL”, “REMOTE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
peer_role (str) – The value to assign to the peer_role property of this DeploymentPeerSummary. Allowed values for this property are: “PRIMARY”, “STANDBY”, ‘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 DeploymentPeerSummary.
time_updated (datetime) – The value to assign to the time_updated property of this DeploymentPeerSummary.
time_role_changed (datetime) – The value to assign to the time_role_changed property of this DeploymentPeerSummary.
time_last_synced (datetime) – The value to assign to the time_last_synced property of this DeploymentPeerSummary.
subscription_id (str) – The value to assign to the subscription_id property of this DeploymentPeerSummary.
cluster_placement_group_id (str) – The value to assign to the cluster_placement_group_id property of this DeploymentPeerSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this DeploymentPeerSummary. Allowed values for this property are: “CREATING”, “ACTIVE”, “FAILED”, “UPDATING”, “DELETING”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
precheck_status (str) – The value to assign to the precheck_status property of this DeploymentPeerSummary. Allowed values for this property are: “SUCCEEDED”, “IN_PROGRESS”, “FAILED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
time_last_precheck_performed (datetime) – The value to assign to the time_last_precheck_performed property of this DeploymentPeerSummary.
- property availability_domain¶
[Required] Gets the availability_domain of this DeploymentPeerSummary. The availability domain of a placement.
- Returns
The availability_domain of this DeploymentPeerSummary.
- Return type
str
- property cluster_placement_group_id¶
Gets the cluster_placement_group_id of this DeploymentPeerSummary. The OCID(/Content/General/Concepts/identifiers.htm) of the cluster placement group for the resource. Only applicable for multicloud subscriptions. The cluster placement group id must be provided when a multicloud subscription id is provided. Otherwise the cluster placement group must not be provided.
- Returns
The cluster_placement_group_id of this DeploymentPeerSummary.
- Return type
str
- property deployment_id¶
[Required] Gets the deployment_id of this DeploymentPeerSummary. The OCID of the deployment being referenced.
- Returns
The deployment_id of this DeploymentPeerSummary.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this DeploymentPeerSummary. An object’s Display Name.
- Returns
The display_name of this DeploymentPeerSummary.
- Return type
str
- property fault_domain¶
[Required] Gets the fault_domain of this DeploymentPeerSummary. The fault domain of a placement.
- Returns
The fault_domain of this DeploymentPeerSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this DeploymentPeerSummary. Possible lifecycle states for deployment peer.
Allowed values for this property are: “CREATING”, “ACTIVE”, “FAILED”, “UPDATING”, “DELETING”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this DeploymentPeerSummary.
- Return type
str
- property peer_role¶
[Required] Gets the peer_role of this DeploymentPeerSummary. The type of the deployment role.
Allowed values for this property are: “PRIMARY”, “STANDBY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The peer_role of this DeploymentPeerSummary.
- Return type
str
- property peer_type¶
[Required] Gets the peer_type of this DeploymentPeerSummary. The type of the deployment peer.
Allowed values for this property are: “LOCAL”, “REMOTE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The peer_type of this DeploymentPeerSummary.
- Return type
str
- property precheck_status¶
Gets the precheck_status of this DeploymentPeerSummary. Status of the DR precheck result.
Allowed values for this property are: “SUCCEEDED”, “IN_PROGRESS”, “FAILED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The precheck_status of this DeploymentPeerSummary.
- Return type
str
- property region¶
[Required] Gets the region of this DeploymentPeerSummary. The name of the region. e.g.: us-ashburn-1 If the region is not provided, backend will default to the current region.
- Returns
The region of this DeploymentPeerSummary.
- Return type
str
- property subscription_id¶
Gets the subscription_id of this DeploymentPeerSummary. The OCID of the subscription with which resource needs to be associated with.
- Returns
The subscription_id of this DeploymentPeerSummary.
- Return type
str
- property time_created¶
[Required] Gets the time_created of this DeploymentPeerSummary. The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- Returns
The time_created of this DeploymentPeerSummary.
- Return type
datetime
- property time_last_precheck_performed¶
Gets the time_last_precheck_performed of this DeploymentPeerSummary. The timestamp when pre-check started. The format is defined by RFC3339, such as 2024-10-26T20:19:29.600Z.
- Returns
The time_last_precheck_performed of this DeploymentPeerSummary.
- Return type
datetime
- property time_last_synced¶
Gets the time_last_synced of this DeploymentPeerSummary. The time of the last data synchronization from the primary to the standby peer. RFC3339, such as 2016-08-25T21:10:29.600Z.
- Returns
The time_last_synced of this DeploymentPeerSummary.
- Return type
datetime