VolumeGroupSourceFromVolumeGroupDetails¶
- class oci.core.models.VolumeGroupSourceFromVolumeGroupDetails(**kwargs)¶
Bases:
VolumeGroupSourceDetailsSpecifies 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:
[Required] Gets the type of this VolumeGroupSourceDetails.
[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
typeattribute of this class isvolumeGroupIdand 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.
- property type¶
[Required] Gets the type of this VolumeGroupSourceDetails.
- Returns
The type of this VolumeGroupSourceDetails.
- Return type
str
- property 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