Share via


ExpressRouteCircuitAuthorizationCollection.GetIfExistsAsync Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}
  • Operation Id: ExpressRouteCircuitAuthorizations_Get
  • Default Api Version: 2024-03-01
  • Resource: ExpressRouteCircuitAuthorizationResource
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Network.ExpressRouteCircuitAuthorizationResource>> GetIfExistsAsync (string authorizationName, System.Threading.CancellationToken cancellationToken = default);

Parameters

authorizationName
String

The name of the authorization.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

authorizationName is an empty string, and was expected to be non-empty.

authorizationName is null.

Applies to

Product Versions
Azure SDK for .NET Latest, Preview