Freigeben über


NetworkTapRuleCollection.GetIfExists(String, CancellationToken) Methode

Definition

Versucht, Details für diese Ressource vom Dienst abzurufen.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTapRules/{networkTapRuleName}
  • Vorgangs-IdNetworkTapRules_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapRuleResource> GetIfExists (string networkTapRuleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapRuleResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapRuleResource>
Public Overridable Function GetIfExists (networkTapRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of NetworkTapRuleResource)

Parameter

networkTapRuleName
String

Name der Netzwerk-Tippregel.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

networkTapRuleName ist NULL.

Gilt für: