Freigeben über


VpnConnectionsOperationsExtensions.ListByVpnGatewayAsync Methode

Definition

Ruft alle VPN-Verbindungen für ein bestimmtes Virtual WAN-VPN-Gateway ab.

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

Parameter

operations
IVpnConnectionsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Ressourcengruppenname des VpnGateway.

gatewayName
String

Der Name des Gateways.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: