Skip to content

Horizondb cluster failover from API Version 2026-10-01-preview - #1176

Open
Gabriel Lobo (thegabrielobo) wants to merge 1 commit into
Azure:mainfrom
thegabrielobo:feature/horizondb-cluster-failover
Open

Gabriel Lobo (thegabrielobo) wants to merge 1 commit into
Azure:mainfrom
thegabrielobo:feature/horizondb-cluster-failover

Conversation

@thegabrielobo

Copy link
Copy Markdown

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

Azure/azure-cli-extensions#10607

ADO 5812512: https://dev.azure.com/msdata/5603b9e3-ece0-4518-b9c8-1a36054d9970/_workitems/edit/5812512

Adds the horizondb cluster failover command model for the bodyless Clusters_Failover action in API 2026-10-01-preview.

  • Service-selected failover in the designated read-write pool; no pool/target/zone/mode/confirmation input.
  • Standard selectors, default LRO waiting and updated Cluster output, with --no-wait support.
  • Exported JSON/XML models, command help/examples and command-group index.

Testing:

  • aaz-dev command-model verify --aaz-path <aaz-checkout> --target horizondb - PASSED.
  • azdev scan --file-path <file> for each of the four committed model files - PASSED: no secrets detected.
  • Task-local aaz_failover.py verify - PASSED: exact targeted model-to-code regeneration, validated JSON to exact XML export, and preservation of existing command/wait selections. No whole-module regeneration.
  • Companion extension offline validation - PASSED: 65 tests and 145 subtests, zero skips.
  • Companion approved live recording - PASSED: 1 scenario, zero failures/errors/skips; authentic fixture audited and retained.
  • Authentic failover playback - PASSED: 1 scenario, zero skips, sockets blocked; standard azdev playback also passed.

The companion extension handles the command through generated AAZ LRO machinery without custom runtime code. The recording helper's isolated Python 3.10 SDK cassette-save workaround is test-only; no response semantics or shared SDK source were changed.

Model the bodyless Clusters_Failover action for API 2026-10-01-preview,
including standard selectors, default LRO waiting and no-wait support.

ADO 5812512.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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