VolumeGroupSourceFromVolumeGroupReplicaDetails

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

Bases: VolumeGroupSourceDetails

Specifies the source volume replica which the volume group will be created from. The volume group replica shoulbe be in the same availability domain as the volume group. Only one volume group can be created from a volume group replica at the same time.

Methods:

__init__(**kwargs)

Initializes a new VolumeGroupSourceFromVolumeGroupReplicaDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

Attributes:

type

[Required] Gets the type of this VolumeGroupSourceDetails.

volume_group_replica_id

[Required] Gets the volume_group_replica_id of this VolumeGroupSourceFromVolumeGroupReplicaDetails.

__init__(**kwargs)

Initializes a new VolumeGroupSourceFromVolumeGroupReplicaDetails object with values from keyword arguments. The default value of the type attribute of this class is volumeGroupReplicaId and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • type (str) – The value to assign to the type property of this VolumeGroupSourceFromVolumeGroupReplicaDetails.

  • volume_group_replica_id (str) – The value to assign to the volume_group_replica_id property of this VolumeGroupSourceFromVolumeGroupReplicaDetails.

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property type

[Required] Gets the type of this VolumeGroupSourceDetails.

Returns

The type of this VolumeGroupSourceDetails.

Return type

str

property volume_group_replica_id

[Required] Gets the volume_group_replica_id of this VolumeGroupSourceFromVolumeGroupReplicaDetails. The OCID of the volume group replica.

Returns

The volume_group_replica_id of this VolumeGroupSourceFromVolumeGroupReplicaDetails.

Return type

str