Partager via


IHasNetworkInterfaces.GetPrimaryNetworkInterfaceAsync Méthode

Définition

Obtient l’interface réseau principale. Notez que cette méthode peut entraîner un appel au cloud pour récupérer les informations d’interface réseau.

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)

Retours

S’applique à