Skip to content

{ARO} Migrate validator to aaz-based implementation - #34119

Open
William (william051200) wants to merge 1 commit into
Azure:devfrom
william051200:migrate-aro
Open

William (william051200) wants to merge 1 commit into
Azure:devfrom
william051200:migrate-aro

Conversation

@william051200

@william051200 William (william051200) commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

🤖 PR Validation — ️✔️ All clear

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

Related command

Description

Migration from mgmt.compute to aaz-based

Testing Guide

History Notes


This checklist is used to make sure that common guidelines for a pull request are followed.

Copilot AI lite review requested due to automatic review settings September 23, 2026 02:52
@william051200
William (william051200) requested a review from a team as a code owner September 23, 2026 02:52
@azure-client-tools-bot-prd

Copy link
Copy Markdown

Hi William (@william051200),
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

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

🔵 Needs a closer look

Add coverage for translating AAZ Show failures into InvalidArgumentValueError.

Review effort: Lite
Findings: None

What changed in this PR

Migrates ARO disk encryption set validation from the Compute SDK to the generated AAZ command.

Changes:

  • Replaces SDK lookup with AAZ-based lookup.
  • Updates validator unit tests for AAZ invocation and arguments.
File Summary
src/​azure-cli/​azure/​cli/​command_modules/​aro/​tests/​latest/​unit/​test_validators.py Updates tests for the AAZ implementation.
src/​azure-cli/​azure/​cli/​command_modules/​aro/​_validators.py Uses the AAZ disk encryption set Show command.

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

@yonzhan

Copy link
Copy Markdown
Collaborator

ARO

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.

3 participants