SwitchoverDeploymentPeerDetails

class oci.golden_gate.models.SwitchoverDeploymentPeerDetails(**kwargs)

Bases: object

The information about switching to deployment peer.

Attributes:

MODE_FAILOVER

A constant which can be used with the mode property of a SwitchoverDeploymentPeerDetails.

MODE_SWITCHOVER

A constant which can be used with the mode property of a SwitchoverDeploymentPeerDetails.

availability_domain

[Required] Gets the availability_domain of this SwitchoverDeploymentPeerDetails.

fault_domain

[Required] Gets the fault_domain of this SwitchoverDeploymentPeerDetails.

mode

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