models_v2.new_source_config_9 module¶
-
class
models_v2.new_source_config_9.
NewSourceConfig9
(source=None, cluster=None, data_center=None, storage_domain=None, network_config=None)[source]¶ Bases:
object
Implementation of the ‘NewSourceConfig9’ model.
Specifies the new destination Source configuration parameters where the VMs will be recovered. This is mandatory if recoverToNewSource is set to true.
- 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.