VpnSiteLinksOperationsExtensions.GetAsync(IVpnSiteLinksOperations, String, String, String, CancellationToken) Method

Definition

Retrieves the details of a VPN site link.

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

Parameters

operations
IVpnSiteLinksOperations

The operations group for this extension method.

resourceGroupName
System.String

The resource group name of the VpnSite.

vpnSiteName
System.String

The name of the VpnSite.

vpnSiteLinkName
System.String

The name of the VpnSiteLink being retrieved.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<VpnSiteLinkInner>

Applies to