Skip to content

Add DisablePeeringRoute parameter to New-AzRouteTable#29252

Merged
VeryEarly merged 5 commits into
Azure:release-network-2025-07-01from
sonalsingh-msft:sonalsingh/dprPSChanges
Jul 21, 2026
Merged

Add DisablePeeringRoute parameter to New-AzRouteTable#29252
VeryEarly merged 5 commits into
Azure:release-network-2025-07-01from
sonalsingh-msft:sonalsingh/dprPSChanges

Conversation

@sonalsingh-msft

Copy link
Copy Markdown

Description

This PR adds support for the DisablePeeringRoute feature on Route Tables.

Changes:

  • Added DisablePeeringRoute property to RouteTable SDK model
  • Added DisablePeeringRoute.cs with None and All constants
  • Added DisablePeeringRoute property to PSRouteTable PowerShell model
  • Added -DisablePeeringRoute parameter to New-AzRouteTable cmdlet with ValidateSet("None", "All")
  • Added scenario test covering create and update operations
  • Updated help documentation for New-AzRouteTable

Related:

Checklist

  • I have read the contributing guidelines
  • The associated swagger spec PR has been merged
  • Check ChangeLog.md is updated

@azure-client-tools-bot-prd

Copy link
Copy Markdown
Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

@NoriZC

NoriZC commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines successfully started running 3 pipeline(s).

@NoriZC

NoriZC commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines successfully started running 3 pipeline(s).

@NoriZC NoriZC self-assigned this Mar 11, 2026
@github-actions

Copy link
Copy Markdown

This PR was labeled "needs-revision" because it has unresolved review comments or CI failures.
Please resolve all open review comments and make sure all CI checks are green. Refer to our guide to troubleshoot common CI failures.

@sonalsingh-msft
sonalsingh-msft force-pushed the sonalsingh/dprPSChanges branch from 88fd5f7 to 13909f3 Compare April 20, 2026 18:37
@YanaXu

YanaXu commented May 7, 2026

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines successfully started running 3 pipeline(s).

@VeryEarly

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines:
Successfully started running 3 pipeline(s).

Comment thread src/Network/Network/ChangeLog.md Outdated
@VeryEarly VeryEarly assigned VeryEarly and unassigned NoriZC Jul 19, 2026
Sonal Singh (from Dev Box) added 5 commits July 20, 2026 09:28
…egion

The DisablePeeringRoute feature is currently only enabled in the Central US EUAP canary region, so the test now targets that region. Also drops the list-vs-get assertion for DisablePeeringRoute because the route tables list endpoint does not project that property (only the single-resource GET returns it).
The New-AzRouteTable help documents -DisablePeeringRoute as accepting pipeline input by property name, and all other value-carrying parameters on this cmdlet (ResourceGroupName, Name, Location, Tag, Route) set ValueFromPipelineByPropertyName. Add it here for consistency and to keep the help in sync with the parameter definition.
Addresses review feedback: the entry was under the shipped Version 7.27.0 section; moved it to the top of Upcoming Release.
@sonalsingh-msft
sonalsingh-msft force-pushed the sonalsingh/dprPSChanges branch from 83fd32a to 548a296 Compare July 20, 2026 16:29
@VeryEarly

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Contributor
Azure Pipelines:
Successfully started running 3 pipeline(s).

@VeryEarly
VeryEarly merged commit b2ee9c1 into Azure:release-network-2025-07-01 Jul 21, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants