共用方式為


NetworkInterfaceInner Class

Definition

A network interface in a resource group.

[Microsoft.Rest.Serialization.JsonTransformation]
public class NetworkInterfaceInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type NetworkInterfaceInner = class
    inherit Resource
Public Class NetworkInterfaceInner
Inherits Resource
Inheritance
NetworkInterfaceInner
Attributes

Constructors

NetworkInterfaceInner()

Initializes a new instance of the NetworkInterfaceInner class.

NetworkInterfaceInner(String, String, String, String, IDictionary<String, String>, SubResource, SubResource, PrivateEndpointInner, IList<NetworkInterfaceIPConfigurationInner>, IList<NetworkInterfaceTapConfigurationInner>, NetworkInterfaceDnsSettings, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, IList<String>, String, ProvisioningState, String)

Initializes a new instance of the NetworkInterfaceInner 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 a unique read-only string that changes whenever the resource is updated.

HostedWorkloads

Gets a list of references to linked BareMetal resources.

Id

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
IpConfigurations

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

Location

Resource location

(Inherited from Resource)
MacAddress

Gets the MAC address of the network interface.

Name

Resource name

(Inherited from ProxyResource)
NetworkSecurityGroup

Gets or sets the reference of 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

Resource tags

(Inherited from Resource)
TapConfigurations

Gets a list of TapConfigurations of the network interface.

Type

Resource type

(Inherited from ProxyResource)
VirtualMachine

Gets the reference of a virtual machine.

Methods

Validate()

Validate the object.

Applies to