Share via


ExpressRoutePortsLocationsOperationsExtensions.ListAsync Method

Definition

Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location.

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

Parameters

operations
IExpressRoutePortsLocationsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to