models_v2.recover_vm_params_4 module

class models_v2.recover_vm_params_4.RecoverVmParams4(target_environment='kKVM', recover_protection_group_runs_params=None, kvm_target_params=None)[source]

Bases: object

Implementation of the ‘RecoverVmParams4’ model.

Specifies the parameters to recover KVM VM.

Attributes:
recover_protection_group_runs_params (list of

RecoverProtectionGroupRunParams): Specifies the Protection Group Runs params to recover. All the VM’s that are successfully backed up by specified Runs will be recovered. This can be specified along with individual snapshots of VMs. User has to make sure that specified Object snapshots and Protection Group Runs should not have any intersection. For example, user cannot specify multiple Runs which has same Object or an Object snapshot and a Run which has same Object’s snapshot.

target_environment (string): Specifies the environment of the recovery

target. The corresponding params below must be filled out.

kvm_target_params (KvmTargetParams2): Specifies the params for

recovering to a KVM target.

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.