Partager via


VpnGatewaysOperationsExtensions.ListByResourceGroupAsync Méthode

Définition

Répertorie tous les VpnGateways d’un groupe de ressources.

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

Paramètres

operations
IVpnGatewaysOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources du VpnGateway.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à