models_v2.new_source_config module

class models_v2.new_source_config.NewSourceConfig(source=None, storage_container=None, network_config=None)[source]

Bases: object

Implementation of the ‘NewSourceConfig’ 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.

storage_container (StorageContainer): A storage container where the

VM’s files should be restored to.

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