共用方式為


INetworkInterfaceBase Interface

Definition

The base network interface shared across regular and virtual machine scale set network interface.

public interface INetworkInterfaceBase : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Network.Fluent.INetworkManager>
type INetworkInterfaceBase = interface
    interface IHasManager<INetworkManager>
    interface IHasInner<NetworkInterfaceInner>
Public Interface INetworkInterfaceBase
Implements IHasInner(Of NetworkInterfaceInner), IHasManager(Of INetworkManager)
Derived
Implements

Properties

AppliedDnsServers

Gets applied DNS servers.

DnsServers

Gets IP addresses of this network interface's DNS servers.

Inner (Inherited from IHasInner<T>)
InternalDnsNameLabel

Gets the Internal DNS name assigned to this network interface.

InternalDomainNameSuffix

Gets the internal domain name suffix.

InternalFqdn

Gets the fully qualified domain name of this network interface. A network interface receives FQDN as a part of assigning it to a virtual machine.

IsAcceleratedNetworkingEnabled

Gets true if accelerated networking is enabled for this network interface.

IsIPForwardingEnabled

Gets true if IP forwarding is enabled in this network interface.

MacAddress

Gets the MAC Address of the network interface.

Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)
NetworkSecurityGroupId

Gets the network security group resource id associated with this network interface.

PrimaryPrivateIP

Gets the private IP address allocated to this network interface's primary IP configuration. The private IP will be within the virtual network subnet of this network interface.

PrimaryPrivateIPAllocationMethod

Gets the private IP allocation method (Dynamic, Static) of this network interface's primary IP configuration.

VirtualMachineId

Gets the resource ID of the associated virtual machine, or null if none.

Methods

GetNetworkSecurityGroup()

Gets the network security group associated this network interface. This method makes a rest API call to fetch the Network Security Group resource.

Applies to