Skip to content

[Network] az network traffic-manager: Use stable API version 2026-09-01 - #34137

Open
ransinha1989 wants to merge 2 commits into
Azure:devfrom
ransinha1989:trafficmanager-stable-api-2026-09-01
Open

ransinha1989 wants to merge 2 commits into
Azure:devfrom
ransinha1989:trafficmanager-stable-api-2026-09-01

Conversation

@ransinha1989

@ransinha1989 ransinha1989 commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

🤖 PR Validation — ️✔️ All clear

Breaking Changes Tests
️✔️ None ️✔️ 130/130

Related command

az network traffic-manager profile

az network traffic-manager endpoint

Description

Updates the generated Traffic Manager commands from API version 2024-04-01-preview to the stable 2026-09-01 API version.

This change also:

  • Expands the --record-type help to describe behavior when the value is unset.
  • Adds --record-type A to the stable profile creation examples.
  • Adds an example for setting the record type on an existing profile where it is currently unset.
  • Tests creating a profile with a record type, setting it when initially unset, and rejecting attempts to modify it after it has been set.
  • Updates the Traffic Manager RecordType test recordings to 2026-09-01.

Corresponding AAZ PR: Azure/aaz#1106

Testing Guide

azdev test test_network_traffic_manager_record_type test_network_traffic_manager_record_type_update --series
python -m pylint --rcfile pylintrc src/azure-cli/azure/cli/command_modules/network/_params.py src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: f9a6fe31-5d27-4a95-a0fe-f01fd42ab007
Copilot AI lite review requested due to automatic review settings September 25, 2026 20:29
@ransinha1989
ransinha1989 requested a review from a team as a code owner September 25, 2026 20:29
@azure-client-tools-bot-prd

Copy link
Copy Markdown

Hi ransinha1989,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

One or more issues must be addressed before approval.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity

Open (1)
What changed in this PR

Updates Traffic Manager commands to stable API version 2026-09-01 and adds coverage for immutable record types.

Changes:

  • Updates profile and endpoint AAZ commands to the stable API.
  • Expands record-type help and regression testing.
  • Refreshes two Traffic Manager recordings.
File Description
src/​azure-cli/​azure/​cli/​command_modules/​network/​tests/​latest/​test_network_commands.py Updated as part of this pull request.
src/​azure-cli/​azure/​cli/​command_modules/​network/​tests/​latest/​recordings/​test_network_traffic_manager_record_type.yaml Updated as part of this pull request.
src/​azure-cli/​azure/​cli/​command_modules/​network/​tests/​latest/​recordings/​test_network_traffic_manager_record_type_update.yaml Updated as part of this pull request.
src/​azure-cli/​azure/​cli/​command_modules/​network/​aaz/​latest/​network/​traffic_manager/​profile/​_update.py Updated as part of this pull request.
src/​azure-cli/​azure/​cli/​command_modules/​network/​aaz/​latest/​network/​traffic_manager/​profile/​_show.py Updated as part of this pull request.
src/​azure-cli/​azure/​cli/​command_modules/​network/​aaz/​latest/​network/​traffic_manager/​profile/​_list.py Updated as part of this pull request.
src/​azure-cli/​azure/​cli/​command_modules/​network/​aaz/​latest/​network/​traffic_manager/​profile/​_delete.py Updated as part of this pull request.
src/​azure-cli/​azure/​cli/​command_modules/​network/​aaz/​latest/​network/​traffic_manager/​profile/​_create.py Updated as part of this pull request.
src/​azure-cli/​azure/​cli/​command_modules/​network/​aaz/​latest/​network/​traffic_manager/​profile/​_check_dns.py Updated as part of this pull request.
src/​azure-cli/​azure/​cli/​command_modules/​network/​aaz/​latest/​network/​traffic_manager/​endpoint/​_update.py Updated as part of this pull request.
src/​azure-cli/​azure/​cli/​command_modules/​network/​aaz/​latest/​network/​traffic_manager/​endpoint/​_show.py Updated as part of this pull request.
src/​azure-cli/​azure/​cli/​command_modules/​network/​aaz/​latest/​network/​traffic_manager/​endpoint/​_show_geographic_hierarchy.py Updated as part of this pull request.
src/​azure-cli/​azure/​cli/​command_modules/​network/​aaz/​latest/​network/​traffic_manager/​endpoint/​_delete.py Updated as part of this pull request.
src/​azure-cli/​azure/​cli/​command_modules/​network/​aaz/​latest/​network/​traffic_manager/​endpoint/​_create.py Updated as part of this pull request.
src/​azure-cli/​azure/​cli/​command_modules/​network/​_params.py Updated as part of this pull request.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ransinha1989 ransinha1989 changed the title Use stable Traffic Manager API [Network] az network traffic-manager: Use stable API version 2026-09-01 Sep 25, 2026
@x-engineering-agent

Copy link
Copy Markdown
Contributor

Automated sensitive-information remediation ran on this pull request.

  • Detected categories: email address
  • Replaced with typed [REDACTED:category] placeholders in: no PR metadata fields
  • Comment/review owners notified because X Engineering Agent cannot edit another user's text: none

X Engineering Agent does not modify source files. The PR creator must remove or replace each suspected value at the linked line:

  • No changed-file findings

If a credential was exposed, rotate or revoke it immediately. Detected values are never copied into this comment.

✅ Confirm the finding · ❌ Dispute the finding

GitHub only supports a fixed reaction set, so 👍 represents ✅ and 👎 represents ❌. The bot-created reactions are only poll choices.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: f9a6fe31-5d27-4a95-a0fe-f01fd42ab007
@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

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

@yonzhan

Copy link
Copy Markdown
Collaborator

Please fix CI issues

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants