models_v2.recover_kvmv_ms_new_source_config module¶
-
class
models_v2.recover_kvmv_ms_new_source_config.
RecoverKVMVMsNewSourceConfig
(source=None, cluster=None, data_center=None, storage_domain=None, network_config=None)[source]¶ Bases:
object
Implementation of the ‘Recover KVM VMs New Source Config.’ model.
Specifies the new destination Source configuration where the VMs will be recovered.
- Attributes:
- source (Source): Specifies the id of the parent source to recover the
VMs.
- cluster (Cluster): Specifies the resource (KVMH host) to which the
restored VM will be attached
- data_center (DataCenter): Specifies the datacenter where the VM’s
files should be restored to.
- storage_domain (StorageDomain): Specifies the Storage Domain where the
VM’s disk should be restored to.
- network_config (NetworkConfig13): Specifies the networking
configuration to be applied to the recovered VMs.
-
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.