Language

ExpressRouteLagResource.LinksGetAsync(String, CancellationToken) Method

Definition

Retrieves the specified ExpressRouteLagLink resource.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteLags/{expressRouteLagName}/links/{linkName}.
  • Operation Id. : ExpressRouteLags_LinksGet.
  • Default Api Version. : 2025-09-01.
  • Resource. : ExpressRouteLagResource.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.ExpressRouteLagLink>> LinksGetAsync(string linkName, System.Threading.CancellationToken cancellationToken = default);
abstract member LinksGetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.ExpressRouteLagLink>>
override this.LinksGetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.ExpressRouteLagLink>>
Public Overridable Function LinksGetAsync (linkName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ExpressRouteLagLink))

Parameters

linkName
String

The name of the express route LAG link.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

linkName is null.

linkName is an empty string, and was expected to be non-empty.

Applies to