Skip to content

[Az.Network] DisablePeeringRoute support for Route Tables for API version 2025-07-01 #32892

@sonalsingh-msft

Description

@sonalsingh-msft

Related command

az network route-table

az network route-table create/update should accept a new --disable-peering-route parameter with values None (default) or All.
az network route-table show/list should display the disablePeeringRoute property in the output.

Is your feature request related to a problem? Please describe.
The Azure Network RP has added a disablePeeringRoute property to Route Tables in API version 2025-07-01, but the CLI commands do not yet expose this capability.

Describe the solution you'd like

Add support for the new disablePeeringRoute property in Route Tables. A new optional property disablePeeringRoute has been added to RouteTable. This is an enum with two values:

None (default): Peering routes are enabled on the route table.
All: All peering routes are disabled on the route table.

az network route-table create/update should accept --disable-peering-route {None, All}
az network route-table show/list should display the property in output

Minimum API Version Required
2025-07-01

PM Contact
lijay@microsoft.com

Engineer Contact
sonalsingh@microsoft.com

Additional context
Swagger PR: [https://github.com/Azure/azure-rest-api-specs/pull/40931]
API version: 2025-07-01
Target resource type: Microsoft.Network/routeTables

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamNetworkaz network vnet/lb/nic/dns/etc...feature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions