VolumeGroupSourceFromVolumesDetails

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

Bases: VolumeGroupSourceDetails

Specifies the volumes in a volume group.

Methods:

__init__(**kwargs)

Initializes a new VolumeGroupSourceFromVolumesDetails 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_ids

[Required] Gets the volume_ids of this VolumeGroupSourceFromVolumesDetails.

__init__(**kwargs)

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

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

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_ids

[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]