DeploymentPeerSummary¶
-
class
oci.golden_gate.models.
DeploymentPeerSummary
(**kwargs)¶ Bases:
object
The summary of the deployment Peer.
Attributes
LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a DeploymentPeerSummary. PEER_ROLE_PRIMARY
A constant which can be used with the peer_role property of a DeploymentPeerSummary. PEER_ROLE_STANDBY
A constant which can be used with the peer_role property of a DeploymentPeerSummary. PEER_TYPE_LOCAL
A constant which can be used with the peer_type property of a DeploymentPeerSummary. PEER_TYPE_REMOTE
A constant which can be used with the peer_type property of a DeploymentPeerSummary. availability_domain
[Required] Gets the availability_domain 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. time_created
[Required] Gets the time_created 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.
- 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
-
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
-
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
-