Udostępnij za pośrednictwem


NetworkInterface Class

Definition

A network interface in a resource group.

[Microsoft.Rest.Serialization.JsonTransformation]
public class NetworkInterface : Microsoft.Azure.Management.Network.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type NetworkInterface = class
    inherit Resource
Public Class NetworkInterface
Inherits Resource
Inheritance
NetworkInterface
Attributes

Constructors

NetworkInterface()

Initializes a new instance of the NetworkInterface class.

NetworkInterface(String, String, String, String, IDictionary<String, String>, ExtendedLocation, SubResource, NetworkSecurityGroup, PrivateEndpoint, IList<NetworkInterfaceIPConfiguration>, IList<NetworkInterfaceTapConfiguration>, NetworkInterfaceDnsSettings, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, IList<String>, SubResource, String, String, String, String, PrivateLinkService, String, String, String)

Initializes a new instance of the NetworkInterface class.

Properties

AuxiliaryMode

Gets or sets auxiliary mode of Network Interface resource. Possible values include: 'None', 'MaxConnections', 'Floating'

DisableTcpStateTracking

Gets or sets indicates whether to disable tcp state tracking.

DnsSettings

Gets or sets the DNS settings in network interface.

DscpConfiguration

Gets a reference to the dscp configuration to which the network interface is linked.

EnableAcceleratedNetworking

Gets or sets if the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking.

EnableIPForwarding

Gets or sets indicates whether IP forwarding is enabled on this network interface.

Etag

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

ExtendedLocation

Gets or sets the extended location of the network interface.

HostedWorkloads

Gets a list of references to linked BareMetal resources.

Id

Gets or sets resource ID.

(Inherited from Resource)
IpConfigurations

Gets or sets a list of IPConfigurations of the network interface.

Location

Gets or sets resource location.

(Inherited from Resource)
MacAddress

Gets the MAC address of the network interface.

MigrationPhase

Gets or sets migration phase of Network Interface resource. Possible values include: 'None', 'Prepare', 'Commit', 'Abort', 'Committed'

Name

Gets resource name.

(Inherited from Resource)
NetworkSecurityGroup

Gets or sets the reference to the NetworkSecurityGroup resource.

NicType

Gets or sets type of Network Interface resource. Possible values include: 'Standard', 'Elastic'

Primary

Gets whether this is a primary network interface on a virtual machine.

PrivateEndpoint

Gets a reference to the private endpoint to which the network interface is linked.

PrivateLinkService

Gets or sets privatelinkservice of the network interface resource.

ProvisioningState

Gets the provisioning state of the network interface resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

ResourceGuid

Gets the resource GUID property of the network interface resource.

Tags

Gets or sets resource tags.

(Inherited from Resource)
TapConfigurations

Gets a list of TapConfigurations of the network interface.

Type

Gets resource type.

(Inherited from Resource)
VirtualMachine

Gets the reference to a virtual machine.

VnetEncryptionSupported

Gets whether the virtual machine this nic is attached to supports encryption.

WorkloadType

Gets or sets workloadType of the NetworkInterface for BareMetal resources

Applies to