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

Bases: oci.core.models.volume_group_source_details.VolumeGroupSourceDetails

Specifies the volumes in a volume group.


Initializes a new VolumeGroupSourceFromVolumesDetails object with values from keyword arguments. The default value of the type attribute of this class is volumeIds 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 VolumeGroupSourceFromVolumesDetails.
  • volume_ids (list[str]) -- The value to assign to the volume_ids property of this VolumeGroupSourceFromVolumesDetails.

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_ids of this VolumeGroupSourceFromVolumesDetails. OCIDs for the volumes in this volume group.

Returns:The volume_ids of this VolumeGroupSourceFromVolumesDetails.
Return type:list[str]