Skip to content

[HorizonDB] Add pool maintenance-event command models - #1173

Open
Matthew Boentoro (mattboentoro) wants to merge 3 commits into
Azure:mainfrom
mattboentoro:feature/horizondb-maintenance-events
Open

Matthew Boentoro (mattboentoro) wants to merge 3 commits into
Azure:mainfrom
mattboentoro:feature/horizondb-maintenance-events

Conversation

@mattboentoro

Copy link
Copy Markdown
Member

please provide the link to the corresponding pull request in Azure/azure-cli or Azure/azure-cli-extensions:

Azure/azure-cli-extensions#10602

Summary

Add HorizonDB pool maintenance-event list and show command models for API version 2026-10-01-preview, with JSON/XML resource models and command-group metadata.

The companion CLI PR intentionally returns the portal's static system-managed-maintenance message for list and hides show. Those behaviors remain extension-side overrides; these models retain the underlying REST contracts.

Validation

  • aaz-dev command-model verify --aaz-path C:\workspace\aaz --target horizondb - passed.
  • git --no-pager diff --cached --check - passed before commit.

Both JSON models also passed native schema validation, their XML files exactly matched native serialization, and their GET routes/API versions matched the generated CLI commands.

🐾 Generated with PAW

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: cc5bd08e-335e-4241-8a98-9e6f8ebab442
Keep the new maintenance commands in Preview and retain the existing HorizonDB, cluster, and pool summaries.

Ref: Azure/azure-cli-extensions#10602 (comment)
Ref: Azure/azure-cli-extensions#10602 (comment)
Ref: Azure/azure-cli-extensions#10602 (comment)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: cc5bd08e-335e-4241-8a98-9e6f8ebab442
@mattboentoro

Copy link
Copy Markdown
Member Author

🐾 Implementation Reviewer 🤖:

Addressed the model-alignment feedback from Azure/azure-cli-extensions#10602 in fbc435292: restored the original root/cluster/pool summaries and marked the new maintenance-event list/show commands Preview. The 2026-10-01-preview resource definitions are unchanged.

Model verification passed. Native CLI regeneration in an isolated copy matched the generated commands, arguments, API version, and parent groups in the updated extension; only the intentional CLI-only hide=True was excluded from the AST comparison. The extension's offline list override remains a customization. Corresponding CLI metadata fixes and offline regression tests are pushed in Azure/azure-cli-extensions#10602 (head 9558eff0d).

Use the native AAZ model controller to update the command summary and its
group index to List maintenance events for a HorizonDB pool. Keep the
Preview version, examples, resource definitions, and API version unchanged.

Ref: Azure/azure-cli-extensions#10602 (comment)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: cc5bd08e-335e-4241-8a98-9e6f8ebab442
@mattboentoro

Copy link
Copy Markdown
Member Author

🐾 Implementation Reviewer 🤖:

Published d7f9f31f1 for the latest feedback on Azure/azure-cli-extensions#10602. Native AAZ tooling updated the maintenance-event list help and parent group index to exactly List maintenance events for a HorizonDB pool. No arguments, resource definitions, examples, API version (2026-10-01-preview), or Preview metadata changed.

aaz-dev command-model verify --aaz-path C:\workspace\aaz --target horizondb passed. Native CLI regeneration changed only the requested generated summary; the corresponding CLI commit a966b29a4 and its recording follow-up ff3d2b97a are committed locally but not yet pushed because local Git-hook handling remains blocked. This AAZ branch is published and synchronized with origin; the CLI summary thread remains open until its generated change is published.

@mattboentoro

Copy link
Copy Markdown
Member Author

🐾 Implementation Reviewer 🤖:

The companion CLI changes are now published in Azure/azure-cli-extensions#10602 at ff3d2b97a, including the native regeneration from this PR's summary correction. Both published branches now contain List maintenance events for a HorizonDB pool. The full HorizonDB playback rerun passed all 63 tests; the generated API version remains 2026-10-01-preview.

@mattboentoro

Copy link
Copy Markdown
Member Author

Yeming Liu (@isra-fel), given that the PR is merged, can we merge this PR too?

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.

1 participant