VirtualMachineNetworkInterfaceConfiguration Class

Describes a virtual machine network interface configurations.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.compute._serialization.Model
VirtualMachineNetworkInterfaceConfiguration

Constructor

VirtualMachineNetworkInterfaceConfiguration(*, name: str, primary: bool | None = None, delete_option: str | _models.DeleteOptions | None = None, enable_accelerated_networking: bool | None = None, enable_fpga: bool | None = None, enable_ip_forwarding: bool | None = None, network_security_group: _models.SubResource | None = None, dns_settings: _models.VirtualMachineNetworkInterfaceDnsSettingsConfiguration | None = None, ip_configurations: List[_models.VirtualMachineNetworkInterfaceIPConfiguration] | None = None, dscp_configuration: _models.SubResource | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

The network interface configuration name. Required.

primary

Specifies the primary network interface in case the virtual machine has more than 1 network interface.

delete_option

Specify what happens to the network interface when the VM is deleted. Known values are: "Delete" and "Detach".

enable_accelerated_networking

Specifies whether the network interface is accelerated networking-enabled.

enable_fpga

Specifies whether the network interface is FPGA networking-enabled.

enable_ip_forwarding

Whether IP forwarding enabled on this NIC.

network_security_group

The network security group.

dns_settings

The dns settings to be applied on the network interfaces.

ip_configurations

Specifies the IP configurations of the network interface.

dscp_configuration

Variables

Name Description
name
str

The network interface configuration name. Required.

primary

Specifies the primary network interface in case the virtual machine has more than 1 network interface.

delete_option

Specify what happens to the network interface when the VM is deleted. Known values are: "Delete" and "Detach".

enable_accelerated_networking

Specifies whether the network interface is accelerated networking-enabled.

enable_fpga

Specifies whether the network interface is FPGA networking-enabled.

enable_ip_forwarding

Whether IP forwarding enabled on this NIC.

network_security_group

The network security group.

dns_settings

The dns settings to be applied on the network interfaces.

ip_configurations

Specifies the IP configurations of the network interface.

dscp_configuration