VolumeGroupReplica

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

Bases: object

An asynchronous replica of a volume group that can then be used to create a new volume group or recover a volume group. For more information, see Volume Group Replication.

To use any of the API operations, you must be authorized in an IAM policy. If you’re not authorized, talk to an administrator. If you’re an administrator who needs to write policies to give users access, see Getting Started with Policies.

Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Attributes

LIFECYCLE_STATE_ACTIVATING A constant which can be used with the lifecycle_state property of a VolumeGroupReplica.
LIFECYCLE_STATE_AVAILABLE A constant which can be used with the lifecycle_state property of a VolumeGroupReplica.
LIFECYCLE_STATE_FAULTY A constant which can be used with the lifecycle_state property of a VolumeGroupReplica.
LIFECYCLE_STATE_PROVISIONING A constant which can be used with the lifecycle_state property of a VolumeGroupReplica.
LIFECYCLE_STATE_TERMINATED A constant which can be used with the lifecycle_state property of a VolumeGroupReplica.
LIFECYCLE_STATE_TERMINATING A constant which can be used with the lifecycle_state property of a VolumeGroupReplica.
availability_domain [Required] Gets the availability_domain of this VolumeGroupReplica.
compartment_id [Required] Gets the compartment_id of this VolumeGroupReplica.
defined_tags Gets the defined_tags of this VolumeGroupReplica.
display_name [Required] Gets the display_name of this VolumeGroupReplica.
freeform_tags Gets the freeform_tags of this VolumeGroupReplica.
id [Required] Gets the id of this VolumeGroupReplica.
lifecycle_state [Required] Gets the lifecycle_state of this VolumeGroupReplica.
member_replicas [Required] Gets the member_replicas of this VolumeGroupReplica.
size_in_gbs [Required] Gets the size_in_gbs of this VolumeGroupReplica.
time_created [Required] Gets the time_created of this VolumeGroupReplica.
time_last_synced [Required] Gets the time_last_synced of this VolumeGroupReplica.
volume_group_id [Required] Gets the volume_group_id of this VolumeGroupReplica.

Methods

__init__(**kwargs) Initializes a new VolumeGroupReplica object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVATING = 'ACTIVATING'

A constant which can be used with the lifecycle_state property of a VolumeGroupReplica. This constant has a value of “ACTIVATING”

LIFECYCLE_STATE_AVAILABLE = 'AVAILABLE'

A constant which can be used with the lifecycle_state property of a VolumeGroupReplica. This constant has a value of “AVAILABLE”

LIFECYCLE_STATE_FAULTY = 'FAULTY'

A constant which can be used with the lifecycle_state property of a VolumeGroupReplica. This constant has a value of “FAULTY”

LIFECYCLE_STATE_PROVISIONING = 'PROVISIONING'

A constant which can be used with the lifecycle_state property of a VolumeGroupReplica. This constant has a value of “PROVISIONING”

LIFECYCLE_STATE_TERMINATED = 'TERMINATED'

A constant which can be used with the lifecycle_state property of a VolumeGroupReplica. This constant has a value of “TERMINATED”

LIFECYCLE_STATE_TERMINATING = 'TERMINATING'

A constant which can be used with the lifecycle_state property of a VolumeGroupReplica. This constant has a value of “TERMINATING”

__init__(**kwargs)

Initializes a new VolumeGroupReplica 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 VolumeGroupReplica.
  • compartment_id (str) – The value to assign to the compartment_id property of this VolumeGroupReplica.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this VolumeGroupReplica.
  • display_name (str) – The value to assign to the display_name property of this VolumeGroupReplica.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this VolumeGroupReplica.
  • id (str) – The value to assign to the id property of this VolumeGroupReplica.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this VolumeGroupReplica. Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “ACTIVATING”, “TERMINATING”, “TERMINATED”, “FAULTY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • size_in_gbs (int) – The value to assign to the size_in_gbs property of this VolumeGroupReplica.
  • volume_group_id (str) – The value to assign to the volume_group_id property of this VolumeGroupReplica.
  • time_created (datetime) – The value to assign to the time_created property of this VolumeGroupReplica.
  • member_replicas (list[oci.core.models.MemberReplica]) – The value to assign to the member_replicas property of this VolumeGroupReplica.
  • time_last_synced (datetime) – The value to assign to the time_last_synced property of this VolumeGroupReplica.
availability_domain

[Required] Gets the availability_domain of this VolumeGroupReplica. The availability domain of the volume group replica.

Returns:The availability_domain of this VolumeGroupReplica.
Return type:str
compartment_id

[Required] Gets the compartment_id of this VolumeGroupReplica. The OCID of the compartment that contains the volume group replica.

Returns:The compartment_id of this VolumeGroupReplica.
Return type:str
defined_tags

Gets the defined_tags of this VolumeGroupReplica. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this VolumeGroupReplica.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this VolumeGroupReplica. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Returns:The display_name of this VolumeGroupReplica.
Return type:str
freeform_tags

Gets the freeform_tags of this VolumeGroupReplica. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {“Department”: “Finance”}

Returns:The freeform_tags of this VolumeGroupReplica.
Return type:dict(str, str)
id

[Required] Gets the id of this VolumeGroupReplica. The OCID for the volume group replica.

Returns:The id of this VolumeGroupReplica.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this VolumeGroupReplica. The current state of a volume group.

Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “ACTIVATING”, “TERMINATING”, “TERMINATED”, “FAULTY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this VolumeGroupReplica.
Return type:str
member_replicas

[Required] Gets the member_replicas of this VolumeGroupReplica. Volume replicas within this volume group replica.

Returns:The member_replicas of this VolumeGroupReplica.
Return type:list[oci.core.models.MemberReplica]
size_in_gbs

[Required] Gets the size_in_gbs of this VolumeGroupReplica. The aggregate size of the volume group replica in GBs.

Returns:The size_in_gbs of this VolumeGroupReplica.
Return type:int
time_created

[Required] Gets the time_created of this VolumeGroupReplica. The date and time the volume group replica was created. Format defined by RFC3339.

Returns:The time_created of this VolumeGroupReplica.
Return type:datetime
time_last_synced

[Required] Gets the time_last_synced of this VolumeGroupReplica. The date and time the volume group replica was last synced from the source volume group. Format defined by RFC3339.

Returns:The time_last_synced of this VolumeGroupReplica.
Return type:datetime
volume_group_id

[Required] Gets the volume_group_id of this VolumeGroupReplica. The OCID of the source volume group.

Returns:The volume_group_id of this VolumeGroupReplica.
Return type:str