Skip to content

[Network] Add 2025-09-01 address prefix set and IP configuration move commands - #33950

Open
rajanalavarnitha-wq wants to merge 1 commit into
Azure:devfrom
rajanalavarnitha-wq:srajanala/network-2025-09-01-cli
Open

[Network] Add 2025-09-01 address prefix set and IP configuration move commands#33950
rajanalavarnitha-wq wants to merge 1 commit into
Azure:devfrom
rajanalavarnitha-wq:srajanala/network-2025-09-01-cli

Conversation

@rajanalavarnitha-wq

@rajanalavarnitha-wq rajanalavarnitha-wq commented Aug 21, 2026

Copy link
Copy Markdown

🤖 PR Validation — ❌ Action needed

Breaking Changes Tests
⚠️ None ❌ 128/130
⚠️AzureCLI-BreakingChangeTest
⚠️network
rule cmd_name rule_message suggest_message
⚠️ 1011 - SubgroupAdd network asg address-prefix-set sub group network asg address-prefix-set added
⚠️ 1001 - CmdAdd network vnet move-ip-configurations cmd network vnet move-ip-configurations added
❌AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.14
️✔️acs
️✔️latest
️✔️3.12
️✔️3.14
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.14
️✔️ams
️✔️latest
️✔️3.12
️✔️3.14
️✔️apim
️✔️latest
️✔️3.12
️✔️3.14
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.14
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.14
️✔️aro
️✔️latest
️✔️3.12
️✔️3.14
️✔️backup
️✔️latest
️✔️3.12
️✔️3.14
️✔️batch
️✔️latest
️✔️3.12
️✔️3.14
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.14
️✔️billing
️✔️latest
️✔️3.12
️✔️3.14
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.14
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.14
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.14
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.14
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.14
️✔️config
️✔️latest
️✔️3.12
️✔️3.14
️✔️configure
️✔️latest
️✔️3.12
️✔️3.14
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.14
️✔️container
️✔️latest
️✔️3.12
️✔️3.14
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.14
️✔️core
️✔️latest
️✔️3.12
️✔️3.14
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.14
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.14
️✔️dls
️✔️latest
️✔️3.12
️✔️3.14
️✔️dms
️✔️latest
️✔️3.12
️✔️3.14
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.14
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.14
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.14
️✔️find
️✔️latest
️✔️3.12
️✔️3.14
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.14
️✔️identity
️✔️latest
️✔️3.12
️✔️3.14
️✔️iot
️✔️latest
️✔️3.12
️✔️3.14
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.14
️✔️lab
️✔️latest
️✔️3.12
️✔️3.14
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.14
️✔️maps
️✔️latest
️✔️3.12
️✔️3.14
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.14
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.14
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.14
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.14
❌network
❌latest
❌3.12
Type Test Case Error Message Line
Failed test_address_prefix_set_command_schemas self = <azure.cli.command_modules.network.tests.latest.test_network_unit_tests.TestNetwork20250901AAZCommands testMethod=test_address_prefix_set_command_schemas>

    def test_address_prefix_set_command_schemas(self):
>       from azure.cli.command_modules.network.aaz.latest.network.asg.address_prefix_set._create import Create
E       ModuleNotFoundError: No module named 'azure.cli.command_modules.network.aaz.latest.network.asg.address_prefix_set._create'

src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_unit_tests.py:144: ModuleNotFoundError
src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_unit_tests.py:142
Failed test_move_ip_configurations_command_schema self = <azure.cli.command_modules.network.tests.latest.test_network_unit_tests.TestNetwork20250901AAZCommands testMethod=test_move_ip_configurations_command_schema>

    def test_move_ip_configurations_command_schema(self):
>       from azure.cli.command_modules.network.aaz.latest.network.vnet._move_ip_configurations import (
            MoveIpConfigurations,
        )
E       ModuleNotFoundError: No module named 'azure.cli.command_modules.network.aaz.latest.network.vnet._move_ip_configurations'

src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_unit_tests.py:161: ModuleNotFoundError
src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_unit_tests.py:159
❌3.14
Type Test Case Error Message Line
Failed test_address_prefix_set_command_schemas self = <azure.cli.command_modules.network.tests.latest.test_network_unit_tests.TestNetwork20250901AAZCommands testMethod=test_address_prefix_set_command_schemas>

    def test_address_prefix_set_command_schemas(self):
>       from azure.cli.command_modules.network.aaz.latest.network.asg.address_prefix_set._create import Create
E       ModuleNotFoundError: No module named 'azure.cli.command_modules.network.aaz.latest.network.asg.address_prefix_set._create'

src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_unit_tests.py:144: ModuleNotFoundError
src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_unit_tests.py:142
Failed test_move_ip_configurations_command_schema self = <azure.cli.command_modules.network.tests.latest.test_network_unit_tests.TestNetwork20250901AAZCommands testMethod=test_move_ip_configurations_command_schema>

    def test_move_ip_configurations_command_schema(self):
>       from azure.cli.command_modules.network.aaz.latest.network.vnet._move_ip_configurations import (
            MoveIpConfigurations,
        )
E       ModuleNotFoundError: No module named 'azure.cli.command_modules.network.aaz.latest.network.vnet._move_ip_configurations'

src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_unit_tests.py:161: ModuleNotFoundError
src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_unit_tests.py:159
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.14
️✔️postgresql
️✔️latest
️✔️3.12
️✔️3.14
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.14
️✔️profile
️✔️latest
️✔️3.12
️✔️3.14
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.14
️✔️redis
️✔️latest
️✔️3.12
️✔️3.14
️✔️relay
️✔️latest
️✔️3.12
️✔️3.14
️✔️resource
️✔️latest
️✔️3.12
️✔️3.14
️✔️role
️✔️latest
️✔️3.12
️✔️3.14
️✔️search
️✔️latest
️✔️3.12
️✔️3.14
️✔️security
️✔️latest
️✔️3.12
️✔️3.14
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.14
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.14
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.14
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.14
️✔️sql
️✔️latest
️✔️3.12
️✔️3.14
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.14
️✔️storage
️✔️latest
️✔️3.12
️✔️3.14
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.14
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.14
️✔️util
️✔️latest
️✔️3.12
️✔️3.14
️✔️vm
️✔️latest
️✔️3.12
️✔️3.14

Description

Adds preview Azure CLI commands for the Microsoft.Network 2025-09-01 API:

  • az network asg address-prefix-set create|update|show|list|delete|wait
  • az network vnet move-ip-configurations

The commands use AAZ patterns, support long-running operations, and preserve the existing az network asg command registrations.

Related changes

Testing

  • python -m pytest src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_unit_tests.py -q (7 passed)
  • python -m flake8 on all changed Python files
  • azdev linter network --ci-exclusions --rules no_ids_for_list_commands option_length_too_long
  • Loaded help for the new commands and existing az network asg create

Release request

Requested for Azure CLI 2.90.0 / September 2026. The submission deadline is August 25, 2026; inclusion this late is understood to be best effort.

Please assign an Azure CLI Network developer contact for command UX review. The Network module CODEOWNER is @Azure/act-quality-productivity-squad.

Add preview commands for application security group address prefix sets and moving virtual network IP configurations.

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

Copilot-Session: 957dff6d-b827-4578-85f8-1e0bc9258733
Copilot AI lite review requested due to automatic review settings August 21, 2026 14:39
@rajanalavarnitha-wq
rajanalavarnitha-wq requested a review from a team as a code owner August 21, 2026 14:39
@azure-client-tools-bot-prd

Copy link
Copy Markdown

Hi rajanalavarnitha-wq,
Since the current milestone time is less than 7 days, this pr may not catch up with this release.

@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.

Pull request overview

This PR adds new preview Azure CLI commands in the Network module using the AAZ pattern for the Microsoft.Network 2025-09-01 API, covering Application Security Group (ASG) address prefix sets and a Virtual Network operation to move IP configurations.

Changes:

  • Added AAZ-generated az network asg address-prefix-set command group with create/update/show/list/delete/wait.
  • Added AAZ-generated az network vnet move-ip-configurations command.
  • Extended Network module unit tests to validate command registration and key argument schema characteristics for the new commands.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_unit_tests.py Adds unit tests asserting parent/child command registration and validating AAZ argument schemas for the new 2025-09-01 commands.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/vnet/_move_ip_configurations.py Introduces the new preview network vnet move-ip-configurations AAZ command implementation for API version 2025-09-01.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/vnet/init.py Ensures the new VNet AAZ command module is imported/registered.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/asg/address_prefix_set/_create.py Adds AAZ-generated create command for ASG address prefix sets (2025-09-01).
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/asg/address_prefix_set/_delete.py Adds AAZ-generated delete command for ASG address prefix sets (2025-09-01).
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/asg/address_prefix_set/_list.py Adds AAZ-generated list command for ASG address prefix sets (2025-09-01).
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/asg/address_prefix_set/_show.py Adds AAZ-generated show command for ASG address prefix sets (2025-09-01).
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/asg/address_prefix_set/_update.py Adds AAZ-generated update (generic update supported) for ASG address prefix sets (2025-09-01).
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/asg/address_prefix_set/_wait.py Adds AAZ-generated wait command for ASG address prefix sets (2025-09-01).
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/asg/address_prefix_set/__cmd_group.py Adds the preview command group registration for network asg address-prefix-set.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/asg/address_prefix_set/init.py Exports the address prefix set command group and commands.
src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/asg/init.py Imports/exports the new address_prefix_set command group and commands under ASG.

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

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

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

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

Labels

act-quality-productivity-squad Auto-Assign Auto assign by bot Network az network vnet/lb/nic/dns/etc...

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants