Delen via


VpnSiteLinksOperationsExtensions.ListByVpnSiteAsync Method

Definition

Lists all the vpnSiteLinks in a resource group for a vpn site.

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

Parameters

operations
IVpnSiteLinksOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name of the VpnSite.

vpnSiteName
String

The name of the VpnSite.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to