Condividi tramite


INetworkInterface Interface

Definition

Network interface.

public interface INetworkInterface : Microsoft.Azure.Management.Network.Fluent.INetworkInterfaceBase, Microsoft.Azure.Management.Network.Fluent.IUpdatableWithTags<Microsoft.Azure.Management.Network.Fluent.INetworkInterface>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IGroupableResource<Microsoft.Azure.Management.Network.Fluent.INetworkManager,Microsoft.Azure.Management.Network.Fluent.Models.NetworkInterfaceInner>, 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>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Network.Fluent.INetworkInterface>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Update.IUpdate>
type INetworkInterface = interface
    interface INetworkInterfaceBase
    interface IHasManager<INetworkManager>
    interface IHasInner<NetworkInterfaceInner>
    interface IGroupableResource<INetworkManager, NetworkInterfaceInner>
    interface IResource
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasResourceGroup
    interface IRefreshable<INetworkInterface>
    interface IUpdatable<IUpdate>
    interface IUpdatableWithTags<INetworkInterface>
Public Interface INetworkInterface
Implements IGroupableResource(Of INetworkManager, NetworkInterfaceInner), IHasInner(Of NetworkInterfaceInner), IHasManager(Of INetworkManager), INetworkInterfaceBase, IRefreshable(Of INetworkInterface), IUpdatable(Of IUpdate), IUpdatableWithTags(Of INetworkInterface)
Implements

Properties

AppliedDnsServers

Gets applied DNS servers.

(Inherited from INetworkInterfaceBase)
DnsServers

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

(Inherited from INetworkInterfaceBase)
Id

Gets the resource id string

(Inherited from IHasId)
Inner (Inherited from IHasInner<T>)
InternalDnsNameLabel

Gets the Internal DNS name assigned to this network interface.

(Inherited from INetworkInterfaceBase)
InternalDomainNameSuffix

Gets the internal domain name suffix.

(Inherited from INetworkInterfaceBase)
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.

(Inherited from INetworkInterfaceBase)
IPConfigurations

Gets the IP configurations of this network interface, indexed by their names.

IsAcceleratedNetworkingEnabled

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

(Inherited from INetworkInterfaceBase)
IsIPForwardingEnabled

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

(Inherited from INetworkInterfaceBase)
Key (Inherited from IIndexable)
MacAddress

Gets the MAC Address of the network interface.

(Inherited from INetworkInterfaceBase)
Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)
Name

Gets the name of the resource

(Inherited from IHasName)
NetworkSecurityGroupId

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

(Inherited from INetworkInterfaceBase)
PrimaryIPConfiguration

Gets the primary IP configuration of 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.

(Inherited from INetworkInterfaceBase)
PrimaryPrivateIPAllocationMethod

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

(Inherited from INetworkInterfaceBase)
Region (Inherited from IResource)
RegionName (Inherited from IResource)
ResourceGroupName (Inherited from IHasResourceGroup)
Tags (Inherited from IResource)
Type (Inherited from IResource)
VirtualMachineId

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

(Inherited from INetworkInterfaceBase)

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.

(Inherited from INetworkInterfaceBase)
Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
Update() (Inherited from IUpdatable<T>)
UpdateTags()

Begins a tags update for a resource. This is the beginning of the builder pattern used to update tags for a resources in Azure. The final method completing the definition and starting the actual resource update process in Azure is AppliableWithTags.applyTags().

(Inherited from IUpdatableWithTags<T>)

Applies to