Language

NetworkExtensions.GetExpressRouteLagAsync Method

Definition

Retrieves the requested ExpressRouteLag resource. <item> Mocking. To mock this method, please mock GetExpressRouteLagAsync(String, CancellationToken) instead. </item>

public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRouteLagResource>> GetExpressRouteLagAsync(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string expressRouteLagName, System.Threading.CancellationToken cancellationToken = default);
static member GetExpressRouteLagAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ExpressRouteLagResource>>
<Extension()>
Public Function GetExpressRouteLagAsync (resourceGroupResource As ResourceGroupResource, expressRouteLagName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ExpressRouteLagResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource the method will execute against.

expressRouteLagName
String

The name of ExpressRouteLag.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource is null.

Applies to