Skip to content

CLIs for Azure Resiliency - #10323

Open
krtcodee wants to merge 2 commits into
Azure:mainfrom
krtcodee:feature-azure-resilience-management
Open

CLIs for Azure Resiliency #10323
krtcodee wants to merge 2 commits into
Azure:mainfrom
krtcodee:feature-azure-resilience-management

Conversation

@krtcodee

Copy link
Copy Markdown

Creating CLIs for Azure Resiliency

- 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.
Copilot AI lite review requested due to automatic review settings September 10, 2026 19:22
@azure-client-tools-bot-prd

Copy link
Copy Markdown

Hi krtcodee,
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in pyproject.toml (or setup.py, if the extension has not migrated yet) as well.

@azure-pipelines

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

@microsoft-github-policy-service microsoft-github-policy-service Bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Sep 10, 2026
@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

Thank you for your contribution krtcodee! We will review the pull request and get back to you soon.

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.

🟡 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 resilience service entry to src/service_name.json.
  • Adds the new src/azure-resilience-management extension 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.

Comment on lines +8 to +25
* 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
@krtcodee

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree company="Microsoft"

@yonzhan

Copy link
Copy Markdown
Collaborator

CLIs for Azure Resiliency

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

Labels

customer-reported Issues that are reported by GitHub users external to the Azure organization.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants