ExpressRouteLinksOperationsExtensions.GetAsync(IExpressRouteLinksOperations, String, String, String, CancellationToken) Method

Definition

Retrieves the specified ExpressRouteLink resource.

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

Parameters

operations
IExpressRouteLinksOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

expressRoutePortName
System.String

The name of the ExpressRoutePort resource.

linkName
System.String

The name of the ExpressRouteLink resource.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<ExpressRouteLinkInner>

Applies to