models_v2.recover_v_ms_params_1 module¶
-
class
models_v2.recover_v_ms_params_1.
RecoverVMsParams1
(target_environment='kKVM', recover_protection_group_runs_params=None, kvm_target_params=None)[source]¶ Bases:
object
Implementation of the ‘Recover VMs params.1’ model.
Specifies the parameters to recover VMs.
- 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.