Skip to content

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

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

Matthew Boentoro (mattboentoro) wants to merge 2 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).

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