models_v2.network_config_15 module

class models_v2.network_config_15.NetworkConfig15(detach_network=None, virtual_switch=None)[source]

Bases: object

Implementation of the ‘NetworkConfig15’ model.

Specifies the networking configuration to be applied to the recovered VMs.

Attributes:
detach_network (bool): If this is set to true, then the network will

be detached from the recovered VMs. All the other networking parameters set will be ignored if set to true. Default value is false.

virtual_switch (VirtualSwitch): Specifies the virtual switch that will

attached to all the network interfaces of the VMs being recovered. This parameter is mandatory if detach network is specified as false.

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.