monitor health-models: mark models as Preview + make 2 actions plural (API default) and not singular#1039
Merged
Conversation
The az monitor health-models command group is shipped as a preview extension (azext.isPreview=true, version 1.0.0b1) but its aaz command models were registered with stage **Stable**, so the generated CLI command groups/commands do not carry is_preview and omit the [Preview] tag in help. Flip the version-line stage from **Stable** to **Preview** across all health-models command models (39 commands) to match the extension's preview status, mirroring existing preview groups (storage-discovery, durabletask). Related: Azure/ahm-planning#3527 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…o plural The 2026-05-01-preview aaz command-model rebuild renamed two entity action commands to singular (get-signal-recommendation, get-data-annotation), diverging from the API spec. The REST operations are plural everywhere: TypeSpec @action("getSignalRecommendations")/@action("getDataAnnotations"), the operation URLs (.../getsignalrecommendations, .../getdataannotations), the operationIds (Entities_GetSignalRecommendations/GetDataAnnotations), and the already-shipped azure-cli-extensions commands. Rename the command names back to plural to match the spec and the extension. Related: Azure/ahm-planning#3527 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…urar renamces Signed-off-by: Andre Bossard <anbossar@microsoft.com>
4 tasks
necusjz
approved these changes
Jul 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Mark the
monitor health-modelsaaz command models as Preview (was Stable).Also, I had two commands in singular, but they should be plural (like that API is).
Why
The
az monitor health-modelsextension ships as preview (azext.isPreview=true, version1.0.0b1,Development Status :: 4 - Beta), but its aaz command models were registered with stage**Stable**. As a result some documentation didn't properly register as "preview"Related: Azure/ahm-planning#3527