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

Bases: oci.core.models.volume_group_source_details.VolumeGroupSourceDetails

Specifies the volume group to clone from.


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

  • type (str) -- The value to assign to the type property of this VolumeGroupSourceFromVolumeGroupDetails.
  • volume_group_id (str) -- The value to assign to the volume_group_id property of this VolumeGroupSourceFromVolumeGroupDetails.

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


[Required] Gets the type of this VolumeGroupSourceDetails.

Returns:The type of this VolumeGroupSourceDetails.
Return type:str

[Required] Gets the volume_group_id of this VolumeGroupSourceFromVolumeGroupDetails. The OCID of the volume group to clone from.

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