Freigeben über


AvsPrivateCloudResource.GetExpressRouteAuthorizationAsync Methode

Definition

Abrufen einer ExpressRoute-Leitungsautorisierung nach Name in einer privaten Cloud

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/authorizations/{authorizationName}
  • Vorgangs-IdAuthorizations_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Avs.ExpressRouteAuthorizationResource>> GetExpressRouteAuthorizationAsync (string authorizationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetExpressRouteAuthorizationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Avs.ExpressRouteAuthorizationResource>>
override this.GetExpressRouteAuthorizationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Avs.ExpressRouteAuthorizationResource>>
Public Overridable Function GetExpressRouteAuthorizationAsync (authorizationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ExpressRouteAuthorizationResource))

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: