共用方式為


ExpressRouteGatewaysOperationsExtensions.ListBySubscriptionAsync Method

Definition

Lists ExpressRoute gateways under a given subscription.

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

Parameters

operations
IExpressRouteGatewaysOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to