Condividi tramite


IHasNetworkInterfaces.GetPrimaryNetworkInterfaceAsync Method

Definition

Gets the primary network interface. Note that this method can result in a call to the cloud to fetch the network interface information.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.INetworkInterface> GetPrimaryNetworkInterfaceAsync ();
abstract member GetPrimaryNetworkInterfaceAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.INetworkInterface>
Public Function GetPrimaryNetworkInterfaceAsync () As Task(Of INetworkInterface)

Returns

Applies to