ExpressRouteProviderPortsLocationOperationsExtensions.ListAsync Method

Definition

Retrieves all the ExpressRouteProviderPorts in a subscription.

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

Parameters

operations
IExpressRouteProviderPortsLocationOperations

The operations group for this extension method.

filter
String

The filter to apply on the operation. For example, you can use $filter=location eq '{state}'.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to