models_v2.recover_hyperv_v_ms_new_standalone_cluster_source_config module

class models_v2.recover_hyperv_v_ms_new_standalone_cluster_source_config.RecoverHypervVMsNewStandaloneClusterSourceConfig(source=None, host=None, volume=None, network_config=None)[source]

Bases: object

Implementation of the ‘Recover HyperV VMs New Standalone Cluster 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.

host (Host1): Specifies the HyperV host where the recovered VMs will

be attached. For standalone host targets, the host must be the same as the source.

volume (Volume6): Specifies the datastore object where the VMs’ files

should be recovered to.

network_config (NetworkConfig15): 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.