Skip to content

monitor health-models: mark models as Preview + make 2 actions plural (API default) and not singular#1039

Merged
necusjz merged 3 commits into
Azure:mainfrom
abossard:feature/cloud-health-preview
Jul 2, 2026
Merged

monitor health-models: mark models as Preview + make 2 actions plural (API default) and not singular#1039
necusjz merged 3 commits into
Azure:mainfrom
abossard:feature/cloud-health-preview

Conversation

@abossard

@abossard abossard commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

What

Mark the monitor health-models aaz 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-models extension ships as preview (azext.isPreview=true, version 1.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

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>
@abossard abossard changed the title monitor health-models: mark command models as Preview monitor health-models: mark command models as preview and keep plural command notation everywhere Jul 1, 2026
…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>
@abossard abossard changed the title monitor health-models: mark command models as preview and keep plural command notation everywhere monitor health-models: mark models Preview + fix entity action commands to plural Jul 1, 2026
@abossard abossard changed the title monitor health-models: mark models Preview + fix entity action commands to plural monitor health-models: mark models as Preview + make 2 actions plural (API default) and not singular Jul 1, 2026
@abossard abossard marked this pull request as ready for review July 1, 2026 14:57
@abossard abossard marked this pull request as draft July 1, 2026 15:00
…urar renamces

Signed-off-by: Andre Bossard <anbossar@microsoft.com>
@necusjz necusjz merged commit be76d5e into Azure:main Jul 2, 2026
2 checks passed
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.

2 participants