Language

NetworkExtensions.GetExpressRouteLag Method

Definition

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

public static Azure.Response<Azure.ResourceManager.Network.ExpressRouteLagResource> GetExpressRouteLag(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string expressRouteLagName, System.Threading.CancellationToken cancellationToken = default);
static member GetExpressRouteLag : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.ExpressRouteLagResource>
<Extension()>
Public Function GetExpressRouteLag (resourceGroupResource As ResourceGroupResource, expressRouteLagName As String, Optional cancellationToken As CancellationToken = Nothing) As 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