NetworkProfile Class

Specifies the network interfaces or the networking configuration of the virtual machine.

Inheritance
NetworkProfile

Constructor

NetworkProfile(*, network_interfaces: Optional[List[azure.mgmt.compute.v2021_07_01.models._models_py3.NetworkInterfaceReference]] = None, network_api_version: Optional[Union[str, azure.mgmt.compute.v2021_07_01.models._compute_management_client_enums.NetworkApiVersion]] = None, network_interface_configurations: Optional[List[azure.mgmt.compute.v2021_07_01.models._models_py3.VirtualMachineNetworkInterfaceConfiguration]] = None, **kwargs)

Parameters

network_interfaces
list[NetworkInterfaceReference]
Required

Specifies the list of resource Ids for the network interfaces associated with the virtual machine.

network_api_version
str or NetworkApiVersion
Required

specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations. Possible values include: "2020-11-01".

network_interface_configurations
list[VirtualMachineNetworkInterfaceConfiguration]
Required

Specifies the networking configurations that will be used to create the virtual machine networking resources.