共用方式為


ExpressRouteGatewaysOperationsExtensions.ListByResourceGroupAsync Method

Definition

Lists ExpressRoute gateways in a given resource group.

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

Parameters

operations
IExpressRouteGatewaysOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to