SwitchoverDeploymentPeerDetails¶
- class oci.golden_gate.models.SwitchoverDeploymentPeerDetails(**kwargs)¶
Bases:
objectThe information about switching to deployment peer.
Attributes:
A constant which can be used with the mode property of a SwitchoverDeploymentPeerDetails.
A constant which can be used with the mode property of a SwitchoverDeploymentPeerDetails.
[Required] Gets the availability_domain of this SwitchoverDeploymentPeerDetails.
[Required] Gets the fault_domain of this SwitchoverDeploymentPeerDetails.
Gets the mode of this SwitchoverDeploymentPeerDetails.
Methods:
__init__(**kwargs)Initializes a new SwitchoverDeploymentPeerDetails object with values from keyword arguments.
- MODE_FAILOVER = 'FAILOVER'¶
A constant which can be used with the mode property of a SwitchoverDeploymentPeerDetails. This constant has a value of “FAILOVER”
- MODE_SWITCHOVER = 'SWITCHOVER'¶
A constant which can be used with the mode property of a SwitchoverDeploymentPeerDetails. This constant has a value of “SWITCHOVER”
- __init__(**kwargs)¶
Initializes a new SwitchoverDeploymentPeerDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
availability_domain (str) – The value to assign to the availability_domain property of this SwitchoverDeploymentPeerDetails.
fault_domain (str) – The value to assign to the fault_domain property of this SwitchoverDeploymentPeerDetails.
mode (str) – The value to assign to the mode property of this SwitchoverDeploymentPeerDetails. Allowed values for this property are: “SWITCHOVER”, “FAILOVER”
- property availability_domain¶
[Required] Gets the availability_domain of this SwitchoverDeploymentPeerDetails. The availability domain of a placement.
- Returns
The availability_domain of this SwitchoverDeploymentPeerDetails.
- Return type
str
- property fault_domain¶
[Required] Gets the fault_domain of this SwitchoverDeploymentPeerDetails. The fault domain of a placement.
- Returns
The fault_domain of this SwitchoverDeploymentPeerDetails.
- Return type
str
- property mode¶
Gets the mode of this SwitchoverDeploymentPeerDetails. Specifies the switchover mode. SWITCHOVER performs a planned role transition to the standby; FAILOVER performs a forced promotion when the primary is not available.
Allowed values for this property are: “SWITCHOVER”, “FAILOVER”
- Returns
The mode of this SwitchoverDeploymentPeerDetails.
- Return type
str