VolumeGroupSourceFromVolumeGroupDetails

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

Bases: oci.core.models.volume_group_source_details.VolumeGroupSourceDetails

Specifies the volume group to clone from.

Methods

__init__(**kwargs) Initializes a new VolumeGroupSourceFromVolumeGroupDetails 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_id [Required] Gets the volume_group_id of this VolumeGroupSourceFromVolumeGroupDetails.
__init__(**kwargs)

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):

Parameters:
  • 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.
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.

type

[Required] Gets the type of this VolumeGroupSourceDetails.

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

[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