NetworkInterface Class

Definition

A network interface in a resource group.

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

Constructors

NetworkInterface()

Initializes a new instance of the NetworkInterface class.

Properties

DnsSettings

Gets or sets the DNS settings in network interface.

EnableAcceleratedNetworking

Gets or sets if the network interface is accelerated networking enabled.

EnableIPForwarding

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

Etag

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

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 or sets the MAC address of the network interface.

Name

Gets resource name.

(Inherited from Resource)
NetworkSecurityGroup

Gets or sets the reference of the NetworkSecurityGroup resource.

Primary

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

ProvisioningState

Gets or sets the provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.

ResourceGuid

Gets or sets the resource GUID property of the network interface resource.

Tags

Gets or sets resource tags.

(Inherited from Resource)
Type

Gets resource type.

(Inherited from Resource)
VirtualMachine

Gets or sets the reference of a virtual machine.

Applies to