Freigeben über


NetworkInterfaceResource.GetNetworkInterfaceIPConfigurationAsync Methode

Definition

Ruft die angegebene IP-Konfiguration der Netzwerkschnittstelle ab.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}
  • Vorgang IdNetworkInterfaceIPConfigurations_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationResource>> GetNetworkInterfaceIPConfigurationAsync (string ipConfigurationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkInterfaceIPConfigurationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationResource>>
override this.GetNetworkInterfaceIPConfigurationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationResource>>
Public Overridable Function GetNetworkInterfaceIPConfigurationAsync (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: