Freigeben über


VpnLinkConnectionsOperationsExtensions.ListByVpnConnectionAsync Methode

Definition

Ruft alle VPN-Standortlinkverbindungen für eine bestimmte VPN-VPN-Verbindung ab.

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

Parameter

operations
IVpnLinkConnectionsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Ressourcengruppenname des VPN-Gateways.

gatewayName
String

Der Name des Gateways.

connectionName
String

Der Name der VPN-Verbindung.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: