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.Fluent.Models.VpnSiteLinkConnectionInner>> ListByVpnConnectionAsync (this Microsoft.Azure.Management.Network.Fluent.IVpnLinkConnectionsOperations operations, string resourceGroupName, string gatewayName, string connectionName, System.Threading.CancellationToken cancellationToken = default);
static member ListByVpnConnectionAsync : Microsoft.Azure.Management.Network.Fluent.IVpnLinkConnectionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Fluent.Models.VpnSiteLinkConnectionInner>>
<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 VpnSiteLinkConnectionInner))

Parameters

operations
IVpnLinkConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name of the VpnGateway.

gatewayName
String

The name of the gateway.

connectionName
String

The name of the vpn connection.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to