ExpressRouteLinksOperationsExtensions.ListAsync Method

Definition

Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.

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

Parameters

operations
IExpressRouteLinksOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

expressRoutePortName
String

The name of the ExpressRoutePort resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to