CLIs for Azure Resiliency - #10323
Conversation
- Update HISTORY.rst with detailed command surface and initial release information. - Revise README.md to include comprehensive command groups and usage examples. - Implement unit tests for command registration and API version consistency in test_azure_resilience_management.py. - Add Azure Resilience Management entry to service_name.json with relevant documentation URL.
|
Hi krtcodee, |
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
|
Thank you for your contribution krtcodee! We will review the pull request and get back to you soon. |
There was a problem hiding this comment.
🟡 Changes recommended
The release notes file contains tab-indented reStructuredText that should be converted to spaces to avoid formatting/lint issues.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This pull request introduces a new Azure CLI extension (azure-resilience-management) that provides az resilience ... command groups generated via AAZ tooling, and registers the service in the repo’s service-name mapping.
Changes:
- Adds
az resilienceservice entry tosrc/service_name.json. - Adds the new
src/azure-resilience-managementextension skeleton (packaging metadata, loader wiring, and azext metadata). - Adds generated AAZ command tree plus a generated test suite to validate command surface and API version consistency.
File summaries
| File | Description |
|---|---|
| src/service_name.json | Registers the new az resilience command group with a Learn URL. |
| src/azure-resilience-management/setup.py | Adds packaging metadata for the new extension. |
| src/azure-resilience-management/setup.cfg | Adds extension build config placeholder. |
| src/azure-resilience-management/HISTORY.rst | Adds initial release notes and command surface summary. |
| src/azure-resilience-management/azext_azure_resilience_management/tests/latest/test_azure_resilience_management.py | Adds generated tests to validate command surface, groups, and API version usage. |
| src/azure-resilience-management/azext_azure_resilience_management/tests/latest/init.py | Initializes the latest tests package. |
| src/azure-resilience-management/azext_azure_resilience_management/tests/init.py | Initializes the tests package. |
| src/azure-resilience-management/azext_azure_resilience_management/custom.py | Adds generated custom module stub (logger only). |
| src/azure-resilience-management/azext_azure_resilience_management/commands.py | Adds generated command table stub (AAZ commands are loaded via the loader). |
| src/azure-resilience-management/azext_azure_resilience_management/azext_metadata.json | Declares preview status and minimum CLI core version. |
| src/azure-resilience-management/azext_azure_resilience_management/aaz/latest/** | Adds generated AAZ command implementation modules for the extension command surface. |
| src/azure-resilience-management/azext_azure_resilience_management/_params.py | Adds generated argument loader stub. |
| src/azure-resilience-management/azext_azure_resilience_management/_help.py | Adds generated help registration import stub. |
| src/azure-resilience-management/azext_azure_resilience_management/init.py | Wires the extension loader to AAZ command loading. |
Review details
- Files reviewed: 69/142 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| * Initial preview release of the ``azure-resilience-management`` extension. | ||
| Targets API version ``2026-08-31-preview`` of | ||
| ``Microsoft.AzureResilienceManagement``. | ||
|
|
||
| Command surface: | ||
|
|
||
| * ``az resilience drill`` -- manage drills, drill resources, drill runs, | ||
| reports, and managed identities. | ||
| * ``az resilience goal-assignment`` -- manage goal assignments, goal | ||
| resources, capacity recommendations, and resource refresh operations. | ||
| * ``az resilience goal-template`` -- create and manage reusable goal | ||
| templates. | ||
| * ``az resilience recovery-plan`` -- manage recovery plans, recovery | ||
| resources, recovery jobs, managed identities, and recovery operations. | ||
| * ``az resilience unified-resilience-item`` -- list and show aggregated | ||
| resilience information. | ||
| * ``az resilience usage-plan`` -- manage subscription usage plans and | ||
| service-group enrollments. No newline at end of file |
|
@microsoft-github-policy-service agree company="Microsoft" |
|
CLIs for Azure Resiliency |
Creating CLIs for Azure Resiliency