models_v2.vmware_recover_original_source_disk_params module

class models_v2.vmware_recover_original_source_disk_params.VmwareRecoverOriginalSourceDiskParams(disk_uuid=None, overwrite_original_disk=None, datastore_id=None)[source]

Bases: object

Implementation of the ‘VmwareRecoverOriginalSourceDiskParams’ model.

Specifies disk specific parameters for performing a disk recovery.

Attributes:
disk_uuid (string): Specifies the UUID of the source disk being

recovered.

overwrite_original_disk (bool): Specifies whether or not to overwrite

the original disk. If this is set to true, then datastoreId should not be specified. Otherwise, datastoreId must be specified.

datastore_id (long|int): Specifies the ID of the datastore on which

the specified disk will be spun up.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.