Dela via


NetworkInterfaceData Class

Definition

A class representing the NetworkInterface data model. A network interface in a resource group.

public class NetworkInterfaceData : Azure.ResourceManager.Network.Models.NetworkTrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.NetworkInterfaceData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.NetworkInterfaceData>
public class NetworkInterfaceData : Azure.ResourceManager.Network.Models.NetworkTrackedResourceData
type NetworkInterfaceData = class
    inherit NetworkTrackedResourceData
    interface IJsonModel<NetworkInterfaceData>
    interface IPersistableModel<NetworkInterfaceData>
type NetworkInterfaceData = class
    inherit NetworkTrackedResourceData
Public Class NetworkInterfaceData
Inherits NetworkTrackedResourceData
Implements IJsonModel(Of NetworkInterfaceData), IPersistableModel(Of NetworkInterfaceData)
Public Class NetworkInterfaceData
Inherits NetworkTrackedResourceData
Inheritance
NetworkInterfaceData
Implements

Constructors

NetworkInterfaceData()

Initializes a new instance of NetworkInterfaceData.

Properties

AuxiliaryMode

Auxiliary mode of Network Interface resource.

AuxiliarySku

Auxiliary sku of Network Interface resource.

DisableTcpStateTracking

Indicates whether to disable tcp state tracking.

DnsSettings

The DNS settings in network interface.

DscpConfigurationId

Gets or sets Id.

EnableAcceleratedNetworking

If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking.

EnableIPForwarding

Indicates whether IP forwarding is enabled on this network interface.

ETag

A unique read-only string that changes whenever the resource is updated.

ExtendedLocation

The extended location of the network interface.

HostedWorkloads

A list of references to linked BareMetal resources.

Id

Resource ID.

(Inherited from NetworkTrackedResourceData)
IPConfigurations

A list of IPConfigurations of the network interface.

Location

Resource location.

(Inherited from NetworkTrackedResourceData)
MacAddress

The MAC address of the network interface.

MigrationPhase

Migration phase of Network Interface resource.

Name

Resource name.

(Inherited from NetworkTrackedResourceData)
NetworkSecurityGroup

The reference to the NetworkSecurityGroup resource.

NicType

Type of Network Interface resource.

Primary

Whether this is a primary network interface on a virtual machine.

PrivateEndpoint

A reference to the private endpoint to which the network interface is linked.

PrivateLinkService

Privatelinkservice of the network interface resource.

ProvisioningState

The provisioning state of the network interface resource.

ResourceGuid

The resource GUID property of the network interface resource.

ResourceType

Resource type.

(Inherited from NetworkTrackedResourceData)
Tags

Resource tags.

(Inherited from NetworkTrackedResourceData)
TapConfigurations

A list of TapConfigurations of the network interface.

VirtualMachineId

Gets or sets Id.

VnetEncryptionSupported

Whether the virtual machine this nic is attached to supports encryption.

WorkloadType

WorkloadType of the NetworkInterface for BareMetal resources.

Explicit Interface Implementations

IJsonModel<NetworkInterfaceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NetworkInterfaceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<NetworkTrackedResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from NetworkTrackedResourceData)
IJsonModel<NetworkTrackedResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from NetworkTrackedResourceData)
IPersistableModel<NetworkInterfaceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NetworkInterfaceData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NetworkInterfaceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<NetworkTrackedResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from NetworkTrackedResourceData)
IPersistableModel<NetworkTrackedResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from NetworkTrackedResourceData)
IPersistableModel<NetworkTrackedResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from NetworkTrackedResourceData)

Applies to