Freigeben über


NetworkInterfaceTapConfigurationCollection.GetAsync Methode

Definition

Rufen Sie die angegebene Tapkonfiguration auf einer Netzwerkschnittstelle ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}
  • Vorgang IdNetworkInterfaceTapConfigurations_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkInterfaceTapConfigurationResource>> GetAsync (string tapConfigurationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkInterfaceTapConfigurationResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkInterfaceTapConfigurationResource>>
Public Overridable Function GetAsync (tapConfigurationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkInterfaceTapConfigurationResource))

Parameter

tapConfigurationName
String

Der Name der Tapkonfiguration.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

tapConfigurationName ist NULL.

Gilt für: