Share via


ExpressRoutePortAuthorizationsOperationsExtensions.ListAsync Method

Definition

Gets all authorizations in an express route port.

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to