MockableNetworkResourceGroupResource.GetExpressRouteLag Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the requested ExpressRouteLag resource.
- Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteLags/{expressRouteLagName}.
- Operation Id. : ExpressRouteLags_Get.
- Default Api Version. : 2026-01-01.
public virtual Azure.Response<Azure.ResourceManager.Network.ExpressRouteLagResource> GetExpressRouteLag(string expressRouteLagName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetExpressRouteLag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.ExpressRouteLagResource>
override this.GetExpressRouteLag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.ExpressRouteLagResource>
Public Overridable Function GetExpressRouteLag (expressRouteLagName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ExpressRouteLagResource)
Parameters
- expressRouteLagName
- String
The name of ExpressRouteLag.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
expressRouteLagName is null.
expressRouteLagName is an empty string, and was expected to be non-empty.