VpnSiteLinksOperations.ListByVpnSite(String, String, CancellationToken) Method

Definition

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

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

Parameters

resourceGroupName
String

The resource group name of the VpnSite.

vpnSiteName
String

The name of the VpnSite.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Pageable<VpnSiteLink>

Exceptions

resourceGroupName or vpnSiteName is null.

Applies to