Partager via


P2sVpnGatewaysOperationsExtensions.ListByResourceGroupAsync Méthode

Définition

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

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

Paramètres

operations
IP2sVpnGatewaysOperations

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

resourceGroupName
String

Nom du groupe de ressources du P2SVpnGateway.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à