次の方法で共有


NetworkInterface Class

Definition

A network interface in a resource group.

[Microsoft.Rest.Serialization.JsonTransformation]
public class NetworkInterface : Microsoft.Azure.PowerShell.Cmdlets.Websites.Helper.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>, IList<String>, SubResource, String, String, String)

Initializes a new instance of the NetworkInterface class.

Properties

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 accelerated networking enabled.

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.

Name

Gets resource name.

(Inherited from Resource)
NetworkSecurityGroup

Gets or sets the reference to the NetworkSecurityGroup resource.

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.

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.

Methods

Validate()

Validate the object.

Applies to