Freigeben über


VpnGatewaysOperationsExtensions.ListByResourceGroupAsync Methode

Definition

Listet alle VpnGateways in einer Ressourcengruppe auf.

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

Parameter

operations
IVpnGatewaysOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Ressourcengruppenname des VpnGateway.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: