Share via


VpnSiteLinksOperationsExtensions.GetAsync Method

Definition

Retrieves the details of a VPN site link.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.VpnSiteLink> GetAsync (this Microsoft.Azure.Management.Network.IVpnSiteLinksOperations operations, string resourceGroupName, string vpnSiteName, string vpnSiteLinkName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Network.IVpnSiteLinksOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.VpnSiteLink>
<Extension()>
Public Function GetAsync (operations As IVpnSiteLinksOperations, resourceGroupName As String, vpnSiteName As String, vpnSiteLinkName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(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.

vpnSiteLinkName
String

The name of the VpnSiteLink being retrieved.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to