DeploymentPeerSummary¶
-
class
oci.golden_gate.models.DeploymentPeerSummary(**kwargs)¶ Bases:
objectThe summary of the deployment Peer.
Attributes
LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a DeploymentPeerSummary. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a DeploymentPeerSummary. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a DeploymentPeerSummary. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a DeploymentPeerSummary. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a DeploymentPeerSummary. PEER_ROLE_PRIMARYA constant which can be used with the peer_role property of a DeploymentPeerSummary. PEER_ROLE_STANDBYA constant which can be used with the peer_role property of a DeploymentPeerSummary. PEER_TYPE_LOCALA constant which can be used with the peer_type property of a DeploymentPeerSummary. PEER_TYPE_REMOTEA constant which can be used with the peer_type property of a DeploymentPeerSummary. availability_domain[Required] Gets the availability_domain of this DeploymentPeerSummary. cluster_placement_group_idGets the cluster_placement_group_id of this DeploymentPeerSummary. deployment_id[Required] Gets the deployment_id of this DeploymentPeerSummary. display_name[Required] Gets the display_name of this DeploymentPeerSummary. fault_domain[Required] Gets the fault_domain of this DeploymentPeerSummary. lifecycle_state[Required] Gets the lifecycle_state of this DeploymentPeerSummary. peer_role[Required] Gets the peer_role of this DeploymentPeerSummary. peer_type[Required] Gets the peer_type of this DeploymentPeerSummary. region[Required] Gets the region of this DeploymentPeerSummary. subscription_idGets the subscription_id of this DeploymentPeerSummary. time_created[Required] Gets the time_created of this DeploymentPeerSummary. time_last_syncedGets the time_last_synced of this DeploymentPeerSummary. time_role_changed[Required] Gets the time_role_changed of this DeploymentPeerSummary. time_updated[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_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”
-
__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”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
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
-
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
-
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
-
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
-
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
-
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”, ‘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
-
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
-
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
-
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 default region.
Returns: The region of this DeploymentPeerSummary. Return type: str
-
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
-
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
-
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
-