MemberReplica

class oci.core.models.MemberReplica(**kwargs)

Bases: object

OCIDs for the volume replicas in this volume group replica.

Attributes

MEMBERSHIP_STATE_ADD_PENDING A constant which can be used with the membership_state property of a MemberReplica.
MEMBERSHIP_STATE_REMOVE_PENDING A constant which can be used with the membership_state property of a MemberReplica.
MEMBERSHIP_STATE_STABLE A constant which can be used with the membership_state property of a MemberReplica.
membership_state Gets the membership_state of this MemberReplica.
volume_replica_id [Required] Gets the volume_replica_id of this MemberReplica.

Methods

__init__(**kwargs) Initializes a new MemberReplica object with values from keyword arguments.
MEMBERSHIP_STATE_ADD_PENDING = 'ADD_PENDING'

A constant which can be used with the membership_state property of a MemberReplica. This constant has a value of “ADD_PENDING”

MEMBERSHIP_STATE_REMOVE_PENDING = 'REMOVE_PENDING'

A constant which can be used with the membership_state property of a MemberReplica. This constant has a value of “REMOVE_PENDING”

MEMBERSHIP_STATE_STABLE = 'STABLE'

A constant which can be used with the membership_state property of a MemberReplica. This constant has a value of “STABLE”

__init__(**kwargs)

Initializes a new MemberReplica object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • volume_replica_id (str) – The value to assign to the volume_replica_id property of this MemberReplica.
  • membership_state (str) – The value to assign to the membership_state property of this MemberReplica. Allowed values for this property are: “ADD_PENDING”, “STABLE”, “REMOVE_PENDING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
membership_state

Gets the membership_state of this MemberReplica. Membership state of the volume replica in relation to the volume group replica.

Allowed values for this property are: “ADD_PENDING”, “STABLE”, “REMOVE_PENDING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The membership_state of this MemberReplica.
Return type:str
volume_replica_id

[Required] Gets the volume_replica_id of this MemberReplica. The volume replica ID.

Returns:The volume_replica_id of this MemberReplica.
Return type:str