ExpressRoutePortsOperationsExtensions.ListAsync Method

Definition

List all the ExpressRoutePort resources in the specified subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.ExpressRoutePort>> ListAsync (this Microsoft.Azure.Management.Network.IExpressRoutePortsOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Network.IExpressRoutePortsOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.ExpressRoutePort>>
<Extension()>
Public Function ListAsync (operations As IExpressRoutePortsOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ExpressRoutePort))

Parameters

operations
IExpressRoutePortsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to