VpnSiteLinksOperations.ListByVpnSiteAsync(String, String, CancellationToken) Method

Definition

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

public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.Models.VpnSiteLink> ListByVpnSiteAsync (string resourceGroupName, string vpnSiteName, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByVpnSiteAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.VpnSiteLink>
override this.ListByVpnSiteAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.VpnSiteLink>
Public Overridable Function ListByVpnSiteAsync (resourceGroupName As String, vpnSiteName As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VpnSiteLink)

Parameters

resourceGroupName
System.String

The resource group name of the VpnSite.

vpnSiteName
System.String

The name of the VpnSite.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

AsyncPageable<VpnSiteLink>

Exceptions

System.ArgumentNullException

resourceGroupName or vpnSiteName is null.

Applies to