Skip to content

[horizondb] Add default parameter-group list and show models - #1175

Open
Alex Hughes (alxhghs) wants to merge 1 commit into
Azure:mainfrom
alxhghs:feature/horizondb-default-parameter-groups
Open

Alex Hughes (alxhghs) wants to merge 1 commit into
Azure:mainfrom
alxhghs:feature/horizondb-default-parameter-groups

Conversation

@alxhghs

Copy link
Copy Markdown
Member

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

Corresponding extension PR: Azure/azure-cli-extensions#10604

Summary

Add the preview command models for the regional HorizonDB default parameter-group endpoints in API version 2026-10-01-preview:

  • az horizondb parameter-group default list --location <location>
  • az horizondb parameter-group default show --location <location> --name <name>

Generated with aaz-dev 4.7.2. The change adds two resource configurations, their JSON/XML representations, command documentation, and the parent subgroup entry. Existing custom parameter-group commands are unchanged.

Validation

Validated the published AAZ model commit 727dfbdc3d9c090aef412f10ceb5ab3438f2bb72 against Azure/azure-cli-extensions#10604 head 93f0c3b7f3ce1e0e2d9a821496373b8e604e82d2:

  • aaz-dev command-model verify --aaz-path $env:AAZ_PATH --target horizondb - passed, with AAZ_PATH pointing to the model checkout.
  • Both added resource configurations reload through AAZSpecsManager and pass cfg.validate().
  • Regenerated the commands from the published models into a temporary directory. The resulting __cmd_group.py, __init__.py, _list.py, and _show.py are byte-for-byte identical to the files in the corresponding extension PR.
  • Built a temporary extension package containing those freshly regenerated files and ran all 55 HorizonDB unit tests against that package - passed. Verified that the tests imported the temporary package rather than the original checkout.
  • Separate checks against the extension checkout passed: the recorded parameter-group management playback scenario (one test), pylint, and flake8.

The new unit tests cover regional request routing, API version selection, pagination, empty-list results, and parameter metadata preservation. No live Azure or cross-cloud deployment validation was run.

Generate preview models from Microsoft.HorizonDb API version 2026-10-01-preview with aaz-dev 4.7.2. Metadata verification passes and regenerated CLI files match Azure/azure-cli-extensions#10604 byte-for-byte.

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

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 7e6fdf36-d42d-4c4e-8909-7b3f42fe627a
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