Share via


ExpressRoutePortAuthorizationsOperationsExtensions.GetAsync Method

Definition

Gets the specified authorization from the specified express route port.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.ExpressRoutePortAuthorization> GetAsync (this Microsoft.Azure.Management.Network.IExpressRoutePortAuthorizationsOperations operations, string resourceGroupName, string expressRoutePortName, string authorizationName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Network.IExpressRoutePortAuthorizationsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.ExpressRoutePortAuthorization>
<Extension()>
Public Function GetAsync (operations As IExpressRoutePortAuthorizationsOperations, resourceGroupName As String, expressRoutePortName As String, authorizationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ExpressRoutePortAuthorization)

Parameters

operations
IExpressRoutePortAuthorizationsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

expressRoutePortName
String

The name of the express route port.

authorizationName
String

The name of the authorization.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to