VolumeGroupSourceFromVolumeGroupBackupDetails

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

Bases: oci.core.models.volume_group_source_details.VolumeGroupSourceDetails

Specifies the volume group backup to restore from.

__init__(**kwargs)

Initializes a new VolumeGroupSourceFromVolumeGroupBackupDetails object with values from keyword arguments. The default value of the type attribute of this class is volumeGroupBackupId 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 VolumeGroupSourceFromVolumeGroupBackupDetails.
  • volume_group_backup_id (str) -- The value to assign to the volume_group_backup_id property of this VolumeGroupSourceFromVolumeGroupBackupDetails.
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_backup_id

[Required] Gets the volume_group_backup_id of this VolumeGroupSourceFromVolumeGroupBackupDetails. The OCID of the volume group backup to restore from.

Returns:The volume_group_backup_id of this VolumeGroupSourceFromVolumeGroupBackupDetails.
Return type:str