[Network] Add move IP configurations command - #34025
Open
rajanalavarnitha-wq wants to merge 1 commit into
Open
Conversation
Add a preview AAZ command for the VirtualNetworks MoveIpConfigurations operation using API version 2025-09-01. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 957dff6d-b827-4578-85f8-1e0bc9258733
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
microsoft-github-policy-service
Bot
requested review from
Yu Chen (jsntcy),
Ethan Yang (necusjz) and
Yong Zhang (yonzhan)
September 2, 2026 23:26
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The new AAZ command is correctly registered, uses the expected LRO polling strategy and --no-wait pattern, and includes focused tests validating registration and schema basics.
Pull request overview
Adds a new preview AAZ command to the Network module to invoke the Microsoft.Network VirtualNetworks_MoveIpConfigurations action (API version 2025-09-01), enabling users to move IP configuration resource ID pairs with LRO polling and --no-wait support.
Changes:
- Introduces
az network vnet move-ip-configurationsas a preview AAZ command targetingVirtualNetworksMoveIpConfigurations(POST) withfinal-state-via: azure-async-operation. - Wires the new command into the
vnetAAZ package exports so it is discovered/loaded by the AAZ command loader. - Adds unit tests to verify command registration and argument schema requirements/options.
File summaries
| File | Description |
|---|---|
| src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/vnet/_move_ip_configurations.py | New generated AAZ command implementing the MoveIpConfigurations action with LRO polling and required args. |
| src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/vnet/init.py | Exposes the new command module via package imports for AAZ discovery/loading. |
| src/azure-cli/azure/cli/command_modules/network/tests/latest/test_move_ip_configurations_command.py | Adds tests for command registration and argument schema validation. |
Review details
- Files reviewed: 3/3 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Collaborator
|
Network |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 PR Validation — ❌ Action needed
❌AzureCLI-FullTest
Description
Adds the preview AAZ command
az network vnet move-ip-configurationsfor the Microsoft.NetworkVirtualNetworks_MoveIpConfigurationsaction in API version2025-09-01.The command accepts source/target IP configuration resource ID pairs, supports
--no-wait, and polls theAzure-AsyncOperationURL by default.Related changes
Testing
python -m pytest .../test_move_ip_configurations_command.py -q(2 passed)python -m flake8on changed command and test filesRelease request
Requested for Azure CLI 2.90.0 / September 2026. Inclusion is understood to be best effort because the original milestone deadline has passed.