models_v2.recover_vmware_v_ms_vcloud_director_source_config module¶
-
class
models_v2.recover_vmware_v_ms_vcloud_director_source_config.
RecoverVmwareVMsVcloudDirectorSourceConfig
(source=None, vdc=None, v_app=None, datastores=None, storage_profile=None, network_config=None)[source]¶ Bases:
object
Implementation of the ‘Recover VMware VMs vCloudDirector Source Config.’ model.
Specifies the new destination Source configuration where the VMs will be recovered for vCloudDirector sources.
- Attributes:
- source (Source): Specifies the id of the parent source to recover the
VMs.
- vdc (Vdc): Specifies the VDC object where the recovered objects will
be attached.
- v_app (VApp): Specifies the vApp object where the recovered objects
will be attached.
- datastores (list of RecoveryObjectIdentifier): Specifies the datastore
objects where the object’s files should be recovered to. This should only be specified if storageProfile is not specified.
- storage_profile (StorageProfile): Specifies the storage profile to
which the objects should be recovered. This should only be specified if datastores are not specified.
- network_config (NetworkConfig5): 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.