models_v2.network_config_4 module

class models_v2.network_config_4.NetworkConfig4(virtual_network=None, subnet=None, network_resource_group=None)[source]

Bases: object

Implementation of the ‘NetworkConfig4’ model.

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

Attributes:

virtual_network (VirtualNetwork): Specifies the Virtual Network. subnet (Subnet2): Specifies the subnet within the above virtual

network.

network_resource_group (NetworkResourceGroup): Specifies id of the

resource group for the selected virtual network.

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.