Freigeben über


ExpressRouteAuthorizationCollection.ExistsAsync Methode

Definition

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}
  • Vorgang IdAuthorizations_Get
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (string authorizationName, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (authorizationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Parameter

authorizationName
String

Name der ExpressRoute-Leitungsautorisierung in der privaten Cloud.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

authorizationName ist NULL.

Gilt für: