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, disable_tcp_state_tracking: 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, auxiliary_mode: str | _models.NetworkInterfaceAuxiliaryMode | None = None, auxiliary_sku: str | _models.NetworkInterfaceAuxiliarySku | 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.

disable_tcp_state_tracking

Specifies whether the network interface is disabled for tcp state tracking.

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
auxiliary_mode

Specifies whether the Auxiliary mode is enabled for the Network Interface resource. Known values are: "None", "AcceleratedConnections", and "Floating".

auxiliary_sku

Specifies whether the Auxiliary sku is enabled for the Network Interface resource. Known values are: "None", "A1", "A2", "A4", and "A8".

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.

disable_tcp_state_tracking

Specifies whether the network interface is disabled for tcp state tracking.

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
auxiliary_mode

Specifies whether the Auxiliary mode is enabled for the Network Interface resource. Known values are: "None", "AcceleratedConnections", and "Floating".

auxiliary_sku

Specifies whether the Auxiliary sku is enabled for the Network Interface resource. Known values are: "None", "A1", "A2", "A4", and "A8".