Freigeben über


NetworkInterfaceIPConfigurationCollection.GetAsync Methode

Definition

Ruft die angegebene IP-Konfiguration der Netzwerkschnittstelle ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}
  • Vorgangs-IdNetworkInterfaceIPConfigurations_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationResource>> GetAsync (string ipConfigurationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationResource>>
Public Overridable Function GetAsync (ipConfigurationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkInterfaceIPConfigurationResource))

Parameter

ipConfigurationName
String

Der Name des IP-Konfigurationsnamens.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

ipConfigurationName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

ipConfigurationName ist NULL.

Gilt für: