Share via


VpnLinkConnectionsOperationsExtensions.ListByVpnConnectionAsync Method

Definition

Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection.

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))

Parameters

operations
IVpnLinkConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name of the vpn gateway.

gatewayName
String

The name of the gateway.

connectionName
String

The name of the vpn connection.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to