models_v2.recover_hyperv_environment_params module

class models_v2.recover_hyperv_environment_params.RecoverHypervEnvironmentParams(recovery_action=None, objects=None, recover_vm_params=None, mount_volume_params=None, recover_file_and_folder_params=None, download_file_and_folder_params=None)[source]

Bases: object

Implementation of the ‘Recover HyperV environment params.’ model.

Specifies the recovery options specific to HyperV environment.

Attributes:
objects (list of CommonRecoverObjectSnapshotParams): Specifies the

list of recover Object parameters. This property is mandatory for all recovery action types except recover vms. While recovering VMs, a user can specify snapshots of VM’s or a Protection Group Run details to recover all the VM’s that are backed up by that Run. For recovering files, specifies the object contains the file to recover.

recovery_action (RecoveryAction12Enum): Specifies the type of recovery

action to be performed.

recover_vm_params (RecoverVmParams7): Specifies the parameters to

recover HyperV VM.

mount_volume_params (MountVolumeParams2): Specifies the parameters to

mount HyperV Volumes.

recover_file_and_folder_params (RecoverHypervFileAndFolderParams):

Specifies the parameters to recover files and folders.

download_file_and_folder_params (DownloadFileAndFolderParams):

Specifies the parameters to download files and folders.

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.