Repository navigation
Description
Preconditions
- No need to upgrade Python SDK or the Python SDK is ready.
The service team confirms that the Python SDK is ready.
Related command
Proposed new commands, subject to Azure CLI naming conventions:
az network express-route lag authorization create
az network express-route lag authorization show
az network express-route lag authorization list
az network express-route lag authorization delete
az network express-route lag authorization list-keys
Also affects:
az network express-route create
az network express-route lag show
az network express-route lag list
The base LAG command group and circuit-on-LAG support are tracked in #34292 and #34294.
Resource Provider
Microsoft.Network
Affected resource types:
Microsoft.Network/expressRouteLags/authorizationsMicrosoft.Network/expressRouteLagsMicrosoft.Network/expressRouteCircuits
Description of Feature or Work Requested
Please add Azure CLI support for ExpressRoute LAG authorizations and authorization-based circuit provisioning on a LAG, introduced in API version 2026-03-01.
The Swagger adds a LAG authorization child resource with create/update, get, list, delete, and explicit key-retrieval operations. It also adds an example of creating a circuit on a LAG using an authorization key.
Requested changes:
-
Manage LAG authorization resources
- Expose
ExpressRouteLagAuthorizations_CreateOrUpdate,Get,List, andDelete. - Identify the subscription, resource group, parent LAG, and authorization name.
- Support authorization creation with the example request body
{"properties": {}}; the caller does not supply an authorization key or the read-only status properties. - Handle asynchronous create/update and delete operations using standard CLI long-running-operation behavior.
- For create/update, honor the original-URI final-state behavior: the operation-status endpoint does not return the final authorization resource.
- Handle pagination for authorization lists.
- Expose
-
Expose authorization status and association
- Return the read-only properties
authorizationUseStatus,circuitResourceUri, andprovisioningState. - Support authorization use statuses
AvailableandInUse. - Preserve the parent LAG's new
properties.authorizationscollection in resource output.
- Return the read-only properties
-
Retrieve a LAG authorization key explicitly
- Expose
ExpressRouteLagAuthorizations_ListKeysthrough a dedicated action command. - Invoke POST on the authorization's
/listKeysendpoint with no request body. - Return the
ExpressRouteAuthorizationKeyresponse containingauthorizationKey. - Respect the shared response model's secret metadata and standard CLI secret-handling conventions, while allowing an authorized caller to explicitly retrieve the key.
- Do not assume the key is part of the LAG authorization resource's create/show/list response model; key retrieval is a separate action.
- This is key retrieval, not key regeneration or rotation.
- Expose
-
Create a circuit on a LAG using the authorization key
- Ensure the circuit creation workflow accepts the authorization key and serializes it as
properties.authorizationKey, together withproperties.expressRouteLag.id. - Reuse the circuit authorization-key parameter if already available, rather than introducing a duplicate.
- Support the accompanying
bandwidthInGbps,enableDirectPortRateLimit, and SKU settings demonstrated in the Swagger example. - Preserve existing circuit provisioning workflows and service-side permission enforcement.
- Ensure the circuit creation workflow accepts the authorization key and serializes it as
Minimum API Version Required
2026-03-01
This version introduces the LAG authorization resource, operations, use-status enum, and parent LAG authorizations collection. The circuit example reuses the existing circuit authorization-key property with the LAG reference.
Swagger PR link / SDK link
- Merged Swagger PR: Added ExpressRouteLag Authorization azure-rest-api-specs#46665
- ExpressRoute API specification
- Shared definitions
- LAG authorization TypeSpec operations
- TypeSpec models
- Python SDK status: Ready, as confirmed by the service team. Package version/link: To be provided.
Request Example
The merged Swagger includes request and response examples for:
- Create a LAG authorization
- Get a LAG authorization
- List LAG authorizations
- Delete a LAG authorization
- Retrieve a LAG authorization key
- Create a circuit on a LAG using an authorization key
- Get a LAG, including its authorizations collection
Expected workflow:
- Create an authorization under an existing LAG.
- Retrieve its key through the explicit
listKeysaction. - Use the key and LAG resource ID when creating the circuit.
- Inspect the authorization's use status and associated circuit URI.
Authorization creation body:
{
"properties": {}
}Example circuit creation body, based on the Swagger example:
{
"location": "<azure-region>",
"properties": {
"authorizationKey": "<authorization-key>",
"bandwidthInGbps": 5,
"enableDirectPortRateLimit": true,
"expressRouteLag": {
"id": "/subscriptions/<lag-subscription-id>/resourceGroups/<lag-resource-group>/providers/Microsoft.Network/expressRouteLags/<lag-name>"
}
},
"sku": {
"name": "Premium_MeteredData",
"family": "MeteredData",
"tier": "Premium"
}
}Target Date
2026-11-15
PM Contact
Engineer Contact
Additional context
- Requested placement: Azure CLI core
networkmodule, under the proposed ExpressRoute LAG authorization subgroup and existing circuit creation workflow. - Swagger status: Merged on October 6, 2026.
- Service status: Preview and released, as confirmed by the service team.
- Regional availability: All regions, as confirmed by the service team.
- Prerequisite: An existing ExpressRoute LAG and appropriate service-side permissions to manage its authorizations and retrieve authorization keys.
- Other prerequisites: Supported clouds and any subscription allowlisting or feature registration requirements have not yet been specified.
- Related dependencies: [Network] Add Azure CLI support for ExpressRoute LAG resources #34292 covers base LAG resource management; [Network] Support ExpressRoute circuits on ExpressRoute LAG resources #34294 covers circuit provisioning on a LAG.
- Related but distinct request: [Network] Add ExpressRoute circuit and port authorization key retrieval #34293 covers key retrieval for circuit and port authorizations. This request adds the corresponding capability for LAG authorizations alongside their management operations.
Activity
yonzhan commentedon Oct 28, 2026
Thank you for opening this issue, we will look into it.