Partilhar via


VirtualMachineNetworkInterfaceConfiguration Class

Definition

Describes a virtual machine network interface configurations.

public class VirtualMachineNetworkInterfaceConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.VirtualMachineNetworkInterfaceConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.VirtualMachineNetworkInterfaceConfiguration>
type VirtualMachineNetworkInterfaceConfiguration = class
    interface IJsonModel<VirtualMachineNetworkInterfaceConfiguration>
    interface IPersistableModel<VirtualMachineNetworkInterfaceConfiguration>
Public Class VirtualMachineNetworkInterfaceConfiguration
Implements IJsonModel(Of VirtualMachineNetworkInterfaceConfiguration), IPersistableModel(Of VirtualMachineNetworkInterfaceConfiguration)
Inheritance
VirtualMachineNetworkInterfaceConfiguration
Implements

Constructors

VirtualMachineNetworkInterfaceConfiguration(String)

Initializes a new instance of VirtualMachineNetworkInterfaceConfiguration.

Properties

AuxiliaryMode

Specifies whether the Auxiliary mode is enabled for the Network Interface resource.

AuxiliarySku

Specifies whether the Auxiliary sku is enabled for the Network Interface resource.

DeleteOption

Specify what happens to the network interface when the VM is deleted.

DnsServers

List of DNS servers IP addresses.

DscpConfigurationId

Gets or sets Id.

EnableAcceleratedNetworking

Specifies whether the network interface is accelerated networking-enabled.

EnableFpga

Specifies whether the network interface is FPGA networking-enabled.

EnableIPForwarding

Whether IP forwarding enabled on this NIC.

IPConfigurations

Specifies the IP configurations of the network interface.

IsTcpStateTrackingDisabled

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

Name

The network interface configuration name.

NetworkSecurityGroupId

Gets or sets Id.

Primary

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VirtualMachineNetworkInterfaceConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VirtualMachineNetworkInterfaceConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachineNetworkInterfaceConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineNetworkInterfaceConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VirtualMachineNetworkInterfaceConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to