Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/health-models/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Release History
===============

1.0.0
+++++
* Use the stable ``2026-11-01`` API, remove preview markings, support entity signal aggregation groups and nested recommendation configurations, and remove ``lookBackWindow`` from threshold rules.

1.0.0b2
++++++
* Mark the ``az monitor health-models`` command group and all of its commands as preview (``[Preview]``), matching the extension's preview status.
Expand Down
2 changes: 2 additions & 0 deletions src/health-models/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
This is the extension for Azure Health Models.
Azure Health Models (`Microsoft.CloudHealth`) represent the operational health of a workload as an entity graph. Entities are services or components, edges are parent-child relationships, and each entity carries health signals derived from metrics or logs. Signals roll up through the graph. Alerts can be configured to get notified on health changes.

Version 1.0.0 uses the stable `2026-11-01` API. Entity create and update accept `--signal-aggregation-groups`. Signal recommendations return kind-specific fields under `configuration`, identified by `configuration.signalKind`. Threshold rules no longer accept `lookBackWindow`.

### How to use ###
Install this extension using the below CLI command
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command_group(
"monitor health-models",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage Azure Monitor health models.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"monitor health-models create",
is_preview=True,
)
class Create(AAZCommand):
"""Create a HealthModel
Expand All @@ -23,9 +22,9 @@ class Create(AAZCommand):
"""

_aaz_info = {
"version": "2026-05-01-preview",
"version": "2026-11-01",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "2026-05-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "2026-11-01"],
]
}

Expand Down Expand Up @@ -179,7 +178,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-05-01-preview",
"api-version", "2026-11-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"monitor health-models delete",
is_preview=True,
confirmation="Are you sure you want to perform this operation?",
)
class Delete(AAZCommand):
Expand All @@ -24,9 +23,9 @@ class Delete(AAZCommand):
"""

_aaz_info = {
"version": "2026-05-01-preview",
"version": "2026-11-01",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "2026-05-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "2026-11-01"],
]
}

Expand Down Expand Up @@ -147,7 +146,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-05-01-preview",
"api-version", "2026-11-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"monitor health-models list",
is_preview=True,
)
class List(AAZCommand):
"""List HealthModel resources by subscription ID
Expand All @@ -26,10 +25,10 @@ class List(AAZCommand):
"""

_aaz_info = {
"version": "2026-05-01-preview",
"version": "2026-11-01",
"resources": [
["mgmt-plane", "/subscriptions/{}/providers/microsoft.cloudhealth/healthmodels", "2026-05-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels", "2026-05-01-preview"],
["mgmt-plane", "/subscriptions/{}/providers/microsoft.cloudhealth/healthmodels", "2026-11-01"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels", "2026-11-01"],
]
}

Expand Down Expand Up @@ -116,7 +115,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-05-01-preview",
"api-version", "2026-11-01",
required=True,
),
}
Expand Down Expand Up @@ -286,7 +285,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-05-01-preview",
"api-version", "2026-11-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"monitor health-models show",
is_preview=True,
)
class Show(AAZCommand):
"""Get a HealthModel
Expand All @@ -23,9 +22,9 @@ class Show(AAZCommand):
"""

_aaz_info = {
"version": "2026-05-01-preview",
"version": "2026-11-01",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "2026-05-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "2026-11-01"],
]
}

Expand Down Expand Up @@ -124,7 +123,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-05-01-preview",
"api-version", "2026-11-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"monitor health-models update",
is_preview=True,
)
class Update(AAZCommand):
"""Update a HealthModel
Expand All @@ -23,9 +22,9 @@ class Update(AAZCommand):
"""

_aaz_info = {
"version": "2026-05-01-preview",
"version": "2026-11-01",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "2026-05-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "2026-11-01"],
]
}

Expand Down Expand Up @@ -157,7 +156,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-05-01-preview",
"api-version", "2026-11-01",
required=True,
),
}
Expand Down Expand Up @@ -256,7 +255,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-05-01-preview",
"api-version", "2026-11-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand):

_aaz_info = {
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "2026-05-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "2026-11-01"],
]
}

Expand Down Expand Up @@ -119,7 +119,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-05-01-preview",
"api-version", "2026-11-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command_group(
"monitor health-models authentication-setting",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage Authenticationsetting
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"monitor health-models authentication-setting create",
is_preview=True,
)
class Create(AAZCommand):
"""Create a AuthenticationSetting
Expand All @@ -23,9 +22,9 @@ class Create(AAZCommand):
"""

_aaz_info = {
"version": "2026-05-01-preview",
"version": "2026-11-01",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "2026-05-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "2026-11-01"],
]
}

Expand Down Expand Up @@ -180,7 +179,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-05-01-preview",
"api-version", "2026-11-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"monitor health-models authentication-setting delete",
is_preview=True,
confirmation="Are you sure you want to perform this operation?",
)
class Delete(AAZCommand):
Expand All @@ -24,9 +23,9 @@ class Delete(AAZCommand):
"""

_aaz_info = {
"version": "2026-05-01-preview",
"version": "2026-11-01",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "2026-05-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "2026-11-01"],
]
}

Expand Down Expand Up @@ -160,7 +159,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-05-01-preview",
"api-version", "2026-11-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"monitor health-models authentication-setting list",
is_preview=True,
)
class List(AAZCommand):
"""List AuthenticationSetting resources by HealthModel
Expand All @@ -23,9 +22,9 @@ class List(AAZCommand):
"""

_aaz_info = {
"version": "2026-05-01-preview",
"version": "2026-11-01",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings", "2026-05-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings", "2026-11-01"],
]
}

Expand Down Expand Up @@ -125,7 +124,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-05-01-preview",
"api-version", "2026-11-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"monitor health-models authentication-setting show",
is_preview=True,
)
class Show(AAZCommand):
"""Get a AuthenticationSetting
Expand All @@ -23,9 +22,9 @@ class Show(AAZCommand):
"""

_aaz_info = {
"version": "2026-05-01-preview",
"version": "2026-11-01",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "2026-05-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "2026-11-01"],
]
}

Expand Down Expand Up @@ -137,7 +136,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-05-01-preview",
"api-version", "2026-11-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command(
"monitor health-models authentication-setting update",
is_preview=True,
)
class Update(AAZCommand):
"""Update a AuthenticationSetting
Expand All @@ -23,9 +22,9 @@ class Update(AAZCommand):
"""

_aaz_info = {
"version": "2026-05-01-preview",
"version": "2026-11-01",
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "2026-05-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "2026-11-01"],
]
}

Expand Down Expand Up @@ -181,7 +180,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-05-01-preview",
"api-version", "2026-11-01",
required=True,
),
}
Expand Down Expand Up @@ -284,7 +283,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-05-01-preview",
"api-version", "2026-11-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand):

_aaz_info = {
"resources": [
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "2026-05-01-preview"],
["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "2026-11-01"],
]
}

Expand Down Expand Up @@ -132,7 +132,7 @@ def url_parameters(self):
def query_parameters(self):
parameters = {
**self.serialize_query_param(
"api-version", "2026-05-01-preview",
"api-version", "2026-11-01",
required=True,
),
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

@register_command_group(
"monitor health-models discovery-rule",
is_preview=True,
)
class __CMDGroup(AAZCommandGroup):
"""Manage Discoveryrule
Expand Down
Loading
Loading