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

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 à