From b378c52dbb76108a02f43cd103ad469acccac54c Mon Sep 17 00:00:00 2001 From: Andre Bossard Date: Tue, 16 Jun 2026 07:51:27 +0200 Subject: [PATCH 1/3] Add RP and command models for Microsoft.CloudHealth/healthModels (2026-01-01-preview) Signed-off-by: Andre Bossard --- Commands/cloud-health/healthmodel/_create.md | 21 + Commands/cloud-health/healthmodel/_delete.md | 16 + Commands/cloud-health/healthmodel/_list.md | 22 + Commands/cloud-health/healthmodel/_show.md | 16 + Commands/cloud-health/healthmodel/_update.md | 16 + .../authentication-setting/_create.md | 21 + .../authentication-setting/_delete.md | 16 + .../authentication-setting/_list.md | 16 + .../authentication-setting/_show.md | 16 + .../authentication-setting/_update.md | 16 + .../authentication-setting/readme.md | 20 + .../healthmodel/discovery-rule/_create.md | 21 + .../healthmodel/discovery-rule/_delete.md | 16 + .../healthmodel/discovery-rule/_list.md | 16 + .../healthmodel/discovery-rule/_show.md | 16 + .../healthmodel/discovery-rule/_update.md | 16 + .../healthmodel/discovery-rule/readme.md | 20 + .../healthmodel/entity/_create.md | 16 + .../healthmodel/entity/_delete.md | 16 + .../healthmodel/entity/_get-history.md | 21 + .../healthmodel/entity/_get-signal-history.md | 16 + .../entity/_ingest-health-report.md | 16 + .../cloud-health/healthmodel/entity/_list.md | 16 + .../cloud-health/healthmodel/entity/_show.md | 16 + .../healthmodel/entity/_update.md | 16 + .../cloud-health/healthmodel/entity/readme.md | 29 + .../healthmodel/identity/_assign.md | 21 + .../healthmodel/identity/_remove.md | 16 + .../healthmodel/identity/_show.md | 16 + .../healthmodel/identity/readme.md | 14 + Commands/cloud-health/healthmodel/readme.md | 40 + .../healthmodel/relationship/_create.md | 16 + .../healthmodel/relationship/_delete.md | 16 + .../healthmodel/relationship/_list.md | 16 + .../healthmodel/relationship/_show.md | 16 + .../healthmodel/relationship/_update.md | 16 + .../healthmodel/relationship/readme.md | 20 + .../healthmodel/signal-definition/_create.md | 21 + .../healthmodel/signal-definition/_delete.md | 16 + .../healthmodel/signal-definition/_list.md | 16 + .../healthmodel/signal-definition/_show.md | 16 + .../healthmodel/signal-definition/_update.md | 16 + .../healthmodel/signal-definition/readme.md | 20 + Commands/cloud-health/readme.md | 8 + Commands/readme.md | 3 + .../2026-01-01-preview.json | 1 + .../2026-01-01-preview.xml | 239 ++ .../2026-01-01-preview.md | 1 + .../2026-01-01-preview.json | 1 + .../2026-01-01-preview.xml | 1056 +++++++ .../2026-01-01-preview.json | 1 + .../2026-01-01-preview.xml | 114 + .../2026-01-01-preview.json | 1 + .../2026-01-01-preview.xml | 502 ++++ .../2026-01-01-preview.json | 1 + .../2026-01-01-preview.xml | 149 + .../2026-01-01-preview.json | 1 + .../2026-01-01-preview.xml | 680 +++++ .../2026-01-01-preview.json | 1 + .../2026-01-01-preview.xml | 432 +++ .../2026-01-01-preview.json | 1 + .../2026-01-01-preview.xml | 2571 +++++++++++++++++ .../2026-01-01-preview.json | 1 + .../2026-01-01-preview.xml | 114 + .../2026-01-01-preview.json | 1 + .../2026-01-01-preview.xml | 116 + .../2026-01-01-preview.json | 1 + .../2026-01-01-preview.xml | 146 + .../2026-01-01-preview.json | 1 + .../2026-01-01-preview.xml | 202 ++ .../2026-01-01-preview.json | 1 + .../2026-01-01-preview.xml | 1102 +++++++ .../2026-01-01-preview.json | 1 + .../2026-01-01-preview.xml | 127 + .../2026-01-01-preview.json | 1 + .../2026-01-01-preview.xml | 532 ++++ 76 files changed, 8884 insertions(+) create mode 100644 Commands/cloud-health/healthmodel/_create.md create mode 100644 Commands/cloud-health/healthmodel/_delete.md create mode 100644 Commands/cloud-health/healthmodel/_list.md create mode 100644 Commands/cloud-health/healthmodel/_show.md create mode 100644 Commands/cloud-health/healthmodel/_update.md create mode 100644 Commands/cloud-health/healthmodel/authentication-setting/_create.md create mode 100644 Commands/cloud-health/healthmodel/authentication-setting/_delete.md create mode 100644 Commands/cloud-health/healthmodel/authentication-setting/_list.md create mode 100644 Commands/cloud-health/healthmodel/authentication-setting/_show.md create mode 100644 Commands/cloud-health/healthmodel/authentication-setting/_update.md create mode 100644 Commands/cloud-health/healthmodel/authentication-setting/readme.md create mode 100644 Commands/cloud-health/healthmodel/discovery-rule/_create.md create mode 100644 Commands/cloud-health/healthmodel/discovery-rule/_delete.md create mode 100644 Commands/cloud-health/healthmodel/discovery-rule/_list.md create mode 100644 Commands/cloud-health/healthmodel/discovery-rule/_show.md create mode 100644 Commands/cloud-health/healthmodel/discovery-rule/_update.md create mode 100644 Commands/cloud-health/healthmodel/discovery-rule/readme.md create mode 100644 Commands/cloud-health/healthmodel/entity/_create.md create mode 100644 Commands/cloud-health/healthmodel/entity/_delete.md create mode 100644 Commands/cloud-health/healthmodel/entity/_get-history.md create mode 100644 Commands/cloud-health/healthmodel/entity/_get-signal-history.md create mode 100644 Commands/cloud-health/healthmodel/entity/_ingest-health-report.md create mode 100644 Commands/cloud-health/healthmodel/entity/_list.md create mode 100644 Commands/cloud-health/healthmodel/entity/_show.md create mode 100644 Commands/cloud-health/healthmodel/entity/_update.md create mode 100644 Commands/cloud-health/healthmodel/entity/readme.md create mode 100644 Commands/cloud-health/healthmodel/identity/_assign.md create mode 100644 Commands/cloud-health/healthmodel/identity/_remove.md create mode 100644 Commands/cloud-health/healthmodel/identity/_show.md create mode 100644 Commands/cloud-health/healthmodel/identity/readme.md create mode 100644 Commands/cloud-health/healthmodel/readme.md create mode 100644 Commands/cloud-health/healthmodel/relationship/_create.md create mode 100644 Commands/cloud-health/healthmodel/relationship/_delete.md create mode 100644 Commands/cloud-health/healthmodel/relationship/_list.md create mode 100644 Commands/cloud-health/healthmodel/relationship/_show.md create mode 100644 Commands/cloud-health/healthmodel/relationship/_update.md create mode 100644 Commands/cloud-health/healthmodel/relationship/readme.md create mode 100644 Commands/cloud-health/healthmodel/signal-definition/_create.md create mode 100644 Commands/cloud-health/healthmodel/signal-definition/_delete.md create mode 100644 Commands/cloud-health/healthmodel/signal-definition/_list.md create mode 100644 Commands/cloud-health/healthmodel/signal-definition/_show.md create mode 100644 Commands/cloud-health/healthmodel/signal-definition/_update.md create mode 100644 Commands/cloud-health/healthmodel/signal-definition/readme.md create mode 100644 Commands/cloud-health/readme.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.xml diff --git a/Commands/cloud-health/healthmodel/_create.md b/Commands/cloud-health/healthmodel/_create.md new file mode 100644 index 000000000..bccd9dd02 --- /dev/null +++ b/Commands/cloud-health/healthmodel/_create.md @@ -0,0 +1,21 @@ +# [Command] _cloud-health healthmodel create_ + +Create a health model. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Create a health model + ```bash + healthmodel create --resource-group myRG --name myModel --location eastus + ``` + +- Create a health model with a system-assigned managed identity + ```bash + healthmodel create --resource-group myRG --name myModel --location eastus --mi-system-assigned + ``` diff --git a/Commands/cloud-health/healthmodel/_delete.md b/Commands/cloud-health/healthmodel/_delete.md new file mode 100644 index 000000000..b9a39eaee --- /dev/null +++ b/Commands/cloud-health/healthmodel/_delete.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel delete_ + +Delete a health model. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Delete a health model + ```bash + healthmodel delete --resource-group myRG --name myModel --yes + ``` diff --git a/Commands/cloud-health/healthmodel/_list.md b/Commands/cloud-health/healthmodel/_list.md new file mode 100644 index 000000000..3f2a8c025 --- /dev/null +++ b/Commands/cloud-health/healthmodel/_list.md @@ -0,0 +1,22 @@ +# [Command] _cloud-health healthmodel list_ + +List health models in a resource group or across the subscription. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.xml) **Stable** + + + + +#### examples + +- List health models in a resource group + ```bash + healthmodel list --resource-group myRG + ``` + +- List health models in the subscription + ```bash + healthmodel list + ``` diff --git a/Commands/cloud-health/healthmodel/_show.md b/Commands/cloud-health/healthmodel/_show.md new file mode 100644 index 000000000..442044763 --- /dev/null +++ b/Commands/cloud-health/healthmodel/_show.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel show_ + +Get a health model. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Get a health model + ```bash + healthmodel show --resource-group myRG --name myModel + ``` diff --git a/Commands/cloud-health/healthmodel/_update.md b/Commands/cloud-health/healthmodel/_update.md new file mode 100644 index 000000000..266a4b47a --- /dev/null +++ b/Commands/cloud-health/healthmodel/_update.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel update_ + +Update a health model. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Update tags on a health model + ```bash + healthmodel update --resource-group myRG --name myModel --tags env=prod team=platform + ``` diff --git a/Commands/cloud-health/healthmodel/authentication-setting/_create.md b/Commands/cloud-health/healthmodel/authentication-setting/_create.md new file mode 100644 index 000000000..2fe7d2248 --- /dev/null +++ b/Commands/cloud-health/healthmodel/authentication-setting/_create.md @@ -0,0 +1,21 @@ +# [Command] _cloud-health healthmodel authentication-setting create_ + +Create an authentication setting backed by a managed identity. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Create an authentication setting backed by the model's system-assigned identity + ```bash + healthmodel authentication-setting create --resource-group myRG --health-model-name myModel --name myAuth --managed-identity SystemAssigned + ``` + +- Create an authentication setting backed by a user-assigned identity + ```bash + healthmodel authentication-setting create --resource-group myRG --health-model-name myModel --name myAuth --managed-identity /subscriptions/.../userAssignedIdentities/myUai + ``` diff --git a/Commands/cloud-health/healthmodel/authentication-setting/_delete.md b/Commands/cloud-health/healthmodel/authentication-setting/_delete.md new file mode 100644 index 000000000..6dc428669 --- /dev/null +++ b/Commands/cloud-health/healthmodel/authentication-setting/_delete.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel authentication-setting delete_ + +Delete an authentication setting. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Delete an authentication setting + ```bash + healthmodel authentication-setting delete --resource-group myRG --health-model-name myModel --name myAuth --yes + ``` diff --git a/Commands/cloud-health/healthmodel/authentication-setting/_list.md b/Commands/cloud-health/healthmodel/authentication-setting/_list.md new file mode 100644 index 000000000..455284f86 --- /dev/null +++ b/Commands/cloud-health/healthmodel/authentication-setting/_list.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel authentication-setting list_ + +List authentication settings in a health model. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- List authentication settings in a health model + ```bash + healthmodel authentication-setting list --resource-group myRG --health-model-name myModel + ``` diff --git a/Commands/cloud-health/healthmodel/authentication-setting/_show.md b/Commands/cloud-health/healthmodel/authentication-setting/_show.md new file mode 100644 index 000000000..f9bdf6d74 --- /dev/null +++ b/Commands/cloud-health/healthmodel/authentication-setting/_show.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel authentication-setting show_ + +Get an authentication setting. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Get an authentication setting + ```bash + healthmodel authentication-setting show --resource-group myRG --health-model-name myModel --name myAuth + ``` diff --git a/Commands/cloud-health/healthmodel/authentication-setting/_update.md b/Commands/cloud-health/healthmodel/authentication-setting/_update.md new file mode 100644 index 000000000..8a7855dee --- /dev/null +++ b/Commands/cloud-health/healthmodel/authentication-setting/_update.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel authentication-setting update_ + +Update an authentication setting. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Update the display name of an authentication setting + ```bash + healthmodel authentication-setting update --resource-group myRG --health-model-name myModel --name myAuth --display-name "Auth for production" + ``` diff --git a/Commands/cloud-health/healthmodel/authentication-setting/readme.md b/Commands/cloud-health/healthmodel/authentication-setting/readme.md new file mode 100644 index 000000000..e55149cf7 --- /dev/null +++ b/Commands/cloud-health/healthmodel/authentication-setting/readme.md @@ -0,0 +1,20 @@ +# [Group] _cloud-health healthmodel authentication-setting_ + +Manage authentication settings used by signal definitions and discovery rules. + +## Commands + +- [create](/Commands/cloud-health/healthmodel/authentication-setting/_create.md) +: Create an authentication setting backed by a managed identity. + +- [delete](/Commands/cloud-health/healthmodel/authentication-setting/_delete.md) +: Delete an authentication setting. + +- [list](/Commands/cloud-health/healthmodel/authentication-setting/_list.md) +: List authentication settings in a health model. + +- [show](/Commands/cloud-health/healthmodel/authentication-setting/_show.md) +: Get an authentication setting. + +- [update](/Commands/cloud-health/healthmodel/authentication-setting/_update.md) +: Update an authentication setting. diff --git a/Commands/cloud-health/healthmodel/discovery-rule/_create.md b/Commands/cloud-health/healthmodel/discovery-rule/_create.md new file mode 100644 index 000000000..273bf4f6d --- /dev/null +++ b/Commands/cloud-health/healthmodel/discovery-rule/_create.md @@ -0,0 +1,21 @@ +# [Command] _cloud-health healthmodel discovery-rule create_ + +Create a discovery rule. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Create a Resource Graph discovery rule + ```bash + healthmodel discovery-rule create --resource-group myRG --health-model-name myModel --name vmDiscovery --authentication-setting myAuth --discover-relationships Enabled --add-recommended-signals Enabled --resource-graph-query "resources | where type =~ 'microsoft.compute/virtualmachines'" + ``` + +- Create an Application Insights topology discovery rule + ```bash + healthmodel discovery-rule create --resource-group myRG --health-model-name myModel --name aiDiscovery --authentication-setting myAuth --discover-relationships Enabled --add-recommended-signals Enabled --application-insights-resource-id /subscriptions/.../components/myAppInsights + ``` diff --git a/Commands/cloud-health/healthmodel/discovery-rule/_delete.md b/Commands/cloud-health/healthmodel/discovery-rule/_delete.md new file mode 100644 index 000000000..50e19948b --- /dev/null +++ b/Commands/cloud-health/healthmodel/discovery-rule/_delete.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel discovery-rule delete_ + +Delete a discovery rule. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Delete a discovery rule + ```bash + healthmodel discovery-rule delete --resource-group myRG --health-model-name myModel --name vmDiscovery --yes + ``` diff --git a/Commands/cloud-health/healthmodel/discovery-rule/_list.md b/Commands/cloud-health/healthmodel/discovery-rule/_list.md new file mode 100644 index 000000000..02ed15cc9 --- /dev/null +++ b/Commands/cloud-health/healthmodel/discovery-rule/_list.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel discovery-rule list_ + +List discovery rules in a health model. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- List discovery rules in a health model + ```bash + healthmodel discovery-rule list --resource-group myRG --health-model-name myModel + ``` diff --git a/Commands/cloud-health/healthmodel/discovery-rule/_show.md b/Commands/cloud-health/healthmodel/discovery-rule/_show.md new file mode 100644 index 000000000..ea4961c8a --- /dev/null +++ b/Commands/cloud-health/healthmodel/discovery-rule/_show.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel discovery-rule show_ + +Get a discovery rule. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Get a discovery rule + ```bash + healthmodel discovery-rule show --resource-group myRG --health-model-name myModel --name vmDiscovery + ``` diff --git a/Commands/cloud-health/healthmodel/discovery-rule/_update.md b/Commands/cloud-health/healthmodel/discovery-rule/_update.md new file mode 100644 index 000000000..6a05d0a20 --- /dev/null +++ b/Commands/cloud-health/healthmodel/discovery-rule/_update.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel discovery-rule update_ + +Update a discovery rule. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Disable recommended signals on a discovery rule + ```bash + healthmodel discovery-rule update --resource-group myRG --health-model-name myModel --name vmDiscovery --add-recommended-signals Disabled + ``` diff --git a/Commands/cloud-health/healthmodel/discovery-rule/readme.md b/Commands/cloud-health/healthmodel/discovery-rule/readme.md new file mode 100644 index 000000000..88ed52473 --- /dev/null +++ b/Commands/cloud-health/healthmodel/discovery-rule/readme.md @@ -0,0 +1,20 @@ +# [Group] _cloud-health healthmodel discovery-rule_ + +Manage discovery rules that auto-populate a health model. + +## Commands + +- [create](/Commands/cloud-health/healthmodel/discovery-rule/_create.md) +: Create a discovery rule. + +- [delete](/Commands/cloud-health/healthmodel/discovery-rule/_delete.md) +: Delete a discovery rule. + +- [list](/Commands/cloud-health/healthmodel/discovery-rule/_list.md) +: List discovery rules in a health model. + +- [show](/Commands/cloud-health/healthmodel/discovery-rule/_show.md) +: Get a discovery rule. + +- [update](/Commands/cloud-health/healthmodel/discovery-rule/_update.md) +: Update a discovery rule. diff --git a/Commands/cloud-health/healthmodel/entity/_create.md b/Commands/cloud-health/healthmodel/entity/_create.md new file mode 100644 index 000000000..03096ee84 --- /dev/null +++ b/Commands/cloud-health/healthmodel/entity/_create.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel entity create_ + +Create an entity in a health model. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Create an entity in a health model + ```bash + healthmodel entity create --resource-group myRG --health-model-name myModel --name webTier --display-name "Web Tier" --impact Standard + ``` diff --git a/Commands/cloud-health/healthmodel/entity/_delete.md b/Commands/cloud-health/healthmodel/entity/_delete.md new file mode 100644 index 000000000..fa6a8b6b0 --- /dev/null +++ b/Commands/cloud-health/healthmodel/entity/_delete.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel entity delete_ + +Delete an entity. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Delete an entity + ```bash + healthmodel entity delete --resource-group myRG --health-model-name myModel --name webTier --yes + ``` diff --git a/Commands/cloud-health/healthmodel/entity/_get-history.md b/Commands/cloud-health/healthmodel/entity/_get-history.md new file mode 100644 index 000000000..4ae19bc7f --- /dev/null +++ b/Commands/cloud-health/healthmodel/entity/_get-history.md @@ -0,0 +1,21 @@ +# [Command] _cloud-health healthmodel entity get-history_ + +Get the health state transition history for an entity. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Get the last 24 hours of health state transitions for an entity + ```bash + healthmodel entity get-history --resource-group myRG --health-model-name myModel --entity-name webTier + ``` + +- Get health state history for a custom time window + ```bash + healthmodel entity get-history --resource-group myRG --health-model-name myModel --entity-name webTier --start-at 2026-01-01T00:00:00Z --end-at 2026-01-02T00:00:00Z + ``` diff --git a/Commands/cloud-health/healthmodel/entity/_get-signal-history.md b/Commands/cloud-health/healthmodel/entity/_get-signal-history.md new file mode 100644 index 000000000..5192af587 --- /dev/null +++ b/Commands/cloud-health/healthmodel/entity/_get-signal-history.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel entity get-signal-history_ + +Get the time series of values for a signal on an entity. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Get the time series for a signal on an entity + ```bash + healthmodel entity get-signal-history --resource-group myRG --health-model-name myModel --entity-name webTier --signal-name cpuPressure + ``` diff --git a/Commands/cloud-health/healthmodel/entity/_ingest-health-report.md b/Commands/cloud-health/healthmodel/entity/_ingest-health-report.md new file mode 100644 index 000000000..33d2d5396 --- /dev/null +++ b/Commands/cloud-health/healthmodel/entity/_ingest-health-report.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel entity ingest-health-report_ + +Push an external health report for a signal on an entity. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Push an external health report for a signal on an entity + ```bash + healthmodel entity ingest-health-report --resource-group myRG --health-model-name myModel --entity-name webTier --signal-name synthetic-probe --health-state Healthy --value 1 --expires-in-minutes 10 --additional-context "HTTP 200 from synthetic probe" + ``` diff --git a/Commands/cloud-health/healthmodel/entity/_list.md b/Commands/cloud-health/healthmodel/entity/_list.md new file mode 100644 index 000000000..d44065834 --- /dev/null +++ b/Commands/cloud-health/healthmodel/entity/_list.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel entity list_ + +List entities in a health model. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- List entities in a health model + ```bash + healthmodel entity list --resource-group myRG --health-model-name myModel + ``` diff --git a/Commands/cloud-health/healthmodel/entity/_show.md b/Commands/cloud-health/healthmodel/entity/_show.md new file mode 100644 index 000000000..11770fccb --- /dev/null +++ b/Commands/cloud-health/healthmodel/entity/_show.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel entity show_ + +Get an entity. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Get an entity + ```bash + healthmodel entity show --resource-group myRG --health-model-name myModel --name webTier + ``` diff --git a/Commands/cloud-health/healthmodel/entity/_update.md b/Commands/cloud-health/healthmodel/entity/_update.md new file mode 100644 index 000000000..a1190cf73 --- /dev/null +++ b/Commands/cloud-health/healthmodel/entity/_update.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel entity update_ + +Update an entity. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Update an entity's display name + ```bash + healthmodel entity update --resource-group myRG --health-model-name myModel --name webTier --display-name "Web Tier (PROD)" + ``` diff --git a/Commands/cloud-health/healthmodel/entity/readme.md b/Commands/cloud-health/healthmodel/entity/readme.md new file mode 100644 index 000000000..2dd3d7948 --- /dev/null +++ b/Commands/cloud-health/healthmodel/entity/readme.md @@ -0,0 +1,29 @@ +# [Group] _cloud-health healthmodel entity_ + +Manage entities (nodes) in a health model. + +## Commands + +- [create](/Commands/cloud-health/healthmodel/entity/_create.md) +: Create an entity in a health model. + +- [delete](/Commands/cloud-health/healthmodel/entity/_delete.md) +: Delete an entity. + +- [get-history](/Commands/cloud-health/healthmodel/entity/_get-history.md) +: Get the health state transition history for an entity. + +- [get-signal-history](/Commands/cloud-health/healthmodel/entity/_get-signal-history.md) +: Get the time series of values for a signal on an entity. + +- [ingest-health-report](/Commands/cloud-health/healthmodel/entity/_ingest-health-report.md) +: Push an external health report for a signal on an entity. + +- [list](/Commands/cloud-health/healthmodel/entity/_list.md) +: List entities in a health model. + +- [show](/Commands/cloud-health/healthmodel/entity/_show.md) +: Get an entity. + +- [update](/Commands/cloud-health/healthmodel/entity/_update.md) +: Update an entity. diff --git a/Commands/cloud-health/healthmodel/identity/_assign.md b/Commands/cloud-health/healthmodel/identity/_assign.md new file mode 100644 index 000000000..d787229b3 --- /dev/null +++ b/Commands/cloud-health/healthmodel/identity/_assign.md @@ -0,0 +1,21 @@ +# [Command] _cloud-health healthmodel identity assign_ + +Assign a system- or user-assigned managed identity to a health model. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Assign system-assigned identity to a health model + ```bash + healthmodel identity assign --resource-group myRG --name myModel --system-assigned + ``` + +- Assign a user-assigned identity to a health model + ```bash + healthmodel identity assign --resource-group myRG --name myModel --user-assigned /subscriptions/.../userAssignedIdentities/myUai + ``` diff --git a/Commands/cloud-health/healthmodel/identity/_remove.md b/Commands/cloud-health/healthmodel/identity/_remove.md new file mode 100644 index 000000000..663b382bd --- /dev/null +++ b/Commands/cloud-health/healthmodel/identity/_remove.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel identity remove_ + +Remove a system- or user-assigned managed identity from a health model. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Remove all managed identities from a health model + ```bash + healthmodel identity remove --resource-group myRG --name myModel --system-assigned --user-assigned + ``` diff --git a/Commands/cloud-health/healthmodel/identity/_show.md b/Commands/cloud-health/healthmodel/identity/_show.md new file mode 100644 index 000000000..d072927e7 --- /dev/null +++ b/Commands/cloud-health/healthmodel/identity/_show.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel identity show_ + +Show the managed identities currently assigned to a health model. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Show managed identities assigned to a health model + ```bash + healthmodel identity show --resource-group myRG --name myModel + ``` diff --git a/Commands/cloud-health/healthmodel/identity/readme.md b/Commands/cloud-health/healthmodel/identity/readme.md new file mode 100644 index 000000000..786a2ba57 --- /dev/null +++ b/Commands/cloud-health/healthmodel/identity/readme.md @@ -0,0 +1,14 @@ +# [Group] _cloud-health healthmodel identity_ + +Manage system- and user-assigned managed identities on a health model. + +## Commands + +- [assign](/Commands/cloud-health/healthmodel/identity/_assign.md) +: Assign a system- or user-assigned managed identity to a health model. + +- [remove](/Commands/cloud-health/healthmodel/identity/_remove.md) +: Remove a system- or user-assigned managed identity from a health model. + +- [show](/Commands/cloud-health/healthmodel/identity/_show.md) +: Show the managed identities currently assigned to a health model. diff --git a/Commands/cloud-health/healthmodel/readme.md b/Commands/cloud-health/healthmodel/readme.md new file mode 100644 index 000000000..3e254aef6 --- /dev/null +++ b/Commands/cloud-health/healthmodel/readme.md @@ -0,0 +1,40 @@ +# [Group] _cloud-health healthmodel_ + +Manage Azure Monitor health models. + +## Subgroups + +- [authentication-setting](/Commands/cloud-health/healthmodel/authentication-setting/readme.md) +: Manage authentication settings used by signal definitions and discovery rules. + +- [discovery-rule](/Commands/cloud-health/healthmodel/discovery-rule/readme.md) +: Manage discovery rules that auto-populate a health model. + +- [entity](/Commands/cloud-health/healthmodel/entity/readme.md) +: Manage entities (nodes) in a health model. + +- [identity](/Commands/cloud-health/healthmodel/identity/readme.md) +: Manage system- and user-assigned managed identities on a health model. + +- [relationship](/Commands/cloud-health/healthmodel/relationship/readme.md) +: Manage parent-child relationships (edges) between entities. + +- [signal-definition](/Commands/cloud-health/healthmodel/signal-definition/readme.md) +: Manage signal definitions in a health model. + +## Commands + +- [create](/Commands/cloud-health/healthmodel/_create.md) +: Create a health model. + +- [delete](/Commands/cloud-health/healthmodel/_delete.md) +: Delete a health model. + +- [list](/Commands/cloud-health/healthmodel/_list.md) +: List health models in a resource group or across the subscription. + +- [show](/Commands/cloud-health/healthmodel/_show.md) +: Get a health model. + +- [update](/Commands/cloud-health/healthmodel/_update.md) +: Update a health model. diff --git a/Commands/cloud-health/healthmodel/relationship/_create.md b/Commands/cloud-health/healthmodel/relationship/_create.md new file mode 100644 index 000000000..afaa78f51 --- /dev/null +++ b/Commands/cloud-health/healthmodel/relationship/_create.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel relationship create_ + +Create a relationship between two entities. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Create a parent-child relationship between two entities + ```bash + healthmodel relationship create --resource-group myRG --health-model-name myModel --name webToDb --parent-entity-name webTier --child-entity-name dbTier + ``` diff --git a/Commands/cloud-health/healthmodel/relationship/_delete.md b/Commands/cloud-health/healthmodel/relationship/_delete.md new file mode 100644 index 000000000..7934eb8ff --- /dev/null +++ b/Commands/cloud-health/healthmodel/relationship/_delete.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel relationship delete_ + +Delete a relationship. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Delete a relationship + ```bash + healthmodel relationship delete --resource-group myRG --health-model-name myModel --name webToDb --yes + ``` diff --git a/Commands/cloud-health/healthmodel/relationship/_list.md b/Commands/cloud-health/healthmodel/relationship/_list.md new file mode 100644 index 000000000..971d80cfb --- /dev/null +++ b/Commands/cloud-health/healthmodel/relationship/_list.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel relationship list_ + +List relationships in a health model. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- List relationships in a health model + ```bash + healthmodel relationship list --resource-group myRG --health-model-name myModel + ``` diff --git a/Commands/cloud-health/healthmodel/relationship/_show.md b/Commands/cloud-health/healthmodel/relationship/_show.md new file mode 100644 index 000000000..cb760f3bc --- /dev/null +++ b/Commands/cloud-health/healthmodel/relationship/_show.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel relationship show_ + +Get a relationship. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Get a relationship + ```bash + healthmodel relationship show --resource-group myRG --health-model-name myModel --name webToDb + ``` diff --git a/Commands/cloud-health/healthmodel/relationship/_update.md b/Commands/cloud-health/healthmodel/relationship/_update.md new file mode 100644 index 000000000..4360c8c5e --- /dev/null +++ b/Commands/cloud-health/healthmodel/relationship/_update.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel relationship update_ + +Update a relationship. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Update the display name of a relationship + ```bash + healthmodel relationship update --resource-group myRG --health-model-name myModel --name webToDb --display-name "Web depends on DB" + ``` diff --git a/Commands/cloud-health/healthmodel/relationship/readme.md b/Commands/cloud-health/healthmodel/relationship/readme.md new file mode 100644 index 000000000..2a4bc62af --- /dev/null +++ b/Commands/cloud-health/healthmodel/relationship/readme.md @@ -0,0 +1,20 @@ +# [Group] _cloud-health healthmodel relationship_ + +Manage parent-child relationships (edges) between entities. + +## Commands + +- [create](/Commands/cloud-health/healthmodel/relationship/_create.md) +: Create a relationship between two entities. + +- [delete](/Commands/cloud-health/healthmodel/relationship/_delete.md) +: Delete a relationship. + +- [list](/Commands/cloud-health/healthmodel/relationship/_list.md) +: List relationships in a health model. + +- [show](/Commands/cloud-health/healthmodel/relationship/_show.md) +: Get a relationship. + +- [update](/Commands/cloud-health/healthmodel/relationship/_update.md) +: Update a relationship. diff --git a/Commands/cloud-health/healthmodel/signal-definition/_create.md b/Commands/cloud-health/healthmodel/signal-definition/_create.md new file mode 100644 index 000000000..4c382a597 --- /dev/null +++ b/Commands/cloud-health/healthmodel/signal-definition/_create.md @@ -0,0 +1,21 @@ +# [Command] _cloud-health healthmodel signal-definition create_ + +Create or update a signal definition. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Create an Azure Monitor metric signal definition + ```bash + healthmodel signal-definition create --resource-group myRG --health-model-name myModel --name cpuPressure --display-name 'CPU Pressure' --refresh-interval PT5M --azure-resource-metric metric-namespace='Microsoft.Compute/virtualMachines' metric-name='Percentage CPU' aggregation-type=Average --evaluation-rules unhealthy-rule='{operator:GreaterThan,threshold:90}' degraded-rule='{operator:GreaterThan,threshold:75}' + ``` + +- Create a PromQL signal definition + ```bash + healthmodel signal-definition create --resource-group myRG --health-model-name myModel --name apiUp --display-name 'API Up' --refresh-interval PT1M --prometheus-metrics-query azure-monitor-workspace-resource-id=/subscriptions/.../accounts/myAmw query-text='up{job="api"}' --evaluation-rules unhealthy-rule='{operator:LessThan,threshold:1}' + ``` diff --git a/Commands/cloud-health/healthmodel/signal-definition/_delete.md b/Commands/cloud-health/healthmodel/signal-definition/_delete.md new file mode 100644 index 000000000..44b5dce12 --- /dev/null +++ b/Commands/cloud-health/healthmodel/signal-definition/_delete.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel signal-definition delete_ + +Delete a signal definition. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Delete a signal definition + ```bash + healthmodel signal-definition delete --resource-group myRG --health-model-name myModel --name cpuPressure --yes + ``` diff --git a/Commands/cloud-health/healthmodel/signal-definition/_list.md b/Commands/cloud-health/healthmodel/signal-definition/_list.md new file mode 100644 index 000000000..36ebf611d --- /dev/null +++ b/Commands/cloud-health/healthmodel/signal-definition/_list.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel signal-definition list_ + +List signal definitions in a health model. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- List signal definitions in a health model + ```bash + healthmodel signal-definition list --resource-group myRG --health-model-name myModel + ``` diff --git a/Commands/cloud-health/healthmodel/signal-definition/_show.md b/Commands/cloud-health/healthmodel/signal-definition/_show.md new file mode 100644 index 000000000..8a77fca9d --- /dev/null +++ b/Commands/cloud-health/healthmodel/signal-definition/_show.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel signal-definition show_ + +Get a signal definition. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Get a signal definition + ```bash + healthmodel signal-definition show --resource-group myRG --health-model-name myModel --name cpuPressure + ``` diff --git a/Commands/cloud-health/healthmodel/signal-definition/_update.md b/Commands/cloud-health/healthmodel/signal-definition/_update.md new file mode 100644 index 000000000..c52910549 --- /dev/null +++ b/Commands/cloud-health/healthmodel/signal-definition/_update.md @@ -0,0 +1,16 @@ +# [Command] _cloud-health healthmodel signal-definition update_ + +Update a signal definition. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Update the refresh interval of a signal definition + ```bash + healthmodel signal-definition update --resource-group myRG --health-model-name myModel --name cpuPressure --refresh-interval PT10M + ``` diff --git a/Commands/cloud-health/healthmodel/signal-definition/readme.md b/Commands/cloud-health/healthmodel/signal-definition/readme.md new file mode 100644 index 000000000..1f36c65dd --- /dev/null +++ b/Commands/cloud-health/healthmodel/signal-definition/readme.md @@ -0,0 +1,20 @@ +# [Group] _cloud-health healthmodel signal-definition_ + +Manage signal definitions in a health model. + +## Commands + +- [create](/Commands/cloud-health/healthmodel/signal-definition/_create.md) +: Create or update a signal definition. + +- [delete](/Commands/cloud-health/healthmodel/signal-definition/_delete.md) +: Delete a signal definition. + +- [list](/Commands/cloud-health/healthmodel/signal-definition/_list.md) +: List signal definitions in a health model. + +- [show](/Commands/cloud-health/healthmodel/signal-definition/_show.md) +: Get a signal definition. + +- [update](/Commands/cloud-health/healthmodel/signal-definition/_update.md) +: Update a signal definition. diff --git a/Commands/cloud-health/readme.md b/Commands/cloud-health/readme.md new file mode 100644 index 000000000..7b75ba117 --- /dev/null +++ b/Commands/cloud-health/readme.md @@ -0,0 +1,8 @@ +# [Group] _cloud-health_ + +Manage Cloud Health + +## Subgroups + +- [healthmodel](/Commands/cloud-health/healthmodel/readme.md) +: Manage Azure Monitor health models. diff --git a/Commands/readme.md b/Commands/readme.md index b65bc1241..6715edd37 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -77,6 +77,9 @@ - [change-analysis](/Commands/change-analysis/readme.md) : List changes for resources +- [cloud-health](/Commands/cloud-health/readme.md) +: Manage Cloud Health + - [cloud-service](/Commands/cloud-service/readme.md) : Manage cloud service diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.json new file mode 100644 index 000000000..68a3b941b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.cloudhealth/healthmodels", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNsb3VkSGVhbHRoL2hlYWx0aG1vZGVscw==/V/MjAyNi0wMS0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxz/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel", "commands": [{"name": "list", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.cloudhealth/healthmodels", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNsb3VkSGVhbHRoL2hlYWx0aG1vZGVscw==/V/MjAyNi0wMS0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxz/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_HealthModels_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_HealthModels_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_HealthModels_ListBySubscription"], "operationId": "HealthModels_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.CloudHealth/healthmodels", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_HealthModels_ListByResourceGroup"], "operationId": "HealthModels_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.xml new file mode 100644 index 000000000..a1747b796 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.xml @@ -0,0 +1,239 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.md new file mode 100644 index 000000000..2d82c3663 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.cloudhealth/healthmodels 2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.json new file mode 100644 index 000000000..b5a5e9e5c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel", "commands": [{"name": "show", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["n", "name", "health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "HealthModels_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["n", "name", "health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "HealthModels_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["n", "name", "health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$resource.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Identity", "help": {"short": "Set the system managed identity."}}, {"type": "string", "var": "$resource.identity.type", "options": ["type"], "hide": true, "group": "Identity", "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"blank": {"value": []}, "type": "array", "var": "$resource.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}, {"type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"name": "Resource", "args": [{"type": "ResourceLocation", "var": "$resource.location", "options": ["l", "location"], "required": true, "group": "Resource", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "HealthModels_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}], "userAssigned": {"action": "create", "type": "array", "name": "userAssigned", "arg": "$resource.identity.userAssigned", "item": {"action": "create", "type": "string"}}, "systemAssigned": {"action": "create", "type": "string", "name": "systemAssigned", "arg": "$resource.identity.systemAssigned"}}, {"type": "ResourceLocation", "name": "location", "arg": "$resource.location", "required": true}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["n", "name", "health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Identity", "args": [{"type": "string", "var": "$resource.identity.type", "options": ["type"], "hide": true, "group": "Identity", "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"name": "Resource", "args": [{"nullable": true, "type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}], "operations": [{"operationId": "HealthModels_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "HealthModel_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}]}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "HealthModels_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@HealthModel_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}], "commandGroups": [{"name": "identity", "commands": [{"name": "assign", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-01-01-preview", "subresource": "identity", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["n", "name", "health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Resource.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$resource.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Resource.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$resource.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Resource.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "resource", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "HealthModels_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "HealthModel_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "assign", "type": "IdentityObject", "name": "resource.identity", "required": true, "userAssigned": {"action": "assign", "type": "array", "name": "userAssigned", "arg": "$resource.identity.userAssigned", "item": {"action": "assign", "type": "string"}}, "systemAssigned": {"action": "assign", "type": "string", "name": "systemAssigned", "arg": "$resource.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "HealthModels_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@HealthModel_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "remove", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-01-01-preview", "subresource": "identity", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["n", "name", "health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Resource.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$resource.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Resource.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$resource.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Resource.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "resource", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "HealthModels_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "HealthModel_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "remove", "type": "IdentityObject", "name": "resource.identity", "required": true, "userAssigned": {"action": "remove", "type": "array", "name": "userAssigned", "arg": "$resource.identity.userAssigned", "item": {"action": "remove", "type": "string"}}, "systemAssigned": {"action": "remove", "type": "string", "name": "systemAssigned", "arg": "$resource.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "HealthModels_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@HealthModel_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "show", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-01-01-preview", "subresource": "identity", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["n", "name", "health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "resource", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "HealthModels_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "HealthModel_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml new file mode 100644 index 000000000..4286b97f2 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml @@ -0,0 +1,1056 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.json new file mode 100644 index 000000000..b6e3b11f4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3M=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel authentication-setting", "commands": [{"name": "list", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3M=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "AuthenticationSettings_ListByHealthModel", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/authenticationsettings", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/authenticationsettings/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "authenticationKind", "required": true, "enum": {"items": [{"value": "ManagedIdentity"}]}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "discriminators": [{"property": "authenticationKind", "value": "ManagedIdentity", "props": [{"type": "string", "name": "managedIdentityName", "required": true, "format": {"maxLength": 500, "minLength": 1}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.xml new file mode 100644 index 000000000..d3565586f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.xml @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.json new file mode 100644 index 000000000..b706ecc09 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel authentication-setting", "commands": [{"name": "show", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authenticationSettingName", "options": ["n", "name", "authentication-setting-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the authentication setting. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "AuthenticationSettings_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/authenticationsettings/{authenticationSettingName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "authenticationSettingName", "arg": "$Path.authenticationSettingName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/authenticationsettings/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "authenticationKind", "required": true, "enum": {"items": [{"value": "ManagedIdentity"}]}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "discriminators": [{"property": "authenticationKind", "value": "ManagedIdentity", "props": [{"type": "string", "name": "managedIdentityName", "required": true, "format": {"maxLength": 500, "minLength": 1}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authenticationSettingName", "options": ["n", "name", "authentication-setting-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the authentication setting. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "AuthenticationSettings_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/authenticationsettings/{authenticationSettingName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "authenticationSettingName", "arg": "$Path.authenticationSettingName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authenticationSettingName", "options": ["n", "name", "authentication-setting-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the authentication setting. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.ManagedIdentity", "options": ["managed-identity"], "group": "Properties", "args": [{"type": "string", "var": "$resource.properties.ManagedIdentity.managedIdentityName", "options": ["managed-identity-name"], "required": true, "help": {"short": "Name of the managed identity to use. Either 'SystemAssigned' or the resourceId of a user-assigned identity."}, "format": {"maxLength": 500, "minLength": 1}}]}, {"type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "AuthenticationSettings_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/authenticationsettings/{authenticationSettingName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "authenticationSettingName", "arg": "$Path.authenticationSettingName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authenticationKind", "required": true, "enum": {"items": [{"arg": "$resource.properties.ManagedIdentity", "value": "ManagedIdentity"}]}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}], "discriminators": [{"property": "authenticationKind", "value": "ManagedIdentity", "props": [{"type": "string", "name": "managedIdentityName", "arg": "$resource.properties.ManagedIdentity.managedIdentityName", "required": true, "format": {"maxLength": 500, "minLength": 1}}]}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/authenticationsettings/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "authenticationKind", "required": true, "enum": {"items": [{"value": "ManagedIdentity"}]}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "discriminators": [{"property": "authenticationKind", "value": "ManagedIdentity", "props": [{"type": "string", "name": "managedIdentityName", "required": true, "format": {"maxLength": 500, "minLength": 1}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authenticationSettingName", "options": ["n", "name", "authentication-setting-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the authentication setting. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.ManagedIdentity", "options": ["managed-identity"], "group": "Properties", "args": [{"type": "string", "var": "$resource.properties.ManagedIdentity.managedIdentityName", "options": ["managed-identity-name"], "help": {"short": "Name of the managed identity to use. Either 'SystemAssigned' or the resourceId of a user-assigned identity."}, "format": {"maxLength": 500, "minLength": 1}}]}, {"nullable": true, "type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}]}], "operations": [{"operationId": "AuthenticationSettings_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/authenticationsettings/{authenticationSettingName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "authenticationSettingName", "arg": "$Path.authenticationSettingName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/authenticationsettings/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "authenticationKind", "required": true, "enum": {"items": [{"value": "ManagedIdentity"}]}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "discriminators": [{"property": "authenticationKind", "value": "ManagedIdentity", "props": [{"type": "string", "name": "managedIdentityName", "required": true, "format": {"maxLength": 500, "minLength": 1}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "AuthenticationSetting_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authenticationKind", "required": true, "enum": {"items": [{"arg": "$resource.properties.ManagedIdentity", "value": "ManagedIdentity"}]}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}], "discriminators": [{"property": "authenticationKind", "value": "ManagedIdentity", "props": [{"type": "string", "name": "managedIdentityName", "arg": "$resource.properties.ManagedIdentity.managedIdentityName", "required": true, "format": {"maxLength": 500, "minLength": 1}}]}]}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "AuthenticationSettings_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/authenticationsettings/{authenticationSettingName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "authenticationSettingName", "arg": "$Path.authenticationSettingName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@AuthenticationSetting_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.xml new file mode 100644 index 000000000..6eed3832f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.xml @@ -0,0 +1,502 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.json new file mode 100644 index 000000000..5377a7ce8 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVz/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel discovery-rule", "commands": [{"name": "list", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVz/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "dateTime", "var": "$Query.timestamp", "options": ["timestamp"], "help": {"short": "Timestamp to use for the operation. When specified, the version of the resource at this point in time is retrieved. If not specified, the latest version is used."}, "format": {"protocol": "iso"}}]}], "operations": [{"operationId": "DiscoveryRules_ListByHealthModel", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/discoveryrules", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "dateTime", "name": "timestamp", "arg": "$Query.timestamp", "format": {"protocol": "iso"}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/discoveryrules/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addRecommendedSignals", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "discoverRelationships", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"readOnly": true, "type": "string", "name": "entityName"}, {"readOnly": true, "type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "context", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "message"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "specification", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "ApplicationInsightsTopology"}, {"value": "ResourceGraphQuery"}]}}], "discriminators": [{"property": "kind", "value": "ApplicationInsightsTopology", "props": [{"type": "ResourceId", "name": "applicationInsightsResourceId", "required": true}]}, {"property": "kind", "value": "ResourceGraphQuery", "props": [{"type": "string", "name": "resourceGraphQuery", "required": true, "format": {"maxLength": 5000, "minLength": 1}}]}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.xml new file mode 100644 index 000000000..df64e4d55 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.xml @@ -0,0 +1,149 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.json new file mode 100644 index 000000000..606aff918 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel discovery-rule", "commands": [{"name": "show", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.discoveryRuleName", "options": ["n", "name", "discovery-rule-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the discovery rule. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "DiscoveryRules_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/discoveryrules/{discoveryRuleName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "discoveryRuleName", "arg": "$Path.discoveryRuleName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/discoveryrules/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addRecommendedSignals", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "discoverRelationships", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"readOnly": true, "type": "string", "name": "entityName"}, {"readOnly": true, "type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "context", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "message"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "specification", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "ApplicationInsightsTopology"}, {"value": "ResourceGraphQuery"}]}}], "discriminators": [{"property": "kind", "value": "ApplicationInsightsTopology", "props": [{"type": "ResourceId", "name": "applicationInsightsResourceId", "required": true}]}, {"property": "kind", "value": "ResourceGraphQuery", "props": [{"type": "string", "name": "resourceGraphQuery", "required": true, "format": {"maxLength": 5000, "minLength": 1}}]}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.discoveryRuleName", "options": ["n", "name", "discovery-rule-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the discovery rule. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "DiscoveryRules_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/discoveryrules/{discoveryRuleName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "discoveryRuleName", "arg": "$Path.discoveryRuleName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.discoveryRuleName", "options": ["n", "name", "discovery-rule-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the discovery rule. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.addRecommendedSignals", "options": ["add-recommended-signals"], "group": "Properties", "help": {"short": "Whether to add all recommended signals to the discovered entities."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$resource.properties.authenticationSetting", "options": ["authentication-setting"], "group": "Properties", "help": {"short": "Reference to the name of the authentication setting which is used for querying Azure Resource Graph. The same authentication setting will also be assigned to any discovered entities."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$resource.properties.discoverRelationships", "options": ["discover-relationships"], "group": "Properties", "help": {"short": "Whether to create relationships between the discovered entities based on a set of built-in rules. These relationships cannot be manually deleted."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "var": "$resource.properties.specification", "options": ["specification"], "group": "Properties", "help": {"short": "Specification of the discovery rule defining how entities are discovered."}, "args": [{"type": "object", "var": "$resource.properties.specification.ApplicationInsightsTopology", "options": ["application-insights-topology"], "args": [{"type": "ResourceId", "var": "$resource.properties.specification.ApplicationInsightsTopology.applicationInsightsResourceId", "options": ["application-insights-resource-id"], "required": true, "help": {"short": "Application Insights resource ID"}}]}, {"type": "object", "var": "$resource.properties.specification.ResourceGraphQuery", "options": ["resource-graph-query"], "args": [{"type": "string", "var": "$resource.properties.specification.ResourceGraphQuery.resourceGraphQuery", "options": ["resource-graph-query"], "required": true, "help": {"short": "Azure Resource Graph query text in KQL syntax. The query must return at least a column named 'id' which contains the resource ID of the discovered resources."}, "format": {"maxLength": 5000, "minLength": 1}}]}]}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "DiscoveryRules_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/discoveryrules/{discoveryRuleName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "discoveryRuleName", "arg": "$Path.discoveryRuleName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "addRecommendedSignals", "arg": "$resource.properties.addRecommendedSignals", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "authenticationSetting", "arg": "$resource.properties.authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "discoverRelationships", "arg": "$resource.properties.discoverRelationships", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "specification", "arg": "$resource.properties.specification", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"arg": "$resource.properties.specification.ApplicationInsightsTopology", "value": "ApplicationInsightsTopology"}, {"arg": "$resource.properties.specification.ResourceGraphQuery", "value": "ResourceGraphQuery"}]}}], "discriminators": [{"property": "kind", "value": "ApplicationInsightsTopology", "props": [{"type": "ResourceId", "name": "applicationInsightsResourceId", "arg": "$resource.properties.specification.ApplicationInsightsTopology.applicationInsightsResourceId", "required": true}]}, {"property": "kind", "value": "ResourceGraphQuery", "props": [{"type": "string", "name": "resourceGraphQuery", "arg": "$resource.properties.specification.ResourceGraphQuery.resourceGraphQuery", "required": true, "format": {"maxLength": 5000, "minLength": 1}}]}]}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/discoveryrules/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addRecommendedSignals", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "discoverRelationships", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"readOnly": true, "type": "string", "name": "entityName"}, {"readOnly": true, "type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "context", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "message"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "specification", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "ApplicationInsightsTopology"}, {"value": "ResourceGraphQuery"}]}}], "discriminators": [{"property": "kind", "value": "ApplicationInsightsTopology", "props": [{"type": "ResourceId", "name": "applicationInsightsResourceId", "required": true}]}, {"property": "kind", "value": "ResourceGraphQuery", "props": [{"type": "string", "name": "resourceGraphQuery", "required": true, "format": {"maxLength": 5000, "minLength": 1}}]}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.discoveryRuleName", "options": ["n", "name", "discovery-rule-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the discovery rule. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.addRecommendedSignals", "options": ["add-recommended-signals"], "group": "Properties", "help": {"short": "Whether to add all recommended signals to the discovered entities."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$resource.properties.authenticationSetting", "options": ["authentication-setting"], "group": "Properties", "help": {"short": "Reference to the name of the authentication setting which is used for querying Azure Resource Graph. The same authentication setting will also be assigned to any discovered entities."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$resource.properties.discoverRelationships", "options": ["discover-relationships"], "group": "Properties", "help": {"short": "Whether to create relationships between the discovered entities based on a set of built-in rules. These relationships cannot be manually deleted."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "var": "$resource.properties.specification", "options": ["specification"], "group": "Properties", "help": {"short": "Specification of the discovery rule defining how entities are discovered."}, "args": [{"type": "object", "var": "$resource.properties.specification.ApplicationInsightsTopology", "options": ["application-insights-topology"], "args": [{"type": "ResourceId", "var": "$resource.properties.specification.ApplicationInsightsTopology.applicationInsightsResourceId", "options": ["application-insights-resource-id"], "help": {"short": "Application Insights resource ID"}}]}, {"type": "object", "var": "$resource.properties.specification.ResourceGraphQuery", "options": ["resource-graph-query"], "args": [{"type": "string", "var": "$resource.properties.specification.ResourceGraphQuery.resourceGraphQuery", "options": ["resource-graph-query"], "help": {"short": "Azure Resource Graph query text in KQL syntax. The query must return at least a column named 'id' which contains the resource ID of the discovered resources."}, "format": {"maxLength": 5000, "minLength": 1}}]}]}]}], "operations": [{"operationId": "DiscoveryRules_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/discoveryrules/{discoveryRuleName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "discoveryRuleName", "arg": "$Path.discoveryRuleName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/discoveryrules/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addRecommendedSignals", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "discoverRelationships", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"readOnly": true, "type": "string", "name": "entityName"}, {"readOnly": true, "type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "context", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "message"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "specification", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "ApplicationInsightsTopology"}, {"value": "ResourceGraphQuery"}]}}], "discriminators": [{"property": "kind", "value": "ApplicationInsightsTopology", "props": [{"type": "ResourceId", "name": "applicationInsightsResourceId", "required": true}]}, {"property": "kind", "value": "ResourceGraphQuery", "props": [{"type": "string", "name": "resourceGraphQuery", "required": true, "format": {"maxLength": 5000, "minLength": 1}}]}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "DiscoveryRule_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "addRecommendedSignals", "arg": "$resource.properties.addRecommendedSignals", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "authenticationSetting", "arg": "$resource.properties.authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "discoverRelationships", "arg": "$resource.properties.discoverRelationships", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "specification", "arg": "$resource.properties.specification", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"arg": "$resource.properties.specification.ApplicationInsightsTopology", "value": "ApplicationInsightsTopology"}, {"arg": "$resource.properties.specification.ResourceGraphQuery", "value": "ResourceGraphQuery"}]}}], "discriminators": [{"property": "kind", "value": "ApplicationInsightsTopology", "props": [{"type": "ResourceId", "name": "applicationInsightsResourceId", "arg": "$resource.properties.specification.ApplicationInsightsTopology.applicationInsightsResourceId", "required": true}]}, {"property": "kind", "value": "ResourceGraphQuery", "props": [{"type": "string", "name": "resourceGraphQuery", "arg": "$resource.properties.specification.ResourceGraphQuery.resourceGraphQuery", "required": true, "format": {"maxLength": 5000, "minLength": 1}}]}]}]}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "DiscoveryRules_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/discoveryrules/{discoveryRuleName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "discoveryRuleName", "arg": "$Path.discoveryRuleName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@DiscoveryRule_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml new file mode 100644 index 000000000..46a72b0f4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml @@ -0,0 +1,680 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.json new file mode 100644 index 000000000..a7fd779c1 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVz/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel entity", "commands": [{"name": "list", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVz/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "dateTime", "var": "$Query.timestamp", "options": ["timestamp"], "help": {"short": "Timestamp to use for the operation. When specified, the version of the resource at this point in time is retrieved. If not specified, the latest version is used."}, "format": {"protocol": "iso"}}]}], "operations": [{"operationId": "Entities_ListByHealthModel", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "dateTime", "name": "timestamp", "arg": "$Query.timestamp", "format": {"protocol": "iso"}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/entities/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "alerts", "props": [{"type": "@AlertConfiguration_read", "name": "degraded"}, {"type": "object", "name": "unhealthy", "props": [{"type": "array", "name": "actionGroupIds", "format": {"maxLength": 5, "minLength": 1}, "item": {"type": "ResourceId"}}, {"type": "string", "name": "description", "format": {"maxLength": 1000, "minLength": 1}}, {"type": "string", "name": "severity", "required": true, "enum": {"items": [{"value": "Sev0"}, {"value": "Sev1"}, {"value": "Sev2"}, {"value": "Sev3"}, {"value": "Sev4"}]}}], "cls": "AlertConfiguration_read"}]}, {"type": "object", "name": "canvasPosition", "props": [{"type": "float32", "name": "x", "required": true}, {"type": "float32", "name": "y", "required": true}]}, {"readOnly": true, "type": "string", "name": "discoveredBy", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "float32", "name": "healthObjective", "format": {"maximum": 100.0, "minimum": 0.0}}, {"readOnly": true, "type": "string", "name": "healthState", "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"type": "object", "name": "icon", "props": [{"type": "string", "name": "customData", "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "iconName", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"default": {"value": "Standard"}, "type": "string", "name": "impact", "enum": {"items": [{"value": "Limited"}, {"value": "Standard"}, {"value": "Suppressed"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "signalGroups", "props": [{"type": "object", "name": "azureLogAnalytics", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "logAnalyticsWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "LogAnalyticsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureMonitorWorkspace", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureMonitorWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "PrometheusMetricsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureResource", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureResourceId", "required": true}, {"type": "string", "name": "azureResourceKind", "format": {"maxLength": 256, "minLength": 0}}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "aggregationType", "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "props": [{"type": "object", "name": "degradedRule", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "required": true}], "cls": "ThresholdRuleV2_read"}, {"type": "@ThresholdRuleV2_read", "name": "unhealthyRule", "required": true}], "cls": "EvaluationRule_read"}, {"type": "string", "name": "metricName", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "AzureResourceMetric"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "object", "name": "status", "props": [{"readOnly": true, "type": "string", "name": "error"}, {"readOnly": true, "type": "string", "name": "healthState", "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "dateTime", "name": "reportedAt", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "float64", "name": "value"}], "cls": "SignalStatus_read"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "dependencies", "props": [{"default": {"value": "WorstOf"}, "type": "string", "name": "aggregationType", "required": true, "enum": {"items": [{"value": "MaxNotHealthy"}, {"value": "MinHealthy"}, {"value": "WorstOf"}]}}, {"type": "float64", "name": "degradedThreshold", "format": {"minimum": 0.0}}, {"default": {"value": true}, "type": "boolean", "name": "ignoreUnknown"}, {"type": "float64", "name": "unhealthyThreshold", "format": {"minimum": 0.0}}, {"type": "string", "name": "unit", "enum": {"items": [{"value": "Absolute"}, {"value": "Percentage"}]}}]}, {"readOnly": true, "type": "object", "name": "external", "props": [{"readOnly": true, "type": "array", "name": "signals", "item": {"type": "object", "props": [{"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "External"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}]}, "identifiers": ["name"]}]}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.xml new file mode 100644 index 000000000..266f3b852 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.xml @@ -0,0 +1,432 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.json new file mode 100644 index 000000000..f015f0e6b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel entity", "commands": [{"name": "show", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.entityName", "options": ["n", "name", "entity-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the entity. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Entities_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "entityName", "arg": "$Path.entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/entities/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "alerts", "props": [{"type": "@AlertConfiguration_read", "name": "degraded"}, {"type": "object", "name": "unhealthy", "props": [{"type": "array", "name": "actionGroupIds", "format": {"maxLength": 5, "minLength": 1}, "item": {"type": "ResourceId"}}, {"type": "string", "name": "description", "format": {"maxLength": 1000, "minLength": 1}}, {"type": "string", "name": "severity", "required": true, "enum": {"items": [{"value": "Sev0"}, {"value": "Sev1"}, {"value": "Sev2"}, {"value": "Sev3"}, {"value": "Sev4"}]}}], "cls": "AlertConfiguration_read"}]}, {"type": "object", "name": "canvasPosition", "props": [{"type": "float32", "name": "x", "required": true}, {"type": "float32", "name": "y", "required": true}]}, {"readOnly": true, "type": "string", "name": "discoveredBy", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "float32", "name": "healthObjective", "format": {"maximum": 100.0, "minimum": 0.0}}, {"readOnly": true, "type": "string", "name": "healthState", "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"type": "object", "name": "icon", "props": [{"type": "string", "name": "customData", "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "iconName", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"default": {"value": "Standard"}, "type": "string", "name": "impact", "enum": {"items": [{"value": "Limited"}, {"value": "Standard"}, {"value": "Suppressed"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "signalGroups", "props": [{"type": "object", "name": "azureLogAnalytics", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "logAnalyticsWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "LogAnalyticsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureMonitorWorkspace", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureMonitorWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "PrometheusMetricsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureResource", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureResourceId", "required": true}, {"type": "string", "name": "azureResourceKind", "format": {"maxLength": 256, "minLength": 0}}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "aggregationType", "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "props": [{"type": "object", "name": "degradedRule", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "required": true}], "cls": "ThresholdRuleV2_read"}, {"type": "@ThresholdRuleV2_read", "name": "unhealthyRule", "required": true}], "cls": "EvaluationRule_read"}, {"type": "string", "name": "metricName", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "AzureResourceMetric"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "object", "name": "status", "props": [{"readOnly": true, "type": "string", "name": "error"}, {"readOnly": true, "type": "string", "name": "healthState", "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "dateTime", "name": "reportedAt", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "float64", "name": "value"}], "cls": "SignalStatus_read"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "dependencies", "props": [{"default": {"value": "WorstOf"}, "type": "string", "name": "aggregationType", "required": true, "enum": {"items": [{"value": "MaxNotHealthy"}, {"value": "MinHealthy"}, {"value": "WorstOf"}]}}, {"type": "float64", "name": "degradedThreshold", "format": {"minimum": 0.0}}, {"default": {"value": true}, "type": "boolean", "name": "ignoreUnknown"}, {"type": "float64", "name": "unhealthyThreshold", "format": {"minimum": 0.0}}, {"type": "string", "name": "unit", "enum": {"items": [{"value": "Absolute"}, {"value": "Percentage"}]}}]}, {"readOnly": true, "type": "object", "name": "external", "props": [{"readOnly": true, "type": "array", "name": "signals", "item": {"type": "object", "props": [{"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "External"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}]}, "identifiers": ["name"]}]}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.entityName", "options": ["n", "name", "entity-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the entity. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Entities_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "entityName", "arg": "$Path.entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.entityName", "options": ["n", "name", "entity-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the entity. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.alerts", "options": ["alerts"], "group": "Properties", "help": {"short": "Alert configuration for this entity"}, "args": [{"type": "@AlertConfiguration_create", "var": "$resource.properties.alerts.degraded", "options": ["degraded"], "help": {"short": "Alert to be triggered on state change to degraded"}}, {"type": "object", "var": "$resource.properties.alerts.unhealthy", "options": ["unhealthy"], "help": {"short": "Alert to be triggered on state change to unhealthy"}, "args": [{"type": "array", "var": "@AlertConfiguration_create.actionGroupIds", "options": ["action-group-ids"], "help": {"short": "Optional list of action group resource IDs to be notified when the alert is triggered."}, "format": {"maxLength": 5, "minLength": 1}, "item": {"type": "ResourceId"}}, {"type": "string", "var": "@AlertConfiguration_create.description", "options": ["description"], "help": {"short": "The alert rule description."}, "format": {"maxLength": 1000, "minLength": 1}}, {"type": "string", "var": "@AlertConfiguration_create.severity", "options": ["severity"], "required": true, "help": {"short": "The severity of triggered alert."}, "enum": {"items": [{"name": "Sev0", "value": "Sev0"}, {"name": "Sev1", "value": "Sev1"}, {"name": "Sev2", "value": "Sev2"}, {"name": "Sev3", "value": "Sev3"}, {"name": "Sev4", "value": "Sev4"}]}}], "cls": "AlertConfiguration_create"}]}, {"type": "object", "var": "$resource.properties.canvasPosition", "options": ["canvas-position"], "group": "Properties", "help": {"short": "Positioning of the entity on the model canvas"}, "args": [{"type": "float32", "var": "$resource.properties.canvasPosition.x", "options": ["x"], "required": true, "help": {"short": "X Coordinate"}}, {"type": "float32", "var": "$resource.properties.canvasPosition.y", "options": ["y"], "required": true, "help": {"short": "Y Coordinate"}}]}, {"type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"type": "float32", "var": "$resource.properties.healthObjective", "options": ["health-objective"], "group": "Properties", "help": {"short": "Health objective as a percentage of time the entity should be healthy."}, "format": {"maximum": 100.0, "minimum": 0.0}}, {"type": "object", "var": "$resource.properties.icon", "options": ["icon"], "group": "Properties", "help": {"short": "Visual icon definition. If not set, a default icon is used."}, "args": [{"type": "string", "var": "$resource.properties.icon.customData", "options": ["custom-data"], "help": {"short": "Custom data. Base64-encoded SVG data. If set, this overrides the built-in icon."}, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "var": "$resource.properties.icon.iconName", "options": ["icon-name"], "required": true, "help": {"short": "Name of the built-in icon, or 'Custom' to use customData"}, "format": {"maxLength": 100, "minLength": 1}}]}, {"type": "string", "var": "$resource.properties.impact", "options": ["impact"], "group": "Properties", "help": {"short": "Impact of the entity in health state propagation"}, "default": {"value": "Standard"}, "enum": {"items": [{"name": "Limited", "value": "Limited"}, {"name": "Standard", "value": "Standard"}, {"name": "Suppressed", "value": "Suppressed"}]}}, {"type": "object", "var": "$resource.properties.signalGroups", "options": ["signal-groups"], "group": "Properties", "help": {"short": "Signal groups which are assigned to this entity"}, "args": [{"type": "object", "var": "$resource.properties.signalGroups.azureLogAnalytics", "options": ["azure-log-analytics"], "help": {"short": "Log Analytics Signal Group"}, "args": [{"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.authenticationSetting", "options": ["authentication-setting"], "required": true, "help": {"short": "Reference to the name of the authentication setting which is used for querying the data source."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "var": "$resource.properties.signalGroups.azureLogAnalytics.logAnalyticsWorkspaceResourceId", "options": ["log-analytics-workspace-resource-id"], "required": true, "help": {"short": "Log Analytics workspace resource ID."}}, {"type": "array", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals", "options": ["signals"], "help": {"short": "Signals assigned to this group."}, "format": {"maxLength": 50}, "item": {"type": "object", "args": [{"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].dataUnit", "options": ["data-unit"], "help": {"short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))"}, "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].displayName", "options": ["display-name"], "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_create", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].evaluationRules", "options": ["evaluation-rules"], "help": {"short": "Evaluation rules for the signal definition"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].name", "options": ["name"], "required": true, "help": {"short": "Unique name of the signal within the entity."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].queryText", "options": ["query-text"], "help": {"short": "Query text in KQL syntax"}, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].refreshInterval", "options": ["refresh-interval"], "help": {"short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)."}, "default": {"value": "PT1M"}, "enum": {"items": [{"name": "PT10M", "value": "PT10M"}, {"name": "PT1H", "value": "PT1H"}, {"name": "PT1M", "value": "PT1M"}, {"name": "PT2H", "value": "PT2H"}, {"name": "PT30M", "value": "PT30M"}, {"name": "PT5M", "value": "PT5M"}]}}, {"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].signalDefinitionName", "options": ["signal-definition-name"], "help": {"short": "Optional reference to a signal definition that provides default values."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M. If not specified, the KQL query must define a time range."}, "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].valueColumnName", "options": ["value-column-name"], "help": {"short": "Name of the column in the result set to evaluate against the thresholds. Defaults to the first column in the result set if not specified. The column must be numeric."}, "format": {"maxLength": 100, "minLength": 1}}]}}]}, {"type": "object", "var": "$resource.properties.signalGroups.azureMonitorWorkspace", "options": ["azure-monitor-workspace"], "help": {"short": "Azure Monitor Workspace Signal Group"}, "args": [{"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.authenticationSetting", "options": ["authentication-setting"], "required": true, "help": {"short": "Reference to the name of the authentication setting which is used for querying the data source."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.azureMonitorWorkspaceResourceId", "options": ["azure-monitor-workspace-resource-id"], "required": true, "help": {"short": "Azure Monitor workspace resource ID."}}, {"type": "array", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals", "options": ["signals"], "help": {"short": "Signals assigned to this signal group."}, "format": {"maxLength": 50}, "item": {"type": "object", "args": [{"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].dataUnit", "options": ["data-unit"], "help": {"short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))"}, "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].displayName", "options": ["display-name"], "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_create", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].evaluationRules", "options": ["evaluation-rules"], "help": {"short": "Evaluation rules for the signal definition"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].name", "options": ["name"], "required": true, "help": {"short": "Unique name of the signal within the entity."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].queryText", "options": ["query-text"], "help": {"short": "Query text in PromQL syntax"}, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].refreshInterval", "options": ["refresh-interval"], "help": {"short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)."}, "default": {"value": "PT1M"}, "enum": {"items": [{"name": "PT10M", "value": "PT10M"}, {"name": "PT1H", "value": "PT1H"}, {"name": "PT1M", "value": "PT1M"}, {"name": "PT2H", "value": "PT2H"}, {"name": "PT30M", "value": "PT30M"}, {"name": "PT5M", "value": "PT5M"}]}}, {"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].signalDefinitionName", "options": ["signal-definition-name"], "help": {"short": "Optional reference to a signal definition that provides default values."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M."}, "format": {"maxLength": 100, "minLength": 1}}]}}]}, {"type": "object", "var": "$resource.properties.signalGroups.azureResource", "options": ["azure-resource"], "help": {"short": "Azure Resource Signal Group"}, "args": [{"type": "string", "var": "$resource.properties.signalGroups.azureResource.authenticationSetting", "options": ["authentication-setting"], "required": true, "help": {"short": "Reference to the name of the authentication setting which is used for querying the data source."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "var": "$resource.properties.signalGroups.azureResource.azureResourceId", "options": ["azure-resource-id"], "required": true, "help": {"short": "Azure resource ID"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.azureResourceKind", "options": ["azure-resource-kind"], "help": {"short": "Azure resource kind (e.g., 'functionapp'). Populated by the UI for icon rendering. Can be null if not populated."}, "format": {"maxLength": 256, "minLength": 0}}, {"type": "array", "var": "$resource.properties.signalGroups.azureResource.signals", "options": ["signals"], "help": {"short": "Signals assigned to this group."}, "format": {"maxLength": 50}, "item": {"type": "object", "args": [{"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].aggregationType", "options": ["aggregation-type"], "help": {"short": "Type of aggregation to apply to the metric"}, "enum": {"items": [{"name": "Average", "value": "Average"}, {"name": "Count", "value": "Count"}, {"name": "Maximum", "value": "Maximum"}, {"name": "Minimum", "value": "Minimum"}, {"name": "None", "value": "None"}, {"name": "Total", "value": "Total"}]}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].dataUnit", "options": ["data-unit"], "help": {"short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))"}, "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].dimension", "options": ["dimension"], "help": {"short": "Optional: Dimension to split by"}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].dimensionFilter", "options": ["dimension-filter"], "help": {"short": "Optional: Dimension filter to apply to the dimension. Must only be set if also Dimension is set."}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].displayName", "options": ["display-name"], "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "var": "$resource.properties.signalGroups.azureResource.signals[].evaluationRules", "options": ["evaluation-rules"], "help": {"short": "Evaluation rules for the signal definition"}, "args": [{"type": "object", "var": "@EvaluationRule_create.degradedRule", "options": ["degraded-rule"], "help": {"short": "Degraded rule with static threshold."}, "args": [{"type": "string", "var": "@ThresholdRuleV2_create.operator", "options": ["operator"], "required": true, "help": {"short": "Operator how to compare the signal value with the threshold"}, "enum": {"items": [{"name": "Equal", "value": "Equal"}, {"name": "GreaterThan", "value": "GreaterThan"}, {"name": "GreaterThanOrEqual", "value": "GreaterThanOrEqual"}, {"name": "LessThan", "value": "LessThan"}, {"name": "LessThanOrEqual", "value": "LessThanOrEqual"}, {"name": "NotEqual", "value": "NotEqual"}]}}, {"type": "float64", "var": "@ThresholdRuleV2_create.threshold", "options": ["threshold"], "required": true, "help": {"short": "Threshold value"}}], "cls": "ThresholdRuleV2_create"}, {"type": "@ThresholdRuleV2_create", "var": "@EvaluationRule_create.unhealthyRule", "options": ["unhealthy-rule"], "required": true, "help": {"short": "Unhealthy rule with static threshold."}}], "cls": "EvaluationRule_create"}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].metricName", "options": ["metric-name"], "help": {"short": "Name of the metric"}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].metricNamespace", "options": ["metric-namespace"], "help": {"short": "Metric namespace"}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].name", "options": ["name"], "required": true, "help": {"short": "Unique name of the signal within the entity."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].refreshInterval", "options": ["refresh-interval"], "help": {"short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)."}, "default": {"value": "PT1M"}, "enum": {"items": [{"name": "PT10M", "value": "PT10M"}, {"name": "PT1H", "value": "PT1H"}, {"name": "PT1M", "value": "PT1M"}, {"name": "PT2H", "value": "PT2H"}, {"name": "PT30M", "value": "PT30M"}, {"name": "PT5M", "value": "PT5M"}]}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].signalDefinitionName", "options": ["signal-definition-name"], "help": {"short": "Optional reference to a signal definition that provides default values."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M."}, "format": {"maxLength": 100, "minLength": 1}}]}}]}, {"type": "object", "var": "$resource.properties.signalGroups.dependencies", "options": ["dependencies"], "help": {"short": "Settings for dependency signals to control how the health state of child entities influences the health state of the parent entity."}, "args": [{"type": "string", "var": "$resource.properties.signalGroups.dependencies.aggregationType", "options": ["aggregation-type"], "required": true, "help": {"short": "Aggregation type for child dependencies."}, "default": {"value": "WorstOf"}, "enum": {"items": [{"name": "MaxNotHealthy", "value": "MaxNotHealthy"}, {"name": "MinHealthy", "value": "MinHealthy"}, {"name": "WorstOf", "value": "WorstOf"}]}}, {"type": "float64", "var": "$resource.properties.signalGroups.dependencies.degradedThreshold", "options": ["degraded-threshold"], "help": {"short": "Degraded threshold for aggregation. For MinHealthy: parent is degraded when healthy count/percentage falls to or below this value. For MaxNotHealthy: parent is degraded when not-healthy count/percentage reaches or exceeds this value. Optional — if not set, there is no degraded state (transitions directly from Healthy to Unhealthy)."}, "format": {"minimum": 0.0}}, {"type": "boolean", "var": "$resource.properties.signalGroups.dependencies.ignoreUnknown", "options": ["ignore-unknown"], "help": {"short": "If true, children with Unknown health state are excluded from aggregation calculations. Defaults to true."}, "default": {"value": true}}, {"type": "float64", "var": "$resource.properties.signalGroups.dependencies.unhealthyThreshold", "options": ["unhealthy-threshold"], "help": {"short": "Unhealthy threshold for aggregation. For MinHealthy: parent is unhealthy when healthy count/percentage falls to or below this value. For MaxNotHealthy: parent is unhealthy when not-healthy count/percentage reaches or exceeds this value. Required when aggregationType is MinHealthy or MaxNotHealthy."}, "format": {"minimum": 0.0}}, {"type": "string", "var": "$resource.properties.signalGroups.dependencies.unit", "options": ["unit"], "help": {"short": "Unit type for the aggregation thresholds. Required when aggregationType is MinHealthy or MaxNotHealthy."}, "enum": {"items": [{"name": "Absolute", "value": "Absolute"}, {"name": "Percentage", "value": "Percentage"}]}}]}]}, {"type": "object", "var": "$resource.properties.tags", "options": ["tags"], "group": "Properties", "help": {"short": "Optional set of tags (key-value pairs)"}, "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Entities_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "entityName", "arg": "$Path.entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "alerts", "arg": "$resource.properties.alerts", "props": [{"type": "@AlertConfiguration_create", "name": "degraded", "arg": "$resource.properties.alerts.degraded"}, {"type": "object", "name": "unhealthy", "arg": "$resource.properties.alerts.unhealthy", "props": [{"type": "array", "name": "actionGroupIds", "arg": "@AlertConfiguration_create.actionGroupIds", "format": {"maxLength": 5, "minLength": 1}, "item": {"type": "ResourceId"}}, {"type": "string", "name": "description", "arg": "@AlertConfiguration_create.description", "format": {"maxLength": 1000, "minLength": 1}}, {"type": "string", "name": "severity", "arg": "@AlertConfiguration_create.severity", "required": true, "enum": {"items": [{"value": "Sev0"}, {"value": "Sev1"}, {"value": "Sev2"}, {"value": "Sev3"}, {"value": "Sev4"}]}}], "cls": "AlertConfiguration_create"}]}, {"type": "object", "name": "canvasPosition", "arg": "$resource.properties.canvasPosition", "props": [{"type": "float32", "name": "x", "arg": "$resource.properties.canvasPosition.x", "required": true}, {"type": "float32", "name": "y", "arg": "$resource.properties.canvasPosition.y", "required": true}]}, {"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "float32", "name": "healthObjective", "arg": "$resource.properties.healthObjective", "format": {"maximum": 100.0, "minimum": 0.0}}, {"type": "object", "name": "icon", "arg": "$resource.properties.icon", "props": [{"type": "string", "name": "customData", "arg": "$resource.properties.icon.customData", "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "iconName", "arg": "$resource.properties.icon.iconName", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"default": {"value": "Standard"}, "type": "string", "name": "impact", "arg": "$resource.properties.impact", "enum": {"items": [{"value": "Limited"}, {"value": "Standard"}, {"value": "Suppressed"}]}}, {"type": "object", "name": "signalGroups", "arg": "$resource.properties.signalGroups", "props": [{"type": "object", "name": "azureLogAnalytics", "arg": "$resource.properties.signalGroups.azureLogAnalytics", "props": [{"type": "string", "name": "authenticationSetting", "arg": "$resource.properties.signalGroups.azureLogAnalytics.authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "logAnalyticsWorkspaceResourceId", "arg": "$resource.properties.signalGroups.azureLogAnalytics.logAnalyticsWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_create", "name": "evaluationRules", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].evaluationRules"}, {"type": "string", "name": "name", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "LogAnalyticsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureMonitorWorkspace", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace", "props": [{"type": "string", "name": "authenticationSetting", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureMonitorWorkspaceResourceId", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.azureMonitorWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_create", "name": "evaluationRules", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].evaluationRules"}, {"type": "string", "name": "name", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "PrometheusMetricsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureResource", "arg": "$resource.properties.signalGroups.azureResource", "props": [{"type": "string", "name": "authenticationSetting", "arg": "$resource.properties.signalGroups.azureResource.authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureResourceId", "arg": "$resource.properties.signalGroups.azureResource.azureResourceId", "required": true}, {"type": "string", "name": "azureResourceKind", "arg": "$resource.properties.signalGroups.azureResource.azureResourceKind", "format": {"maxLength": 256, "minLength": 0}}, {"type": "array", "name": "signals", "arg": "$resource.properties.signalGroups.azureResource.signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "aggregationType", "arg": "$resource.properties.signalGroups.azureResource.signals[].aggregationType", "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dataUnit", "arg": "$resource.properties.signalGroups.azureResource.signals[].dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "dimension", "arg": "$resource.properties.signalGroups.azureResource.signals[].dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "arg": "$resource.properties.signalGroups.azureResource.signals[].dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.signalGroups.azureResource.signals[].displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "arg": "$resource.properties.signalGroups.azureResource.signals[].evaluationRules", "props": [{"type": "object", "name": "degradedRule", "arg": "@EvaluationRule_create.degradedRule", "props": [{"type": "string", "name": "operator", "arg": "@ThresholdRuleV2_create.operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "arg": "@ThresholdRuleV2_create.threshold", "required": true}], "cls": "ThresholdRuleV2_create"}, {"type": "@ThresholdRuleV2_create", "name": "unhealthyRule", "arg": "@EvaluationRule_create.unhealthyRule", "required": true}], "cls": "EvaluationRule_create"}, {"type": "string", "name": "metricName", "arg": "$resource.properties.signalGroups.azureResource.signals[].metricName", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "arg": "$resource.properties.signalGroups.azureResource.signals[].metricNamespace", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "name", "arg": "$resource.properties.signalGroups.azureResource.signals[].name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "arg": "$resource.properties.signalGroups.azureResource.signals[].refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "arg": "$resource.properties.signalGroups.azureResource.signals[].signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "AzureResourceMetric"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.signalGroups.azureResource.signals[].timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "dependencies", "arg": "$resource.properties.signalGroups.dependencies", "props": [{"default": {"value": "WorstOf"}, "type": "string", "name": "aggregationType", "arg": "$resource.properties.signalGroups.dependencies.aggregationType", "required": true, "enum": {"items": [{"value": "MaxNotHealthy"}, {"value": "MinHealthy"}, {"value": "WorstOf"}]}}, {"type": "float64", "name": "degradedThreshold", "arg": "$resource.properties.signalGroups.dependencies.degradedThreshold", "format": {"minimum": 0.0}}, {"default": {"value": true}, "type": "boolean", "name": "ignoreUnknown", "arg": "$resource.properties.signalGroups.dependencies.ignoreUnknown"}, {"type": "float64", "name": "unhealthyThreshold", "arg": "$resource.properties.signalGroups.dependencies.unhealthyThreshold", "format": {"minimum": 0.0}}, {"type": "string", "name": "unit", "arg": "$resource.properties.signalGroups.dependencies.unit", "enum": {"items": [{"value": "Absolute"}, {"value": "Percentage"}]}}]}]}, {"type": "object", "name": "tags", "arg": "$resource.properties.tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/entities/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "alerts", "props": [{"type": "@AlertConfiguration_read", "name": "degraded"}, {"type": "object", "name": "unhealthy", "props": [{"type": "array", "name": "actionGroupIds", "format": {"maxLength": 5, "minLength": 1}, "item": {"type": "ResourceId"}}, {"type": "string", "name": "description", "format": {"maxLength": 1000, "minLength": 1}}, {"type": "string", "name": "severity", "required": true, "enum": {"items": [{"value": "Sev0"}, {"value": "Sev1"}, {"value": "Sev2"}, {"value": "Sev3"}, {"value": "Sev4"}]}}], "cls": "AlertConfiguration_read"}]}, {"type": "object", "name": "canvasPosition", "props": [{"type": "float32", "name": "x", "required": true}, {"type": "float32", "name": "y", "required": true}]}, {"readOnly": true, "type": "string", "name": "discoveredBy", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "float32", "name": "healthObjective", "format": {"maximum": 100.0, "minimum": 0.0}}, {"readOnly": true, "type": "string", "name": "healthState", "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"type": "object", "name": "icon", "props": [{"type": "string", "name": "customData", "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "iconName", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"default": {"value": "Standard"}, "type": "string", "name": "impact", "enum": {"items": [{"value": "Limited"}, {"value": "Standard"}, {"value": "Suppressed"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "signalGroups", "props": [{"type": "object", "name": "azureLogAnalytics", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "logAnalyticsWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "LogAnalyticsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureMonitorWorkspace", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureMonitorWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "PrometheusMetricsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureResource", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureResourceId", "required": true}, {"type": "string", "name": "azureResourceKind", "format": {"maxLength": 256, "minLength": 0}}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "aggregationType", "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "props": [{"type": "object", "name": "degradedRule", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "required": true}], "cls": "ThresholdRuleV2_read"}, {"type": "@ThresholdRuleV2_read", "name": "unhealthyRule", "required": true}], "cls": "EvaluationRule_read"}, {"type": "string", "name": "metricName", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "AzureResourceMetric"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "object", "name": "status", "props": [{"readOnly": true, "type": "string", "name": "error"}, {"readOnly": true, "type": "string", "name": "healthState", "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "dateTime", "name": "reportedAt", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "float64", "name": "value"}], "cls": "SignalStatus_read"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "dependencies", "props": [{"default": {"value": "WorstOf"}, "type": "string", "name": "aggregationType", "required": true, "enum": {"items": [{"value": "MaxNotHealthy"}, {"value": "MinHealthy"}, {"value": "WorstOf"}]}}, {"type": "float64", "name": "degradedThreshold", "format": {"minimum": 0.0}}, {"default": {"value": true}, "type": "boolean", "name": "ignoreUnknown"}, {"type": "float64", "name": "unhealthyThreshold", "format": {"minimum": 0.0}}, {"type": "string", "name": "unit", "enum": {"items": [{"value": "Absolute"}, {"value": "Percentage"}]}}]}, {"readOnly": true, "type": "object", "name": "external", "props": [{"readOnly": true, "type": "array", "name": "signals", "item": {"type": "object", "props": [{"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "External"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}]}, "identifiers": ["name"]}]}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.entityName", "options": ["n", "name", "entity-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the entity. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$resource.properties.alerts", "options": ["alerts"], "group": "Properties", "help": {"short": "Alert configuration for this entity"}, "args": [{"nullable": true, "type": "@AlertConfiguration_update", "var": "$resource.properties.alerts.degraded", "options": ["degraded"], "help": {"short": "Alert to be triggered on state change to degraded"}}, {"nullable": true, "type": "object", "var": "$resource.properties.alerts.unhealthy", "options": ["unhealthy"], "help": {"short": "Alert to be triggered on state change to unhealthy"}, "args": [{"nullable": true, "type": "array", "var": "@AlertConfiguration_update.actionGroupIds", "options": ["action-group-ids"], "help": {"short": "Optional list of action group resource IDs to be notified when the alert is triggered."}, "format": {"maxLength": 5, "minLength": 1}, "item": {"nullable": true, "type": "ResourceId"}}, {"nullable": true, "type": "string", "var": "@AlertConfiguration_update.description", "options": ["description"], "help": {"short": "The alert rule description."}, "format": {"maxLength": 1000, "minLength": 1}}, {"type": "string", "var": "@AlertConfiguration_update.severity", "options": ["severity"], "help": {"short": "The severity of triggered alert."}, "enum": {"items": [{"name": "Sev0", "value": "Sev0"}, {"name": "Sev1", "value": "Sev1"}, {"name": "Sev2", "value": "Sev2"}, {"name": "Sev3", "value": "Sev3"}, {"name": "Sev4", "value": "Sev4"}]}}], "cls": "AlertConfiguration_update"}]}, {"nullable": true, "type": "object", "var": "$resource.properties.canvasPosition", "options": ["canvas-position"], "group": "Properties", "help": {"short": "Positioning of the entity on the model canvas"}, "args": [{"type": "float32", "var": "$resource.properties.canvasPosition.x", "options": ["x"], "help": {"short": "X Coordinate"}}, {"type": "float32", "var": "$resource.properties.canvasPosition.y", "options": ["y"], "help": {"short": "Y Coordinate"}}]}, {"nullable": true, "type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"nullable": true, "type": "float32", "var": "$resource.properties.healthObjective", "options": ["health-objective"], "group": "Properties", "help": {"short": "Health objective as a percentage of time the entity should be healthy."}, "format": {"maximum": 100.0, "minimum": 0.0}}, {"nullable": true, "type": "object", "var": "$resource.properties.icon", "options": ["icon"], "group": "Properties", "help": {"short": "Visual icon definition. If not set, a default icon is used."}, "args": [{"nullable": true, "type": "string", "var": "$resource.properties.icon.customData", "options": ["custom-data"], "help": {"short": "Custom data. Base64-encoded SVG data. If set, this overrides the built-in icon."}, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "var": "$resource.properties.icon.iconName", "options": ["icon-name"], "help": {"short": "Name of the built-in icon, or 'Custom' to use customData"}, "format": {"maxLength": 100, "minLength": 1}}]}, {"nullable": true, "type": "string", "var": "$resource.properties.impact", "options": ["impact"], "group": "Properties", "help": {"short": "Impact of the entity in health state propagation"}, "enum": {"items": [{"name": "Limited", "value": "Limited"}, {"name": "Standard", "value": "Standard"}, {"name": "Suppressed", "value": "Suppressed"}]}}, {"nullable": true, "type": "object", "var": "$resource.properties.signalGroups", "options": ["signal-groups"], "group": "Properties", "help": {"short": "Signal groups which are assigned to this entity"}, "args": [{"nullable": true, "type": "object", "var": "$resource.properties.signalGroups.azureLogAnalytics", "options": ["azure-log-analytics"], "help": {"short": "Log Analytics Signal Group"}, "args": [{"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.authenticationSetting", "options": ["authentication-setting"], "help": {"short": "Reference to the name of the authentication setting which is used for querying the data source."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "var": "$resource.properties.signalGroups.azureLogAnalytics.logAnalyticsWorkspaceResourceId", "options": ["log-analytics-workspace-resource-id"], "help": {"short": "Log Analytics workspace resource ID."}}, {"nullable": true, "type": "array", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals", "options": ["signals"], "help": {"short": "Signals assigned to this group."}, "format": {"maxLength": 50}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].dataUnit", "options": ["data-unit"], "help": {"short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))"}, "format": {"maxLength": 100, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].displayName", "options": ["display-name"], "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"nullable": true, "type": "@EvaluationRule_update", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].evaluationRules", "options": ["evaluation-rules"], "help": {"short": "Evaluation rules for the signal definition"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].name", "options": ["name"], "help": {"short": "Unique name of the signal within the entity."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].queryText", "options": ["query-text"], "help": {"short": "Query text in KQL syntax"}, "format": {"maxLength": 5000, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].refreshInterval", "options": ["refresh-interval"], "help": {"short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)."}, "enum": {"items": [{"name": "PT10M", "value": "PT10M"}, {"name": "PT1H", "value": "PT1H"}, {"name": "PT1M", "value": "PT1M"}, {"name": "PT2H", "value": "PT2H"}, {"name": "PT30M", "value": "PT30M"}, {"name": "PT5M", "value": "PT5M"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].signalDefinitionName", "options": ["signal-definition-name"], "help": {"short": "Optional reference to a signal definition that provides default values."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M. If not specified, the KQL query must define a time range."}, "format": {"maxLength": 100, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].valueColumnName", "options": ["value-column-name"], "help": {"short": "Name of the column in the result set to evaluate against the thresholds. Defaults to the first column in the result set if not specified. The column must be numeric."}, "format": {"maxLength": 100, "minLength": 1}}]}}]}, {"nullable": true, "type": "object", "var": "$resource.properties.signalGroups.azureMonitorWorkspace", "options": ["azure-monitor-workspace"], "help": {"short": "Azure Monitor Workspace Signal Group"}, "args": [{"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.authenticationSetting", "options": ["authentication-setting"], "help": {"short": "Reference to the name of the authentication setting which is used for querying the data source."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.azureMonitorWorkspaceResourceId", "options": ["azure-monitor-workspace-resource-id"], "help": {"short": "Azure Monitor workspace resource ID."}}, {"nullable": true, "type": "array", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals", "options": ["signals"], "help": {"short": "Signals assigned to this signal group."}, "format": {"maxLength": 50}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].dataUnit", "options": ["data-unit"], "help": {"short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))"}, "format": {"maxLength": 100, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].displayName", "options": ["display-name"], "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"nullable": true, "type": "@EvaluationRule_update", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].evaluationRules", "options": ["evaluation-rules"], "help": {"short": "Evaluation rules for the signal definition"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].name", "options": ["name"], "help": {"short": "Unique name of the signal within the entity."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].queryText", "options": ["query-text"], "help": {"short": "Query text in PromQL syntax"}, "format": {"maxLength": 5000, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].refreshInterval", "options": ["refresh-interval"], "help": {"short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)."}, "enum": {"items": [{"name": "PT10M", "value": "PT10M"}, {"name": "PT1H", "value": "PT1H"}, {"name": "PT1M", "value": "PT1M"}, {"name": "PT2H", "value": "PT2H"}, {"name": "PT30M", "value": "PT30M"}, {"name": "PT5M", "value": "PT5M"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].signalDefinitionName", "options": ["signal-definition-name"], "help": {"short": "Optional reference to a signal definition that provides default values."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M."}, "format": {"maxLength": 100, "minLength": 1}}]}}]}, {"nullable": true, "type": "object", "var": "$resource.properties.signalGroups.azureResource", "options": ["azure-resource"], "help": {"short": "Azure Resource Signal Group"}, "args": [{"type": "string", "var": "$resource.properties.signalGroups.azureResource.authenticationSetting", "options": ["authentication-setting"], "help": {"short": "Reference to the name of the authentication setting which is used for querying the data source."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "var": "$resource.properties.signalGroups.azureResource.azureResourceId", "options": ["azure-resource-id"], "help": {"short": "Azure resource ID"}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.azureResourceKind", "options": ["azure-resource-kind"], "help": {"short": "Azure resource kind (e.g., 'functionapp'). Populated by the UI for icon rendering. Can be null if not populated."}, "format": {"maxLength": 256, "minLength": 0}}, {"nullable": true, "type": "array", "var": "$resource.properties.signalGroups.azureResource.signals", "options": ["signals"], "help": {"short": "Signals assigned to this group."}, "format": {"maxLength": 50}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].aggregationType", "options": ["aggregation-type"], "help": {"short": "Type of aggregation to apply to the metric"}, "enum": {"items": [{"name": "Average", "value": "Average"}, {"name": "Count", "value": "Count"}, {"name": "Maximum", "value": "Maximum"}, {"name": "Minimum", "value": "Minimum"}, {"name": "None", "value": "None"}, {"name": "Total", "value": "Total"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].dataUnit", "options": ["data-unit"], "help": {"short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))"}, "format": {"maxLength": 100, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].dimension", "options": ["dimension"], "help": {"short": "Optional: Dimension to split by"}, "format": {"maxLength": 256, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].dimensionFilter", "options": ["dimension-filter"], "help": {"short": "Optional: Dimension filter to apply to the dimension. Must only be set if also Dimension is set."}, "format": {"maxLength": 256, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].displayName", "options": ["display-name"], "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"nullable": true, "type": "object", "var": "$resource.properties.signalGroups.azureResource.signals[].evaluationRules", "options": ["evaluation-rules"], "help": {"short": "Evaluation rules for the signal definition"}, "args": [{"nullable": true, "type": "object", "var": "@EvaluationRule_update.degradedRule", "options": ["degraded-rule"], "help": {"short": "Degraded rule with static threshold."}, "args": [{"type": "string", "var": "@ThresholdRuleV2_update.operator", "options": ["operator"], "help": {"short": "Operator how to compare the signal value with the threshold"}, "enum": {"items": [{"name": "Equal", "value": "Equal"}, {"name": "GreaterThan", "value": "GreaterThan"}, {"name": "GreaterThanOrEqual", "value": "GreaterThanOrEqual"}, {"name": "LessThan", "value": "LessThan"}, {"name": "LessThanOrEqual", "value": "LessThanOrEqual"}, {"name": "NotEqual", "value": "NotEqual"}]}}, {"type": "float64", "var": "@ThresholdRuleV2_update.threshold", "options": ["threshold"], "help": {"short": "Threshold value"}}], "cls": "ThresholdRuleV2_update"}, {"type": "@ThresholdRuleV2_update", "var": "@EvaluationRule_update.unhealthyRule", "options": ["unhealthy-rule"], "help": {"short": "Unhealthy rule with static threshold."}}], "cls": "EvaluationRule_update"}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].metricName", "options": ["metric-name"], "help": {"short": "Name of the metric"}, "format": {"maxLength": 256, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].metricNamespace", "options": ["metric-namespace"], "help": {"short": "Metric namespace"}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].name", "options": ["name"], "help": {"short": "Unique name of the signal within the entity."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].refreshInterval", "options": ["refresh-interval"], "help": {"short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)."}, "enum": {"items": [{"name": "PT10M", "value": "PT10M"}, {"name": "PT1H", "value": "PT1H"}, {"name": "PT1M", "value": "PT1M"}, {"name": "PT2H", "value": "PT2H"}, {"name": "PT30M", "value": "PT30M"}, {"name": "PT5M", "value": "PT5M"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].signalDefinitionName", "options": ["signal-definition-name"], "help": {"short": "Optional reference to a signal definition that provides default values."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M."}, "format": {"maxLength": 100, "minLength": 1}}]}}]}, {"nullable": true, "type": "object", "var": "$resource.properties.signalGroups.dependencies", "options": ["dependencies"], "help": {"short": "Settings for dependency signals to control how the health state of child entities influences the health state of the parent entity."}, "args": [{"type": "string", "var": "$resource.properties.signalGroups.dependencies.aggregationType", "options": ["aggregation-type"], "help": {"short": "Aggregation type for child dependencies."}, "enum": {"items": [{"name": "MaxNotHealthy", "value": "MaxNotHealthy"}, {"name": "MinHealthy", "value": "MinHealthy"}, {"name": "WorstOf", "value": "WorstOf"}]}}, {"nullable": true, "type": "float64", "var": "$resource.properties.signalGroups.dependencies.degradedThreshold", "options": ["degraded-threshold"], "help": {"short": "Degraded threshold for aggregation. For MinHealthy: parent is degraded when healthy count/percentage falls to or below this value. For MaxNotHealthy: parent is degraded when not-healthy count/percentage reaches or exceeds this value. Optional — if not set, there is no degraded state (transitions directly from Healthy to Unhealthy)."}, "format": {"minimum": 0.0}}, {"nullable": true, "type": "boolean", "var": "$resource.properties.signalGroups.dependencies.ignoreUnknown", "options": ["ignore-unknown"], "help": {"short": "If true, children with Unknown health state are excluded from aggregation calculations. Defaults to true."}}, {"nullable": true, "type": "float64", "var": "$resource.properties.signalGroups.dependencies.unhealthyThreshold", "options": ["unhealthy-threshold"], "help": {"short": "Unhealthy threshold for aggregation. For MinHealthy: parent is unhealthy when healthy count/percentage falls to or below this value. For MaxNotHealthy: parent is unhealthy when not-healthy count/percentage reaches or exceeds this value. Required when aggregationType is MinHealthy or MaxNotHealthy."}, "format": {"minimum": 0.0}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.dependencies.unit", "options": ["unit"], "help": {"short": "Unit type for the aggregation thresholds. Required when aggregationType is MinHealthy or MaxNotHealthy."}, "enum": {"items": [{"name": "Absolute", "value": "Absolute"}, {"name": "Percentage", "value": "Percentage"}]}}]}]}, {"nullable": true, "type": "object", "var": "$resource.properties.tags", "options": ["tags"], "group": "Properties", "help": {"short": "Optional set of tags (key-value pairs)"}, "additionalProps": {"item": {"nullable": true, "type": "string", "format": {"maxLength": 4096}}}}]}], "operations": [{"operationId": "Entities_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "entityName", "arg": "$Path.entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/entities/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "alerts", "props": [{"type": "@AlertConfiguration_read", "name": "degraded"}, {"type": "object", "name": "unhealthy", "props": [{"type": "array", "name": "actionGroupIds", "format": {"maxLength": 5, "minLength": 1}, "item": {"type": "ResourceId"}}, {"type": "string", "name": "description", "format": {"maxLength": 1000, "minLength": 1}}, {"type": "string", "name": "severity", "required": true, "enum": {"items": [{"value": "Sev0"}, {"value": "Sev1"}, {"value": "Sev2"}, {"value": "Sev3"}, {"value": "Sev4"}]}}], "cls": "AlertConfiguration_read"}]}, {"type": "object", "name": "canvasPosition", "props": [{"type": "float32", "name": "x", "required": true}, {"type": "float32", "name": "y", "required": true}]}, {"readOnly": true, "type": "string", "name": "discoveredBy", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "float32", "name": "healthObjective", "format": {"maximum": 100.0, "minimum": 0.0}}, {"readOnly": true, "type": "string", "name": "healthState", "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"type": "object", "name": "icon", "props": [{"type": "string", "name": "customData", "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "iconName", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"default": {"value": "Standard"}, "type": "string", "name": "impact", "enum": {"items": [{"value": "Limited"}, {"value": "Standard"}, {"value": "Suppressed"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "signalGroups", "props": [{"type": "object", "name": "azureLogAnalytics", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "logAnalyticsWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "LogAnalyticsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureMonitorWorkspace", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureMonitorWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "PrometheusMetricsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureResource", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureResourceId", "required": true}, {"type": "string", "name": "azureResourceKind", "format": {"maxLength": 256, "minLength": 0}}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "aggregationType", "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "props": [{"type": "object", "name": "degradedRule", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "required": true}], "cls": "ThresholdRuleV2_read"}, {"type": "@ThresholdRuleV2_read", "name": "unhealthyRule", "required": true}], "cls": "EvaluationRule_read"}, {"type": "string", "name": "metricName", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "AzureResourceMetric"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "object", "name": "status", "props": [{"readOnly": true, "type": "string", "name": "error"}, {"readOnly": true, "type": "string", "name": "healthState", "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "dateTime", "name": "reportedAt", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "float64", "name": "value"}], "cls": "SignalStatus_read"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "dependencies", "props": [{"default": {"value": "WorstOf"}, "type": "string", "name": "aggregationType", "required": true, "enum": {"items": [{"value": "MaxNotHealthy"}, {"value": "MinHealthy"}, {"value": "WorstOf"}]}}, {"type": "float64", "name": "degradedThreshold", "format": {"minimum": 0.0}}, {"default": {"value": true}, "type": "boolean", "name": "ignoreUnknown"}, {"type": "float64", "name": "unhealthyThreshold", "format": {"minimum": 0.0}}, {"type": "string", "name": "unit", "enum": {"items": [{"value": "Absolute"}, {"value": "Percentage"}]}}]}, {"readOnly": true, "type": "object", "name": "external", "props": [{"readOnly": true, "type": "array", "name": "signals", "item": {"type": "object", "props": [{"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "External"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}]}, "identifiers": ["name"]}]}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Entity_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "alerts", "arg": "$resource.properties.alerts", "props": [{"type": "@AlertConfiguration_update", "name": "degraded", "arg": "$resource.properties.alerts.degraded"}, {"type": "object", "name": "unhealthy", "arg": "$resource.properties.alerts.unhealthy", "props": [{"type": "array", "name": "actionGroupIds", "arg": "@AlertConfiguration_update.actionGroupIds", "format": {"maxLength": 5, "minLength": 1}, "item": {"type": "ResourceId"}}, {"type": "string", "name": "description", "arg": "@AlertConfiguration_update.description", "format": {"maxLength": 1000, "minLength": 1}}, {"type": "string", "name": "severity", "arg": "@AlertConfiguration_update.severity", "required": true, "enum": {"items": [{"value": "Sev0"}, {"value": "Sev1"}, {"value": "Sev2"}, {"value": "Sev3"}, {"value": "Sev4"}]}}], "cls": "AlertConfiguration_update"}]}, {"type": "object", "name": "canvasPosition", "arg": "$resource.properties.canvasPosition", "props": [{"type": "float32", "name": "x", "arg": "$resource.properties.canvasPosition.x", "required": true}, {"type": "float32", "name": "y", "arg": "$resource.properties.canvasPosition.y", "required": true}]}, {"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "float32", "name": "healthObjective", "arg": "$resource.properties.healthObjective", "format": {"maximum": 100.0, "minimum": 0.0}}, {"type": "object", "name": "icon", "arg": "$resource.properties.icon", "props": [{"type": "string", "name": "customData", "arg": "$resource.properties.icon.customData", "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "iconName", "arg": "$resource.properties.icon.iconName", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"default": {"value": "Standard"}, "type": "string", "name": "impact", "arg": "$resource.properties.impact", "enum": {"items": [{"value": "Limited"}, {"value": "Standard"}, {"value": "Suppressed"}]}}, {"type": "object", "name": "signalGroups", "arg": "$resource.properties.signalGroups", "props": [{"type": "object", "name": "azureLogAnalytics", "arg": "$resource.properties.signalGroups.azureLogAnalytics", "props": [{"type": "string", "name": "authenticationSetting", "arg": "$resource.properties.signalGroups.azureLogAnalytics.authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "logAnalyticsWorkspaceResourceId", "arg": "$resource.properties.signalGroups.azureLogAnalytics.logAnalyticsWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_update", "name": "evaluationRules", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].evaluationRules"}, {"type": "string", "name": "name", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "LogAnalyticsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureMonitorWorkspace", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace", "props": [{"type": "string", "name": "authenticationSetting", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureMonitorWorkspaceResourceId", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.azureMonitorWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_update", "name": "evaluationRules", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].evaluationRules"}, {"type": "string", "name": "name", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "PrometheusMetricsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureResource", "arg": "$resource.properties.signalGroups.azureResource", "props": [{"type": "string", "name": "authenticationSetting", "arg": "$resource.properties.signalGroups.azureResource.authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureResourceId", "arg": "$resource.properties.signalGroups.azureResource.azureResourceId", "required": true}, {"type": "string", "name": "azureResourceKind", "arg": "$resource.properties.signalGroups.azureResource.azureResourceKind", "format": {"maxLength": 256, "minLength": 0}}, {"type": "array", "name": "signals", "arg": "$resource.properties.signalGroups.azureResource.signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "aggregationType", "arg": "$resource.properties.signalGroups.azureResource.signals[].aggregationType", "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dataUnit", "arg": "$resource.properties.signalGroups.azureResource.signals[].dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "dimension", "arg": "$resource.properties.signalGroups.azureResource.signals[].dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "arg": "$resource.properties.signalGroups.azureResource.signals[].dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.signalGroups.azureResource.signals[].displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "arg": "$resource.properties.signalGroups.azureResource.signals[].evaluationRules", "props": [{"type": "object", "name": "degradedRule", "arg": "@EvaluationRule_update.degradedRule", "props": [{"type": "string", "name": "operator", "arg": "@ThresholdRuleV2_update.operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "arg": "@ThresholdRuleV2_update.threshold", "required": true}], "cls": "ThresholdRuleV2_update"}, {"type": "@ThresholdRuleV2_update", "name": "unhealthyRule", "arg": "@EvaluationRule_update.unhealthyRule", "required": true}], "cls": "EvaluationRule_update"}, {"type": "string", "name": "metricName", "arg": "$resource.properties.signalGroups.azureResource.signals[].metricName", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "arg": "$resource.properties.signalGroups.azureResource.signals[].metricNamespace", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "name", "arg": "$resource.properties.signalGroups.azureResource.signals[].name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "arg": "$resource.properties.signalGroups.azureResource.signals[].refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "arg": "$resource.properties.signalGroups.azureResource.signals[].signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "AzureResourceMetric"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.signalGroups.azureResource.signals[].timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "dependencies", "arg": "$resource.properties.signalGroups.dependencies", "props": [{"default": {"value": "WorstOf"}, "type": "string", "name": "aggregationType", "arg": "$resource.properties.signalGroups.dependencies.aggregationType", "required": true, "enum": {"items": [{"value": "MaxNotHealthy"}, {"value": "MinHealthy"}, {"value": "WorstOf"}]}}, {"type": "float64", "name": "degradedThreshold", "arg": "$resource.properties.signalGroups.dependencies.degradedThreshold", "format": {"minimum": 0.0}}, {"default": {"value": true}, "type": "boolean", "name": "ignoreUnknown", "arg": "$resource.properties.signalGroups.dependencies.ignoreUnknown"}, {"type": "float64", "name": "unhealthyThreshold", "arg": "$resource.properties.signalGroups.dependencies.unhealthyThreshold", "format": {"minimum": 0.0}}, {"type": "string", "name": "unit", "arg": "$resource.properties.signalGroups.dependencies.unit", "enum": {"items": [{"value": "Absolute"}, {"value": "Percentage"}]}}]}]}, {"type": "object", "name": "tags", "arg": "$resource.properties.tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Entities_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "entityName", "arg": "$Path.entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Entity_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.xml new file mode 100644 index 000000000..6015c67de --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.xml @@ -0,0 +1,2571 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.json new file mode 100644 index 000000000..5f62d9be9 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/gethistory", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRIaXN0b3J5/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel entity", "commands": [{"name": "get-history", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/gethistory", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRIaXN0b3J5/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.entityName", "options": ["entity-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the entity. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Body", "args": [{"type": "dateTime", "var": "$body.endAt", "options": ["end-at"], "group": "Body", "help": {"short": "End time for the history query. Defaults to now if not specified."}, "format": {"protocol": "iso"}}, {"type": "dateTime", "var": "$body.startAt", "options": ["start-at"], "group": "Body", "help": {"short": "Start time for the history query. Defaults to 24 hours ago if not specified."}, "format": {"protocol": "iso"}}]}], "operations": [{"operationId": "Entities_GetHistory", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}/getHistory", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "entityName", "arg": "$Path.entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "dateTime", "name": "endAt", "arg": "$body.endAt", "format": {"protocol": "iso"}}, {"type": "dateTime", "name": "startAt", "arg": "$body.startAt", "format": {"protocol": "iso"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "array", "name": "history", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "newState", "required": true, "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"type": "dateTime", "name": "occurredAt", "required": true, "format": {"protocol": "iso"}}, {"type": "string", "name": "previousState", "required": true, "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"type": "string", "name": "reason", "format": {"maxLength": 4096}}]}, "identifiers": ["occurredAt"]}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.xml new file mode 100644 index 000000000..293c12d90 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.xml @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.json new file mode 100644 index 000000000..c501dcf5e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getsignalhistory", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRTaWduYWxIaXN0b3J5/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel entity", "commands": [{"name": "get-signal-history", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getsignalhistory", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRTaWduYWxIaXN0b3J5/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.entityName", "options": ["entity-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the entity. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Body", "args": [{"type": "dateTime", "var": "$body.endAt", "options": ["end-at"], "group": "Body", "help": {"short": "End time for the history query. Defaults to now if not specified."}, "format": {"protocol": "iso"}}, {"type": "string", "var": "$body.signalName", "options": ["signal-name"], "required": true, "group": "Body", "help": {"short": "Name of the signal to get history for"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "dateTime", "var": "$body.startAt", "options": ["start-at"], "group": "Body", "help": {"short": "Start time for the history query. Defaults to 24 hours ago if not specified."}, "format": {"protocol": "iso"}}]}], "operations": [{"operationId": "Entities_GetSignalHistory", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}/getSignalHistory", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "entityName", "arg": "$Path.entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "dateTime", "name": "endAt", "arg": "$body.endAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "signalName", "arg": "$body.signalName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "dateTime", "name": "startAt", "arg": "$body.startAt", "format": {"protocol": "iso"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "array", "name": "history", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "additionalContext", "format": {"maxLength": 4096}}, {"type": "string", "name": "healthState", "required": true, "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"type": "dateTime", "name": "occurredAt", "required": true, "format": {"protocol": "iso"}}, {"type": "float64", "name": "value"}]}, "identifiers": ["occurredAt"]}, {"type": "string", "name": "signalName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.xml new file mode 100644 index 000000000..8c126c5a2 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.xml @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.json new file mode 100644 index 000000000..85425e604 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/ingesthealthreport", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9pbmdlc3RIZWFsdGhSZXBvcnQ=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel entity", "commands": [{"name": "ingest-health-report", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/ingesthealthreport", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9pbmdlc3RIZWFsdGhSZXBvcnQ=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.entityName", "options": ["entity-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the entity. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Body", "args": [{"type": "string", "var": "$body.additionalContext", "options": ["additional-context"], "group": "Body", "help": {"short": "Optional additional context or description for the health report"}, "format": {"maxLength": 4096}}, {"type": "object", "var": "$body.evaluationRules", "options": ["evaluation-rules"], "group": "Body", "help": {"short": "Evaluation rules that were used to determine the reported health state"}, "args": [{"type": "object", "var": "$body.evaluationRules.degradedRule", "options": ["degraded-rule"], "help": {"short": "Degraded rule with static threshold."}, "args": [{"type": "string", "var": "@ThresholdRuleV2_create.operator", "options": ["operator"], "required": true, "help": {"short": "Operator how to compare the signal value with the threshold"}, "enum": {"items": [{"name": "Equal", "value": "Equal"}, {"name": "GreaterThan", "value": "GreaterThan"}, {"name": "GreaterThanOrEqual", "value": "GreaterThanOrEqual"}, {"name": "LessThan", "value": "LessThan"}, {"name": "LessThanOrEqual", "value": "LessThanOrEqual"}, {"name": "NotEqual", "value": "NotEqual"}]}}, {"type": "float64", "var": "@ThresholdRuleV2_create.threshold", "options": ["threshold"], "required": true, "help": {"short": "Threshold value"}}], "cls": "ThresholdRuleV2_create"}, {"type": "@ThresholdRuleV2_create", "var": "$body.evaluationRules.unhealthyRule", "options": ["unhealthy-rule"], "required": true, "help": {"short": "Unhealthy rule with static threshold."}}]}, {"type": "integer32", "var": "$body.expiresInMinutes", "options": ["expires-in-minutes"], "group": "Body", "help": {"short": "Number of minutes until the health report expires. Defaults to 60 (1 hour) if not specified."}, "default": {"value": 60}, "format": {"maximum": 10080, "minimum": 1}}, {"type": "string", "var": "$body.healthState", "options": ["health-state"], "required": true, "group": "Body", "help": {"short": "Health state to report for the signal"}, "enum": {"items": [{"name": "Degraded", "value": "Degraded"}, {"name": "Deleted", "value": "Deleted"}, {"name": "Healthy", "value": "Healthy"}, {"name": "Unhealthy", "value": "Unhealthy"}, {"name": "Unknown", "value": "Unknown"}]}}, {"type": "string", "var": "$body.signalName", "options": ["signal-name"], "required": true, "group": "Body", "help": {"short": "Name of the entity signal to report health for"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "float64", "var": "$body.value", "options": ["value"], "group": "Body", "help": {"short": "Reported value of the signal"}}]}], "operations": [{"operationId": "Entities_IngestHealthReport", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}/ingestHealthReport", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "entityName", "arg": "$Path.entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "string", "name": "additionalContext", "arg": "$body.additionalContext", "format": {"maxLength": 4096}}, {"type": "object", "name": "evaluationRules", "arg": "$body.evaluationRules", "props": [{"type": "object", "name": "degradedRule", "arg": "$body.evaluationRules.degradedRule", "props": [{"type": "string", "name": "operator", "arg": "@ThresholdRuleV2_create.operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "arg": "@ThresholdRuleV2_create.threshold", "required": true}], "cls": "ThresholdRuleV2_create"}, {"type": "@ThresholdRuleV2_create", "name": "unhealthyRule", "arg": "$body.evaluationRules.unhealthyRule", "required": true}]}, {"default": {"value": 60}, "type": "integer32", "name": "expiresInMinutes", "arg": "$body.expiresInMinutes", "format": {"maximum": 10080, "minimum": 1}}, {"type": "string", "name": "healthState", "arg": "$body.healthState", "required": true, "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"type": "string", "name": "signalName", "arg": "$body.signalName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "float64", "name": "value", "arg": "$body.value"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.xml new file mode 100644 index 000000000..ec49be65f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.xml @@ -0,0 +1,146 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.json new file mode 100644 index 000000000..10cc44928 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25z/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel signal-definition", "commands": [{"name": "list", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25z/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "dateTime", "var": "$Query.timestamp", "options": ["timestamp"], "help": {"short": "Timestamp to use for the operation. When specified, the version of the resource at this point in time is retrieved. If not specified, the latest version is used."}, "format": {"protocol": "iso"}}]}], "operations": [{"operationId": "SignalDefinitions_ListByHealthModel", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/signaldefinitions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "dateTime", "name": "timestamp", "arg": "$Query.timestamp", "format": {"protocol": "iso"}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/signaldefinitions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "required": true, "props": [{"type": "object", "name": "degradedRule", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "required": true}], "cls": "ThresholdRuleV2_read"}, {"type": "@ThresholdRuleV2_read", "name": "unhealthyRule", "required": true}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}], "discriminators": [{"property": "signalKind", "value": "AzureResourceMetric", "props": [{"type": "string", "name": "aggregationType", "required": true, "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricName", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "timeGrain", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "LogAnalyticsQuery", "props": [{"type": "string", "name": "queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "PrometheusMetricsQuery", "props": [{"type": "string", "name": "queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.xml new file mode 100644 index 000000000..f386e445c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.xml @@ -0,0 +1,202 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.json new file mode 100644 index 000000000..cfbb830bc --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel signal-definition", "commands": [{"name": "show", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.signalDefinitionName", "options": ["n", "name", "signal-definition-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the signal definition. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "SignalDefinitions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/signaldefinitions/{signalDefinitionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "signalDefinitionName", "arg": "$Path.signalDefinitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/signaldefinitions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "required": true, "props": [{"type": "object", "name": "degradedRule", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "required": true}], "cls": "ThresholdRuleV2_read"}, {"type": "@ThresholdRuleV2_read", "name": "unhealthyRule", "required": true}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}], "discriminators": [{"property": "signalKind", "value": "AzureResourceMetric", "props": [{"type": "string", "name": "aggregationType", "required": true, "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricName", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "timeGrain", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "LogAnalyticsQuery", "props": [{"type": "string", "name": "queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "PrometheusMetricsQuery", "props": [{"type": "string", "name": "queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.signalDefinitionName", "options": ["n", "name", "signal-definition-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the signal definition. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "SignalDefinitions_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/signaldefinitions/{signalDefinitionName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "signalDefinitionName", "arg": "$Path.signalDefinitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.signalDefinitionName", "options": ["n", "name", "signal-definition-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the signal definition. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.AzureResourceMetric", "options": ["azure-resource-metric"], "group": "Properties", "args": [{"type": "string", "var": "$resource.properties.AzureResourceMetric.aggregationType", "options": ["aggregation-type"], "required": true, "help": {"short": "Type of aggregation to apply to the metric"}, "enum": {"items": [{"name": "Average", "value": "Average"}, {"name": "Count", "value": "Count"}, {"name": "Maximum", "value": "Maximum"}, {"name": "Minimum", "value": "Minimum"}, {"name": "None", "value": "None"}, {"name": "Total", "value": "Total"}]}}, {"type": "string", "var": "$resource.properties.AzureResourceMetric.dimension", "options": ["dimension"], "help": {"short": "Optional: Dimension to split by"}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.AzureResourceMetric.dimensionFilter", "options": ["dimension-filter"], "help": {"short": "Optional: Dimension filter to apply to the dimension. Must only be set if also Dimension is set."}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.AzureResourceMetric.metricName", "options": ["metric-name"], "required": true, "help": {"short": "Name of the metric"}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.AzureResourceMetric.metricNamespace", "options": ["metric-namespace"], "required": true, "help": {"short": "Metric namespace"}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.AzureResourceMetric.timeGrain", "options": ["time-grain"], "required": true, "help": {"short": "Time range of signal. ISO duration format like PT10M."}, "format": {"maxLength": 100, "minLength": 1}}]}, {"type": "object", "var": "$resource.properties.LogAnalyticsQuery", "options": ["log-analytics-query"], "group": "Properties", "args": [{"type": "string", "var": "$resource.properties.LogAnalyticsQuery.queryText", "options": ["query-text"], "required": true, "help": {"short": "Query text in KQL syntax"}, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "var": "$resource.properties.LogAnalyticsQuery.timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M. If not specified, the KQL query must define a time range."}, "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "var": "$resource.properties.LogAnalyticsQuery.valueColumnName", "options": ["value-column-name"], "help": {"short": "Name of the column in the result set to evaluate against the thresholds. Defaults to the first column in the result set if not specified. The column must be numeric."}, "format": {"maxLength": 100, "minLength": 1}}]}, {"type": "object", "var": "$resource.properties.PrometheusMetricsQuery", "options": ["prometheus-metrics-query"], "group": "Properties", "args": [{"type": "string", "var": "$resource.properties.PrometheusMetricsQuery.queryText", "options": ["query-text"], "required": true, "help": {"short": "Query text in PromQL syntax"}, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "var": "$resource.properties.PrometheusMetricsQuery.timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M."}, "format": {"maxLength": 100, "minLength": 1}}]}, {"type": "string", "var": "$resource.properties.dataUnit", "options": ["data-unit"], "group": "Properties", "help": {"short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))"}, "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "var": "$resource.properties.evaluationRules", "options": ["evaluation-rules"], "group": "Properties", "help": {"short": "Evaluation rules for the signal definition"}, "args": [{"type": "object", "var": "$resource.properties.evaluationRules.degradedRule", "options": ["degraded-rule"], "help": {"short": "Degraded rule with static threshold."}, "args": [{"type": "string", "var": "@ThresholdRuleV2_create.operator", "options": ["operator"], "required": true, "help": {"short": "Operator how to compare the signal value with the threshold"}, "enum": {"items": [{"name": "Equal", "value": "Equal"}, {"name": "GreaterThan", "value": "GreaterThan"}, {"name": "GreaterThanOrEqual", "value": "GreaterThanOrEqual"}, {"name": "LessThan", "value": "LessThan"}, {"name": "LessThanOrEqual", "value": "LessThanOrEqual"}, {"name": "NotEqual", "value": "NotEqual"}]}}, {"type": "float64", "var": "@ThresholdRuleV2_create.threshold", "options": ["threshold"], "required": true, "help": {"short": "Threshold value"}}], "cls": "ThresholdRuleV2_create"}, {"type": "@ThresholdRuleV2_create", "var": "$resource.properties.evaluationRules.unhealthyRule", "options": ["unhealthy-rule"], "required": true, "help": {"short": "Unhealthy rule with static threshold."}}]}, {"type": "string", "var": "$resource.properties.refreshInterval", "options": ["refresh-interval"], "group": "Properties", "help": {"short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)."}, "default": {"value": "PT1M"}, "enum": {"items": [{"name": "PT10M", "value": "PT10M"}, {"name": "PT1H", "value": "PT1H"}, {"name": "PT1M", "value": "PT1M"}, {"name": "PT2H", "value": "PT2H"}, {"name": "PT30M", "value": "PT30M"}, {"name": "PT5M", "value": "PT5M"}]}}, {"type": "object", "var": "$resource.properties.tags", "options": ["tags"], "group": "Properties", "help": {"short": "Optional set of tags (key-value pairs)"}, "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "SignalDefinitions_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/signaldefinitions/{signalDefinitionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "signalDefinitionName", "arg": "$Path.signalDefinitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataUnit", "arg": "$resource.properties.dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "arg": "$resource.properties.evaluationRules", "required": true, "props": [{"type": "object", "name": "degradedRule", "arg": "$resource.properties.evaluationRules.degradedRule", "props": [{"type": "string", "name": "operator", "arg": "@ThresholdRuleV2_create.operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "arg": "@ThresholdRuleV2_create.threshold", "required": true}], "cls": "ThresholdRuleV2_create"}, {"type": "@ThresholdRuleV2_create", "name": "unhealthyRule", "arg": "$resource.properties.evaluationRules.unhealthyRule", "required": true}]}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "arg": "$resource.properties.refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"arg": "$resource.properties.AzureResourceMetric", "value": "AzureResourceMetric"}, {"value": "External"}, {"arg": "$resource.properties.LogAnalyticsQuery", "value": "LogAnalyticsQuery"}, {"arg": "$resource.properties.PrometheusMetricsQuery", "value": "PrometheusMetricsQuery"}]}}, {"type": "object", "name": "tags", "arg": "$resource.properties.tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}], "discriminators": [{"property": "signalKind", "value": "AzureResourceMetric", "props": [{"type": "string", "name": "aggregationType", "arg": "$resource.properties.AzureResourceMetric.aggregationType", "required": true, "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dimension", "arg": "$resource.properties.AzureResourceMetric.dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "arg": "$resource.properties.AzureResourceMetric.dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricName", "arg": "$resource.properties.AzureResourceMetric.metricName", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "arg": "$resource.properties.AzureResourceMetric.metricNamespace", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.AzureResourceMetric.timeGrain", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "LogAnalyticsQuery", "props": [{"type": "string", "name": "queryText", "arg": "$resource.properties.LogAnalyticsQuery.queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.LogAnalyticsQuery.timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "arg": "$resource.properties.LogAnalyticsQuery.valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "PrometheusMetricsQuery", "props": [{"type": "string", "name": "queryText", "arg": "$resource.properties.PrometheusMetricsQuery.queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.PrometheusMetricsQuery.timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/signaldefinitions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "required": true, "props": [{"type": "object", "name": "degradedRule", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "required": true}], "cls": "ThresholdRuleV2_read"}, {"type": "@ThresholdRuleV2_read", "name": "unhealthyRule", "required": true}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}], "discriminators": [{"property": "signalKind", "value": "AzureResourceMetric", "props": [{"type": "string", "name": "aggregationType", "required": true, "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricName", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "timeGrain", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "LogAnalyticsQuery", "props": [{"type": "string", "name": "queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "PrometheusMetricsQuery", "props": [{"type": "string", "name": "queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.signalDefinitionName", "options": ["n", "name", "signal-definition-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the signal definition. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.AzureResourceMetric", "options": ["azure-resource-metric"], "group": "Properties", "args": [{"type": "string", "var": "$resource.properties.AzureResourceMetric.aggregationType", "options": ["aggregation-type"], "help": {"short": "Type of aggregation to apply to the metric"}, "enum": {"items": [{"name": "Average", "value": "Average"}, {"name": "Count", "value": "Count"}, {"name": "Maximum", "value": "Maximum"}, {"name": "Minimum", "value": "Minimum"}, {"name": "None", "value": "None"}, {"name": "Total", "value": "Total"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.AzureResourceMetric.dimension", "options": ["dimension"], "help": {"short": "Optional: Dimension to split by"}, "format": {"maxLength": 256, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.AzureResourceMetric.dimensionFilter", "options": ["dimension-filter"], "help": {"short": "Optional: Dimension filter to apply to the dimension. Must only be set if also Dimension is set."}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.AzureResourceMetric.metricName", "options": ["metric-name"], "help": {"short": "Name of the metric"}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.AzureResourceMetric.metricNamespace", "options": ["metric-namespace"], "help": {"short": "Metric namespace"}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.AzureResourceMetric.timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M."}, "format": {"maxLength": 100, "minLength": 1}}]}, {"type": "object", "var": "$resource.properties.LogAnalyticsQuery", "options": ["log-analytics-query"], "group": "Properties", "args": [{"type": "string", "var": "$resource.properties.LogAnalyticsQuery.queryText", "options": ["query-text"], "help": {"short": "Query text in KQL syntax"}, "format": {"maxLength": 5000, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.LogAnalyticsQuery.timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M. If not specified, the KQL query must define a time range."}, "format": {"maxLength": 100, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.LogAnalyticsQuery.valueColumnName", "options": ["value-column-name"], "help": {"short": "Name of the column in the result set to evaluate against the thresholds. Defaults to the first column in the result set if not specified. The column must be numeric."}, "format": {"maxLength": 100, "minLength": 1}}]}, {"type": "object", "var": "$resource.properties.PrometheusMetricsQuery", "options": ["prometheus-metrics-query"], "group": "Properties", "args": [{"type": "string", "var": "$resource.properties.PrometheusMetricsQuery.queryText", "options": ["query-text"], "help": {"short": "Query text in PromQL syntax"}, "format": {"maxLength": 5000, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.PrometheusMetricsQuery.timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M."}, "format": {"maxLength": 100, "minLength": 1}}]}, {"nullable": true, "type": "string", "var": "$resource.properties.dataUnit", "options": ["data-unit"], "group": "Properties", "help": {"short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))"}, "format": {"maxLength": 100, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "var": "$resource.properties.evaluationRules", "options": ["evaluation-rules"], "group": "Properties", "help": {"short": "Evaluation rules for the signal definition"}, "args": [{"nullable": true, "type": "object", "var": "$resource.properties.evaluationRules.degradedRule", "options": ["degraded-rule"], "help": {"short": "Degraded rule with static threshold."}, "args": [{"type": "string", "var": "@ThresholdRuleV2_update.operator", "options": ["operator"], "help": {"short": "Operator how to compare the signal value with the threshold"}, "enum": {"items": [{"name": "Equal", "value": "Equal"}, {"name": "GreaterThan", "value": "GreaterThan"}, {"name": "GreaterThanOrEqual", "value": "GreaterThanOrEqual"}, {"name": "LessThan", "value": "LessThan"}, {"name": "LessThanOrEqual", "value": "LessThanOrEqual"}, {"name": "NotEqual", "value": "NotEqual"}]}}, {"type": "float64", "var": "@ThresholdRuleV2_update.threshold", "options": ["threshold"], "help": {"short": "Threshold value"}}], "cls": "ThresholdRuleV2_update"}, {"type": "@ThresholdRuleV2_update", "var": "$resource.properties.evaluationRules.unhealthyRule", "options": ["unhealthy-rule"], "help": {"short": "Unhealthy rule with static threshold."}}]}, {"nullable": true, "type": "string", "var": "$resource.properties.refreshInterval", "options": ["refresh-interval"], "group": "Properties", "help": {"short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)."}, "enum": {"items": [{"name": "PT10M", "value": "PT10M"}, {"name": "PT1H", "value": "PT1H"}, {"name": "PT1M", "value": "PT1M"}, {"name": "PT2H", "value": "PT2H"}, {"name": "PT30M", "value": "PT30M"}, {"name": "PT5M", "value": "PT5M"}]}}, {"nullable": true, "type": "object", "var": "$resource.properties.tags", "options": ["tags"], "group": "Properties", "help": {"short": "Optional set of tags (key-value pairs)"}, "additionalProps": {"item": {"nullable": true, "type": "string", "format": {"maxLength": 4096}}}}]}], "operations": [{"operationId": "SignalDefinitions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/signaldefinitions/{signalDefinitionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "signalDefinitionName", "arg": "$Path.signalDefinitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/signaldefinitions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "required": true, "props": [{"type": "object", "name": "degradedRule", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "required": true}], "cls": "ThresholdRuleV2_read"}, {"type": "@ThresholdRuleV2_read", "name": "unhealthyRule", "required": true}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}], "discriminators": [{"property": "signalKind", "value": "AzureResourceMetric", "props": [{"type": "string", "name": "aggregationType", "required": true, "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricName", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "timeGrain", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "LogAnalyticsQuery", "props": [{"type": "string", "name": "queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "PrometheusMetricsQuery", "props": [{"type": "string", "name": "queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "SignalDefinition_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataUnit", "arg": "$resource.properties.dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "arg": "$resource.properties.evaluationRules", "required": true, "props": [{"type": "object", "name": "degradedRule", "arg": "$resource.properties.evaluationRules.degradedRule", "props": [{"type": "string", "name": "operator", "arg": "@ThresholdRuleV2_update.operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "arg": "@ThresholdRuleV2_update.threshold", "required": true}], "cls": "ThresholdRuleV2_update"}, {"type": "@ThresholdRuleV2_update", "name": "unhealthyRule", "arg": "$resource.properties.evaluationRules.unhealthyRule", "required": true}]}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "arg": "$resource.properties.refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"arg": "$resource.properties.AzureResourceMetric", "value": "AzureResourceMetric"}, {"value": "External"}, {"arg": "$resource.properties.LogAnalyticsQuery", "value": "LogAnalyticsQuery"}, {"arg": "$resource.properties.PrometheusMetricsQuery", "value": "PrometheusMetricsQuery"}]}}, {"type": "object", "name": "tags", "arg": "$resource.properties.tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}], "discriminators": [{"property": "signalKind", "value": "AzureResourceMetric", "props": [{"type": "string", "name": "aggregationType", "arg": "$resource.properties.AzureResourceMetric.aggregationType", "required": true, "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dimension", "arg": "$resource.properties.AzureResourceMetric.dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "arg": "$resource.properties.AzureResourceMetric.dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricName", "arg": "$resource.properties.AzureResourceMetric.metricName", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "arg": "$resource.properties.AzureResourceMetric.metricNamespace", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.AzureResourceMetric.timeGrain", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "LogAnalyticsQuery", "props": [{"type": "string", "name": "queryText", "arg": "$resource.properties.LogAnalyticsQuery.queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.LogAnalyticsQuery.timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "arg": "$resource.properties.LogAnalyticsQuery.valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "PrometheusMetricsQuery", "props": [{"type": "string", "name": "queryText", "arg": "$resource.properties.PrometheusMetricsQuery.queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.PrometheusMetricsQuery.timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}]}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "SignalDefinitions_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/signaldefinitions/{signalDefinitionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "signalDefinitionName", "arg": "$Path.signalDefinitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@SignalDefinition_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml new file mode 100644 index 000000000..2721a0a86 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml @@ -0,0 +1,1102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.json new file mode 100644 index 000000000..9219d3deb --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHM=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel relationship", "commands": [{"name": "list", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHM=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "dateTime", "var": "$Query.timestamp", "options": ["timestamp"], "help": {"short": "Timestamp to use for the operation. When specified, the version of the resource at this point in time is retrieved. If not specified, the latest version is used."}, "format": {"protocol": "iso"}}]}], "operations": [{"operationId": "Relationships_ListByHealthModel", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/relationships", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "dateTime", "name": "timestamp", "arg": "$Query.timestamp", "format": {"protocol": "iso"}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/relationships/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "childEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"readOnly": true, "type": "string", "name": "discoveredBy", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "string", "name": "parentEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.xml new file mode 100644 index 000000000..4568b6a1c --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.xml @@ -0,0 +1,127 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.json new file mode 100644 index 000000000..ac52200f6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel relationship", "commands": [{"name": "show", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.relationshipName", "options": ["n", "name", "relationship-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the relationship. Must be unique within a health model. For example, a concatenation of parentEntityName and childEntityName can be used as the name."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Relationships_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/relationships/{relationshipName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "relationshipName", "arg": "$Path.relationshipName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/relationships/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "childEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"readOnly": true, "type": "string", "name": "discoveredBy", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "string", "name": "parentEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.relationshipName", "options": ["n", "name", "relationship-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the relationship. Must be unique within a health model. For example, a concatenation of parentEntityName and childEntityName can be used as the name."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Relationships_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/relationships/{relationshipName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "relationshipName", "arg": "$Path.relationshipName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.relationshipName", "options": ["n", "name", "relationship-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the relationship. Must be unique within a health model. For example, a concatenation of parentEntityName and childEntityName can be used as the name."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.childEntityName", "options": ["child-entity-name"], "group": "Properties", "help": {"short": "Resource name of the child entity"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"type": "string", "var": "$resource.properties.parentEntityName", "options": ["parent-entity-name"], "group": "Properties", "help": {"short": "Resource name of the parent entity"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "object", "var": "$resource.properties.tags", "options": ["tags"], "group": "Properties", "help": {"short": "Optional set of tags (key-value pairs)"}, "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Relationships_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/relationships/{relationshipName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "relationshipName", "arg": "$Path.relationshipName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "childEntityName", "arg": "$resource.properties.childEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "string", "name": "parentEntityName", "arg": "$resource.properties.parentEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "object", "name": "tags", "arg": "$resource.properties.tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/relationships/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "childEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"readOnly": true, "type": "string", "name": "discoveredBy", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "string", "name": "parentEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.relationshipName", "options": ["n", "name", "relationship-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the relationship. Must be unique within a health model. For example, a concatenation of parentEntityName and childEntityName can be used as the name."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"nullable": true, "type": "object", "var": "$resource.properties.tags", "options": ["tags"], "group": "Properties", "help": {"short": "Optional set of tags (key-value pairs)"}, "additionalProps": {"item": {"nullable": true, "type": "string", "format": {"maxLength": 4096}}}}]}], "operations": [{"operationId": "Relationships_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/relationships/{relationshipName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "relationshipName", "arg": "$Path.relationshipName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/relationships/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "childEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"readOnly": true, "type": "string", "name": "discoveredBy", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "string", "name": "parentEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Relationship_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "tags", "arg": "$resource.properties.tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Relationships_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/relationships/{relationshipName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "relationshipName", "arg": "$Path.relationshipName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Relationship_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.xml new file mode 100644 index 000000000..2bae7f3ff --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.xml @@ -0,0 +1,532 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
From f4f7460bf36dd90bcc193d4114fb0bdba4471484 Mon Sep 17 00:00:00 2001 From: Andre Bossard Date: Tue, 16 Jun 2026 10:52:12 +0200 Subject: [PATCH 2/3] reseat it under monitor Signed-off-by: Andre Bossard --- .../authentication-setting/readme.md | 20 - .../healthmodel/discovery-rule/_create.md | 21 - .../healthmodel/discovery-rule/readme.md | 20 - .../cloud-health/healthmodel/entity/readme.md | 29 - Commands/cloud-health/healthmodel/readme.md | 40 - .../healthmodel/relationship/readme.md | 20 - .../healthmodel/signal-definition/_create.md | 21 - .../healthmodel/signal-definition/readme.md | 20 - Commands/cloud-health/readme.md | 8 - .../health-models}/_create.md | 6 +- .../health-models}/_delete.md | 4 +- .../health-models}/_list.md | 6 +- .../health-models}/_show.md | 4 +- .../health-models}/_update.md | 4 +- .../authentication-setting/_create.md | 6 +- .../authentication-setting/_delete.md | 4 +- .../authentication-setting/_list.md | 4 +- .../authentication-setting/_show.md | 4 +- .../authentication-setting/_update.md | 4 +- .../authentication-setting/readme.md | 20 + .../health-models/discovery-rule/_create.md | 21 + .../health-models}/discovery-rule/_delete.md | 4 +- .../health-models}/discovery-rule/_list.md | 4 +- .../health-models}/discovery-rule/_show.md | 4 +- .../health-models}/discovery-rule/_update.md | 4 +- .../health-models/discovery-rule/readme.md | 20 + .../health-models}/entity/_create.md | 4 +- .../health-models}/entity/_delete.md | 4 +- .../health-models}/entity/_get-history.md | 6 +- .../entity/_get-signal-history.md | 4 +- .../entity/_ingest-health-report.md | 4 +- .../health-models}/entity/_list.md | 4 +- .../health-models}/entity/_show.md | 4 +- .../health-models}/entity/_update.md | 4 +- .../monitor/health-models/entity/readme.md | 29 + .../health-models}/identity/_assign.md | 6 +- .../health-models}/identity/_remove.md | 4 +- .../health-models}/identity/_show.md | 4 +- .../health-models}/identity/readme.md | 8 +- Commands/monitor/health-models/readme.md | 40 + .../health-models}/relationship/_create.md | 4 +- .../health-models}/relationship/_delete.md | 4 +- .../health-models}/relationship/_list.md | 4 +- .../health-models}/relationship/_show.md | 4 +- .../health-models}/relationship/_update.md | 4 +- .../health-models/relationship/readme.md | 20 + .../signal-definition/_create.md | 21 + .../signal-definition/_delete.md | 4 +- .../health-models}/signal-definition/_list.md | 4 +- .../health-models}/signal-definition/_show.md | 4 +- .../signal-definition/_update.md | 4 +- .../health-models/signal-definition/readme.md | 20 + Commands/monitor/readme.md | 3 + Commands/readme.md | 3 - .../2026-01-01-preview.json | 661 +- .../2026-01-01-preview.xml | 2 +- .../2026-01-01-preview.json | 2990 ++++++- .../2026-01-01-preview.xml | 2 +- .../2026-01-01-preview.json | 330 +- .../2026-01-01-preview.xml | 2 +- .../2026-01-01-preview.json | 1476 +++- .../2026-01-01-preview.xml | 2 +- .../2026-01-01-preview.json | 437 +- .../2026-01-01-preview.xml | 2 +- .../2026-01-01-preview.json | 2041 ++++- .../2026-01-01-preview.xml | 2 +- .../2026-01-01-preview.json | 1222 ++- .../2026-01-01-preview.xml | 2 +- .../2026-01-01-preview.json | 7825 ++++++++++++++++- .../2026-01-01-preview.xml | 2 +- .../2026-01-01-preview.json | 330 +- .../2026-01-01-preview.xml | 2 +- .../2026-01-01-preview.json | 342 +- .../2026-01-01-preview.xml | 2 +- .../2026-01-01-preview.json | 480 +- .../2026-01-01-preview.xml | 2 +- .../2026-01-01-preview.json | 577 +- .../2026-01-01-preview.xml | 2 +- .../2026-01-01-preview.json | 3339 ++++++- .../2026-01-01-preview.xml | 2 +- .../2026-01-01-preview.json | 360 +- .../2026-01-01-preview.xml | 2 +- .../2026-01-01-preview.json | 1498 +++- .../2026-01-01-preview.xml | 2 +- 84 files changed, 24179 insertions(+), 309 deletions(-) delete mode 100644 Commands/cloud-health/healthmodel/authentication-setting/readme.md delete mode 100644 Commands/cloud-health/healthmodel/discovery-rule/_create.md delete mode 100644 Commands/cloud-health/healthmodel/discovery-rule/readme.md delete mode 100644 Commands/cloud-health/healthmodel/entity/readme.md delete mode 100644 Commands/cloud-health/healthmodel/readme.md delete mode 100644 Commands/cloud-health/healthmodel/relationship/readme.md delete mode 100644 Commands/cloud-health/healthmodel/signal-definition/_create.md delete mode 100644 Commands/cloud-health/healthmodel/signal-definition/readme.md delete mode 100644 Commands/cloud-health/readme.md rename Commands/{cloud-health/healthmodel => monitor/health-models}/_create.md (66%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/_delete.md (77%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/_list.md (82%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/_show.md (78%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/_update.md (74%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/authentication-setting/_create.md (61%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/authentication-setting/_delete.md (71%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/authentication-setting/_list.md (75%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/authentication-setting/_show.md (72%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/authentication-setting/_update.md (69%) create mode 100644 Commands/monitor/health-models/authentication-setting/readme.md create mode 100644 Commands/monitor/health-models/discovery-rule/_create.md rename Commands/{cloud-health/healthmodel => monitor/health-models}/discovery-rule/_delete.md (71%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/discovery-rule/_list.md (75%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/discovery-rule/_show.md (72%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/discovery-rule/_update.md (69%) create mode 100644 Commands/monitor/health-models/discovery-rule/readme.md rename Commands/{cloud-health/healthmodel => monitor/health-models}/entity/_create.md (69%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/entity/_delete.md (72%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/entity/_get-history.md (63%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/entity/_get-signal-history.md (71%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/entity/_ingest-health-report.md (62%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/entity/_list.md (76%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/entity/_show.md (73%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/entity/_update.md (70%) create mode 100644 Commands/monitor/health-models/entity/readme.md rename Commands/{cloud-health/healthmodel => monitor/health-models}/identity/_assign.md (65%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/identity/_remove.md (74%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/identity/_show.md (79%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/identity/readme.md (55%) create mode 100644 Commands/monitor/health-models/readme.md rename Commands/{cloud-health/healthmodel => monitor/health-models}/relationship/_create.md (69%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/relationship/_delete.md (72%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/relationship/_list.md (75%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/relationship/_show.md (73%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/relationship/_update.md (69%) create mode 100644 Commands/monitor/health-models/relationship/readme.md create mode 100644 Commands/monitor/health-models/signal-definition/_create.md rename Commands/{cloud-health/healthmodel => monitor/health-models}/signal-definition/_delete.md (71%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/signal-definition/_list.md (75%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/signal-definition/_show.md (72%) rename Commands/{cloud-health/healthmodel => monitor/health-models}/signal-definition/_update.md (70%) create mode 100644 Commands/monitor/health-models/signal-definition/readme.md diff --git a/Commands/cloud-health/healthmodel/authentication-setting/readme.md b/Commands/cloud-health/healthmodel/authentication-setting/readme.md deleted file mode 100644 index e55149cf7..000000000 --- a/Commands/cloud-health/healthmodel/authentication-setting/readme.md +++ /dev/null @@ -1,20 +0,0 @@ -# [Group] _cloud-health healthmodel authentication-setting_ - -Manage authentication settings used by signal definitions and discovery rules. - -## Commands - -- [create](/Commands/cloud-health/healthmodel/authentication-setting/_create.md) -: Create an authentication setting backed by a managed identity. - -- [delete](/Commands/cloud-health/healthmodel/authentication-setting/_delete.md) -: Delete an authentication setting. - -- [list](/Commands/cloud-health/healthmodel/authentication-setting/_list.md) -: List authentication settings in a health model. - -- [show](/Commands/cloud-health/healthmodel/authentication-setting/_show.md) -: Get an authentication setting. - -- [update](/Commands/cloud-health/healthmodel/authentication-setting/_update.md) -: Update an authentication setting. diff --git a/Commands/cloud-health/healthmodel/discovery-rule/_create.md b/Commands/cloud-health/healthmodel/discovery-rule/_create.md deleted file mode 100644 index 273bf4f6d..000000000 --- a/Commands/cloud-health/healthmodel/discovery-rule/_create.md +++ /dev/null @@ -1,21 +0,0 @@ -# [Command] _cloud-health healthmodel discovery-rule create_ - -Create a discovery rule. - -## Versions - -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml) **Stable** - - - -#### examples - -- Create a Resource Graph discovery rule - ```bash - healthmodel discovery-rule create --resource-group myRG --health-model-name myModel --name vmDiscovery --authentication-setting myAuth --discover-relationships Enabled --add-recommended-signals Enabled --resource-graph-query "resources | where type =~ 'microsoft.compute/virtualmachines'" - ``` - -- Create an Application Insights topology discovery rule - ```bash - healthmodel discovery-rule create --resource-group myRG --health-model-name myModel --name aiDiscovery --authentication-setting myAuth --discover-relationships Enabled --add-recommended-signals Enabled --application-insights-resource-id /subscriptions/.../components/myAppInsights - ``` diff --git a/Commands/cloud-health/healthmodel/discovery-rule/readme.md b/Commands/cloud-health/healthmodel/discovery-rule/readme.md deleted file mode 100644 index 88ed52473..000000000 --- a/Commands/cloud-health/healthmodel/discovery-rule/readme.md +++ /dev/null @@ -1,20 +0,0 @@ -# [Group] _cloud-health healthmodel discovery-rule_ - -Manage discovery rules that auto-populate a health model. - -## Commands - -- [create](/Commands/cloud-health/healthmodel/discovery-rule/_create.md) -: Create a discovery rule. - -- [delete](/Commands/cloud-health/healthmodel/discovery-rule/_delete.md) -: Delete a discovery rule. - -- [list](/Commands/cloud-health/healthmodel/discovery-rule/_list.md) -: List discovery rules in a health model. - -- [show](/Commands/cloud-health/healthmodel/discovery-rule/_show.md) -: Get a discovery rule. - -- [update](/Commands/cloud-health/healthmodel/discovery-rule/_update.md) -: Update a discovery rule. diff --git a/Commands/cloud-health/healthmodel/entity/readme.md b/Commands/cloud-health/healthmodel/entity/readme.md deleted file mode 100644 index 2dd3d7948..000000000 --- a/Commands/cloud-health/healthmodel/entity/readme.md +++ /dev/null @@ -1,29 +0,0 @@ -# [Group] _cloud-health healthmodel entity_ - -Manage entities (nodes) in a health model. - -## Commands - -- [create](/Commands/cloud-health/healthmodel/entity/_create.md) -: Create an entity in a health model. - -- [delete](/Commands/cloud-health/healthmodel/entity/_delete.md) -: Delete an entity. - -- [get-history](/Commands/cloud-health/healthmodel/entity/_get-history.md) -: Get the health state transition history for an entity. - -- [get-signal-history](/Commands/cloud-health/healthmodel/entity/_get-signal-history.md) -: Get the time series of values for a signal on an entity. - -- [ingest-health-report](/Commands/cloud-health/healthmodel/entity/_ingest-health-report.md) -: Push an external health report for a signal on an entity. - -- [list](/Commands/cloud-health/healthmodel/entity/_list.md) -: List entities in a health model. - -- [show](/Commands/cloud-health/healthmodel/entity/_show.md) -: Get an entity. - -- [update](/Commands/cloud-health/healthmodel/entity/_update.md) -: Update an entity. diff --git a/Commands/cloud-health/healthmodel/readme.md b/Commands/cloud-health/healthmodel/readme.md deleted file mode 100644 index 3e254aef6..000000000 --- a/Commands/cloud-health/healthmodel/readme.md +++ /dev/null @@ -1,40 +0,0 @@ -# [Group] _cloud-health healthmodel_ - -Manage Azure Monitor health models. - -## Subgroups - -- [authentication-setting](/Commands/cloud-health/healthmodel/authentication-setting/readme.md) -: Manage authentication settings used by signal definitions and discovery rules. - -- [discovery-rule](/Commands/cloud-health/healthmodel/discovery-rule/readme.md) -: Manage discovery rules that auto-populate a health model. - -- [entity](/Commands/cloud-health/healthmodel/entity/readme.md) -: Manage entities (nodes) in a health model. - -- [identity](/Commands/cloud-health/healthmodel/identity/readme.md) -: Manage system- and user-assigned managed identities on a health model. - -- [relationship](/Commands/cloud-health/healthmodel/relationship/readme.md) -: Manage parent-child relationships (edges) between entities. - -- [signal-definition](/Commands/cloud-health/healthmodel/signal-definition/readme.md) -: Manage signal definitions in a health model. - -## Commands - -- [create](/Commands/cloud-health/healthmodel/_create.md) -: Create a health model. - -- [delete](/Commands/cloud-health/healthmodel/_delete.md) -: Delete a health model. - -- [list](/Commands/cloud-health/healthmodel/_list.md) -: List health models in a resource group or across the subscription. - -- [show](/Commands/cloud-health/healthmodel/_show.md) -: Get a health model. - -- [update](/Commands/cloud-health/healthmodel/_update.md) -: Update a health model. diff --git a/Commands/cloud-health/healthmodel/relationship/readme.md b/Commands/cloud-health/healthmodel/relationship/readme.md deleted file mode 100644 index 2a4bc62af..000000000 --- a/Commands/cloud-health/healthmodel/relationship/readme.md +++ /dev/null @@ -1,20 +0,0 @@ -# [Group] _cloud-health healthmodel relationship_ - -Manage parent-child relationships (edges) between entities. - -## Commands - -- [create](/Commands/cloud-health/healthmodel/relationship/_create.md) -: Create a relationship between two entities. - -- [delete](/Commands/cloud-health/healthmodel/relationship/_delete.md) -: Delete a relationship. - -- [list](/Commands/cloud-health/healthmodel/relationship/_list.md) -: List relationships in a health model. - -- [show](/Commands/cloud-health/healthmodel/relationship/_show.md) -: Get a relationship. - -- [update](/Commands/cloud-health/healthmodel/relationship/_update.md) -: Update a relationship. diff --git a/Commands/cloud-health/healthmodel/signal-definition/_create.md b/Commands/cloud-health/healthmodel/signal-definition/_create.md deleted file mode 100644 index 4c382a597..000000000 --- a/Commands/cloud-health/healthmodel/signal-definition/_create.md +++ /dev/null @@ -1,21 +0,0 @@ -# [Command] _cloud-health healthmodel signal-definition create_ - -Create or update a signal definition. - -## Versions - -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml) **Stable** - - - -#### examples - -- Create an Azure Monitor metric signal definition - ```bash - healthmodel signal-definition create --resource-group myRG --health-model-name myModel --name cpuPressure --display-name 'CPU Pressure' --refresh-interval PT5M --azure-resource-metric metric-namespace='Microsoft.Compute/virtualMachines' metric-name='Percentage CPU' aggregation-type=Average --evaluation-rules unhealthy-rule='{operator:GreaterThan,threshold:90}' degraded-rule='{operator:GreaterThan,threshold:75}' - ``` - -- Create a PromQL signal definition - ```bash - healthmodel signal-definition create --resource-group myRG --health-model-name myModel --name apiUp --display-name 'API Up' --refresh-interval PT1M --prometheus-metrics-query azure-monitor-workspace-resource-id=/subscriptions/.../accounts/myAmw query-text='up{job="api"}' --evaluation-rules unhealthy-rule='{operator:LessThan,threshold:1}' - ``` diff --git a/Commands/cloud-health/healthmodel/signal-definition/readme.md b/Commands/cloud-health/healthmodel/signal-definition/readme.md deleted file mode 100644 index 1f36c65dd..000000000 --- a/Commands/cloud-health/healthmodel/signal-definition/readme.md +++ /dev/null @@ -1,20 +0,0 @@ -# [Group] _cloud-health healthmodel signal-definition_ - -Manage signal definitions in a health model. - -## Commands - -- [create](/Commands/cloud-health/healthmodel/signal-definition/_create.md) -: Create or update a signal definition. - -- [delete](/Commands/cloud-health/healthmodel/signal-definition/_delete.md) -: Delete a signal definition. - -- [list](/Commands/cloud-health/healthmodel/signal-definition/_list.md) -: List signal definitions in a health model. - -- [show](/Commands/cloud-health/healthmodel/signal-definition/_show.md) -: Get a signal definition. - -- [update](/Commands/cloud-health/healthmodel/signal-definition/_update.md) -: Update a signal definition. diff --git a/Commands/cloud-health/readme.md b/Commands/cloud-health/readme.md deleted file mode 100644 index 7b75ba117..000000000 --- a/Commands/cloud-health/readme.md +++ /dev/null @@ -1,8 +0,0 @@ -# [Group] _cloud-health_ - -Manage Cloud Health - -## Subgroups - -- [healthmodel](/Commands/cloud-health/healthmodel/readme.md) -: Manage Azure Monitor health models. diff --git a/Commands/cloud-health/healthmodel/_create.md b/Commands/monitor/health-models/_create.md similarity index 66% rename from Commands/cloud-health/healthmodel/_create.md rename to Commands/monitor/health-models/_create.md index bccd9dd02..2adfcf4b4 100644 --- a/Commands/cloud-health/healthmodel/_create.md +++ b/Commands/monitor/health-models/_create.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel create_ +# [Command] _monitor health-models create_ Create a health model. @@ -12,10 +12,10 @@ Create a health model. - Create a health model ```bash - healthmodel create --resource-group myRG --name myModel --location eastus + monitor health-models create --resource-group myRG --name myModel --location eastus ``` - Create a health model with a system-assigned managed identity ```bash - healthmodel create --resource-group myRG --name myModel --location eastus --mi-system-assigned + monitor health-models create --resource-group myRG --name myModel --location eastus --mi-system-assigned ``` diff --git a/Commands/cloud-health/healthmodel/_delete.md b/Commands/monitor/health-models/_delete.md similarity index 77% rename from Commands/cloud-health/healthmodel/_delete.md rename to Commands/monitor/health-models/_delete.md index b9a39eaee..bddbe9652 100644 --- a/Commands/cloud-health/healthmodel/_delete.md +++ b/Commands/monitor/health-models/_delete.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel delete_ +# [Command] _monitor health-models delete_ Delete a health model. @@ -12,5 +12,5 @@ Delete a health model. - Delete a health model ```bash - healthmodel delete --resource-group myRG --name myModel --yes + monitor health-models delete --resource-group myRG --name myModel --yes ``` diff --git a/Commands/cloud-health/healthmodel/_list.md b/Commands/monitor/health-models/_list.md similarity index 82% rename from Commands/cloud-health/healthmodel/_list.md rename to Commands/monitor/health-models/_list.md index 3f2a8c025..5fe445433 100644 --- a/Commands/cloud-health/healthmodel/_list.md +++ b/Commands/monitor/health-models/_list.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel list_ +# [Command] _monitor health-models list_ List health models in a resource group or across the subscription. @@ -13,10 +13,10 @@ List health models in a resource group or across the subscription. - List health models in a resource group ```bash - healthmodel list --resource-group myRG + monitor health-models list --resource-group myRG ``` - List health models in the subscription ```bash - healthmodel list + monitor health-models list ``` diff --git a/Commands/cloud-health/healthmodel/_show.md b/Commands/monitor/health-models/_show.md similarity index 78% rename from Commands/cloud-health/healthmodel/_show.md rename to Commands/monitor/health-models/_show.md index 442044763..84be48f59 100644 --- a/Commands/cloud-health/healthmodel/_show.md +++ b/Commands/monitor/health-models/_show.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel show_ +# [Command] _monitor health-models show_ Get a health model. @@ -12,5 +12,5 @@ Get a health model. - Get a health model ```bash - healthmodel show --resource-group myRG --name myModel + monitor health-models show --resource-group myRG --name myModel ``` diff --git a/Commands/cloud-health/healthmodel/_update.md b/Commands/monitor/health-models/_update.md similarity index 74% rename from Commands/cloud-health/healthmodel/_update.md rename to Commands/monitor/health-models/_update.md index 266a4b47a..68058a2a9 100644 --- a/Commands/cloud-health/healthmodel/_update.md +++ b/Commands/monitor/health-models/_update.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel update_ +# [Command] _monitor health-models update_ Update a health model. @@ -12,5 +12,5 @@ Update a health model. - Update tags on a health model ```bash - healthmodel update --resource-group myRG --name myModel --tags env=prod team=platform + monitor health-models update --resource-group myRG --name myModel --tags env=prod team=platform ``` diff --git a/Commands/cloud-health/healthmodel/authentication-setting/_create.md b/Commands/monitor/health-models/authentication-setting/_create.md similarity index 61% rename from Commands/cloud-health/healthmodel/authentication-setting/_create.md rename to Commands/monitor/health-models/authentication-setting/_create.md index 2fe7d2248..d4af1b3ae 100644 --- a/Commands/cloud-health/healthmodel/authentication-setting/_create.md +++ b/Commands/monitor/health-models/authentication-setting/_create.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel authentication-setting create_ +# [Command] _monitor health-models authentication-setting create_ Create an authentication setting backed by a managed identity. @@ -12,10 +12,10 @@ Create an authentication setting backed by a managed identity. - Create an authentication setting backed by the model's system-assigned identity ```bash - healthmodel authentication-setting create --resource-group myRG --health-model-name myModel --name myAuth --managed-identity SystemAssigned + monitor health-models authentication-setting create --resource-group myRG --health-model-name myModel --name myAuth --managed-identity SystemAssigned ``` - Create an authentication setting backed by a user-assigned identity ```bash - healthmodel authentication-setting create --resource-group myRG --health-model-name myModel --name myAuth --managed-identity /subscriptions/.../userAssignedIdentities/myUai + monitor health-models authentication-setting create --resource-group myRG --health-model-name myModel --name myAuth --managed-identity /subscriptions/.../userAssignedIdentities/myUai ``` diff --git a/Commands/cloud-health/healthmodel/authentication-setting/_delete.md b/Commands/monitor/health-models/authentication-setting/_delete.md similarity index 71% rename from Commands/cloud-health/healthmodel/authentication-setting/_delete.md rename to Commands/monitor/health-models/authentication-setting/_delete.md index 6dc428669..e8a7c10e6 100644 --- a/Commands/cloud-health/healthmodel/authentication-setting/_delete.md +++ b/Commands/monitor/health-models/authentication-setting/_delete.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel authentication-setting delete_ +# [Command] _monitor health-models authentication-setting delete_ Delete an authentication setting. @@ -12,5 +12,5 @@ Delete an authentication setting. - Delete an authentication setting ```bash - healthmodel authentication-setting delete --resource-group myRG --health-model-name myModel --name myAuth --yes + monitor health-models authentication-setting delete --resource-group myRG --health-model-name myModel --name myAuth --yes ``` diff --git a/Commands/cloud-health/healthmodel/authentication-setting/_list.md b/Commands/monitor/health-models/authentication-setting/_list.md similarity index 75% rename from Commands/cloud-health/healthmodel/authentication-setting/_list.md rename to Commands/monitor/health-models/authentication-setting/_list.md index 455284f86..f41133bb9 100644 --- a/Commands/cloud-health/healthmodel/authentication-setting/_list.md +++ b/Commands/monitor/health-models/authentication-setting/_list.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel authentication-setting list_ +# [Command] _monitor health-models authentication-setting list_ List authentication settings in a health model. @@ -12,5 +12,5 @@ List authentication settings in a health model. - List authentication settings in a health model ```bash - healthmodel authentication-setting list --resource-group myRG --health-model-name myModel + monitor health-models authentication-setting list --resource-group myRG --health-model-name myModel ``` diff --git a/Commands/cloud-health/healthmodel/authentication-setting/_show.md b/Commands/monitor/health-models/authentication-setting/_show.md similarity index 72% rename from Commands/cloud-health/healthmodel/authentication-setting/_show.md rename to Commands/monitor/health-models/authentication-setting/_show.md index f9bdf6d74..5e414bf3b 100644 --- a/Commands/cloud-health/healthmodel/authentication-setting/_show.md +++ b/Commands/monitor/health-models/authentication-setting/_show.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel authentication-setting show_ +# [Command] _monitor health-models authentication-setting show_ Get an authentication setting. @@ -12,5 +12,5 @@ Get an authentication setting. - Get an authentication setting ```bash - healthmodel authentication-setting show --resource-group myRG --health-model-name myModel --name myAuth + monitor health-models authentication-setting show --resource-group myRG --health-model-name myModel --name myAuth ``` diff --git a/Commands/cloud-health/healthmodel/authentication-setting/_update.md b/Commands/monitor/health-models/authentication-setting/_update.md similarity index 69% rename from Commands/cloud-health/healthmodel/authentication-setting/_update.md rename to Commands/monitor/health-models/authentication-setting/_update.md index 8a7855dee..e2a54bc24 100644 --- a/Commands/cloud-health/healthmodel/authentication-setting/_update.md +++ b/Commands/monitor/health-models/authentication-setting/_update.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel authentication-setting update_ +# [Command] _monitor health-models authentication-setting update_ Update an authentication setting. @@ -12,5 +12,5 @@ Update an authentication setting. - Update the display name of an authentication setting ```bash - healthmodel authentication-setting update --resource-group myRG --health-model-name myModel --name myAuth --display-name "Auth for production" + monitor health-models authentication-setting update --resource-group myRG --health-model-name myModel --name myAuth --display-name "Auth for production" ``` diff --git a/Commands/monitor/health-models/authentication-setting/readme.md b/Commands/monitor/health-models/authentication-setting/readme.md new file mode 100644 index 000000000..69ef366e9 --- /dev/null +++ b/Commands/monitor/health-models/authentication-setting/readme.md @@ -0,0 +1,20 @@ +# [Group] _monitor health-models authentication-setting_ + +Manage authentication settings used by signal definitions and discovery rules. + +## Commands + +- [create](/Commands/monitor/health-models/authentication-setting/_create.md) +: Create an authentication setting backed by a managed identity. + +- [delete](/Commands/monitor/health-models/authentication-setting/_delete.md) +: Delete an authentication setting. + +- [list](/Commands/monitor/health-models/authentication-setting/_list.md) +: List authentication settings in a health model. + +- [show](/Commands/monitor/health-models/authentication-setting/_show.md) +: Get an authentication setting. + +- [update](/Commands/monitor/health-models/authentication-setting/_update.md) +: Update an authentication setting. diff --git a/Commands/monitor/health-models/discovery-rule/_create.md b/Commands/monitor/health-models/discovery-rule/_create.md new file mode 100644 index 000000000..754ef4021 --- /dev/null +++ b/Commands/monitor/health-models/discovery-rule/_create.md @@ -0,0 +1,21 @@ +# [Command] _monitor health-models discovery-rule create_ + +Create a discovery rule. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Create a Resource Graph discovery rule + ```bash + monitor health-models discovery-rule create --resource-group myRG --health-model-name myModel --name vmDiscovery --authentication-setting myAuth --discover-relationships Enabled --add-recommended-signals Enabled --resource-graph-query "resources | where type =~ 'microsoft.compute/virtualmachines'" + ``` + +- Create an Application Insights topology discovery rule + ```bash + monitor health-models discovery-rule create --resource-group myRG --health-model-name myModel --name aiDiscovery --authentication-setting myAuth --discover-relationships Enabled --add-recommended-signals Enabled --application-insights-resource-id /subscriptions/.../components/myAppInsights + ``` diff --git a/Commands/cloud-health/healthmodel/discovery-rule/_delete.md b/Commands/monitor/health-models/discovery-rule/_delete.md similarity index 71% rename from Commands/cloud-health/healthmodel/discovery-rule/_delete.md rename to Commands/monitor/health-models/discovery-rule/_delete.md index 50e19948b..20846905f 100644 --- a/Commands/cloud-health/healthmodel/discovery-rule/_delete.md +++ b/Commands/monitor/health-models/discovery-rule/_delete.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel discovery-rule delete_ +# [Command] _monitor health-models discovery-rule delete_ Delete a discovery rule. @@ -12,5 +12,5 @@ Delete a discovery rule. - Delete a discovery rule ```bash - healthmodel discovery-rule delete --resource-group myRG --health-model-name myModel --name vmDiscovery --yes + monitor health-models discovery-rule delete --resource-group myRG --health-model-name myModel --name vmDiscovery --yes ``` diff --git a/Commands/cloud-health/healthmodel/discovery-rule/_list.md b/Commands/monitor/health-models/discovery-rule/_list.md similarity index 75% rename from Commands/cloud-health/healthmodel/discovery-rule/_list.md rename to Commands/monitor/health-models/discovery-rule/_list.md index 02ed15cc9..b03396da1 100644 --- a/Commands/cloud-health/healthmodel/discovery-rule/_list.md +++ b/Commands/monitor/health-models/discovery-rule/_list.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel discovery-rule list_ +# [Command] _monitor health-models discovery-rule list_ List discovery rules in a health model. @@ -12,5 +12,5 @@ List discovery rules in a health model. - List discovery rules in a health model ```bash - healthmodel discovery-rule list --resource-group myRG --health-model-name myModel + monitor health-models discovery-rule list --resource-group myRG --health-model-name myModel ``` diff --git a/Commands/cloud-health/healthmodel/discovery-rule/_show.md b/Commands/monitor/health-models/discovery-rule/_show.md similarity index 72% rename from Commands/cloud-health/healthmodel/discovery-rule/_show.md rename to Commands/monitor/health-models/discovery-rule/_show.md index ea4961c8a..6c9f4b9a0 100644 --- a/Commands/cloud-health/healthmodel/discovery-rule/_show.md +++ b/Commands/monitor/health-models/discovery-rule/_show.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel discovery-rule show_ +# [Command] _monitor health-models discovery-rule show_ Get a discovery rule. @@ -12,5 +12,5 @@ Get a discovery rule. - Get a discovery rule ```bash - healthmodel discovery-rule show --resource-group myRG --health-model-name myModel --name vmDiscovery + monitor health-models discovery-rule show --resource-group myRG --health-model-name myModel --name vmDiscovery ``` diff --git a/Commands/cloud-health/healthmodel/discovery-rule/_update.md b/Commands/monitor/health-models/discovery-rule/_update.md similarity index 69% rename from Commands/cloud-health/healthmodel/discovery-rule/_update.md rename to Commands/monitor/health-models/discovery-rule/_update.md index 6a05d0a20..405f7da82 100644 --- a/Commands/cloud-health/healthmodel/discovery-rule/_update.md +++ b/Commands/monitor/health-models/discovery-rule/_update.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel discovery-rule update_ +# [Command] _monitor health-models discovery-rule update_ Update a discovery rule. @@ -12,5 +12,5 @@ Update a discovery rule. - Disable recommended signals on a discovery rule ```bash - healthmodel discovery-rule update --resource-group myRG --health-model-name myModel --name vmDiscovery --add-recommended-signals Disabled + monitor health-models discovery-rule update --resource-group myRG --health-model-name myModel --name vmDiscovery --add-recommended-signals Disabled ``` diff --git a/Commands/monitor/health-models/discovery-rule/readme.md b/Commands/monitor/health-models/discovery-rule/readme.md new file mode 100644 index 000000000..b7813a970 --- /dev/null +++ b/Commands/monitor/health-models/discovery-rule/readme.md @@ -0,0 +1,20 @@ +# [Group] _monitor health-models discovery-rule_ + +Manage discovery rules that auto-populate a health model. + +## Commands + +- [create](/Commands/monitor/health-models/discovery-rule/_create.md) +: Create a discovery rule. + +- [delete](/Commands/monitor/health-models/discovery-rule/_delete.md) +: Delete a discovery rule. + +- [list](/Commands/monitor/health-models/discovery-rule/_list.md) +: List discovery rules in a health model. + +- [show](/Commands/monitor/health-models/discovery-rule/_show.md) +: Get a discovery rule. + +- [update](/Commands/monitor/health-models/discovery-rule/_update.md) +: Update a discovery rule. diff --git a/Commands/cloud-health/healthmodel/entity/_create.md b/Commands/monitor/health-models/entity/_create.md similarity index 69% rename from Commands/cloud-health/healthmodel/entity/_create.md rename to Commands/monitor/health-models/entity/_create.md index 03096ee84..7b89d2429 100644 --- a/Commands/cloud-health/healthmodel/entity/_create.md +++ b/Commands/monitor/health-models/entity/_create.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel entity create_ +# [Command] _monitor health-models entity create_ Create an entity in a health model. @@ -12,5 +12,5 @@ Create an entity in a health model. - Create an entity in a health model ```bash - healthmodel entity create --resource-group myRG --health-model-name myModel --name webTier --display-name "Web Tier" --impact Standard + monitor health-models entity create --resource-group myRG --health-model-name myModel --name webTier --display-name "Web Tier" --impact Standard ``` diff --git a/Commands/cloud-health/healthmodel/entity/_delete.md b/Commands/monitor/health-models/entity/_delete.md similarity index 72% rename from Commands/cloud-health/healthmodel/entity/_delete.md rename to Commands/monitor/health-models/entity/_delete.md index fa6a8b6b0..a8400452c 100644 --- a/Commands/cloud-health/healthmodel/entity/_delete.md +++ b/Commands/monitor/health-models/entity/_delete.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel entity delete_ +# [Command] _monitor health-models entity delete_ Delete an entity. @@ -12,5 +12,5 @@ Delete an entity. - Delete an entity ```bash - healthmodel entity delete --resource-group myRG --health-model-name myModel --name webTier --yes + monitor health-models entity delete --resource-group myRG --health-model-name myModel --name webTier --yes ``` diff --git a/Commands/cloud-health/healthmodel/entity/_get-history.md b/Commands/monitor/health-models/entity/_get-history.md similarity index 63% rename from Commands/cloud-health/healthmodel/entity/_get-history.md rename to Commands/monitor/health-models/entity/_get-history.md index 4ae19bc7f..f943f8ad6 100644 --- a/Commands/cloud-health/healthmodel/entity/_get-history.md +++ b/Commands/monitor/health-models/entity/_get-history.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel entity get-history_ +# [Command] _monitor health-models entity get-history_ Get the health state transition history for an entity. @@ -12,10 +12,10 @@ Get the health state transition history for an entity. - Get the last 24 hours of health state transitions for an entity ```bash - healthmodel entity get-history --resource-group myRG --health-model-name myModel --entity-name webTier + monitor health-models entity get-history --resource-group myRG --health-model-name myModel --entity-name webTier ``` - Get health state history for a custom time window ```bash - healthmodel entity get-history --resource-group myRG --health-model-name myModel --entity-name webTier --start-at 2026-01-01T00:00:00Z --end-at 2026-01-02T00:00:00Z + monitor health-models entity get-history --resource-group myRG --health-model-name myModel --entity-name webTier --start-at 2026-01-01T00:00:00Z --end-at 2026-01-02T00:00:00Z ``` diff --git a/Commands/cloud-health/healthmodel/entity/_get-signal-history.md b/Commands/monitor/health-models/entity/_get-signal-history.md similarity index 71% rename from Commands/cloud-health/healthmodel/entity/_get-signal-history.md rename to Commands/monitor/health-models/entity/_get-signal-history.md index 5192af587..5ed5e1a6b 100644 --- a/Commands/cloud-health/healthmodel/entity/_get-signal-history.md +++ b/Commands/monitor/health-models/entity/_get-signal-history.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel entity get-signal-history_ +# [Command] _monitor health-models entity get-signal-history_ Get the time series of values for a signal on an entity. @@ -12,5 +12,5 @@ Get the time series of values for a signal on an entity. - Get the time series for a signal on an entity ```bash - healthmodel entity get-signal-history --resource-group myRG --health-model-name myModel --entity-name webTier --signal-name cpuPressure + monitor health-models entity get-signal-history --resource-group myRG --health-model-name myModel --entity-name webTier --signal-name cpuPressure ``` diff --git a/Commands/cloud-health/healthmodel/entity/_ingest-health-report.md b/Commands/monitor/health-models/entity/_ingest-health-report.md similarity index 62% rename from Commands/cloud-health/healthmodel/entity/_ingest-health-report.md rename to Commands/monitor/health-models/entity/_ingest-health-report.md index 33d2d5396..924745129 100644 --- a/Commands/cloud-health/healthmodel/entity/_ingest-health-report.md +++ b/Commands/monitor/health-models/entity/_ingest-health-report.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel entity ingest-health-report_ +# [Command] _monitor health-models entity ingest-health-report_ Push an external health report for a signal on an entity. @@ -12,5 +12,5 @@ Push an external health report for a signal on an entity. - Push an external health report for a signal on an entity ```bash - healthmodel entity ingest-health-report --resource-group myRG --health-model-name myModel --entity-name webTier --signal-name synthetic-probe --health-state Healthy --value 1 --expires-in-minutes 10 --additional-context "HTTP 200 from synthetic probe" + monitor health-models entity ingest-health-report --resource-group myRG --health-model-name myModel --entity-name webTier --signal-name synthetic-probe --health-state Healthy --value 1 --expires-in-minutes 10 --additional-context "HTTP 200 from synthetic probe" ``` diff --git a/Commands/cloud-health/healthmodel/entity/_list.md b/Commands/monitor/health-models/entity/_list.md similarity index 76% rename from Commands/cloud-health/healthmodel/entity/_list.md rename to Commands/monitor/health-models/entity/_list.md index d44065834..20c378b6b 100644 --- a/Commands/cloud-health/healthmodel/entity/_list.md +++ b/Commands/monitor/health-models/entity/_list.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel entity list_ +# [Command] _monitor health-models entity list_ List entities in a health model. @@ -12,5 +12,5 @@ List entities in a health model. - List entities in a health model ```bash - healthmodel entity list --resource-group myRG --health-model-name myModel + monitor health-models entity list --resource-group myRG --health-model-name myModel ``` diff --git a/Commands/cloud-health/healthmodel/entity/_show.md b/Commands/monitor/health-models/entity/_show.md similarity index 73% rename from Commands/cloud-health/healthmodel/entity/_show.md rename to Commands/monitor/health-models/entity/_show.md index 11770fccb..8839cd1d2 100644 --- a/Commands/cloud-health/healthmodel/entity/_show.md +++ b/Commands/monitor/health-models/entity/_show.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel entity show_ +# [Command] _monitor health-models entity show_ Get an entity. @@ -12,5 +12,5 @@ Get an entity. - Get an entity ```bash - healthmodel entity show --resource-group myRG --health-model-name myModel --name webTier + monitor health-models entity show --resource-group myRG --health-model-name myModel --name webTier ``` diff --git a/Commands/cloud-health/healthmodel/entity/_update.md b/Commands/monitor/health-models/entity/_update.md similarity index 70% rename from Commands/cloud-health/healthmodel/entity/_update.md rename to Commands/monitor/health-models/entity/_update.md index a1190cf73..5ca736d86 100644 --- a/Commands/cloud-health/healthmodel/entity/_update.md +++ b/Commands/monitor/health-models/entity/_update.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel entity update_ +# [Command] _monitor health-models entity update_ Update an entity. @@ -12,5 +12,5 @@ Update an entity. - Update an entity's display name ```bash - healthmodel entity update --resource-group myRG --health-model-name myModel --name webTier --display-name "Web Tier (PROD)" + monitor health-models entity update --resource-group myRG --health-model-name myModel --name webTier --display-name "Web Tier (PROD)" ``` diff --git a/Commands/monitor/health-models/entity/readme.md b/Commands/monitor/health-models/entity/readme.md new file mode 100644 index 000000000..b483bb754 --- /dev/null +++ b/Commands/monitor/health-models/entity/readme.md @@ -0,0 +1,29 @@ +# [Group] _monitor health-models entity_ + +Manage entities (nodes) in a health model. + +## Commands + +- [create](/Commands/monitor/health-models/entity/_create.md) +: Create an entity in a health model. + +- [delete](/Commands/monitor/health-models/entity/_delete.md) +: Delete an entity. + +- [get-history](/Commands/monitor/health-models/entity/_get-history.md) +: Get the health state transition history for an entity. + +- [get-signal-history](/Commands/monitor/health-models/entity/_get-signal-history.md) +: Get the time series of values for a signal on an entity. + +- [ingest-health-report](/Commands/monitor/health-models/entity/_ingest-health-report.md) +: Push an external health report for a signal on an entity. + +- [list](/Commands/monitor/health-models/entity/_list.md) +: List entities in a health model. + +- [show](/Commands/monitor/health-models/entity/_show.md) +: Get an entity. + +- [update](/Commands/monitor/health-models/entity/_update.md) +: Update an entity. diff --git a/Commands/cloud-health/healthmodel/identity/_assign.md b/Commands/monitor/health-models/identity/_assign.md similarity index 65% rename from Commands/cloud-health/healthmodel/identity/_assign.md rename to Commands/monitor/health-models/identity/_assign.md index d787229b3..c0457a4f5 100644 --- a/Commands/cloud-health/healthmodel/identity/_assign.md +++ b/Commands/monitor/health-models/identity/_assign.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel identity assign_ +# [Command] _monitor health-models identity assign_ Assign a system- or user-assigned managed identity to a health model. @@ -12,10 +12,10 @@ Assign a system- or user-assigned managed identity to a health model. - Assign system-assigned identity to a health model ```bash - healthmodel identity assign --resource-group myRG --name myModel --system-assigned + monitor health-models identity assign --resource-group myRG --name myModel --system-assigned ``` - Assign a user-assigned identity to a health model ```bash - healthmodel identity assign --resource-group myRG --name myModel --user-assigned /subscriptions/.../userAssignedIdentities/myUai + monitor health-models identity assign --resource-group myRG --name myModel --user-assigned /subscriptions/.../userAssignedIdentities/myUai ``` diff --git a/Commands/cloud-health/healthmodel/identity/_remove.md b/Commands/monitor/health-models/identity/_remove.md similarity index 74% rename from Commands/cloud-health/healthmodel/identity/_remove.md rename to Commands/monitor/health-models/identity/_remove.md index 663b382bd..513877c51 100644 --- a/Commands/cloud-health/healthmodel/identity/_remove.md +++ b/Commands/monitor/health-models/identity/_remove.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel identity remove_ +# [Command] _monitor health-models identity remove_ Remove a system- or user-assigned managed identity from a health model. @@ -12,5 +12,5 @@ Remove a system- or user-assigned managed identity from a health model. - Remove all managed identities from a health model ```bash - healthmodel identity remove --resource-group myRG --name myModel --system-assigned --user-assigned + monitor health-models identity remove --resource-group myRG --name myModel --system-assigned --user-assigned ``` diff --git a/Commands/cloud-health/healthmodel/identity/_show.md b/Commands/monitor/health-models/identity/_show.md similarity index 79% rename from Commands/cloud-health/healthmodel/identity/_show.md rename to Commands/monitor/health-models/identity/_show.md index d072927e7..59ee3ef9e 100644 --- a/Commands/cloud-health/healthmodel/identity/_show.md +++ b/Commands/monitor/health-models/identity/_show.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel identity show_ +# [Command] _monitor health-models identity show_ Show the managed identities currently assigned to a health model. @@ -12,5 +12,5 @@ Show the managed identities currently assigned to a health model. - Show managed identities assigned to a health model ```bash - healthmodel identity show --resource-group myRG --name myModel + monitor health-models identity show --resource-group myRG --name myModel ``` diff --git a/Commands/cloud-health/healthmodel/identity/readme.md b/Commands/monitor/health-models/identity/readme.md similarity index 55% rename from Commands/cloud-health/healthmodel/identity/readme.md rename to Commands/monitor/health-models/identity/readme.md index 786a2ba57..93f663eaf 100644 --- a/Commands/cloud-health/healthmodel/identity/readme.md +++ b/Commands/monitor/health-models/identity/readme.md @@ -1,14 +1,14 @@ -# [Group] _cloud-health healthmodel identity_ +# [Group] _monitor health-models identity_ Manage system- and user-assigned managed identities on a health model. ## Commands -- [assign](/Commands/cloud-health/healthmodel/identity/_assign.md) +- [assign](/Commands/monitor/health-models/identity/_assign.md) : Assign a system- or user-assigned managed identity to a health model. -- [remove](/Commands/cloud-health/healthmodel/identity/_remove.md) +- [remove](/Commands/monitor/health-models/identity/_remove.md) : Remove a system- or user-assigned managed identity from a health model. -- [show](/Commands/cloud-health/healthmodel/identity/_show.md) +- [show](/Commands/monitor/health-models/identity/_show.md) : Show the managed identities currently assigned to a health model. diff --git a/Commands/monitor/health-models/readme.md b/Commands/monitor/health-models/readme.md new file mode 100644 index 000000000..644291623 --- /dev/null +++ b/Commands/monitor/health-models/readme.md @@ -0,0 +1,40 @@ +# [Group] _monitor health-models_ + +Manage Azure Monitor health models. + +## Subgroups + +- [authentication-setting](/Commands/monitor/health-models/authentication-setting/readme.md) +: Manage authentication settings used by signal definitions and discovery rules. + +- [discovery-rule](/Commands/monitor/health-models/discovery-rule/readme.md) +: Manage discovery rules that auto-populate a health model. + +- [entity](/Commands/monitor/health-models/entity/readme.md) +: Manage entities (nodes) in a health model. + +- [identity](/Commands/monitor/health-models/identity/readme.md) +: Manage system- and user-assigned managed identities on a health model. + +- [relationship](/Commands/monitor/health-models/relationship/readme.md) +: Manage parent-child relationships (edges) between entities. + +- [signal-definition](/Commands/monitor/health-models/signal-definition/readme.md) +: Manage signal definitions in a health model. + +## Commands + +- [create](/Commands/monitor/health-models/_create.md) +: Create a health model. + +- [delete](/Commands/monitor/health-models/_delete.md) +: Delete a health model. + +- [list](/Commands/monitor/health-models/_list.md) +: List health models in a resource group or across the subscription. + +- [show](/Commands/monitor/health-models/_show.md) +: Get a health model. + +- [update](/Commands/monitor/health-models/_update.md) +: Update a health model. diff --git a/Commands/cloud-health/healthmodel/relationship/_create.md b/Commands/monitor/health-models/relationship/_create.md similarity index 69% rename from Commands/cloud-health/healthmodel/relationship/_create.md rename to Commands/monitor/health-models/relationship/_create.md index afaa78f51..795a25316 100644 --- a/Commands/cloud-health/healthmodel/relationship/_create.md +++ b/Commands/monitor/health-models/relationship/_create.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel relationship create_ +# [Command] _monitor health-models relationship create_ Create a relationship between two entities. @@ -12,5 +12,5 @@ Create a relationship between two entities. - Create a parent-child relationship between two entities ```bash - healthmodel relationship create --resource-group myRG --health-model-name myModel --name webToDb --parent-entity-name webTier --child-entity-name dbTier + monitor health-models relationship create --resource-group myRG --health-model-name myModel --name webToDb --parent-entity-name webTier --child-entity-name dbTier ``` diff --git a/Commands/cloud-health/healthmodel/relationship/_delete.md b/Commands/monitor/health-models/relationship/_delete.md similarity index 72% rename from Commands/cloud-health/healthmodel/relationship/_delete.md rename to Commands/monitor/health-models/relationship/_delete.md index 7934eb8ff..fbe881496 100644 --- a/Commands/cloud-health/healthmodel/relationship/_delete.md +++ b/Commands/monitor/health-models/relationship/_delete.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel relationship delete_ +# [Command] _monitor health-models relationship delete_ Delete a relationship. @@ -12,5 +12,5 @@ Delete a relationship. - Delete a relationship ```bash - healthmodel relationship delete --resource-group myRG --health-model-name myModel --name webToDb --yes + monitor health-models relationship delete --resource-group myRG --health-model-name myModel --name webToDb --yes ``` diff --git a/Commands/cloud-health/healthmodel/relationship/_list.md b/Commands/monitor/health-models/relationship/_list.md similarity index 75% rename from Commands/cloud-health/healthmodel/relationship/_list.md rename to Commands/monitor/health-models/relationship/_list.md index 971d80cfb..b8da0d7d8 100644 --- a/Commands/cloud-health/healthmodel/relationship/_list.md +++ b/Commands/monitor/health-models/relationship/_list.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel relationship list_ +# [Command] _monitor health-models relationship list_ List relationships in a health model. @@ -12,5 +12,5 @@ List relationships in a health model. - List relationships in a health model ```bash - healthmodel relationship list --resource-group myRG --health-model-name myModel + monitor health-models relationship list --resource-group myRG --health-model-name myModel ``` diff --git a/Commands/cloud-health/healthmodel/relationship/_show.md b/Commands/monitor/health-models/relationship/_show.md similarity index 73% rename from Commands/cloud-health/healthmodel/relationship/_show.md rename to Commands/monitor/health-models/relationship/_show.md index cb760f3bc..151297777 100644 --- a/Commands/cloud-health/healthmodel/relationship/_show.md +++ b/Commands/monitor/health-models/relationship/_show.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel relationship show_ +# [Command] _monitor health-models relationship show_ Get a relationship. @@ -12,5 +12,5 @@ Get a relationship. - Get a relationship ```bash - healthmodel relationship show --resource-group myRG --health-model-name myModel --name webToDb + monitor health-models relationship show --resource-group myRG --health-model-name myModel --name webToDb ``` diff --git a/Commands/cloud-health/healthmodel/relationship/_update.md b/Commands/monitor/health-models/relationship/_update.md similarity index 69% rename from Commands/cloud-health/healthmodel/relationship/_update.md rename to Commands/monitor/health-models/relationship/_update.md index 4360c8c5e..eef449cb6 100644 --- a/Commands/cloud-health/healthmodel/relationship/_update.md +++ b/Commands/monitor/health-models/relationship/_update.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel relationship update_ +# [Command] _monitor health-models relationship update_ Update a relationship. @@ -12,5 +12,5 @@ Update a relationship. - Update the display name of a relationship ```bash - healthmodel relationship update --resource-group myRG --health-model-name myModel --name webToDb --display-name "Web depends on DB" + monitor health-models relationship update --resource-group myRG --health-model-name myModel --name webToDb --display-name "Web depends on DB" ``` diff --git a/Commands/monitor/health-models/relationship/readme.md b/Commands/monitor/health-models/relationship/readme.md new file mode 100644 index 000000000..5edacf2d8 --- /dev/null +++ b/Commands/monitor/health-models/relationship/readme.md @@ -0,0 +1,20 @@ +# [Group] _monitor health-models relationship_ + +Manage parent-child relationships (edges) between entities. + +## Commands + +- [create](/Commands/monitor/health-models/relationship/_create.md) +: Create a relationship between two entities. + +- [delete](/Commands/monitor/health-models/relationship/_delete.md) +: Delete a relationship. + +- [list](/Commands/monitor/health-models/relationship/_list.md) +: List relationships in a health model. + +- [show](/Commands/monitor/health-models/relationship/_show.md) +: Get a relationship. + +- [update](/Commands/monitor/health-models/relationship/_update.md) +: Update a relationship. diff --git a/Commands/monitor/health-models/signal-definition/_create.md b/Commands/monitor/health-models/signal-definition/_create.md new file mode 100644 index 000000000..ba3621b70 --- /dev/null +++ b/Commands/monitor/health-models/signal-definition/_create.md @@ -0,0 +1,21 @@ +# [Command] _monitor health-models signal-definition create_ + +Create or update a signal definition. + +## Versions + +### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml) **Stable** + + + +#### examples + +- Create an Azure Monitor metric signal definition + ```bash + monitor health-models signal-definition create --resource-group myRG --health-model-name myModel --name cpuPressure --display-name 'CPU Pressure' --refresh-interval PT5M --azure-resource-metric metric-namespace='Microsoft.Compute/virtualMachines' metric-name='Percentage CPU' aggregation-type=Average --evaluation-rules unhealthy-rule='{operator:GreaterThan,threshold:90}' degraded-rule='{operator:GreaterThan,threshold:75}' + ``` + +- Create a PromQL signal definition + ```bash + monitor health-models signal-definition create --resource-group myRG --health-model-name myModel --name apiUp --display-name 'API Up' --refresh-interval PT1M --prometheus-metrics-query azure-monitor-workspace-resource-id=/subscriptions/.../accounts/myAmw query-text='up{job="api"}' --evaluation-rules unhealthy-rule='{operator:LessThan,threshold:1}' + ``` diff --git a/Commands/cloud-health/healthmodel/signal-definition/_delete.md b/Commands/monitor/health-models/signal-definition/_delete.md similarity index 71% rename from Commands/cloud-health/healthmodel/signal-definition/_delete.md rename to Commands/monitor/health-models/signal-definition/_delete.md index 44b5dce12..833c60ad9 100644 --- a/Commands/cloud-health/healthmodel/signal-definition/_delete.md +++ b/Commands/monitor/health-models/signal-definition/_delete.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel signal-definition delete_ +# [Command] _monitor health-models signal-definition delete_ Delete a signal definition. @@ -12,5 +12,5 @@ Delete a signal definition. - Delete a signal definition ```bash - healthmodel signal-definition delete --resource-group myRG --health-model-name myModel --name cpuPressure --yes + monitor health-models signal-definition delete --resource-group myRG --health-model-name myModel --name cpuPressure --yes ``` diff --git a/Commands/cloud-health/healthmodel/signal-definition/_list.md b/Commands/monitor/health-models/signal-definition/_list.md similarity index 75% rename from Commands/cloud-health/healthmodel/signal-definition/_list.md rename to Commands/monitor/health-models/signal-definition/_list.md index 36ebf611d..5fc04a0cb 100644 --- a/Commands/cloud-health/healthmodel/signal-definition/_list.md +++ b/Commands/monitor/health-models/signal-definition/_list.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel signal-definition list_ +# [Command] _monitor health-models signal-definition list_ List signal definitions in a health model. @@ -12,5 +12,5 @@ List signal definitions in a health model. - List signal definitions in a health model ```bash - healthmodel signal-definition list --resource-group myRG --health-model-name myModel + monitor health-models signal-definition list --resource-group myRG --health-model-name myModel ``` diff --git a/Commands/cloud-health/healthmodel/signal-definition/_show.md b/Commands/monitor/health-models/signal-definition/_show.md similarity index 72% rename from Commands/cloud-health/healthmodel/signal-definition/_show.md rename to Commands/monitor/health-models/signal-definition/_show.md index 8a77fca9d..198c25870 100644 --- a/Commands/cloud-health/healthmodel/signal-definition/_show.md +++ b/Commands/monitor/health-models/signal-definition/_show.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel signal-definition show_ +# [Command] _monitor health-models signal-definition show_ Get a signal definition. @@ -12,5 +12,5 @@ Get a signal definition. - Get a signal definition ```bash - healthmodel signal-definition show --resource-group myRG --health-model-name myModel --name cpuPressure + monitor health-models signal-definition show --resource-group myRG --health-model-name myModel --name cpuPressure ``` diff --git a/Commands/cloud-health/healthmodel/signal-definition/_update.md b/Commands/monitor/health-models/signal-definition/_update.md similarity index 70% rename from Commands/cloud-health/healthmodel/signal-definition/_update.md rename to Commands/monitor/health-models/signal-definition/_update.md index c52910549..fcd284ebf 100644 --- a/Commands/cloud-health/healthmodel/signal-definition/_update.md +++ b/Commands/monitor/health-models/signal-definition/_update.md @@ -1,4 +1,4 @@ -# [Command] _cloud-health healthmodel signal-definition update_ +# [Command] _monitor health-models signal-definition update_ Update a signal definition. @@ -12,5 +12,5 @@ Update a signal definition. - Update the refresh interval of a signal definition ```bash - healthmodel signal-definition update --resource-group myRG --health-model-name myModel --name cpuPressure --refresh-interval PT10M + monitor health-models signal-definition update --resource-group myRG --health-model-name myModel --name cpuPressure --refresh-interval PT10M ``` diff --git a/Commands/monitor/health-models/signal-definition/readme.md b/Commands/monitor/health-models/signal-definition/readme.md new file mode 100644 index 000000000..a2f4ac6a0 --- /dev/null +++ b/Commands/monitor/health-models/signal-definition/readme.md @@ -0,0 +1,20 @@ +# [Group] _monitor health-models signal-definition_ + +Manage signal definitions in a health model. + +## Commands + +- [create](/Commands/monitor/health-models/signal-definition/_create.md) +: Create or update a signal definition. + +- [delete](/Commands/monitor/health-models/signal-definition/_delete.md) +: Delete a signal definition. + +- [list](/Commands/monitor/health-models/signal-definition/_list.md) +: List signal definitions in a health model. + +- [show](/Commands/monitor/health-models/signal-definition/_show.md) +: Get a signal definition. + +- [update](/Commands/monitor/health-models/signal-definition/_update.md) +: Update a signal definition. diff --git a/Commands/monitor/readme.md b/Commands/monitor/readme.md index 128aab189..8ced03e7d 100644 --- a/Commands/monitor/readme.md +++ b/Commands/monitor/readme.md @@ -28,6 +28,9 @@ Manage the Azure Monitor Service. - [diagnostic-settings](/Commands/monitor/diagnostic-settings/readme.md) : Manage service diagnostic settings. +- [health-models](/Commands/monitor/health-models/readme.md) +: Manage Azure Monitor health models. + - [log-analytics](/Commands/monitor/log-analytics/readme.md) : Manage Azure log analytics. diff --git a/Commands/readme.md b/Commands/readme.md index 6715edd37..b65bc1241 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -77,9 +77,6 @@ - [change-analysis](/Commands/change-analysis/readme.md) : List changes for resources -- [cloud-health](/Commands/cloud-health/readme.md) -: Manage Cloud Health - - [cloud-service](/Commands/cloud-service/readme.md) : Manage cloud service diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.json index 68a3b941b..adeb66997 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.json @@ -1 +1,660 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.cloudhealth/healthmodels", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNsb3VkSGVhbHRoL2hlYWx0aG1vZGVscw==/V/MjAyNi0wMS0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxz/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel", "commands": [{"name": "list", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.cloudhealth/healthmodels", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNsb3VkSGVhbHRoL2hlYWx0aG1vZGVscw==/V/MjAyNi0wMS0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxz/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_HealthModels_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_HealthModels_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_HealthModels_ListBySubscription"], "operationId": "HealthModels_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.CloudHealth/healthmodels", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_HealthModels_ListByResourceGroup"], "operationId": "HealthModels_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.cloudhealth/healthmodels", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNsb3VkSGVhbHRoL2hlYWx0aG1vZGVscw==/V/MjAyNi0wMS0wMS1wcmV2aWV3" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxz/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models", + "commands": [ + { + "name": "list", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.cloudhealth/healthmodels", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNsb3VkSGVhbHRoL2hlYWx0aG1vZGVscw==/V/MjAyNi0wMS0wMS1wcmV2aWV3" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxz/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "conditions": [ + { + "var": "$Condition_HealthModels_ListBySubscription", + "operator": { + "type": "and", + "operators": [ + { + "type": "hasValue", + "arg": "$Path.subscriptionId" + }, + { + "type": "not", + "operator": { + "type": "hasValue", + "arg": "$Path.resourceGroupName" + } + } + ] + } + }, + { + "var": "$Condition_HealthModels_ListByResourceGroup", + "operator": { + "type": "and", + "operators": [ + { + "type": "hasValue", + "arg": "$Path.resourceGroupName" + }, + { + "type": "hasValue", + "arg": "$Path.subscriptionId" + } + ] + } + } + ], + "operations": [ + { + "when": [ + "$Condition_HealthModels_ListBySubscription" + ], + "operationId": "HealthModels_ListBySubscription", + "http": { + "path": "/subscriptions/{subscriptionId}/providers/Microsoft.CloudHealth/healthmodels", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "string", + "name": "nextLink" + }, + { + "type": "array", + "name": "value", + "required": true, + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}" + } + }, + { + "type": "IdentityObject", + "name": "identity", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "principalId" + }, + { + "readOnly": true, + "type": "uuid", + "name": "tenantId" + }, + { + "type": "string", + "name": "type", + "required": true, + "enum": { + "items": [ + { + "value": "None" + }, + { + "value": "SystemAssigned" + }, + { + "value": "SystemAssigned,UserAssigned" + }, + { + "value": "UserAssigned" + } + ] + } + }, + { + "type": "object", + "name": "userAssignedIdentities", + "additionalProps": { + "item": { + "nullable": true, + "type": "object", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "clientId" + }, + { + "readOnly": true, + "type": "uuid", + "name": "principalId" + } + ] + } + } + } + ] + }, + { + "type": "ResourceLocation", + "name": "location", + "required": true + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + }, + { + "when": [ + "$Condition_HealthModels_ListByResourceGroup" + ], + "operationId": "HealthModels_ListByResourceGroup", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "string", + "name": "nextLink" + }, + { + "type": "array", + "name": "value", + "required": true, + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}" + } + }, + { + "type": "IdentityObject", + "name": "identity", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "principalId" + }, + { + "readOnly": true, + "type": "uuid", + "name": "tenantId" + }, + { + "type": "string", + "name": "type", + "required": true, + "enum": { + "items": [ + { + "value": "None" + }, + { + "value": "SystemAssigned" + }, + { + "value": "SystemAssigned,UserAssigned" + }, + { + "value": "UserAssigned" + } + ] + } + }, + { + "type": "object", + "name": "userAssignedIdentities", + "additionalProps": { + "item": { + "nullable": true, + "type": "object", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "clientId" + }, + { + "readOnly": true, + "type": "uuid", + "name": "principalId" + } + ] + } + } + } + ] + }, + { + "type": "ResourceLocation", + "name": "location", + "required": true + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "array", + "ref": "$Instance.value", + "clientFlatten": true, + "nextLink": "$Instance.nextLink" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.xml index a1747b796..9eb9f58f7 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.xml @@ -2,7 +2,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.json index b5a5e9e5c..a430b6482 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.json @@ -1 +1,2989 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel", "commands": [{"name": "show", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["n", "name", "health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "HealthModels_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["n", "name", "health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "HealthModels_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["n", "name", "health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$resource.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Identity", "help": {"short": "Set the system managed identity."}}, {"type": "string", "var": "$resource.identity.type", "options": ["type"], "hide": true, "group": "Identity", "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"blank": {"value": []}, "type": "array", "var": "$resource.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}, {"type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"name": "Resource", "args": [{"type": "ResourceLocation", "var": "$resource.location", "options": ["l", "location"], "required": true, "group": "Resource", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "HealthModels_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}], "userAssigned": {"action": "create", "type": "array", "name": "userAssigned", "arg": "$resource.identity.userAssigned", "item": {"action": "create", "type": "string"}}, "systemAssigned": {"action": "create", "type": "string", "name": "systemAssigned", "arg": "$resource.identity.systemAssigned"}}, {"type": "ResourceLocation", "name": "location", "arg": "$resource.location", "required": true}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["n", "name", "health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Identity", "args": [{"type": "string", "var": "$resource.identity.type", "options": ["type"], "hide": true, "group": "Identity", "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$resource.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "hide": true, "group": "Identity", "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"name": "Resource", "args": [{"nullable": true, "type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}], "operations": [{"operationId": "HealthModels_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "HealthModel_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "IdentityObject", "name": "identity", "props": [{"type": "string", "name": "type", "arg": "$resource.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$resource.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}]}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "HealthModels_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@HealthModel_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}], "commandGroups": [{"name": "identity", "commands": [{"name": "assign", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-01-01-preview", "subresource": "identity", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["n", "name", "health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Resource.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$resource.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Resource.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$resource.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Resource.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "resource", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "HealthModels_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "HealthModel_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "assign", "type": "IdentityObject", "name": "resource.identity", "required": true, "userAssigned": {"action": "assign", "type": "array", "name": "userAssigned", "arg": "$resource.identity.userAssigned", "item": {"action": "assign", "type": "string"}}, "systemAssigned": {"action": "assign", "type": "string", "name": "systemAssigned", "arg": "$resource.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "HealthModels_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@HealthModel_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "remove", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-01-01-preview", "subresource": "identity", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["n", "name", "health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Resource.identity", "args": [{"blank": {"value": "True"}, "type": "string", "var": "$resource.identity.systemAssigned", "options": ["system-assigned", "mi-system-assigned"], "group": "Resource.identity", "help": {"short": "Set the system managed identity."}}, {"blank": {"value": []}, "type": "array", "var": "$resource.identity.userAssigned", "options": ["user-assigned", "mi-user-assigned"], "group": "Resource.identity", "help": {"short": "Set the user managed identities."}, "item": {"type": "string"}}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "resource", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "HealthModels_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "HealthModel_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Subresource", "json": {"schema": {"action": "remove", "type": "IdentityObject", "name": "resource.identity", "required": true, "userAssigned": {"action": "remove", "type": "array", "name": "userAssigned", "arg": "$resource.identity.userAssigned", "item": {"action": "remove", "type": "string"}}, "systemAssigned": {"action": "remove", "type": "string", "name": "systemAssigned", "arg": "$resource.identity.systemAssigned"}}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "HealthModels_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@HealthModel_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}, {"name": "show", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-01-01-preview", "subresource": "identity", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["n", "name", "health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "subresourceSelector": {"var": "$Subresource", "ref": "$Instance", "json": {"type": "object", "name": "resource", "prop": {"type": "object", "name": "identity"}}}, "operations": [{"operationId": "HealthModels_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "HealthModel_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Subresource", "clientFlatten": true}]}]}]}]} \ No newline at end of file +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models", + "commands": [ + { + "name": "show", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "n", + "name", + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "operationId": "HealthModels_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}" + } + }, + { + "type": "IdentityObject", + "name": "identity", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "principalId" + }, + { + "readOnly": true, + "type": "uuid", + "name": "tenantId" + }, + { + "type": "string", + "name": "type", + "required": true, + "enum": { + "items": [ + { + "value": "None" + }, + { + "value": "SystemAssigned" + }, + { + "value": "SystemAssigned,UserAssigned" + }, + { + "value": "UserAssigned" + } + ] + } + }, + { + "type": "object", + "name": "userAssignedIdentities", + "additionalProps": { + "item": { + "nullable": true, + "type": "object", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "clientId" + }, + { + "readOnly": true, + "type": "uuid", + "name": "principalId" + } + ] + } + } + } + ] + }, + { + "type": "ResourceLocation", + "name": "location", + "required": true + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "delete", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "n", + "name", + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "location" + }, + "operationId": "HealthModels_Delete", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", + "request": { + "method": "delete", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 202 + ], + "header": { + "items": [ + { + "name": "Location" + }, + { + "name": "Retry-After" + } + ] + } + }, + { + "statusCode": [ + 204 + ] + }, + { + "statusCode": [ + 200, + 201 + ] + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "confirmation": "Are you sure you want to perform this operation?" + }, + { + "name": "create", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "n", + "name", + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Identity", + "args": [ + { + "blank": { + "value": "True" + }, + "type": "string", + "var": "$resource.identity.systemAssigned", + "options": [ + "system-assigned", + "mi-system-assigned" + ], + "group": "Identity", + "help": { + "short": "Set the system managed identity." + } + }, + { + "type": "string", + "var": "$resource.identity.type", + "options": [ + "type" + ], + "hide": true, + "group": "Identity", + "help": { + "short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)." + }, + "enum": { + "items": [ + { + "name": "None", + "value": "None" + }, + { + "name": "SystemAssigned", + "value": "SystemAssigned" + }, + { + "name": "SystemAssigned,UserAssigned", + "value": "SystemAssigned,UserAssigned" + }, + { + "name": "UserAssigned", + "value": "UserAssigned" + } + ] + } + }, + { + "blank": { + "value": [] + }, + "type": "array", + "var": "$resource.identity.userAssigned", + "options": [ + "user-assigned", + "mi-user-assigned" + ], + "group": "Identity", + "help": { + "short": "Set the user managed identities." + }, + "item": { + "type": "string" + } + }, + { + "type": "object", + "var": "$resource.identity.userAssignedIdentities", + "options": [ + "user-assigned-identities" + ], + "hide": true, + "group": "Identity", + "help": { + "short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests." + }, + "additionalProps": { + "item": { + "nullable": true, + "blank": { + "value": {} + }, + "type": "object" + } + } + } + ] + }, + { + "name": "Resource", + "args": [ + { + "type": "ResourceLocation", + "var": "$resource.location", + "options": [ + "l", + "location" + ], + "required": true, + "group": "Resource", + "help": { + "short": "The geo-location where the resource lives" + } + }, + { + "type": "object", + "var": "$resource.tags", + "options": [ + "tags" + ], + "group": "Resource", + "help": { + "short": "Resource tags." + }, + "additionalProps": { + "item": { + "type": "string" + } + } + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "HealthModels_Create", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "schema": { + "type": "object", + "name": "resource", + "required": true, + "props": [ + { + "type": "IdentityObject", + "name": "identity", + "props": [ + { + "type": "string", + "name": "type", + "arg": "$resource.identity.type", + "required": true, + "enum": { + "items": [ + { + "value": "None" + }, + { + "value": "SystemAssigned" + }, + { + "value": "SystemAssigned,UserAssigned" + }, + { + "value": "UserAssigned" + } + ] + } + }, + { + "type": "object", + "name": "userAssignedIdentities", + "arg": "$resource.identity.userAssignedIdentities", + "additionalProps": { + "item": { + "nullable": true, + "type": "object" + } + } + } + ], + "userAssigned": { + "action": "create", + "type": "array", + "name": "userAssigned", + "arg": "$resource.identity.userAssigned", + "item": { + "action": "create", + "type": "string" + } + }, + "systemAssigned": { + "action": "create", + "type": "string", + "name": "systemAssigned", + "arg": "$resource.identity.systemAssigned" + } + }, + { + "type": "ResourceLocation", + "name": "location", + "arg": "$resource.location", + "required": true + }, + { + "type": "object", + "name": "tags", + "arg": "$resource.tags", + "additionalProps": { + "item": { + "type": "string" + } + } + } + ], + "clientFlatten": true + } + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}" + } + }, + { + "type": "IdentityObject", + "name": "identity", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "principalId" + }, + { + "readOnly": true, + "type": "uuid", + "name": "tenantId" + }, + { + "type": "string", + "name": "type", + "required": true, + "enum": { + "items": [ + { + "value": "None" + }, + { + "value": "SystemAssigned" + }, + { + "value": "SystemAssigned,UserAssigned" + }, + { + "value": "UserAssigned" + } + ] + } + }, + { + "type": "object", + "name": "userAssignedIdentities", + "additionalProps": { + "item": { + "nullable": true, + "type": "object", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "clientId" + }, + { + "readOnly": true, + "type": "uuid", + "name": "principalId" + } + ] + } + } + } + ] + }, + { + "type": "ResourceLocation", + "name": "location", + "required": true + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "update", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "n", + "name", + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Identity", + "args": [ + { + "type": "string", + "var": "$resource.identity.type", + "options": [ + "type" + ], + "hide": true, + "group": "Identity", + "help": { + "short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)." + }, + "enum": { + "items": [ + { + "name": "None", + "value": "None" + }, + { + "name": "SystemAssigned", + "value": "SystemAssigned" + }, + { + "name": "SystemAssigned,UserAssigned", + "value": "SystemAssigned,UserAssigned" + }, + { + "name": "UserAssigned", + "value": "UserAssigned" + } + ] + } + }, + { + "nullable": true, + "type": "object", + "var": "$resource.identity.userAssignedIdentities", + "options": [ + "user-assigned-identities" + ], + "hide": true, + "group": "Identity", + "help": { + "short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests." + }, + "additionalProps": { + "item": { + "nullable": true, + "blank": { + "value": {} + }, + "type": "object" + } + } + } + ] + }, + { + "name": "Resource", + "args": [ + { + "nullable": true, + "type": "object", + "var": "$resource.tags", + "options": [ + "tags" + ], + "group": "Resource", + "help": { + "short": "Resource tags." + }, + "additionalProps": { + "item": { + "nullable": true, + "type": "string" + } + } + } + ] + } + ], + "operations": [ + { + "operationId": "HealthModels_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}" + } + }, + { + "type": "IdentityObject", + "name": "identity", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "principalId" + }, + { + "readOnly": true, + "type": "uuid", + "name": "tenantId" + }, + { + "type": "string", + "name": "type", + "required": true, + "enum": { + "items": [ + { + "value": "None" + }, + { + "value": "SystemAssigned" + }, + { + "value": "SystemAssigned,UserAssigned" + }, + { + "value": "UserAssigned" + } + ] + } + }, + { + "type": "object", + "name": "userAssignedIdentities", + "additionalProps": { + "item": { + "nullable": true, + "type": "object", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "clientId" + }, + { + "readOnly": true, + "type": "uuid", + "name": "principalId" + } + ] + } + } + } + ] + }, + { + "type": "ResourceLocation", + "name": "location", + "required": true + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "HealthModel_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + }, + { + "instanceUpdate": { + "ref": "$Instance", + "json": { + "schema": { + "type": "object", + "name": "resource", + "required": true, + "props": [ + { + "type": "IdentityObject", + "name": "identity", + "props": [ + { + "type": "string", + "name": "type", + "arg": "$resource.identity.type", + "required": true, + "enum": { + "items": [ + { + "value": "None" + }, + { + "value": "SystemAssigned" + }, + { + "value": "SystemAssigned,UserAssigned" + }, + { + "value": "UserAssigned" + } + ] + } + }, + { + "type": "object", + "name": "userAssignedIdentities", + "arg": "$resource.identity.userAssignedIdentities", + "additionalProps": { + "item": { + "nullable": true, + "type": "object" + } + } + } + ] + }, + { + "type": "object", + "name": "tags", + "arg": "$resource.tags", + "additionalProps": { + "item": { + "type": "string" + } + } + } + ], + "clientFlatten": true + } + } + } + }, + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "HealthModels_Create", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "ref": "$Instance" + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "@HealthModel_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + } + ], + "commandGroups": [ + { + "name": "identity", + "commands": [ + { + "name": "assign", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", + "version": "2026-01-01-preview", + "subresource": "identity", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "n", + "name", + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Resource.identity", + "args": [ + { + "blank": { + "value": "True" + }, + "type": "string", + "var": "$resource.identity.systemAssigned", + "options": [ + "system-assigned", + "mi-system-assigned" + ], + "group": "Resource.identity", + "help": { + "short": "Set the system managed identity." + } + }, + { + "blank": { + "value": [] + }, + "type": "array", + "var": "$resource.identity.userAssigned", + "options": [ + "user-assigned", + "mi-user-assigned" + ], + "group": "Resource.identity", + "help": { + "short": "Set the user managed identities." + }, + "item": { + "type": "string" + } + } + ] + } + ], + "subresourceSelector": { + "var": "$Subresource", + "ref": "$Instance", + "json": { + "type": "object", + "name": "resource", + "prop": { + "type": "object", + "name": "identity" + } + } + }, + "operations": [ + { + "operationId": "HealthModels_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}" + } + }, + { + "type": "IdentityObject", + "name": "identity", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "principalId" + }, + { + "readOnly": true, + "type": "uuid", + "name": "tenantId" + }, + { + "type": "string", + "name": "type", + "required": true, + "enum": { + "items": [ + { + "value": "None" + }, + { + "value": "SystemAssigned" + }, + { + "value": "SystemAssigned,UserAssigned" + }, + { + "value": "UserAssigned" + } + ] + } + }, + { + "type": "object", + "name": "userAssignedIdentities", + "additionalProps": { + "item": { + "nullable": true, + "type": "object", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "clientId" + }, + { + "readOnly": true, + "type": "uuid", + "name": "principalId" + } + ] + } + } + } + ] + }, + { + "type": "ResourceLocation", + "name": "location", + "required": true + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "HealthModel_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + }, + { + "instanceUpdate": { + "ref": "$Subresource", + "json": { + "schema": { + "action": "assign", + "type": "IdentityObject", + "name": "resource.identity", + "required": true, + "userAssigned": { + "action": "assign", + "type": "array", + "name": "userAssigned", + "arg": "$resource.identity.userAssigned", + "item": { + "action": "assign", + "type": "string" + } + }, + "systemAssigned": { + "action": "assign", + "type": "string", + "name": "systemAssigned", + "arg": "$resource.identity.systemAssigned" + } + } + } + } + }, + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "HealthModels_Create", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "ref": "$Instance" + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "@HealthModel_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Subresource", + "clientFlatten": true + } + ] + }, + { + "name": "remove", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", + "version": "2026-01-01-preview", + "subresource": "identity", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "n", + "name", + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Resource.identity", + "args": [ + { + "blank": { + "value": "True" + }, + "type": "string", + "var": "$resource.identity.systemAssigned", + "options": [ + "system-assigned", + "mi-system-assigned" + ], + "group": "Resource.identity", + "help": { + "short": "Set the system managed identity." + } + }, + { + "blank": { + "value": [] + }, + "type": "array", + "var": "$resource.identity.userAssigned", + "options": [ + "user-assigned", + "mi-user-assigned" + ], + "group": "Resource.identity", + "help": { + "short": "Set the user managed identities." + }, + "item": { + "type": "string" + } + } + ] + } + ], + "subresourceSelector": { + "var": "$Subresource", + "ref": "$Instance", + "json": { + "type": "object", + "name": "resource", + "prop": { + "type": "object", + "name": "identity" + } + } + }, + "operations": [ + { + "operationId": "HealthModels_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}" + } + }, + { + "type": "IdentityObject", + "name": "identity", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "principalId" + }, + { + "readOnly": true, + "type": "uuid", + "name": "tenantId" + }, + { + "type": "string", + "name": "type", + "required": true, + "enum": { + "items": [ + { + "value": "None" + }, + { + "value": "SystemAssigned" + }, + { + "value": "SystemAssigned,UserAssigned" + }, + { + "value": "UserAssigned" + } + ] + } + }, + { + "type": "object", + "name": "userAssignedIdentities", + "additionalProps": { + "item": { + "nullable": true, + "type": "object", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "clientId" + }, + { + "readOnly": true, + "type": "uuid", + "name": "principalId" + } + ] + } + } + } + ] + }, + { + "type": "ResourceLocation", + "name": "location", + "required": true + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "HealthModel_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + }, + { + "instanceUpdate": { + "ref": "$Subresource", + "json": { + "schema": { + "action": "remove", + "type": "IdentityObject", + "name": "resource.identity", + "required": true, + "userAssigned": { + "action": "remove", + "type": "array", + "name": "userAssigned", + "arg": "$resource.identity.userAssigned", + "item": { + "action": "remove", + "type": "string" + } + }, + "systemAssigned": { + "action": "remove", + "type": "string", + "name": "systemAssigned", + "arg": "$resource.identity.systemAssigned" + } + } + } + } + }, + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "HealthModels_Create", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "ref": "$Instance" + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "@HealthModel_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Subresource", + "clientFlatten": true + } + ] + }, + { + "name": "show", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", + "version": "2026-01-01-preview", + "subresource": "identity", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "n", + "name", + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "subresourceSelector": { + "var": "$Subresource", + "ref": "$Instance", + "json": { + "type": "object", + "name": "resource", + "prop": { + "type": "object", + "name": "identity" + } + } + }, + "operations": [ + { + "operationId": "HealthModels_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}" + } + }, + { + "type": "IdentityObject", + "name": "identity", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "principalId" + }, + { + "readOnly": true, + "type": "uuid", + "name": "tenantId" + }, + { + "type": "string", + "name": "type", + "required": true, + "enum": { + "items": [ + { + "value": "None" + }, + { + "value": "SystemAssigned" + }, + { + "value": "SystemAssigned,UserAssigned" + }, + { + "value": "UserAssigned" + } + ] + } + }, + { + "type": "object", + "name": "userAssignedIdentities", + "additionalProps": { + "item": { + "nullable": true, + "type": "object", + "props": [ + { + "readOnly": true, + "type": "uuid", + "name": "clientId" + }, + { + "readOnly": true, + "type": "uuid", + "name": "principalId" + } + ] + } + } + } + ] + }, + { + "type": "ResourceLocation", + "name": "location", + "required": true + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string" + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "HealthModel_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Subresource", + "clientFlatten": true + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml index 4286b97f2..53e29d496 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml @@ -1,7 +1,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.json index b6e3b11f4..a8f182801 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.json @@ -1 +1,329 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3M=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel authentication-setting", "commands": [{"name": "list", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3M=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "AuthenticationSettings_ListByHealthModel", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/authenticationsettings", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/authenticationsettings/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "authenticationKind", "required": true, "enum": {"items": [{"value": "ManagedIdentity"}]}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "discriminators": [{"property": "authenticationKind", "value": "ManagedIdentity", "props": [{"type": "string", "name": "managedIdentityName", "required": true, "format": {"maxLength": 500, "minLength": 1}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3M=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models authentication-setting", + "commands": [ + { + "name": "list", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3M=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "operationId": "AuthenticationSettings_ListByHealthModel", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/authenticationsettings", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "string", + "name": "nextLink" + }, + { + "type": "array", + "name": "value", + "required": true, + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/authenticationsettings/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "authenticationKind", + "required": true, + "enum": { + "items": [ + { + "value": "ManagedIdentity" + } + ] + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + } + ], + "discriminators": [ + { + "property": "authenticationKind", + "value": "ManagedIdentity", + "props": [ + { + "type": "string", + "name": "managedIdentityName", + "required": true, + "format": { + "maxLength": 500, + "minLength": 1 + } + } + ] + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "array", + "ref": "$Instance.value", + "clientFlatten": true, + "nextLink": "$Instance.nextLink" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.xml index d3565586f..f69cd4c21 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.xml @@ -1,7 +1,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.json index b706ecc09..426361c81 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.json @@ -1 +1,1475 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel authentication-setting", "commands": [{"name": "show", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authenticationSettingName", "options": ["n", "name", "authentication-setting-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the authentication setting. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "AuthenticationSettings_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/authenticationsettings/{authenticationSettingName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "authenticationSettingName", "arg": "$Path.authenticationSettingName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/authenticationsettings/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "authenticationKind", "required": true, "enum": {"items": [{"value": "ManagedIdentity"}]}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "discriminators": [{"property": "authenticationKind", "value": "ManagedIdentity", "props": [{"type": "string", "name": "managedIdentityName", "required": true, "format": {"maxLength": 500, "minLength": 1}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authenticationSettingName", "options": ["n", "name", "authentication-setting-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the authentication setting. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "AuthenticationSettings_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/authenticationsettings/{authenticationSettingName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "authenticationSettingName", "arg": "$Path.authenticationSettingName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authenticationSettingName", "options": ["n", "name", "authentication-setting-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the authentication setting. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.ManagedIdentity", "options": ["managed-identity"], "group": "Properties", "args": [{"type": "string", "var": "$resource.properties.ManagedIdentity.managedIdentityName", "options": ["managed-identity-name"], "required": true, "help": {"short": "Name of the managed identity to use. Either 'SystemAssigned' or the resourceId of a user-assigned identity."}, "format": {"maxLength": 500, "minLength": 1}}]}, {"type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "AuthenticationSettings_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/authenticationsettings/{authenticationSettingName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "authenticationSettingName", "arg": "$Path.authenticationSettingName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authenticationKind", "required": true, "enum": {"items": [{"arg": "$resource.properties.ManagedIdentity", "value": "ManagedIdentity"}]}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}], "discriminators": [{"property": "authenticationKind", "value": "ManagedIdentity", "props": [{"type": "string", "name": "managedIdentityName", "arg": "$resource.properties.ManagedIdentity.managedIdentityName", "required": true, "format": {"maxLength": 500, "minLength": 1}}]}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/authenticationsettings/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "authenticationKind", "required": true, "enum": {"items": [{"value": "ManagedIdentity"}]}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "discriminators": [{"property": "authenticationKind", "value": "ManagedIdentity", "props": [{"type": "string", "name": "managedIdentityName", "required": true, "format": {"maxLength": 500, "minLength": 1}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authenticationSettingName", "options": ["n", "name", "authentication-setting-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the authentication setting. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.ManagedIdentity", "options": ["managed-identity"], "group": "Properties", "args": [{"type": "string", "var": "$resource.properties.ManagedIdentity.managedIdentityName", "options": ["managed-identity-name"], "help": {"short": "Name of the managed identity to use. Either 'SystemAssigned' or the resourceId of a user-assigned identity."}, "format": {"maxLength": 500, "minLength": 1}}]}, {"nullable": true, "type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}]}], "operations": [{"operationId": "AuthenticationSettings_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/authenticationsettings/{authenticationSettingName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "authenticationSettingName", "arg": "$Path.authenticationSettingName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/authenticationsettings/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "authenticationKind", "required": true, "enum": {"items": [{"value": "ManagedIdentity"}]}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}], "discriminators": [{"property": "authenticationKind", "value": "ManagedIdentity", "props": [{"type": "string", "name": "managedIdentityName", "required": true, "format": {"maxLength": 500, "minLength": 1}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "AuthenticationSetting_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "authenticationKind", "required": true, "enum": {"items": [{"arg": "$resource.properties.ManagedIdentity", "value": "ManagedIdentity"}]}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}], "discriminators": [{"property": "authenticationKind", "value": "ManagedIdentity", "props": [{"type": "string", "name": "managedIdentityName", "arg": "$resource.properties.ManagedIdentity.managedIdentityName", "required": true, "format": {"maxLength": 500, "minLength": 1}}]}]}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "AuthenticationSettings_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/authenticationsettings/{authenticationSettingName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "authenticationSettingName", "arg": "$Path.authenticationSettingName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@AuthenticationSetting_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models authentication-setting", + "commands": [ + { + "name": "show", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.authenticationSettingName", + "options": [ + "n", + "name", + "authentication-setting-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the authentication setting. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "operationId": "AuthenticationSettings_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/authenticationsettings/{authenticationSettingName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "authenticationSettingName", + "arg": "$Path.authenticationSettingName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/authenticationsettings/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "authenticationKind", + "required": true, + "enum": { + "items": [ + { + "value": "ManagedIdentity" + } + ] + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + } + ], + "discriminators": [ + { + "property": "authenticationKind", + "value": "ManagedIdentity", + "props": [ + { + "type": "string", + "name": "managedIdentityName", + "required": true, + "format": { + "maxLength": 500, + "minLength": 1 + } + } + ] + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "delete", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.authenticationSettingName", + "options": [ + "n", + "name", + "authentication-setting-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the authentication setting. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "location" + }, + "operationId": "AuthenticationSettings_Delete", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/authenticationsettings/{authenticationSettingName}", + "request": { + "method": "delete", + "path": { + "params": [ + { + "type": "string", + "name": "authenticationSettingName", + "arg": "$Path.authenticationSettingName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 202 + ], + "header": { + "items": [ + { + "name": "Location" + }, + { + "name": "Retry-After" + } + ] + } + }, + { + "statusCode": [ + 204 + ] + }, + { + "statusCode": [ + 200, + 201 + ] + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "confirmation": "Are you sure you want to perform this operation?" + }, + { + "name": "create", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.authenticationSettingName", + "options": [ + "n", + "name", + "authentication-setting-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the authentication setting. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Properties", + "args": [ + { + "type": "object", + "var": "$resource.properties.ManagedIdentity", + "options": [ + "managed-identity" + ], + "group": "Properties", + "args": [ + { + "type": "string", + "var": "$resource.properties.ManagedIdentity.managedIdentityName", + "options": [ + "managed-identity-name" + ], + "required": true, + "help": { + "short": "Name of the managed identity to use. Either 'SystemAssigned' or the resourceId of a user-assigned identity." + }, + "format": { + "maxLength": 500, + "minLength": 1 + } + } + ] + }, + { + "type": "string", + "var": "$resource.properties.displayName", + "options": [ + "display-name" + ], + "group": "Properties", + "help": { + "short": "Display name" + }, + "format": { + "maxLength": 260, + "minLength": 1 + } + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "AuthenticationSettings_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/authenticationsettings/{authenticationSettingName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "authenticationSettingName", + "arg": "$Path.authenticationSettingName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "schema": { + "type": "object", + "name": "resource", + "required": true, + "props": [ + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "authenticationKind", + "required": true, + "enum": { + "items": [ + { + "arg": "$resource.properties.ManagedIdentity", + "value": "ManagedIdentity" + } + ] + } + }, + { + "type": "string", + "name": "displayName", + "arg": "$resource.properties.displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + } + ], + "discriminators": [ + { + "property": "authenticationKind", + "value": "ManagedIdentity", + "props": [ + { + "type": "string", + "name": "managedIdentityName", + "arg": "$resource.properties.ManagedIdentity.managedIdentityName", + "required": true, + "format": { + "maxLength": 500, + "minLength": 1 + } + } + ] + } + ] + } + ], + "clientFlatten": true + } + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/authenticationsettings/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "authenticationKind", + "required": true, + "enum": { + "items": [ + { + "value": "ManagedIdentity" + } + ] + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + } + ], + "discriminators": [ + { + "property": "authenticationKind", + "value": "ManagedIdentity", + "props": [ + { + "type": "string", + "name": "managedIdentityName", + "required": true, + "format": { + "maxLength": 500, + "minLength": 1 + } + } + ] + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "update", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.authenticationSettingName", + "options": [ + "n", + "name", + "authentication-setting-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the authentication setting. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Properties", + "args": [ + { + "type": "object", + "var": "$resource.properties.ManagedIdentity", + "options": [ + "managed-identity" + ], + "group": "Properties", + "args": [ + { + "type": "string", + "var": "$resource.properties.ManagedIdentity.managedIdentityName", + "options": [ + "managed-identity-name" + ], + "help": { + "short": "Name of the managed identity to use. Either 'SystemAssigned' or the resourceId of a user-assigned identity." + }, + "format": { + "maxLength": 500, + "minLength": 1 + } + } + ] + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.displayName", + "options": [ + "display-name" + ], + "group": "Properties", + "help": { + "short": "Display name" + }, + "format": { + "maxLength": 260, + "minLength": 1 + } + } + ] + } + ], + "operations": [ + { + "operationId": "AuthenticationSettings_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/authenticationsettings/{authenticationSettingName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "authenticationSettingName", + "arg": "$Path.authenticationSettingName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/authenticationsettings/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "authenticationKind", + "required": true, + "enum": { + "items": [ + { + "value": "ManagedIdentity" + } + ] + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + } + ], + "discriminators": [ + { + "property": "authenticationKind", + "value": "ManagedIdentity", + "props": [ + { + "type": "string", + "name": "managedIdentityName", + "required": true, + "format": { + "maxLength": 500, + "minLength": 1 + } + } + ] + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "AuthenticationSetting_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + }, + { + "instanceUpdate": { + "ref": "$Instance", + "json": { + "schema": { + "type": "object", + "name": "resource", + "required": true, + "props": [ + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "authenticationKind", + "required": true, + "enum": { + "items": [ + { + "arg": "$resource.properties.ManagedIdentity", + "value": "ManagedIdentity" + } + ] + } + }, + { + "type": "string", + "name": "displayName", + "arg": "$resource.properties.displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + } + ], + "discriminators": [ + { + "property": "authenticationKind", + "value": "ManagedIdentity", + "props": [ + { + "type": "string", + "name": "managedIdentityName", + "arg": "$resource.properties.ManagedIdentity.managedIdentityName", + "required": true, + "format": { + "maxLength": 500, + "minLength": 1 + } + } + ] + } + ] + } + ], + "clientFlatten": true + } + } + } + }, + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "AuthenticationSettings_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/authenticationsettings/{authenticationSettingName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "authenticationSettingName", + "arg": "$Path.authenticationSettingName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "ref": "$Instance" + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "@AuthenticationSetting_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.xml index 6eed3832f..41e3de823 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.xml @@ -1,7 +1,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.json index 5377a7ce8..46036b144 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.json @@ -1 +1,436 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVz/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel discovery-rule", "commands": [{"name": "list", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVz/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "dateTime", "var": "$Query.timestamp", "options": ["timestamp"], "help": {"short": "Timestamp to use for the operation. When specified, the version of the resource at this point in time is retrieved. If not specified, the latest version is used."}, "format": {"protocol": "iso"}}]}], "operations": [{"operationId": "DiscoveryRules_ListByHealthModel", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/discoveryrules", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "dateTime", "name": "timestamp", "arg": "$Query.timestamp", "format": {"protocol": "iso"}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/discoveryrules/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addRecommendedSignals", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "discoverRelationships", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"readOnly": true, "type": "string", "name": "entityName"}, {"readOnly": true, "type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "context", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "message"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "specification", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "ApplicationInsightsTopology"}, {"value": "ResourceGraphQuery"}]}}], "discriminators": [{"property": "kind", "value": "ApplicationInsightsTopology", "props": [{"type": "ResourceId", "name": "applicationInsightsResourceId", "required": true}]}, {"property": "kind", "value": "ResourceGraphQuery", "props": [{"type": "string", "name": "resourceGraphQuery", "required": true, "format": {"maxLength": 5000, "minLength": 1}}]}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVz/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models discovery-rule", + "commands": [ + { + "name": "list", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVz/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + }, + { + "type": "dateTime", + "var": "$Query.timestamp", + "options": [ + "timestamp" + ], + "help": { + "short": "Timestamp to use for the operation. When specified, the version of the resource at this point in time is retrieved. If not specified, the latest version is used." + }, + "format": { + "protocol": "iso" + } + } + ] + } + ], + "operations": [ + { + "operationId": "DiscoveryRules_ListByHealthModel", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/discoveryrules", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "params": [ + { + "type": "dateTime", + "name": "timestamp", + "arg": "$Query.timestamp", + "format": { + "protocol": "iso" + } + } + ], + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "string", + "name": "nextLink" + }, + { + "type": "array", + "name": "value", + "required": true, + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/discoveryrules/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "addRecommendedSignals", + "required": true, + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, + { + "type": "string", + "name": "authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "discoverRelationships", + "required": true, + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "readOnly": true, + "type": "string", + "name": "entityName" + }, + { + "readOnly": true, + "type": "object", + "name": "error", + "props": [ + { + "readOnly": true, + "type": "array", + "name": "context", + "item": { + "type": "string" + } + }, + { + "readOnly": true, + "type": "string", + "name": "message" + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + }, + { + "type": "object", + "name": "specification", + "required": true, + "props": [ + { + "type": "string", + "name": "kind", + "required": true, + "enum": { + "items": [ + { + "value": "ApplicationInsightsTopology" + }, + { + "value": "ResourceGraphQuery" + } + ] + } + } + ], + "discriminators": [ + { + "property": "kind", + "value": "ApplicationInsightsTopology", + "props": [ + { + "type": "ResourceId", + "name": "applicationInsightsResourceId", + "required": true + } + ] + }, + { + "property": "kind", + "value": "ResourceGraphQuery", + "props": [ + { + "type": "string", + "name": "resourceGraphQuery", + "required": true, + "format": { + "maxLength": 5000, + "minLength": 1 + } + } + ] + } + ] + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "array", + "ref": "$Instance.value", + "clientFlatten": true, + "nextLink": "$Instance.nextLink" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.xml index df64e4d55..2f7692089 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.xml @@ -1,7 +1,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.json index 606aff918..b1216bcc1 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.json @@ -1 +1,2040 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel discovery-rule", "commands": [{"name": "show", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.discoveryRuleName", "options": ["n", "name", "discovery-rule-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the discovery rule. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "DiscoveryRules_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/discoveryrules/{discoveryRuleName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "discoveryRuleName", "arg": "$Path.discoveryRuleName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/discoveryrules/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addRecommendedSignals", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "discoverRelationships", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"readOnly": true, "type": "string", "name": "entityName"}, {"readOnly": true, "type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "context", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "message"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "specification", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "ApplicationInsightsTopology"}, {"value": "ResourceGraphQuery"}]}}], "discriminators": [{"property": "kind", "value": "ApplicationInsightsTopology", "props": [{"type": "ResourceId", "name": "applicationInsightsResourceId", "required": true}]}, {"property": "kind", "value": "ResourceGraphQuery", "props": [{"type": "string", "name": "resourceGraphQuery", "required": true, "format": {"maxLength": 5000, "minLength": 1}}]}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.discoveryRuleName", "options": ["n", "name", "discovery-rule-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the discovery rule. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "DiscoveryRules_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/discoveryrules/{discoveryRuleName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "discoveryRuleName", "arg": "$Path.discoveryRuleName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.discoveryRuleName", "options": ["n", "name", "discovery-rule-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the discovery rule. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.addRecommendedSignals", "options": ["add-recommended-signals"], "group": "Properties", "help": {"short": "Whether to add all recommended signals to the discovered entities."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$resource.properties.authenticationSetting", "options": ["authentication-setting"], "group": "Properties", "help": {"short": "Reference to the name of the authentication setting which is used for querying Azure Resource Graph. The same authentication setting will also be assigned to any discovered entities."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$resource.properties.discoverRelationships", "options": ["discover-relationships"], "group": "Properties", "help": {"short": "Whether to create relationships between the discovered entities based on a set of built-in rules. These relationships cannot be manually deleted."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "var": "$resource.properties.specification", "options": ["specification"], "group": "Properties", "help": {"short": "Specification of the discovery rule defining how entities are discovered."}, "args": [{"type": "object", "var": "$resource.properties.specification.ApplicationInsightsTopology", "options": ["application-insights-topology"], "args": [{"type": "ResourceId", "var": "$resource.properties.specification.ApplicationInsightsTopology.applicationInsightsResourceId", "options": ["application-insights-resource-id"], "required": true, "help": {"short": "Application Insights resource ID"}}]}, {"type": "object", "var": "$resource.properties.specification.ResourceGraphQuery", "options": ["resource-graph-query"], "args": [{"type": "string", "var": "$resource.properties.specification.ResourceGraphQuery.resourceGraphQuery", "options": ["resource-graph-query"], "required": true, "help": {"short": "Azure Resource Graph query text in KQL syntax. The query must return at least a column named 'id' which contains the resource ID of the discovered resources."}, "format": {"maxLength": 5000, "minLength": 1}}]}]}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "DiscoveryRules_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/discoveryrules/{discoveryRuleName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "discoveryRuleName", "arg": "$Path.discoveryRuleName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "addRecommendedSignals", "arg": "$resource.properties.addRecommendedSignals", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "authenticationSetting", "arg": "$resource.properties.authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "discoverRelationships", "arg": "$resource.properties.discoverRelationships", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "specification", "arg": "$resource.properties.specification", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"arg": "$resource.properties.specification.ApplicationInsightsTopology", "value": "ApplicationInsightsTopology"}, {"arg": "$resource.properties.specification.ResourceGraphQuery", "value": "ResourceGraphQuery"}]}}], "discriminators": [{"property": "kind", "value": "ApplicationInsightsTopology", "props": [{"type": "ResourceId", "name": "applicationInsightsResourceId", "arg": "$resource.properties.specification.ApplicationInsightsTopology.applicationInsightsResourceId", "required": true}]}, {"property": "kind", "value": "ResourceGraphQuery", "props": [{"type": "string", "name": "resourceGraphQuery", "arg": "$resource.properties.specification.ResourceGraphQuery.resourceGraphQuery", "required": true, "format": {"maxLength": 5000, "minLength": 1}}]}]}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/discoveryrules/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addRecommendedSignals", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "discoverRelationships", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"readOnly": true, "type": "string", "name": "entityName"}, {"readOnly": true, "type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "context", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "message"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "specification", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "ApplicationInsightsTopology"}, {"value": "ResourceGraphQuery"}]}}], "discriminators": [{"property": "kind", "value": "ApplicationInsightsTopology", "props": [{"type": "ResourceId", "name": "applicationInsightsResourceId", "required": true}]}, {"property": "kind", "value": "ResourceGraphQuery", "props": [{"type": "string", "name": "resourceGraphQuery", "required": true, "format": {"maxLength": 5000, "minLength": 1}}]}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.discoveryRuleName", "options": ["n", "name", "discovery-rule-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the discovery rule. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.addRecommendedSignals", "options": ["add-recommended-signals"], "group": "Properties", "help": {"short": "Whether to add all recommended signals to the discovered entities."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"type": "string", "var": "$resource.properties.authenticationSetting", "options": ["authentication-setting"], "group": "Properties", "help": {"short": "Reference to the name of the authentication setting which is used for querying Azure Resource Graph. The same authentication setting will also be assigned to any discovered entities."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$resource.properties.discoverRelationships", "options": ["discover-relationships"], "group": "Properties", "help": {"short": "Whether to create relationships between the discovered entities based on a set of built-in rules. These relationships cannot be manually deleted."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "var": "$resource.properties.specification", "options": ["specification"], "group": "Properties", "help": {"short": "Specification of the discovery rule defining how entities are discovered."}, "args": [{"type": "object", "var": "$resource.properties.specification.ApplicationInsightsTopology", "options": ["application-insights-topology"], "args": [{"type": "ResourceId", "var": "$resource.properties.specification.ApplicationInsightsTopology.applicationInsightsResourceId", "options": ["application-insights-resource-id"], "help": {"short": "Application Insights resource ID"}}]}, {"type": "object", "var": "$resource.properties.specification.ResourceGraphQuery", "options": ["resource-graph-query"], "args": [{"type": "string", "var": "$resource.properties.specification.ResourceGraphQuery.resourceGraphQuery", "options": ["resource-graph-query"], "help": {"short": "Azure Resource Graph query text in KQL syntax. The query must return at least a column named 'id' which contains the resource ID of the discovered resources."}, "format": {"maxLength": 5000, "minLength": 1}}]}]}]}], "operations": [{"operationId": "DiscoveryRules_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/discoveryrules/{discoveryRuleName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "discoveryRuleName", "arg": "$Path.discoveryRuleName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/discoveryrules/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addRecommendedSignals", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "discoverRelationships", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"readOnly": true, "type": "string", "name": "entityName"}, {"readOnly": true, "type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "context", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "message"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "specification", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"value": "ApplicationInsightsTopology"}, {"value": "ResourceGraphQuery"}]}}], "discriminators": [{"property": "kind", "value": "ApplicationInsightsTopology", "props": [{"type": "ResourceId", "name": "applicationInsightsResourceId", "required": true}]}, {"property": "kind", "value": "ResourceGraphQuery", "props": [{"type": "string", "name": "resourceGraphQuery", "required": true, "format": {"maxLength": 5000, "minLength": 1}}]}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "DiscoveryRule_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "addRecommendedSignals", "arg": "$resource.properties.addRecommendedSignals", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "authenticationSetting", "arg": "$resource.properties.authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "discoverRelationships", "arg": "$resource.properties.discoverRelationships", "required": true, "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}]}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "specification", "arg": "$resource.properties.specification", "required": true, "props": [{"type": "string", "name": "kind", "required": true, "enum": {"items": [{"arg": "$resource.properties.specification.ApplicationInsightsTopology", "value": "ApplicationInsightsTopology"}, {"arg": "$resource.properties.specification.ResourceGraphQuery", "value": "ResourceGraphQuery"}]}}], "discriminators": [{"property": "kind", "value": "ApplicationInsightsTopology", "props": [{"type": "ResourceId", "name": "applicationInsightsResourceId", "arg": "$resource.properties.specification.ApplicationInsightsTopology.applicationInsightsResourceId", "required": true}]}, {"property": "kind", "value": "ResourceGraphQuery", "props": [{"type": "string", "name": "resourceGraphQuery", "arg": "$resource.properties.specification.ResourceGraphQuery.resourceGraphQuery", "required": true, "format": {"maxLength": 5000, "minLength": 1}}]}]}]}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "DiscoveryRules_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/discoveryrules/{discoveryRuleName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "discoveryRuleName", "arg": "$Path.discoveryRuleName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@DiscoveryRule_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models discovery-rule", + "commands": [ + { + "name": "show", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.discoveryRuleName", + "options": [ + "n", + "name", + "discovery-rule-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the discovery rule. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "operationId": "DiscoveryRules_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/discoveryrules/{discoveryRuleName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "discoveryRuleName", + "arg": "$Path.discoveryRuleName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/discoveryrules/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "addRecommendedSignals", + "required": true, + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, + { + "type": "string", + "name": "authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "discoverRelationships", + "required": true, + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "readOnly": true, + "type": "string", + "name": "entityName" + }, + { + "readOnly": true, + "type": "object", + "name": "error", + "props": [ + { + "readOnly": true, + "type": "array", + "name": "context", + "item": { + "type": "string" + } + }, + { + "readOnly": true, + "type": "string", + "name": "message" + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + }, + { + "type": "object", + "name": "specification", + "required": true, + "props": [ + { + "type": "string", + "name": "kind", + "required": true, + "enum": { + "items": [ + { + "value": "ApplicationInsightsTopology" + }, + { + "value": "ResourceGraphQuery" + } + ] + } + } + ], + "discriminators": [ + { + "property": "kind", + "value": "ApplicationInsightsTopology", + "props": [ + { + "type": "ResourceId", + "name": "applicationInsightsResourceId", + "required": true + } + ] + }, + { + "property": "kind", + "value": "ResourceGraphQuery", + "props": [ + { + "type": "string", + "name": "resourceGraphQuery", + "required": true, + "format": { + "maxLength": 5000, + "minLength": 1 + } + } + ] + } + ] + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "delete", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.discoveryRuleName", + "options": [ + "n", + "name", + "discovery-rule-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the discovery rule. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "location" + }, + "operationId": "DiscoveryRules_Delete", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/discoveryrules/{discoveryRuleName}", + "request": { + "method": "delete", + "path": { + "params": [ + { + "type": "string", + "name": "discoveryRuleName", + "arg": "$Path.discoveryRuleName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 202 + ], + "header": { + "items": [ + { + "name": "Location" + }, + { + "name": "Retry-After" + } + ] + } + }, + { + "statusCode": [ + 204 + ] + }, + { + "statusCode": [ + 200, + 201 + ] + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "confirmation": "Are you sure you want to perform this operation?" + }, + { + "name": "create", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.discoveryRuleName", + "options": [ + "n", + "name", + "discovery-rule-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the discovery rule. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Properties", + "args": [ + { + "type": "string", + "var": "$resource.properties.addRecommendedSignals", + "options": [ + "add-recommended-signals" + ], + "group": "Properties", + "help": { + "short": "Whether to add all recommended signals to the discovered entities." + }, + "enum": { + "items": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } + }, + { + "type": "string", + "var": "$resource.properties.authenticationSetting", + "options": [ + "authentication-setting" + ], + "group": "Properties", + "help": { + "short": "Reference to the name of the authentication setting which is used for querying Azure Resource Graph. The same authentication setting will also be assigned to any discovered entities." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$resource.properties.discoverRelationships", + "options": [ + "discover-relationships" + ], + "group": "Properties", + "help": { + "short": "Whether to create relationships between the discovered entities based on a set of built-in rules. These relationships cannot be manually deleted." + }, + "enum": { + "items": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } + }, + { + "type": "string", + "var": "$resource.properties.displayName", + "options": [ + "display-name" + ], + "group": "Properties", + "help": { + "short": "Display name" + }, + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "var": "$resource.properties.specification", + "options": [ + "specification" + ], + "group": "Properties", + "help": { + "short": "Specification of the discovery rule defining how entities are discovered." + }, + "args": [ + { + "type": "object", + "var": "$resource.properties.specification.ApplicationInsightsTopology", + "options": [ + "application-insights-topology" + ], + "args": [ + { + "type": "ResourceId", + "var": "$resource.properties.specification.ApplicationInsightsTopology.applicationInsightsResourceId", + "options": [ + "application-insights-resource-id" + ], + "required": true, + "help": { + "short": "Application Insights resource ID" + } + } + ] + }, + { + "type": "object", + "var": "$resource.properties.specification.ResourceGraphQuery", + "options": [ + "resource-graph-query" + ], + "args": [ + { + "type": "string", + "var": "$resource.properties.specification.ResourceGraphQuery.resourceGraphQuery", + "options": [ + "resource-graph-query" + ], + "required": true, + "help": { + "short": "Azure Resource Graph query text in KQL syntax. The query must return at least a column named 'id' which contains the resource ID of the discovered resources." + }, + "format": { + "maxLength": 5000, + "minLength": 1 + } + } + ] + } + ] + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "DiscoveryRules_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/discoveryrules/{discoveryRuleName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "discoveryRuleName", + "arg": "$Path.discoveryRuleName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "schema": { + "type": "object", + "name": "resource", + "required": true, + "props": [ + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "addRecommendedSignals", + "arg": "$resource.properties.addRecommendedSignals", + "required": true, + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, + { + "type": "string", + "name": "authenticationSetting", + "arg": "$resource.properties.authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "discoverRelationships", + "arg": "$resource.properties.discoverRelationships", + "required": true, + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, + { + "type": "string", + "name": "displayName", + "arg": "$resource.properties.displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "name": "specification", + "arg": "$resource.properties.specification", + "required": true, + "props": [ + { + "type": "string", + "name": "kind", + "required": true, + "enum": { + "items": [ + { + "arg": "$resource.properties.specification.ApplicationInsightsTopology", + "value": "ApplicationInsightsTopology" + }, + { + "arg": "$resource.properties.specification.ResourceGraphQuery", + "value": "ResourceGraphQuery" + } + ] + } + } + ], + "discriminators": [ + { + "property": "kind", + "value": "ApplicationInsightsTopology", + "props": [ + { + "type": "ResourceId", + "name": "applicationInsightsResourceId", + "arg": "$resource.properties.specification.ApplicationInsightsTopology.applicationInsightsResourceId", + "required": true + } + ] + }, + { + "property": "kind", + "value": "ResourceGraphQuery", + "props": [ + { + "type": "string", + "name": "resourceGraphQuery", + "arg": "$resource.properties.specification.ResourceGraphQuery.resourceGraphQuery", + "required": true, + "format": { + "maxLength": 5000, + "minLength": 1 + } + } + ] + } + ] + } + ] + } + ], + "clientFlatten": true + } + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/discoveryrules/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "addRecommendedSignals", + "required": true, + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, + { + "type": "string", + "name": "authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "discoverRelationships", + "required": true, + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "readOnly": true, + "type": "string", + "name": "entityName" + }, + { + "readOnly": true, + "type": "object", + "name": "error", + "props": [ + { + "readOnly": true, + "type": "array", + "name": "context", + "item": { + "type": "string" + } + }, + { + "readOnly": true, + "type": "string", + "name": "message" + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + }, + { + "type": "object", + "name": "specification", + "required": true, + "props": [ + { + "type": "string", + "name": "kind", + "required": true, + "enum": { + "items": [ + { + "value": "ApplicationInsightsTopology" + }, + { + "value": "ResourceGraphQuery" + } + ] + } + } + ], + "discriminators": [ + { + "property": "kind", + "value": "ApplicationInsightsTopology", + "props": [ + { + "type": "ResourceId", + "name": "applicationInsightsResourceId", + "required": true + } + ] + }, + { + "property": "kind", + "value": "ResourceGraphQuery", + "props": [ + { + "type": "string", + "name": "resourceGraphQuery", + "required": true, + "format": { + "maxLength": 5000, + "minLength": 1 + } + } + ] + } + ] + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "update", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.discoveryRuleName", + "options": [ + "n", + "name", + "discovery-rule-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the discovery rule. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Properties", + "args": [ + { + "type": "string", + "var": "$resource.properties.addRecommendedSignals", + "options": [ + "add-recommended-signals" + ], + "group": "Properties", + "help": { + "short": "Whether to add all recommended signals to the discovered entities." + }, + "enum": { + "items": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } + }, + { + "type": "string", + "var": "$resource.properties.authenticationSetting", + "options": [ + "authentication-setting" + ], + "group": "Properties", + "help": { + "short": "Reference to the name of the authentication setting which is used for querying Azure Resource Graph. The same authentication setting will also be assigned to any discovered entities." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$resource.properties.discoverRelationships", + "options": [ + "discover-relationships" + ], + "group": "Properties", + "help": { + "short": "Whether to create relationships between the discovered entities based on a set of built-in rules. These relationships cannot be manually deleted." + }, + "enum": { + "items": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.displayName", + "options": [ + "display-name" + ], + "group": "Properties", + "help": { + "short": "Display name" + }, + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "var": "$resource.properties.specification", + "options": [ + "specification" + ], + "group": "Properties", + "help": { + "short": "Specification of the discovery rule defining how entities are discovered." + }, + "args": [ + { + "type": "object", + "var": "$resource.properties.specification.ApplicationInsightsTopology", + "options": [ + "application-insights-topology" + ], + "args": [ + { + "type": "ResourceId", + "var": "$resource.properties.specification.ApplicationInsightsTopology.applicationInsightsResourceId", + "options": [ + "application-insights-resource-id" + ], + "help": { + "short": "Application Insights resource ID" + } + } + ] + }, + { + "type": "object", + "var": "$resource.properties.specification.ResourceGraphQuery", + "options": [ + "resource-graph-query" + ], + "args": [ + { + "type": "string", + "var": "$resource.properties.specification.ResourceGraphQuery.resourceGraphQuery", + "options": [ + "resource-graph-query" + ], + "help": { + "short": "Azure Resource Graph query text in KQL syntax. The query must return at least a column named 'id' which contains the resource ID of the discovered resources." + }, + "format": { + "maxLength": 5000, + "minLength": 1 + } + } + ] + } + ] + } + ] + } + ], + "operations": [ + { + "operationId": "DiscoveryRules_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/discoveryrules/{discoveryRuleName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "discoveryRuleName", + "arg": "$Path.discoveryRuleName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/discoveryrules/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "addRecommendedSignals", + "required": true, + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, + { + "type": "string", + "name": "authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "discoverRelationships", + "required": true, + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "readOnly": true, + "type": "string", + "name": "entityName" + }, + { + "readOnly": true, + "type": "object", + "name": "error", + "props": [ + { + "readOnly": true, + "type": "array", + "name": "context", + "item": { + "type": "string" + } + }, + { + "readOnly": true, + "type": "string", + "name": "message" + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + }, + { + "type": "object", + "name": "specification", + "required": true, + "props": [ + { + "type": "string", + "name": "kind", + "required": true, + "enum": { + "items": [ + { + "value": "ApplicationInsightsTopology" + }, + { + "value": "ResourceGraphQuery" + } + ] + } + } + ], + "discriminators": [ + { + "property": "kind", + "value": "ApplicationInsightsTopology", + "props": [ + { + "type": "ResourceId", + "name": "applicationInsightsResourceId", + "required": true + } + ] + }, + { + "property": "kind", + "value": "ResourceGraphQuery", + "props": [ + { + "type": "string", + "name": "resourceGraphQuery", + "required": true, + "format": { + "maxLength": 5000, + "minLength": 1 + } + } + ] + } + ] + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "DiscoveryRule_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + }, + { + "instanceUpdate": { + "ref": "$Instance", + "json": { + "schema": { + "type": "object", + "name": "resource", + "required": true, + "props": [ + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "addRecommendedSignals", + "arg": "$resource.properties.addRecommendedSignals", + "required": true, + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, + { + "type": "string", + "name": "authenticationSetting", + "arg": "$resource.properties.authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "discoverRelationships", + "arg": "$resource.properties.discoverRelationships", + "required": true, + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, + { + "type": "string", + "name": "displayName", + "arg": "$resource.properties.displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "name": "specification", + "arg": "$resource.properties.specification", + "required": true, + "props": [ + { + "type": "string", + "name": "kind", + "required": true, + "enum": { + "items": [ + { + "arg": "$resource.properties.specification.ApplicationInsightsTopology", + "value": "ApplicationInsightsTopology" + }, + { + "arg": "$resource.properties.specification.ResourceGraphQuery", + "value": "ResourceGraphQuery" + } + ] + } + } + ], + "discriminators": [ + { + "property": "kind", + "value": "ApplicationInsightsTopology", + "props": [ + { + "type": "ResourceId", + "name": "applicationInsightsResourceId", + "arg": "$resource.properties.specification.ApplicationInsightsTopology.applicationInsightsResourceId", + "required": true + } + ] + }, + { + "property": "kind", + "value": "ResourceGraphQuery", + "props": [ + { + "type": "string", + "name": "resourceGraphQuery", + "arg": "$resource.properties.specification.ResourceGraphQuery.resourceGraphQuery", + "required": true, + "format": { + "maxLength": 5000, + "minLength": 1 + } + } + ] + } + ] + } + ] + } + ], + "clientFlatten": true + } + } + } + }, + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "DiscoveryRules_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/discoveryrules/{discoveryRuleName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "discoveryRuleName", + "arg": "$Path.discoveryRuleName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "ref": "$Instance" + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "@DiscoveryRule_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml index 46a72b0f4..727dc0f1e 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml @@ -1,7 +1,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.json index a7fd779c1..980d8d41d 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.json @@ -1 +1,1221 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVz/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel entity", "commands": [{"name": "list", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVz/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "dateTime", "var": "$Query.timestamp", "options": ["timestamp"], "help": {"short": "Timestamp to use for the operation. When specified, the version of the resource at this point in time is retrieved. If not specified, the latest version is used."}, "format": {"protocol": "iso"}}]}], "operations": [{"operationId": "Entities_ListByHealthModel", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "dateTime", "name": "timestamp", "arg": "$Query.timestamp", "format": {"protocol": "iso"}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/entities/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "alerts", "props": [{"type": "@AlertConfiguration_read", "name": "degraded"}, {"type": "object", "name": "unhealthy", "props": [{"type": "array", "name": "actionGroupIds", "format": {"maxLength": 5, "minLength": 1}, "item": {"type": "ResourceId"}}, {"type": "string", "name": "description", "format": {"maxLength": 1000, "minLength": 1}}, {"type": "string", "name": "severity", "required": true, "enum": {"items": [{"value": "Sev0"}, {"value": "Sev1"}, {"value": "Sev2"}, {"value": "Sev3"}, {"value": "Sev4"}]}}], "cls": "AlertConfiguration_read"}]}, {"type": "object", "name": "canvasPosition", "props": [{"type": "float32", "name": "x", "required": true}, {"type": "float32", "name": "y", "required": true}]}, {"readOnly": true, "type": "string", "name": "discoveredBy", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "float32", "name": "healthObjective", "format": {"maximum": 100.0, "minimum": 0.0}}, {"readOnly": true, "type": "string", "name": "healthState", "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"type": "object", "name": "icon", "props": [{"type": "string", "name": "customData", "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "iconName", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"default": {"value": "Standard"}, "type": "string", "name": "impact", "enum": {"items": [{"value": "Limited"}, {"value": "Standard"}, {"value": "Suppressed"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "signalGroups", "props": [{"type": "object", "name": "azureLogAnalytics", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "logAnalyticsWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "LogAnalyticsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureMonitorWorkspace", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureMonitorWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "PrometheusMetricsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureResource", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureResourceId", "required": true}, {"type": "string", "name": "azureResourceKind", "format": {"maxLength": 256, "minLength": 0}}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "aggregationType", "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "props": [{"type": "object", "name": "degradedRule", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "required": true}], "cls": "ThresholdRuleV2_read"}, {"type": "@ThresholdRuleV2_read", "name": "unhealthyRule", "required": true}], "cls": "EvaluationRule_read"}, {"type": "string", "name": "metricName", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "AzureResourceMetric"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "object", "name": "status", "props": [{"readOnly": true, "type": "string", "name": "error"}, {"readOnly": true, "type": "string", "name": "healthState", "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "dateTime", "name": "reportedAt", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "float64", "name": "value"}], "cls": "SignalStatus_read"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "dependencies", "props": [{"default": {"value": "WorstOf"}, "type": "string", "name": "aggregationType", "required": true, "enum": {"items": [{"value": "MaxNotHealthy"}, {"value": "MinHealthy"}, {"value": "WorstOf"}]}}, {"type": "float64", "name": "degradedThreshold", "format": {"minimum": 0.0}}, {"default": {"value": true}, "type": "boolean", "name": "ignoreUnknown"}, {"type": "float64", "name": "unhealthyThreshold", "format": {"minimum": 0.0}}, {"type": "string", "name": "unit", "enum": {"items": [{"value": "Absolute"}, {"value": "Percentage"}]}}]}, {"readOnly": true, "type": "object", "name": "external", "props": [{"readOnly": true, "type": "array", "name": "signals", "item": {"type": "object", "props": [{"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "External"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}]}, "identifiers": ["name"]}]}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVz/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models entity", + "commands": [ + { + "name": "list", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVz/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + }, + { + "type": "dateTime", + "var": "$Query.timestamp", + "options": [ + "timestamp" + ], + "help": { + "short": "Timestamp to use for the operation. When specified, the version of the resource at this point in time is retrieved. If not specified, the latest version is used." + }, + "format": { + "protocol": "iso" + } + } + ] + } + ], + "operations": [ + { + "operationId": "Entities_ListByHealthModel", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "params": [ + { + "type": "dateTime", + "name": "timestamp", + "arg": "$Query.timestamp", + "format": { + "protocol": "iso" + } + } + ], + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "string", + "name": "nextLink" + }, + { + "type": "array", + "name": "value", + "required": true, + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/entities/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "object", + "name": "alerts", + "props": [ + { + "type": "@AlertConfiguration_read", + "name": "degraded" + }, + { + "type": "object", + "name": "unhealthy", + "props": [ + { + "type": "array", + "name": "actionGroupIds", + "format": { + "maxLength": 5, + "minLength": 1 + }, + "item": { + "type": "ResourceId" + } + }, + { + "type": "string", + "name": "description", + "format": { + "maxLength": 1000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "severity", + "required": true, + "enum": { + "items": [ + { + "value": "Sev0" + }, + { + "value": "Sev1" + }, + { + "value": "Sev2" + }, + { + "value": "Sev3" + }, + { + "value": "Sev4" + } + ] + } + } + ], + "cls": "AlertConfiguration_read" + } + ] + }, + { + "type": "object", + "name": "canvasPosition", + "props": [ + { + "type": "float32", + "name": "x", + "required": true + }, + { + "type": "float32", + "name": "y", + "required": true + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "discoveredBy", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "float32", + "name": "healthObjective", + "format": { + "maximum": 100.0, + "minimum": 0.0 + } + }, + { + "readOnly": true, + "type": "string", + "name": "healthState", + "enum": { + "items": [ + { + "value": "Degraded" + }, + { + "value": "Deleted" + }, + { + "value": "Healthy" + }, + { + "value": "Unhealthy" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "type": "object", + "name": "icon", + "props": [ + { + "type": "string", + "name": "customData", + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "iconName", + "required": true, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "default": { + "value": "Standard" + }, + "type": "string", + "name": "impact", + "enum": { + "items": [ + { + "value": "Limited" + }, + { + "value": "Standard" + }, + { + "value": "Suppressed" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + }, + { + "type": "object", + "name": "signalGroups", + "props": [ + { + "type": "object", + "name": "azureLogAnalytics", + "props": [ + { + "type": "string", + "name": "authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "name": "logAnalyticsWorkspaceResourceId", + "required": true + }, + { + "type": "array", + "name": "signals", + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "@EvaluationRule_read", + "name": "evaluationRules" + }, + { + "type": "string", + "name": "name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "queryText", + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "LogAnalyticsQuery" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "readOnly": true, + "type": "@SignalStatus_read", + "name": "status" + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "valueColumnName", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + }, + { + "type": "object", + "name": "azureMonitorWorkspace", + "props": [ + { + "type": "string", + "name": "authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "name": "azureMonitorWorkspaceResourceId", + "required": true + }, + { + "type": "array", + "name": "signals", + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "@EvaluationRule_read", + "name": "evaluationRules" + }, + { + "type": "string", + "name": "name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "queryText", + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "PrometheusMetricsQuery" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "readOnly": true, + "type": "@SignalStatus_read", + "name": "status" + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + }, + { + "type": "object", + "name": "azureResource", + "props": [ + { + "type": "string", + "name": "authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "name": "azureResourceId", + "required": true + }, + { + "type": "string", + "name": "azureResourceKind", + "format": { + "maxLength": 256, + "minLength": 0 + } + }, + { + "type": "array", + "name": "signals", + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "aggregationType", + "enum": { + "items": [ + { + "value": "Average" + }, + { + "value": "Count" + }, + { + "value": "Maximum" + }, + { + "value": "Minimum" + }, + { + "value": "None" + }, + { + "value": "Total" + } + ] + } + }, + { + "type": "string", + "name": "dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "dimension", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "dimensionFilter", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "name": "evaluationRules", + "props": [ + { + "type": "object", + "name": "degradedRule", + "props": [ + { + "type": "string", + "name": "operator", + "required": true, + "enum": { + "items": [ + { + "value": "Equal" + }, + { + "value": "GreaterThan" + }, + { + "value": "GreaterThanOrEqual" + }, + { + "value": "LessThan" + }, + { + "value": "LessThanOrEqual" + }, + { + "value": "NotEqual" + } + ] + } + }, + { + "type": "float64", + "name": "threshold", + "required": true + } + ], + "cls": "ThresholdRuleV2_read" + }, + { + "type": "@ThresholdRuleV2_read", + "name": "unhealthyRule", + "required": true + } + ], + "cls": "EvaluationRule_read" + }, + { + "type": "string", + "name": "metricName", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricNamespace", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "AzureResourceMetric" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "readOnly": true, + "type": "object", + "name": "status", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "error" + }, + { + "readOnly": true, + "type": "string", + "name": "healthState", + "enum": { + "items": [ + { + "value": "Degraded" + }, + { + "value": "Deleted" + }, + { + "value": "Healthy" + }, + { + "value": "Unhealthy" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "reportedAt", + "format": { + "protocol": "iso" + } + }, + { + "readOnly": true, + "type": "float64", + "name": "value" + } + ], + "cls": "SignalStatus_read" + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + }, + { + "type": "object", + "name": "dependencies", + "props": [ + { + "default": { + "value": "WorstOf" + }, + "type": "string", + "name": "aggregationType", + "required": true, + "enum": { + "items": [ + { + "value": "MaxNotHealthy" + }, + { + "value": "MinHealthy" + }, + { + "value": "WorstOf" + } + ] + } + }, + { + "type": "float64", + "name": "degradedThreshold", + "format": { + "minimum": 0.0 + } + }, + { + "default": { + "value": true + }, + "type": "boolean", + "name": "ignoreUnknown" + }, + { + "type": "float64", + "name": "unhealthyThreshold", + "format": { + "minimum": 0.0 + } + }, + { + "type": "string", + "name": "unit", + "enum": { + "items": [ + { + "value": "Absolute" + }, + { + "value": "Percentage" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "external", + "props": [ + { + "readOnly": true, + "type": "array", + "name": "signals", + "item": { + "type": "object", + "props": [ + { + "type": "@EvaluationRule_read", + "name": "evaluationRules" + }, + { + "type": "string", + "name": "name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "External" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "readOnly": true, + "type": "@SignalStatus_read", + "name": "status" + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "array", + "ref": "$Instance.value", + "clientFlatten": true, + "nextLink": "$Instance.nextLink" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.xml index 266f3b852..a6e6b97a8 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.xml @@ -1,7 +1,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.json index f015f0e6b..1ec081bf6 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.json @@ -1 +1,7824 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel entity", "commands": [{"name": "show", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.entityName", "options": ["n", "name", "entity-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the entity. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Entities_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "entityName", "arg": "$Path.entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/entities/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "alerts", "props": [{"type": "@AlertConfiguration_read", "name": "degraded"}, {"type": "object", "name": "unhealthy", "props": [{"type": "array", "name": "actionGroupIds", "format": {"maxLength": 5, "minLength": 1}, "item": {"type": "ResourceId"}}, {"type": "string", "name": "description", "format": {"maxLength": 1000, "minLength": 1}}, {"type": "string", "name": "severity", "required": true, "enum": {"items": [{"value": "Sev0"}, {"value": "Sev1"}, {"value": "Sev2"}, {"value": "Sev3"}, {"value": "Sev4"}]}}], "cls": "AlertConfiguration_read"}]}, {"type": "object", "name": "canvasPosition", "props": [{"type": "float32", "name": "x", "required": true}, {"type": "float32", "name": "y", "required": true}]}, {"readOnly": true, "type": "string", "name": "discoveredBy", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "float32", "name": "healthObjective", "format": {"maximum": 100.0, "minimum": 0.0}}, {"readOnly": true, "type": "string", "name": "healthState", "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"type": "object", "name": "icon", "props": [{"type": "string", "name": "customData", "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "iconName", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"default": {"value": "Standard"}, "type": "string", "name": "impact", "enum": {"items": [{"value": "Limited"}, {"value": "Standard"}, {"value": "Suppressed"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "signalGroups", "props": [{"type": "object", "name": "azureLogAnalytics", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "logAnalyticsWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "LogAnalyticsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureMonitorWorkspace", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureMonitorWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "PrometheusMetricsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureResource", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureResourceId", "required": true}, {"type": "string", "name": "azureResourceKind", "format": {"maxLength": 256, "minLength": 0}}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "aggregationType", "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "props": [{"type": "object", "name": "degradedRule", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "required": true}], "cls": "ThresholdRuleV2_read"}, {"type": "@ThresholdRuleV2_read", "name": "unhealthyRule", "required": true}], "cls": "EvaluationRule_read"}, {"type": "string", "name": "metricName", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "AzureResourceMetric"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "object", "name": "status", "props": [{"readOnly": true, "type": "string", "name": "error"}, {"readOnly": true, "type": "string", "name": "healthState", "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "dateTime", "name": "reportedAt", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "float64", "name": "value"}], "cls": "SignalStatus_read"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "dependencies", "props": [{"default": {"value": "WorstOf"}, "type": "string", "name": "aggregationType", "required": true, "enum": {"items": [{"value": "MaxNotHealthy"}, {"value": "MinHealthy"}, {"value": "WorstOf"}]}}, {"type": "float64", "name": "degradedThreshold", "format": {"minimum": 0.0}}, {"default": {"value": true}, "type": "boolean", "name": "ignoreUnknown"}, {"type": "float64", "name": "unhealthyThreshold", "format": {"minimum": 0.0}}, {"type": "string", "name": "unit", "enum": {"items": [{"value": "Absolute"}, {"value": "Percentage"}]}}]}, {"readOnly": true, "type": "object", "name": "external", "props": [{"readOnly": true, "type": "array", "name": "signals", "item": {"type": "object", "props": [{"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "External"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}]}, "identifiers": ["name"]}]}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.entityName", "options": ["n", "name", "entity-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the entity. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Entities_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "entityName", "arg": "$Path.entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.entityName", "options": ["n", "name", "entity-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the entity. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.alerts", "options": ["alerts"], "group": "Properties", "help": {"short": "Alert configuration for this entity"}, "args": [{"type": "@AlertConfiguration_create", "var": "$resource.properties.alerts.degraded", "options": ["degraded"], "help": {"short": "Alert to be triggered on state change to degraded"}}, {"type": "object", "var": "$resource.properties.alerts.unhealthy", "options": ["unhealthy"], "help": {"short": "Alert to be triggered on state change to unhealthy"}, "args": [{"type": "array", "var": "@AlertConfiguration_create.actionGroupIds", "options": ["action-group-ids"], "help": {"short": "Optional list of action group resource IDs to be notified when the alert is triggered."}, "format": {"maxLength": 5, "minLength": 1}, "item": {"type": "ResourceId"}}, {"type": "string", "var": "@AlertConfiguration_create.description", "options": ["description"], "help": {"short": "The alert rule description."}, "format": {"maxLength": 1000, "minLength": 1}}, {"type": "string", "var": "@AlertConfiguration_create.severity", "options": ["severity"], "required": true, "help": {"short": "The severity of triggered alert."}, "enum": {"items": [{"name": "Sev0", "value": "Sev0"}, {"name": "Sev1", "value": "Sev1"}, {"name": "Sev2", "value": "Sev2"}, {"name": "Sev3", "value": "Sev3"}, {"name": "Sev4", "value": "Sev4"}]}}], "cls": "AlertConfiguration_create"}]}, {"type": "object", "var": "$resource.properties.canvasPosition", "options": ["canvas-position"], "group": "Properties", "help": {"short": "Positioning of the entity on the model canvas"}, "args": [{"type": "float32", "var": "$resource.properties.canvasPosition.x", "options": ["x"], "required": true, "help": {"short": "X Coordinate"}}, {"type": "float32", "var": "$resource.properties.canvasPosition.y", "options": ["y"], "required": true, "help": {"short": "Y Coordinate"}}]}, {"type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"type": "float32", "var": "$resource.properties.healthObjective", "options": ["health-objective"], "group": "Properties", "help": {"short": "Health objective as a percentage of time the entity should be healthy."}, "format": {"maximum": 100.0, "minimum": 0.0}}, {"type": "object", "var": "$resource.properties.icon", "options": ["icon"], "group": "Properties", "help": {"short": "Visual icon definition. If not set, a default icon is used."}, "args": [{"type": "string", "var": "$resource.properties.icon.customData", "options": ["custom-data"], "help": {"short": "Custom data. Base64-encoded SVG data. If set, this overrides the built-in icon."}, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "var": "$resource.properties.icon.iconName", "options": ["icon-name"], "required": true, "help": {"short": "Name of the built-in icon, or 'Custom' to use customData"}, "format": {"maxLength": 100, "minLength": 1}}]}, {"type": "string", "var": "$resource.properties.impact", "options": ["impact"], "group": "Properties", "help": {"short": "Impact of the entity in health state propagation"}, "default": {"value": "Standard"}, "enum": {"items": [{"name": "Limited", "value": "Limited"}, {"name": "Standard", "value": "Standard"}, {"name": "Suppressed", "value": "Suppressed"}]}}, {"type": "object", "var": "$resource.properties.signalGroups", "options": ["signal-groups"], "group": "Properties", "help": {"short": "Signal groups which are assigned to this entity"}, "args": [{"type": "object", "var": "$resource.properties.signalGroups.azureLogAnalytics", "options": ["azure-log-analytics"], "help": {"short": "Log Analytics Signal Group"}, "args": [{"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.authenticationSetting", "options": ["authentication-setting"], "required": true, "help": {"short": "Reference to the name of the authentication setting which is used for querying the data source."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "var": "$resource.properties.signalGroups.azureLogAnalytics.logAnalyticsWorkspaceResourceId", "options": ["log-analytics-workspace-resource-id"], "required": true, "help": {"short": "Log Analytics workspace resource ID."}}, {"type": "array", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals", "options": ["signals"], "help": {"short": "Signals assigned to this group."}, "format": {"maxLength": 50}, "item": {"type": "object", "args": [{"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].dataUnit", "options": ["data-unit"], "help": {"short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))"}, "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].displayName", "options": ["display-name"], "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_create", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].evaluationRules", "options": ["evaluation-rules"], "help": {"short": "Evaluation rules for the signal definition"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].name", "options": ["name"], "required": true, "help": {"short": "Unique name of the signal within the entity."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].queryText", "options": ["query-text"], "help": {"short": "Query text in KQL syntax"}, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].refreshInterval", "options": ["refresh-interval"], "help": {"short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)."}, "default": {"value": "PT1M"}, "enum": {"items": [{"name": "PT10M", "value": "PT10M"}, {"name": "PT1H", "value": "PT1H"}, {"name": "PT1M", "value": "PT1M"}, {"name": "PT2H", "value": "PT2H"}, {"name": "PT30M", "value": "PT30M"}, {"name": "PT5M", "value": "PT5M"}]}}, {"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].signalDefinitionName", "options": ["signal-definition-name"], "help": {"short": "Optional reference to a signal definition that provides default values."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M. If not specified, the KQL query must define a time range."}, "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].valueColumnName", "options": ["value-column-name"], "help": {"short": "Name of the column in the result set to evaluate against the thresholds. Defaults to the first column in the result set if not specified. The column must be numeric."}, "format": {"maxLength": 100, "minLength": 1}}]}}]}, {"type": "object", "var": "$resource.properties.signalGroups.azureMonitorWorkspace", "options": ["azure-monitor-workspace"], "help": {"short": "Azure Monitor Workspace Signal Group"}, "args": [{"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.authenticationSetting", "options": ["authentication-setting"], "required": true, "help": {"short": "Reference to the name of the authentication setting which is used for querying the data source."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.azureMonitorWorkspaceResourceId", "options": ["azure-monitor-workspace-resource-id"], "required": true, "help": {"short": "Azure Monitor workspace resource ID."}}, {"type": "array", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals", "options": ["signals"], "help": {"short": "Signals assigned to this signal group."}, "format": {"maxLength": 50}, "item": {"type": "object", "args": [{"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].dataUnit", "options": ["data-unit"], "help": {"short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))"}, "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].displayName", "options": ["display-name"], "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_create", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].evaluationRules", "options": ["evaluation-rules"], "help": {"short": "Evaluation rules for the signal definition"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].name", "options": ["name"], "required": true, "help": {"short": "Unique name of the signal within the entity."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].queryText", "options": ["query-text"], "help": {"short": "Query text in PromQL syntax"}, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].refreshInterval", "options": ["refresh-interval"], "help": {"short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)."}, "default": {"value": "PT1M"}, "enum": {"items": [{"name": "PT10M", "value": "PT10M"}, {"name": "PT1H", "value": "PT1H"}, {"name": "PT1M", "value": "PT1M"}, {"name": "PT2H", "value": "PT2H"}, {"name": "PT30M", "value": "PT30M"}, {"name": "PT5M", "value": "PT5M"}]}}, {"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].signalDefinitionName", "options": ["signal-definition-name"], "help": {"short": "Optional reference to a signal definition that provides default values."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M."}, "format": {"maxLength": 100, "minLength": 1}}]}}]}, {"type": "object", "var": "$resource.properties.signalGroups.azureResource", "options": ["azure-resource"], "help": {"short": "Azure Resource Signal Group"}, "args": [{"type": "string", "var": "$resource.properties.signalGroups.azureResource.authenticationSetting", "options": ["authentication-setting"], "required": true, "help": {"short": "Reference to the name of the authentication setting which is used for querying the data source."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "var": "$resource.properties.signalGroups.azureResource.azureResourceId", "options": ["azure-resource-id"], "required": true, "help": {"short": "Azure resource ID"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.azureResourceKind", "options": ["azure-resource-kind"], "help": {"short": "Azure resource kind (e.g., 'functionapp'). Populated by the UI for icon rendering. Can be null if not populated."}, "format": {"maxLength": 256, "minLength": 0}}, {"type": "array", "var": "$resource.properties.signalGroups.azureResource.signals", "options": ["signals"], "help": {"short": "Signals assigned to this group."}, "format": {"maxLength": 50}, "item": {"type": "object", "args": [{"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].aggregationType", "options": ["aggregation-type"], "help": {"short": "Type of aggregation to apply to the metric"}, "enum": {"items": [{"name": "Average", "value": "Average"}, {"name": "Count", "value": "Count"}, {"name": "Maximum", "value": "Maximum"}, {"name": "Minimum", "value": "Minimum"}, {"name": "None", "value": "None"}, {"name": "Total", "value": "Total"}]}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].dataUnit", "options": ["data-unit"], "help": {"short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))"}, "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].dimension", "options": ["dimension"], "help": {"short": "Optional: Dimension to split by"}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].dimensionFilter", "options": ["dimension-filter"], "help": {"short": "Optional: Dimension filter to apply to the dimension. Must only be set if also Dimension is set."}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].displayName", "options": ["display-name"], "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "var": "$resource.properties.signalGroups.azureResource.signals[].evaluationRules", "options": ["evaluation-rules"], "help": {"short": "Evaluation rules for the signal definition"}, "args": [{"type": "object", "var": "@EvaluationRule_create.degradedRule", "options": ["degraded-rule"], "help": {"short": "Degraded rule with static threshold."}, "args": [{"type": "string", "var": "@ThresholdRuleV2_create.operator", "options": ["operator"], "required": true, "help": {"short": "Operator how to compare the signal value with the threshold"}, "enum": {"items": [{"name": "Equal", "value": "Equal"}, {"name": "GreaterThan", "value": "GreaterThan"}, {"name": "GreaterThanOrEqual", "value": "GreaterThanOrEqual"}, {"name": "LessThan", "value": "LessThan"}, {"name": "LessThanOrEqual", "value": "LessThanOrEqual"}, {"name": "NotEqual", "value": "NotEqual"}]}}, {"type": "float64", "var": "@ThresholdRuleV2_create.threshold", "options": ["threshold"], "required": true, "help": {"short": "Threshold value"}}], "cls": "ThresholdRuleV2_create"}, {"type": "@ThresholdRuleV2_create", "var": "@EvaluationRule_create.unhealthyRule", "options": ["unhealthy-rule"], "required": true, "help": {"short": "Unhealthy rule with static threshold."}}], "cls": "EvaluationRule_create"}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].metricName", "options": ["metric-name"], "help": {"short": "Name of the metric"}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].metricNamespace", "options": ["metric-namespace"], "help": {"short": "Metric namespace"}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].name", "options": ["name"], "required": true, "help": {"short": "Unique name of the signal within the entity."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].refreshInterval", "options": ["refresh-interval"], "help": {"short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)."}, "default": {"value": "PT1M"}, "enum": {"items": [{"name": "PT10M", "value": "PT10M"}, {"name": "PT1H", "value": "PT1H"}, {"name": "PT1M", "value": "PT1M"}, {"name": "PT2H", "value": "PT2H"}, {"name": "PT30M", "value": "PT30M"}, {"name": "PT5M", "value": "PT5M"}]}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].signalDefinitionName", "options": ["signal-definition-name"], "help": {"short": "Optional reference to a signal definition that provides default values."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M."}, "format": {"maxLength": 100, "minLength": 1}}]}}]}, {"type": "object", "var": "$resource.properties.signalGroups.dependencies", "options": ["dependencies"], "help": {"short": "Settings for dependency signals to control how the health state of child entities influences the health state of the parent entity."}, "args": [{"type": "string", "var": "$resource.properties.signalGroups.dependencies.aggregationType", "options": ["aggregation-type"], "required": true, "help": {"short": "Aggregation type for child dependencies."}, "default": {"value": "WorstOf"}, "enum": {"items": [{"name": "MaxNotHealthy", "value": "MaxNotHealthy"}, {"name": "MinHealthy", "value": "MinHealthy"}, {"name": "WorstOf", "value": "WorstOf"}]}}, {"type": "float64", "var": "$resource.properties.signalGroups.dependencies.degradedThreshold", "options": ["degraded-threshold"], "help": {"short": "Degraded threshold for aggregation. For MinHealthy: parent is degraded when healthy count/percentage falls to or below this value. For MaxNotHealthy: parent is degraded when not-healthy count/percentage reaches or exceeds this value. Optional — if not set, there is no degraded state (transitions directly from Healthy to Unhealthy)."}, "format": {"minimum": 0.0}}, {"type": "boolean", "var": "$resource.properties.signalGroups.dependencies.ignoreUnknown", "options": ["ignore-unknown"], "help": {"short": "If true, children with Unknown health state are excluded from aggregation calculations. Defaults to true."}, "default": {"value": true}}, {"type": "float64", "var": "$resource.properties.signalGroups.dependencies.unhealthyThreshold", "options": ["unhealthy-threshold"], "help": {"short": "Unhealthy threshold for aggregation. For MinHealthy: parent is unhealthy when healthy count/percentage falls to or below this value. For MaxNotHealthy: parent is unhealthy when not-healthy count/percentage reaches or exceeds this value. Required when aggregationType is MinHealthy or MaxNotHealthy."}, "format": {"minimum": 0.0}}, {"type": "string", "var": "$resource.properties.signalGroups.dependencies.unit", "options": ["unit"], "help": {"short": "Unit type for the aggregation thresholds. Required when aggregationType is MinHealthy or MaxNotHealthy."}, "enum": {"items": [{"name": "Absolute", "value": "Absolute"}, {"name": "Percentage", "value": "Percentage"}]}}]}]}, {"type": "object", "var": "$resource.properties.tags", "options": ["tags"], "group": "Properties", "help": {"short": "Optional set of tags (key-value pairs)"}, "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Entities_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "entityName", "arg": "$Path.entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "alerts", "arg": "$resource.properties.alerts", "props": [{"type": "@AlertConfiguration_create", "name": "degraded", "arg": "$resource.properties.alerts.degraded"}, {"type": "object", "name": "unhealthy", "arg": "$resource.properties.alerts.unhealthy", "props": [{"type": "array", "name": "actionGroupIds", "arg": "@AlertConfiguration_create.actionGroupIds", "format": {"maxLength": 5, "minLength": 1}, "item": {"type": "ResourceId"}}, {"type": "string", "name": "description", "arg": "@AlertConfiguration_create.description", "format": {"maxLength": 1000, "minLength": 1}}, {"type": "string", "name": "severity", "arg": "@AlertConfiguration_create.severity", "required": true, "enum": {"items": [{"value": "Sev0"}, {"value": "Sev1"}, {"value": "Sev2"}, {"value": "Sev3"}, {"value": "Sev4"}]}}], "cls": "AlertConfiguration_create"}]}, {"type": "object", "name": "canvasPosition", "arg": "$resource.properties.canvasPosition", "props": [{"type": "float32", "name": "x", "arg": "$resource.properties.canvasPosition.x", "required": true}, {"type": "float32", "name": "y", "arg": "$resource.properties.canvasPosition.y", "required": true}]}, {"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "float32", "name": "healthObjective", "arg": "$resource.properties.healthObjective", "format": {"maximum": 100.0, "minimum": 0.0}}, {"type": "object", "name": "icon", "arg": "$resource.properties.icon", "props": [{"type": "string", "name": "customData", "arg": "$resource.properties.icon.customData", "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "iconName", "arg": "$resource.properties.icon.iconName", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"default": {"value": "Standard"}, "type": "string", "name": "impact", "arg": "$resource.properties.impact", "enum": {"items": [{"value": "Limited"}, {"value": "Standard"}, {"value": "Suppressed"}]}}, {"type": "object", "name": "signalGroups", "arg": "$resource.properties.signalGroups", "props": [{"type": "object", "name": "azureLogAnalytics", "arg": "$resource.properties.signalGroups.azureLogAnalytics", "props": [{"type": "string", "name": "authenticationSetting", "arg": "$resource.properties.signalGroups.azureLogAnalytics.authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "logAnalyticsWorkspaceResourceId", "arg": "$resource.properties.signalGroups.azureLogAnalytics.logAnalyticsWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_create", "name": "evaluationRules", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].evaluationRules"}, {"type": "string", "name": "name", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "LogAnalyticsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureMonitorWorkspace", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace", "props": [{"type": "string", "name": "authenticationSetting", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureMonitorWorkspaceResourceId", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.azureMonitorWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_create", "name": "evaluationRules", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].evaluationRules"}, {"type": "string", "name": "name", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "PrometheusMetricsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureResource", "arg": "$resource.properties.signalGroups.azureResource", "props": [{"type": "string", "name": "authenticationSetting", "arg": "$resource.properties.signalGroups.azureResource.authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureResourceId", "arg": "$resource.properties.signalGroups.azureResource.azureResourceId", "required": true}, {"type": "string", "name": "azureResourceKind", "arg": "$resource.properties.signalGroups.azureResource.azureResourceKind", "format": {"maxLength": 256, "minLength": 0}}, {"type": "array", "name": "signals", "arg": "$resource.properties.signalGroups.azureResource.signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "aggregationType", "arg": "$resource.properties.signalGroups.azureResource.signals[].aggregationType", "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dataUnit", "arg": "$resource.properties.signalGroups.azureResource.signals[].dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "dimension", "arg": "$resource.properties.signalGroups.azureResource.signals[].dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "arg": "$resource.properties.signalGroups.azureResource.signals[].dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.signalGroups.azureResource.signals[].displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "arg": "$resource.properties.signalGroups.azureResource.signals[].evaluationRules", "props": [{"type": "object", "name": "degradedRule", "arg": "@EvaluationRule_create.degradedRule", "props": [{"type": "string", "name": "operator", "arg": "@ThresholdRuleV2_create.operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "arg": "@ThresholdRuleV2_create.threshold", "required": true}], "cls": "ThresholdRuleV2_create"}, {"type": "@ThresholdRuleV2_create", "name": "unhealthyRule", "arg": "@EvaluationRule_create.unhealthyRule", "required": true}], "cls": "EvaluationRule_create"}, {"type": "string", "name": "metricName", "arg": "$resource.properties.signalGroups.azureResource.signals[].metricName", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "arg": "$resource.properties.signalGroups.azureResource.signals[].metricNamespace", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "name", "arg": "$resource.properties.signalGroups.azureResource.signals[].name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "arg": "$resource.properties.signalGroups.azureResource.signals[].refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "arg": "$resource.properties.signalGroups.azureResource.signals[].signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "AzureResourceMetric"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.signalGroups.azureResource.signals[].timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "dependencies", "arg": "$resource.properties.signalGroups.dependencies", "props": [{"default": {"value": "WorstOf"}, "type": "string", "name": "aggregationType", "arg": "$resource.properties.signalGroups.dependencies.aggregationType", "required": true, "enum": {"items": [{"value": "MaxNotHealthy"}, {"value": "MinHealthy"}, {"value": "WorstOf"}]}}, {"type": "float64", "name": "degradedThreshold", "arg": "$resource.properties.signalGroups.dependencies.degradedThreshold", "format": {"minimum": 0.0}}, {"default": {"value": true}, "type": "boolean", "name": "ignoreUnknown", "arg": "$resource.properties.signalGroups.dependencies.ignoreUnknown"}, {"type": "float64", "name": "unhealthyThreshold", "arg": "$resource.properties.signalGroups.dependencies.unhealthyThreshold", "format": {"minimum": 0.0}}, {"type": "string", "name": "unit", "arg": "$resource.properties.signalGroups.dependencies.unit", "enum": {"items": [{"value": "Absolute"}, {"value": "Percentage"}]}}]}]}, {"type": "object", "name": "tags", "arg": "$resource.properties.tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/entities/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "alerts", "props": [{"type": "@AlertConfiguration_read", "name": "degraded"}, {"type": "object", "name": "unhealthy", "props": [{"type": "array", "name": "actionGroupIds", "format": {"maxLength": 5, "minLength": 1}, "item": {"type": "ResourceId"}}, {"type": "string", "name": "description", "format": {"maxLength": 1000, "minLength": 1}}, {"type": "string", "name": "severity", "required": true, "enum": {"items": [{"value": "Sev0"}, {"value": "Sev1"}, {"value": "Sev2"}, {"value": "Sev3"}, {"value": "Sev4"}]}}], "cls": "AlertConfiguration_read"}]}, {"type": "object", "name": "canvasPosition", "props": [{"type": "float32", "name": "x", "required": true}, {"type": "float32", "name": "y", "required": true}]}, {"readOnly": true, "type": "string", "name": "discoveredBy", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "float32", "name": "healthObjective", "format": {"maximum": 100.0, "minimum": 0.0}}, {"readOnly": true, "type": "string", "name": "healthState", "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"type": "object", "name": "icon", "props": [{"type": "string", "name": "customData", "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "iconName", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"default": {"value": "Standard"}, "type": "string", "name": "impact", "enum": {"items": [{"value": "Limited"}, {"value": "Standard"}, {"value": "Suppressed"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "signalGroups", "props": [{"type": "object", "name": "azureLogAnalytics", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "logAnalyticsWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "LogAnalyticsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureMonitorWorkspace", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureMonitorWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "PrometheusMetricsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureResource", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureResourceId", "required": true}, {"type": "string", "name": "azureResourceKind", "format": {"maxLength": 256, "minLength": 0}}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "aggregationType", "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "props": [{"type": "object", "name": "degradedRule", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "required": true}], "cls": "ThresholdRuleV2_read"}, {"type": "@ThresholdRuleV2_read", "name": "unhealthyRule", "required": true}], "cls": "EvaluationRule_read"}, {"type": "string", "name": "metricName", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "AzureResourceMetric"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "object", "name": "status", "props": [{"readOnly": true, "type": "string", "name": "error"}, {"readOnly": true, "type": "string", "name": "healthState", "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "dateTime", "name": "reportedAt", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "float64", "name": "value"}], "cls": "SignalStatus_read"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "dependencies", "props": [{"default": {"value": "WorstOf"}, "type": "string", "name": "aggregationType", "required": true, "enum": {"items": [{"value": "MaxNotHealthy"}, {"value": "MinHealthy"}, {"value": "WorstOf"}]}}, {"type": "float64", "name": "degradedThreshold", "format": {"minimum": 0.0}}, {"default": {"value": true}, "type": "boolean", "name": "ignoreUnknown"}, {"type": "float64", "name": "unhealthyThreshold", "format": {"minimum": 0.0}}, {"type": "string", "name": "unit", "enum": {"items": [{"value": "Absolute"}, {"value": "Percentage"}]}}]}, {"readOnly": true, "type": "object", "name": "external", "props": [{"readOnly": true, "type": "array", "name": "signals", "item": {"type": "object", "props": [{"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "External"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}]}, "identifiers": ["name"]}]}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.entityName", "options": ["n", "name", "entity-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the entity. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"nullable": true, "type": "object", "var": "$resource.properties.alerts", "options": ["alerts"], "group": "Properties", "help": {"short": "Alert configuration for this entity"}, "args": [{"nullable": true, "type": "@AlertConfiguration_update", "var": "$resource.properties.alerts.degraded", "options": ["degraded"], "help": {"short": "Alert to be triggered on state change to degraded"}}, {"nullable": true, "type": "object", "var": "$resource.properties.alerts.unhealthy", "options": ["unhealthy"], "help": {"short": "Alert to be triggered on state change to unhealthy"}, "args": [{"nullable": true, "type": "array", "var": "@AlertConfiguration_update.actionGroupIds", "options": ["action-group-ids"], "help": {"short": "Optional list of action group resource IDs to be notified when the alert is triggered."}, "format": {"maxLength": 5, "minLength": 1}, "item": {"nullable": true, "type": "ResourceId"}}, {"nullable": true, "type": "string", "var": "@AlertConfiguration_update.description", "options": ["description"], "help": {"short": "The alert rule description."}, "format": {"maxLength": 1000, "minLength": 1}}, {"type": "string", "var": "@AlertConfiguration_update.severity", "options": ["severity"], "help": {"short": "The severity of triggered alert."}, "enum": {"items": [{"name": "Sev0", "value": "Sev0"}, {"name": "Sev1", "value": "Sev1"}, {"name": "Sev2", "value": "Sev2"}, {"name": "Sev3", "value": "Sev3"}, {"name": "Sev4", "value": "Sev4"}]}}], "cls": "AlertConfiguration_update"}]}, {"nullable": true, "type": "object", "var": "$resource.properties.canvasPosition", "options": ["canvas-position"], "group": "Properties", "help": {"short": "Positioning of the entity on the model canvas"}, "args": [{"type": "float32", "var": "$resource.properties.canvasPosition.x", "options": ["x"], "help": {"short": "X Coordinate"}}, {"type": "float32", "var": "$resource.properties.canvasPosition.y", "options": ["y"], "help": {"short": "Y Coordinate"}}]}, {"nullable": true, "type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"nullable": true, "type": "float32", "var": "$resource.properties.healthObjective", "options": ["health-objective"], "group": "Properties", "help": {"short": "Health objective as a percentage of time the entity should be healthy."}, "format": {"maximum": 100.0, "minimum": 0.0}}, {"nullable": true, "type": "object", "var": "$resource.properties.icon", "options": ["icon"], "group": "Properties", "help": {"short": "Visual icon definition. If not set, a default icon is used."}, "args": [{"nullable": true, "type": "string", "var": "$resource.properties.icon.customData", "options": ["custom-data"], "help": {"short": "Custom data. Base64-encoded SVG data. If set, this overrides the built-in icon."}, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "var": "$resource.properties.icon.iconName", "options": ["icon-name"], "help": {"short": "Name of the built-in icon, or 'Custom' to use customData"}, "format": {"maxLength": 100, "minLength": 1}}]}, {"nullable": true, "type": "string", "var": "$resource.properties.impact", "options": ["impact"], "group": "Properties", "help": {"short": "Impact of the entity in health state propagation"}, "enum": {"items": [{"name": "Limited", "value": "Limited"}, {"name": "Standard", "value": "Standard"}, {"name": "Suppressed", "value": "Suppressed"}]}}, {"nullable": true, "type": "object", "var": "$resource.properties.signalGroups", "options": ["signal-groups"], "group": "Properties", "help": {"short": "Signal groups which are assigned to this entity"}, "args": [{"nullable": true, "type": "object", "var": "$resource.properties.signalGroups.azureLogAnalytics", "options": ["azure-log-analytics"], "help": {"short": "Log Analytics Signal Group"}, "args": [{"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.authenticationSetting", "options": ["authentication-setting"], "help": {"short": "Reference to the name of the authentication setting which is used for querying the data source."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "var": "$resource.properties.signalGroups.azureLogAnalytics.logAnalyticsWorkspaceResourceId", "options": ["log-analytics-workspace-resource-id"], "help": {"short": "Log Analytics workspace resource ID."}}, {"nullable": true, "type": "array", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals", "options": ["signals"], "help": {"short": "Signals assigned to this group."}, "format": {"maxLength": 50}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].dataUnit", "options": ["data-unit"], "help": {"short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))"}, "format": {"maxLength": 100, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].displayName", "options": ["display-name"], "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"nullable": true, "type": "@EvaluationRule_update", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].evaluationRules", "options": ["evaluation-rules"], "help": {"short": "Evaluation rules for the signal definition"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].name", "options": ["name"], "help": {"short": "Unique name of the signal within the entity."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].queryText", "options": ["query-text"], "help": {"short": "Query text in KQL syntax"}, "format": {"maxLength": 5000, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].refreshInterval", "options": ["refresh-interval"], "help": {"short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)."}, "enum": {"items": [{"name": "PT10M", "value": "PT10M"}, {"name": "PT1H", "value": "PT1H"}, {"name": "PT1M", "value": "PT1M"}, {"name": "PT2H", "value": "PT2H"}, {"name": "PT30M", "value": "PT30M"}, {"name": "PT5M", "value": "PT5M"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].signalDefinitionName", "options": ["signal-definition-name"], "help": {"short": "Optional reference to a signal definition that provides default values."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M. If not specified, the KQL query must define a time range."}, "format": {"maxLength": 100, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].valueColumnName", "options": ["value-column-name"], "help": {"short": "Name of the column in the result set to evaluate against the thresholds. Defaults to the first column in the result set if not specified. The column must be numeric."}, "format": {"maxLength": 100, "minLength": 1}}]}}]}, {"nullable": true, "type": "object", "var": "$resource.properties.signalGroups.azureMonitorWorkspace", "options": ["azure-monitor-workspace"], "help": {"short": "Azure Monitor Workspace Signal Group"}, "args": [{"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.authenticationSetting", "options": ["authentication-setting"], "help": {"short": "Reference to the name of the authentication setting which is used for querying the data source."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.azureMonitorWorkspaceResourceId", "options": ["azure-monitor-workspace-resource-id"], "help": {"short": "Azure Monitor workspace resource ID."}}, {"nullable": true, "type": "array", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals", "options": ["signals"], "help": {"short": "Signals assigned to this signal group."}, "format": {"maxLength": 50}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].dataUnit", "options": ["data-unit"], "help": {"short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))"}, "format": {"maxLength": 100, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].displayName", "options": ["display-name"], "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"nullable": true, "type": "@EvaluationRule_update", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].evaluationRules", "options": ["evaluation-rules"], "help": {"short": "Evaluation rules for the signal definition"}}, {"type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].name", "options": ["name"], "help": {"short": "Unique name of the signal within the entity."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].queryText", "options": ["query-text"], "help": {"short": "Query text in PromQL syntax"}, "format": {"maxLength": 5000, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].refreshInterval", "options": ["refresh-interval"], "help": {"short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)."}, "enum": {"items": [{"name": "PT10M", "value": "PT10M"}, {"name": "PT1H", "value": "PT1H"}, {"name": "PT1M", "value": "PT1M"}, {"name": "PT2H", "value": "PT2H"}, {"name": "PT30M", "value": "PT30M"}, {"name": "PT5M", "value": "PT5M"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].signalDefinitionName", "options": ["signal-definition-name"], "help": {"short": "Optional reference to a signal definition that provides default values."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M."}, "format": {"maxLength": 100, "minLength": 1}}]}}]}, {"nullable": true, "type": "object", "var": "$resource.properties.signalGroups.azureResource", "options": ["azure-resource"], "help": {"short": "Azure Resource Signal Group"}, "args": [{"type": "string", "var": "$resource.properties.signalGroups.azureResource.authenticationSetting", "options": ["authentication-setting"], "help": {"short": "Reference to the name of the authentication setting which is used for querying the data source."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "var": "$resource.properties.signalGroups.azureResource.azureResourceId", "options": ["azure-resource-id"], "help": {"short": "Azure resource ID"}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.azureResourceKind", "options": ["azure-resource-kind"], "help": {"short": "Azure resource kind (e.g., 'functionapp'). Populated by the UI for icon rendering. Can be null if not populated."}, "format": {"maxLength": 256, "minLength": 0}}, {"nullable": true, "type": "array", "var": "$resource.properties.signalGroups.azureResource.signals", "options": ["signals"], "help": {"short": "Signals assigned to this group."}, "format": {"maxLength": 50}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].aggregationType", "options": ["aggregation-type"], "help": {"short": "Type of aggregation to apply to the metric"}, "enum": {"items": [{"name": "Average", "value": "Average"}, {"name": "Count", "value": "Count"}, {"name": "Maximum", "value": "Maximum"}, {"name": "Minimum", "value": "Minimum"}, {"name": "None", "value": "None"}, {"name": "Total", "value": "Total"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].dataUnit", "options": ["data-unit"], "help": {"short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))"}, "format": {"maxLength": 100, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].dimension", "options": ["dimension"], "help": {"short": "Optional: Dimension to split by"}, "format": {"maxLength": 256, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].dimensionFilter", "options": ["dimension-filter"], "help": {"short": "Optional: Dimension filter to apply to the dimension. Must only be set if also Dimension is set."}, "format": {"maxLength": 256, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].displayName", "options": ["display-name"], "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"nullable": true, "type": "object", "var": "$resource.properties.signalGroups.azureResource.signals[].evaluationRules", "options": ["evaluation-rules"], "help": {"short": "Evaluation rules for the signal definition"}, "args": [{"nullable": true, "type": "object", "var": "@EvaluationRule_update.degradedRule", "options": ["degraded-rule"], "help": {"short": "Degraded rule with static threshold."}, "args": [{"type": "string", "var": "@ThresholdRuleV2_update.operator", "options": ["operator"], "help": {"short": "Operator how to compare the signal value with the threshold"}, "enum": {"items": [{"name": "Equal", "value": "Equal"}, {"name": "GreaterThan", "value": "GreaterThan"}, {"name": "GreaterThanOrEqual", "value": "GreaterThanOrEqual"}, {"name": "LessThan", "value": "LessThan"}, {"name": "LessThanOrEqual", "value": "LessThanOrEqual"}, {"name": "NotEqual", "value": "NotEqual"}]}}, {"type": "float64", "var": "@ThresholdRuleV2_update.threshold", "options": ["threshold"], "help": {"short": "Threshold value"}}], "cls": "ThresholdRuleV2_update"}, {"type": "@ThresholdRuleV2_update", "var": "@EvaluationRule_update.unhealthyRule", "options": ["unhealthy-rule"], "help": {"short": "Unhealthy rule with static threshold."}}], "cls": "EvaluationRule_update"}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].metricName", "options": ["metric-name"], "help": {"short": "Name of the metric"}, "format": {"maxLength": 256, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].metricNamespace", "options": ["metric-namespace"], "help": {"short": "Metric namespace"}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].name", "options": ["name"], "help": {"short": "Unique name of the signal within the entity."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].refreshInterval", "options": ["refresh-interval"], "help": {"short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)."}, "enum": {"items": [{"name": "PT10M", "value": "PT10M"}, {"name": "PT1H", "value": "PT1H"}, {"name": "PT1M", "value": "PT1M"}, {"name": "PT2H", "value": "PT2H"}, {"name": "PT30M", "value": "PT30M"}, {"name": "PT5M", "value": "PT5M"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].signalDefinitionName", "options": ["signal-definition-name"], "help": {"short": "Optional reference to a signal definition that provides default values."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M."}, "format": {"maxLength": 100, "minLength": 1}}]}}]}, {"nullable": true, "type": "object", "var": "$resource.properties.signalGroups.dependencies", "options": ["dependencies"], "help": {"short": "Settings for dependency signals to control how the health state of child entities influences the health state of the parent entity."}, "args": [{"type": "string", "var": "$resource.properties.signalGroups.dependencies.aggregationType", "options": ["aggregation-type"], "help": {"short": "Aggregation type for child dependencies."}, "enum": {"items": [{"name": "MaxNotHealthy", "value": "MaxNotHealthy"}, {"name": "MinHealthy", "value": "MinHealthy"}, {"name": "WorstOf", "value": "WorstOf"}]}}, {"nullable": true, "type": "float64", "var": "$resource.properties.signalGroups.dependencies.degradedThreshold", "options": ["degraded-threshold"], "help": {"short": "Degraded threshold for aggregation. For MinHealthy: parent is degraded when healthy count/percentage falls to or below this value. For MaxNotHealthy: parent is degraded when not-healthy count/percentage reaches or exceeds this value. Optional — if not set, there is no degraded state (transitions directly from Healthy to Unhealthy)."}, "format": {"minimum": 0.0}}, {"nullable": true, "type": "boolean", "var": "$resource.properties.signalGroups.dependencies.ignoreUnknown", "options": ["ignore-unknown"], "help": {"short": "If true, children with Unknown health state are excluded from aggregation calculations. Defaults to true."}}, {"nullable": true, "type": "float64", "var": "$resource.properties.signalGroups.dependencies.unhealthyThreshold", "options": ["unhealthy-threshold"], "help": {"short": "Unhealthy threshold for aggregation. For MinHealthy: parent is unhealthy when healthy count/percentage falls to or below this value. For MaxNotHealthy: parent is unhealthy when not-healthy count/percentage reaches or exceeds this value. Required when aggregationType is MinHealthy or MaxNotHealthy."}, "format": {"minimum": 0.0}}, {"nullable": true, "type": "string", "var": "$resource.properties.signalGroups.dependencies.unit", "options": ["unit"], "help": {"short": "Unit type for the aggregation thresholds. Required when aggregationType is MinHealthy or MaxNotHealthy."}, "enum": {"items": [{"name": "Absolute", "value": "Absolute"}, {"name": "Percentage", "value": "Percentage"}]}}]}]}, {"nullable": true, "type": "object", "var": "$resource.properties.tags", "options": ["tags"], "group": "Properties", "help": {"short": "Optional set of tags (key-value pairs)"}, "additionalProps": {"item": {"nullable": true, "type": "string", "format": {"maxLength": 4096}}}}]}], "operations": [{"operationId": "Entities_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "entityName", "arg": "$Path.entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/entities/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "alerts", "props": [{"type": "@AlertConfiguration_read", "name": "degraded"}, {"type": "object", "name": "unhealthy", "props": [{"type": "array", "name": "actionGroupIds", "format": {"maxLength": 5, "minLength": 1}, "item": {"type": "ResourceId"}}, {"type": "string", "name": "description", "format": {"maxLength": 1000, "minLength": 1}}, {"type": "string", "name": "severity", "required": true, "enum": {"items": [{"value": "Sev0"}, {"value": "Sev1"}, {"value": "Sev2"}, {"value": "Sev3"}, {"value": "Sev4"}]}}], "cls": "AlertConfiguration_read"}]}, {"type": "object", "name": "canvasPosition", "props": [{"type": "float32", "name": "x", "required": true}, {"type": "float32", "name": "y", "required": true}]}, {"readOnly": true, "type": "string", "name": "discoveredBy", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "float32", "name": "healthObjective", "format": {"maximum": 100.0, "minimum": 0.0}}, {"readOnly": true, "type": "string", "name": "healthState", "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"type": "object", "name": "icon", "props": [{"type": "string", "name": "customData", "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "iconName", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"default": {"value": "Standard"}, "type": "string", "name": "impact", "enum": {"items": [{"value": "Limited"}, {"value": "Standard"}, {"value": "Suppressed"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "signalGroups", "props": [{"type": "object", "name": "azureLogAnalytics", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "logAnalyticsWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "LogAnalyticsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureMonitorWorkspace", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureMonitorWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "PrometheusMetricsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureResource", "props": [{"type": "string", "name": "authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureResourceId", "required": true}, {"type": "string", "name": "azureResourceKind", "format": {"maxLength": 256, "minLength": 0}}, {"type": "array", "name": "signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "aggregationType", "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "props": [{"type": "object", "name": "degradedRule", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "required": true}], "cls": "ThresholdRuleV2_read"}, {"type": "@ThresholdRuleV2_read", "name": "unhealthyRule", "required": true}], "cls": "EvaluationRule_read"}, {"type": "string", "name": "metricName", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "AzureResourceMetric"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "object", "name": "status", "props": [{"readOnly": true, "type": "string", "name": "error"}, {"readOnly": true, "type": "string", "name": "healthState", "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"readOnly": true, "type": "dateTime", "name": "reportedAt", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "float64", "name": "value"}], "cls": "SignalStatus_read"}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "dependencies", "props": [{"default": {"value": "WorstOf"}, "type": "string", "name": "aggregationType", "required": true, "enum": {"items": [{"value": "MaxNotHealthy"}, {"value": "MinHealthy"}, {"value": "WorstOf"}]}}, {"type": "float64", "name": "degradedThreshold", "format": {"minimum": 0.0}}, {"default": {"value": true}, "type": "boolean", "name": "ignoreUnknown"}, {"type": "float64", "name": "unhealthyThreshold", "format": {"minimum": 0.0}}, {"type": "string", "name": "unit", "enum": {"items": [{"value": "Absolute"}, {"value": "Percentage"}]}}]}, {"readOnly": true, "type": "object", "name": "external", "props": [{"readOnly": true, "type": "array", "name": "signals", "item": {"type": "object", "props": [{"type": "@EvaluationRule_read", "name": "evaluationRules"}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "External"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"readOnly": true, "type": "@SignalStatus_read", "name": "status"}]}, "identifiers": ["name"]}]}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Entity_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "alerts", "arg": "$resource.properties.alerts", "props": [{"type": "@AlertConfiguration_update", "name": "degraded", "arg": "$resource.properties.alerts.degraded"}, {"type": "object", "name": "unhealthy", "arg": "$resource.properties.alerts.unhealthy", "props": [{"type": "array", "name": "actionGroupIds", "arg": "@AlertConfiguration_update.actionGroupIds", "format": {"maxLength": 5, "minLength": 1}, "item": {"type": "ResourceId"}}, {"type": "string", "name": "description", "arg": "@AlertConfiguration_update.description", "format": {"maxLength": 1000, "minLength": 1}}, {"type": "string", "name": "severity", "arg": "@AlertConfiguration_update.severity", "required": true, "enum": {"items": [{"value": "Sev0"}, {"value": "Sev1"}, {"value": "Sev2"}, {"value": "Sev3"}, {"value": "Sev4"}]}}], "cls": "AlertConfiguration_update"}]}, {"type": "object", "name": "canvasPosition", "arg": "$resource.properties.canvasPosition", "props": [{"type": "float32", "name": "x", "arg": "$resource.properties.canvasPosition.x", "required": true}, {"type": "float32", "name": "y", "arg": "$resource.properties.canvasPosition.y", "required": true}]}, {"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "float32", "name": "healthObjective", "arg": "$resource.properties.healthObjective", "format": {"maximum": 100.0, "minimum": 0.0}}, {"type": "object", "name": "icon", "arg": "$resource.properties.icon", "props": [{"type": "string", "name": "customData", "arg": "$resource.properties.icon.customData", "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "iconName", "arg": "$resource.properties.icon.iconName", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"default": {"value": "Standard"}, "type": "string", "name": "impact", "arg": "$resource.properties.impact", "enum": {"items": [{"value": "Limited"}, {"value": "Standard"}, {"value": "Suppressed"}]}}, {"type": "object", "name": "signalGroups", "arg": "$resource.properties.signalGroups", "props": [{"type": "object", "name": "azureLogAnalytics", "arg": "$resource.properties.signalGroups.azureLogAnalytics", "props": [{"type": "string", "name": "authenticationSetting", "arg": "$resource.properties.signalGroups.azureLogAnalytics.authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "logAnalyticsWorkspaceResourceId", "arg": "$resource.properties.signalGroups.azureLogAnalytics.logAnalyticsWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_update", "name": "evaluationRules", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].evaluationRules"}, {"type": "string", "name": "name", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "LogAnalyticsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureMonitorWorkspace", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace", "props": [{"type": "string", "name": "authenticationSetting", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureMonitorWorkspaceResourceId", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.azureMonitorWorkspaceResourceId", "required": true}, {"type": "array", "name": "signals", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "dataUnit", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "@EvaluationRule_update", "name": "evaluationRules", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].evaluationRules"}, {"type": "string", "name": "name", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "queryText", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].queryText", "format": {"maxLength": 5000, "minLength": 1}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "PrometheusMetricsQuery"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "azureResource", "arg": "$resource.properties.signalGroups.azureResource", "props": [{"type": "string", "name": "authenticationSetting", "arg": "$resource.properties.signalGroups.azureResource.authenticationSetting", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceId", "name": "azureResourceId", "arg": "$resource.properties.signalGroups.azureResource.azureResourceId", "required": true}, {"type": "string", "name": "azureResourceKind", "arg": "$resource.properties.signalGroups.azureResource.azureResourceKind", "format": {"maxLength": 256, "minLength": 0}}, {"type": "array", "name": "signals", "arg": "$resource.properties.signalGroups.azureResource.signals", "format": {"maxLength": 50}, "item": {"type": "object", "props": [{"type": "string", "name": "aggregationType", "arg": "$resource.properties.signalGroups.azureResource.signals[].aggregationType", "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dataUnit", "arg": "$resource.properties.signalGroups.azureResource.signals[].dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "dimension", "arg": "$resource.properties.signalGroups.azureResource.signals[].dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "arg": "$resource.properties.signalGroups.azureResource.signals[].dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.signalGroups.azureResource.signals[].displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "arg": "$resource.properties.signalGroups.azureResource.signals[].evaluationRules", "props": [{"type": "object", "name": "degradedRule", "arg": "@EvaluationRule_update.degradedRule", "props": [{"type": "string", "name": "operator", "arg": "@ThresholdRuleV2_update.operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "arg": "@ThresholdRuleV2_update.threshold", "required": true}], "cls": "ThresholdRuleV2_update"}, {"type": "@ThresholdRuleV2_update", "name": "unhealthyRule", "arg": "@EvaluationRule_update.unhealthyRule", "required": true}], "cls": "EvaluationRule_update"}, {"type": "string", "name": "metricName", "arg": "$resource.properties.signalGroups.azureResource.signals[].metricName", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "arg": "$resource.properties.signalGroups.azureResource.signals[].metricNamespace", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "name", "arg": "$resource.properties.signalGroups.azureResource.signals[].name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "arg": "$resource.properties.signalGroups.azureResource.signals[].refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalDefinitionName", "arg": "$resource.properties.signalGroups.azureResource.signals[].signalDefinitionName", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"const": true, "default": {"value": "AzureResourceMetric"}, "type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.signalGroups.azureResource.signals[].timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "dependencies", "arg": "$resource.properties.signalGroups.dependencies", "props": [{"default": {"value": "WorstOf"}, "type": "string", "name": "aggregationType", "arg": "$resource.properties.signalGroups.dependencies.aggregationType", "required": true, "enum": {"items": [{"value": "MaxNotHealthy"}, {"value": "MinHealthy"}, {"value": "WorstOf"}]}}, {"type": "float64", "name": "degradedThreshold", "arg": "$resource.properties.signalGroups.dependencies.degradedThreshold", "format": {"minimum": 0.0}}, {"default": {"value": true}, "type": "boolean", "name": "ignoreUnknown", "arg": "$resource.properties.signalGroups.dependencies.ignoreUnknown"}, {"type": "float64", "name": "unhealthyThreshold", "arg": "$resource.properties.signalGroups.dependencies.unhealthyThreshold", "format": {"minimum": 0.0}}, {"type": "string", "name": "unit", "arg": "$resource.properties.signalGroups.dependencies.unit", "enum": {"items": [{"value": "Absolute"}, {"value": "Percentage"}]}}]}]}, {"type": "object", "name": "tags", "arg": "$resource.properties.tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Entities_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "entityName", "arg": "$Path.entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Entity_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models entity", + "commands": [ + { + "name": "show", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.entityName", + "options": [ + "n", + "name", + "entity-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the entity. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "operationId": "Entities_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "entityName", + "arg": "$Path.entityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/entities/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "object", + "name": "alerts", + "props": [ + { + "type": "@AlertConfiguration_read", + "name": "degraded" + }, + { + "type": "object", + "name": "unhealthy", + "props": [ + { + "type": "array", + "name": "actionGroupIds", + "format": { + "maxLength": 5, + "minLength": 1 + }, + "item": { + "type": "ResourceId" + } + }, + { + "type": "string", + "name": "description", + "format": { + "maxLength": 1000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "severity", + "required": true, + "enum": { + "items": [ + { + "value": "Sev0" + }, + { + "value": "Sev1" + }, + { + "value": "Sev2" + }, + { + "value": "Sev3" + }, + { + "value": "Sev4" + } + ] + } + } + ], + "cls": "AlertConfiguration_read" + } + ] + }, + { + "type": "object", + "name": "canvasPosition", + "props": [ + { + "type": "float32", + "name": "x", + "required": true + }, + { + "type": "float32", + "name": "y", + "required": true + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "discoveredBy", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "float32", + "name": "healthObjective", + "format": { + "maximum": 100.0, + "minimum": 0.0 + } + }, + { + "readOnly": true, + "type": "string", + "name": "healthState", + "enum": { + "items": [ + { + "value": "Degraded" + }, + { + "value": "Deleted" + }, + { + "value": "Healthy" + }, + { + "value": "Unhealthy" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "type": "object", + "name": "icon", + "props": [ + { + "type": "string", + "name": "customData", + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "iconName", + "required": true, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "default": { + "value": "Standard" + }, + "type": "string", + "name": "impact", + "enum": { + "items": [ + { + "value": "Limited" + }, + { + "value": "Standard" + }, + { + "value": "Suppressed" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + }, + { + "type": "object", + "name": "signalGroups", + "props": [ + { + "type": "object", + "name": "azureLogAnalytics", + "props": [ + { + "type": "string", + "name": "authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "name": "logAnalyticsWorkspaceResourceId", + "required": true + }, + { + "type": "array", + "name": "signals", + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "@EvaluationRule_read", + "name": "evaluationRules" + }, + { + "type": "string", + "name": "name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "queryText", + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "LogAnalyticsQuery" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "readOnly": true, + "type": "@SignalStatus_read", + "name": "status" + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "valueColumnName", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + }, + { + "type": "object", + "name": "azureMonitorWorkspace", + "props": [ + { + "type": "string", + "name": "authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "name": "azureMonitorWorkspaceResourceId", + "required": true + }, + { + "type": "array", + "name": "signals", + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "@EvaluationRule_read", + "name": "evaluationRules" + }, + { + "type": "string", + "name": "name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "queryText", + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "PrometheusMetricsQuery" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "readOnly": true, + "type": "@SignalStatus_read", + "name": "status" + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + }, + { + "type": "object", + "name": "azureResource", + "props": [ + { + "type": "string", + "name": "authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "name": "azureResourceId", + "required": true + }, + { + "type": "string", + "name": "azureResourceKind", + "format": { + "maxLength": 256, + "minLength": 0 + } + }, + { + "type": "array", + "name": "signals", + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "aggregationType", + "enum": { + "items": [ + { + "value": "Average" + }, + { + "value": "Count" + }, + { + "value": "Maximum" + }, + { + "value": "Minimum" + }, + { + "value": "None" + }, + { + "value": "Total" + } + ] + } + }, + { + "type": "string", + "name": "dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "dimension", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "dimensionFilter", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "name": "evaluationRules", + "props": [ + { + "type": "object", + "name": "degradedRule", + "props": [ + { + "type": "string", + "name": "operator", + "required": true, + "enum": { + "items": [ + { + "value": "Equal" + }, + { + "value": "GreaterThan" + }, + { + "value": "GreaterThanOrEqual" + }, + { + "value": "LessThan" + }, + { + "value": "LessThanOrEqual" + }, + { + "value": "NotEqual" + } + ] + } + }, + { + "type": "float64", + "name": "threshold", + "required": true + } + ], + "cls": "ThresholdRuleV2_read" + }, + { + "type": "@ThresholdRuleV2_read", + "name": "unhealthyRule", + "required": true + } + ], + "cls": "EvaluationRule_read" + }, + { + "type": "string", + "name": "metricName", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricNamespace", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "AzureResourceMetric" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "readOnly": true, + "type": "object", + "name": "status", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "error" + }, + { + "readOnly": true, + "type": "string", + "name": "healthState", + "enum": { + "items": [ + { + "value": "Degraded" + }, + { + "value": "Deleted" + }, + { + "value": "Healthy" + }, + { + "value": "Unhealthy" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "reportedAt", + "format": { + "protocol": "iso" + } + }, + { + "readOnly": true, + "type": "float64", + "name": "value" + } + ], + "cls": "SignalStatus_read" + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + }, + { + "type": "object", + "name": "dependencies", + "props": [ + { + "default": { + "value": "WorstOf" + }, + "type": "string", + "name": "aggregationType", + "required": true, + "enum": { + "items": [ + { + "value": "MaxNotHealthy" + }, + { + "value": "MinHealthy" + }, + { + "value": "WorstOf" + } + ] + } + }, + { + "type": "float64", + "name": "degradedThreshold", + "format": { + "minimum": 0.0 + } + }, + { + "default": { + "value": true + }, + "type": "boolean", + "name": "ignoreUnknown" + }, + { + "type": "float64", + "name": "unhealthyThreshold", + "format": { + "minimum": 0.0 + } + }, + { + "type": "string", + "name": "unit", + "enum": { + "items": [ + { + "value": "Absolute" + }, + { + "value": "Percentage" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "external", + "props": [ + { + "readOnly": true, + "type": "array", + "name": "signals", + "item": { + "type": "object", + "props": [ + { + "type": "@EvaluationRule_read", + "name": "evaluationRules" + }, + { + "type": "string", + "name": "name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "External" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "readOnly": true, + "type": "@SignalStatus_read", + "name": "status" + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "delete", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.entityName", + "options": [ + "n", + "name", + "entity-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the entity. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "location" + }, + "operationId": "Entities_Delete", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}", + "request": { + "method": "delete", + "path": { + "params": [ + { + "type": "string", + "name": "entityName", + "arg": "$Path.entityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 202 + ], + "header": { + "items": [ + { + "name": "Location" + }, + { + "name": "Retry-After" + } + ] + } + }, + { + "statusCode": [ + 204 + ] + }, + { + "statusCode": [ + 200, + 201 + ] + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "confirmation": "Are you sure you want to perform this operation?" + }, + { + "name": "create", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.entityName", + "options": [ + "n", + "name", + "entity-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the entity. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Properties", + "args": [ + { + "type": "object", + "var": "$resource.properties.alerts", + "options": [ + "alerts" + ], + "group": "Properties", + "help": { + "short": "Alert configuration for this entity" + }, + "args": [ + { + "type": "@AlertConfiguration_create", + "var": "$resource.properties.alerts.degraded", + "options": [ + "degraded" + ], + "help": { + "short": "Alert to be triggered on state change to degraded" + } + }, + { + "type": "object", + "var": "$resource.properties.alerts.unhealthy", + "options": [ + "unhealthy" + ], + "help": { + "short": "Alert to be triggered on state change to unhealthy" + }, + "args": [ + { + "type": "array", + "var": "@AlertConfiguration_create.actionGroupIds", + "options": [ + "action-group-ids" + ], + "help": { + "short": "Optional list of action group resource IDs to be notified when the alert is triggered." + }, + "format": { + "maxLength": 5, + "minLength": 1 + }, + "item": { + "type": "ResourceId" + } + }, + { + "type": "string", + "var": "@AlertConfiguration_create.description", + "options": [ + "description" + ], + "help": { + "short": "The alert rule description." + }, + "format": { + "maxLength": 1000, + "minLength": 1 + } + }, + { + "type": "string", + "var": "@AlertConfiguration_create.severity", + "options": [ + "severity" + ], + "required": true, + "help": { + "short": "The severity of triggered alert." + }, + "enum": { + "items": [ + { + "name": "Sev0", + "value": "Sev0" + }, + { + "name": "Sev1", + "value": "Sev1" + }, + { + "name": "Sev2", + "value": "Sev2" + }, + { + "name": "Sev3", + "value": "Sev3" + }, + { + "name": "Sev4", + "value": "Sev4" + } + ] + } + } + ], + "cls": "AlertConfiguration_create" + } + ] + }, + { + "type": "object", + "var": "$resource.properties.canvasPosition", + "options": [ + "canvas-position" + ], + "group": "Properties", + "help": { + "short": "Positioning of the entity on the model canvas" + }, + "args": [ + { + "type": "float32", + "var": "$resource.properties.canvasPosition.x", + "options": [ + "x" + ], + "required": true, + "help": { + "short": "X Coordinate" + } + }, + { + "type": "float32", + "var": "$resource.properties.canvasPosition.y", + "options": [ + "y" + ], + "required": true, + "help": { + "short": "Y Coordinate" + } + } + ] + }, + { + "type": "string", + "var": "$resource.properties.displayName", + "options": [ + "display-name" + ], + "group": "Properties", + "help": { + "short": "Display name" + }, + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "float32", + "var": "$resource.properties.healthObjective", + "options": [ + "health-objective" + ], + "group": "Properties", + "help": { + "short": "Health objective as a percentage of time the entity should be healthy." + }, + "format": { + "maximum": 100.0, + "minimum": 0.0 + } + }, + { + "type": "object", + "var": "$resource.properties.icon", + "options": [ + "icon" + ], + "group": "Properties", + "help": { + "short": "Visual icon definition. If not set, a default icon is used." + }, + "args": [ + { + "type": "string", + "var": "$resource.properties.icon.customData", + "options": [ + "custom-data" + ], + "help": { + "short": "Custom data. Base64-encoded SVG data. If set, this overrides the built-in icon." + }, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.icon.iconName", + "options": [ + "icon-name" + ], + "required": true, + "help": { + "short": "Name of the built-in icon, or 'Custom' to use customData" + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "type": "string", + "var": "$resource.properties.impact", + "options": [ + "impact" + ], + "group": "Properties", + "help": { + "short": "Impact of the entity in health state propagation" + }, + "default": { + "value": "Standard" + }, + "enum": { + "items": [ + { + "name": "Limited", + "value": "Limited" + }, + { + "name": "Standard", + "value": "Standard" + }, + { + "name": "Suppressed", + "value": "Suppressed" + } + ] + } + }, + { + "type": "object", + "var": "$resource.properties.signalGroups", + "options": [ + "signal-groups" + ], + "group": "Properties", + "help": { + "short": "Signal groups which are assigned to this entity" + }, + "args": [ + { + "type": "object", + "var": "$resource.properties.signalGroups.azureLogAnalytics", + "options": [ + "azure-log-analytics" + ], + "help": { + "short": "Log Analytics Signal Group" + }, + "args": [ + { + "type": "string", + "var": "$resource.properties.signalGroups.azureLogAnalytics.authenticationSetting", + "options": [ + "authentication-setting" + ], + "required": true, + "help": { + "short": "Reference to the name of the authentication setting which is used for querying the data source." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "var": "$resource.properties.signalGroups.azureLogAnalytics.logAnalyticsWorkspaceResourceId", + "options": [ + "log-analytics-workspace-resource-id" + ], + "required": true, + "help": { + "short": "Log Analytics workspace resource ID." + } + }, + { + "type": "array", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals", + "options": [ + "signals" + ], + "help": { + "short": "Signals assigned to this group." + }, + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "args": [ + { + "type": "string", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].dataUnit", + "options": [ + "data-unit" + ], + "help": { + "short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))" + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].displayName", + "options": [ + "display-name" + ], + "help": { + "short": "Display name" + }, + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "@EvaluationRule_create", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].evaluationRules", + "options": [ + "evaluation-rules" + ], + "help": { + "short": "Evaluation rules for the signal definition" + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].name", + "options": [ + "name" + ], + "required": true, + "help": { + "short": "Unique name of the signal within the entity." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].queryText", + "options": [ + "query-text" + ], + "help": { + "short": "Query text in KQL syntax" + }, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].refreshInterval", + "options": [ + "refresh-interval" + ], + "help": { + "short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)." + }, + "default": { + "value": "PT1M" + }, + "enum": { + "items": [ + { + "name": "PT10M", + "value": "PT10M" + }, + { + "name": "PT1H", + "value": "PT1H" + }, + { + "name": "PT1M", + "value": "PT1M" + }, + { + "name": "PT2H", + "value": "PT2H" + }, + { + "name": "PT30M", + "value": "PT30M" + }, + { + "name": "PT5M", + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].signalDefinitionName", + "options": [ + "signal-definition-name" + ], + "help": { + "short": "Optional reference to a signal definition that provides default values." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].timeGrain", + "options": [ + "time-grain" + ], + "help": { + "short": "Time range of signal. ISO duration format like PT10M. If not specified, the KQL query must define a time range." + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].valueColumnName", + "options": [ + "value-column-name" + ], + "help": { + "short": "Name of the column in the result set to evaluate against the thresholds. Defaults to the first column in the result set if not specified. The column must be numeric." + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + } + } + ] + }, + { + "type": "object", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace", + "options": [ + "azure-monitor-workspace" + ], + "help": { + "short": "Azure Monitor Workspace Signal Group" + }, + "args": [ + { + "type": "string", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.authenticationSetting", + "options": [ + "authentication-setting" + ], + "required": true, + "help": { + "short": "Reference to the name of the authentication setting which is used for querying the data source." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.azureMonitorWorkspaceResourceId", + "options": [ + "azure-monitor-workspace-resource-id" + ], + "required": true, + "help": { + "short": "Azure Monitor workspace resource ID." + } + }, + { + "type": "array", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals", + "options": [ + "signals" + ], + "help": { + "short": "Signals assigned to this signal group." + }, + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "args": [ + { + "type": "string", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].dataUnit", + "options": [ + "data-unit" + ], + "help": { + "short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))" + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].displayName", + "options": [ + "display-name" + ], + "help": { + "short": "Display name" + }, + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "@EvaluationRule_create", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].evaluationRules", + "options": [ + "evaluation-rules" + ], + "help": { + "short": "Evaluation rules for the signal definition" + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].name", + "options": [ + "name" + ], + "required": true, + "help": { + "short": "Unique name of the signal within the entity." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].queryText", + "options": [ + "query-text" + ], + "help": { + "short": "Query text in PromQL syntax" + }, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].refreshInterval", + "options": [ + "refresh-interval" + ], + "help": { + "short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)." + }, + "default": { + "value": "PT1M" + }, + "enum": { + "items": [ + { + "name": "PT10M", + "value": "PT10M" + }, + { + "name": "PT1H", + "value": "PT1H" + }, + { + "name": "PT1M", + "value": "PT1M" + }, + { + "name": "PT2H", + "value": "PT2H" + }, + { + "name": "PT30M", + "value": "PT30M" + }, + { + "name": "PT5M", + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].signalDefinitionName", + "options": [ + "signal-definition-name" + ], + "help": { + "short": "Optional reference to a signal definition that provides default values." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].timeGrain", + "options": [ + "time-grain" + ], + "help": { + "short": "Time range of signal. ISO duration format like PT10M." + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + } + } + ] + }, + { + "type": "object", + "var": "$resource.properties.signalGroups.azureResource", + "options": [ + "azure-resource" + ], + "help": { + "short": "Azure Resource Signal Group" + }, + "args": [ + { + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.authenticationSetting", + "options": [ + "authentication-setting" + ], + "required": true, + "help": { + "short": "Reference to the name of the authentication setting which is used for querying the data source." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "var": "$resource.properties.signalGroups.azureResource.azureResourceId", + "options": [ + "azure-resource-id" + ], + "required": true, + "help": { + "short": "Azure resource ID" + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.azureResourceKind", + "options": [ + "azure-resource-kind" + ], + "help": { + "short": "Azure resource kind (e.g., 'functionapp'). Populated by the UI for icon rendering. Can be null if not populated." + }, + "format": { + "maxLength": 256, + "minLength": 0 + } + }, + { + "type": "array", + "var": "$resource.properties.signalGroups.azureResource.signals", + "options": [ + "signals" + ], + "help": { + "short": "Signals assigned to this group." + }, + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "args": [ + { + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].aggregationType", + "options": [ + "aggregation-type" + ], + "help": { + "short": "Type of aggregation to apply to the metric" + }, + "enum": { + "items": [ + { + "name": "Average", + "value": "Average" + }, + { + "name": "Count", + "value": "Count" + }, + { + "name": "Maximum", + "value": "Maximum" + }, + { + "name": "Minimum", + "value": "Minimum" + }, + { + "name": "None", + "value": "None" + }, + { + "name": "Total", + "value": "Total" + } + ] + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].dataUnit", + "options": [ + "data-unit" + ], + "help": { + "short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))" + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].dimension", + "options": [ + "dimension" + ], + "help": { + "short": "Optional: Dimension to split by" + }, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].dimensionFilter", + "options": [ + "dimension-filter" + ], + "help": { + "short": "Optional: Dimension filter to apply to the dimension. Must only be set if also Dimension is set." + }, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].displayName", + "options": [ + "display-name" + ], + "help": { + "short": "Display name" + }, + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "var": "$resource.properties.signalGroups.azureResource.signals[].evaluationRules", + "options": [ + "evaluation-rules" + ], + "help": { + "short": "Evaluation rules for the signal definition" + }, + "args": [ + { + "type": "object", + "var": "@EvaluationRule_create.degradedRule", + "options": [ + "degraded-rule" + ], + "help": { + "short": "Degraded rule with static threshold." + }, + "args": [ + { + "type": "string", + "var": "@ThresholdRuleV2_create.operator", + "options": [ + "operator" + ], + "required": true, + "help": { + "short": "Operator how to compare the signal value with the threshold" + }, + "enum": { + "items": [ + { + "name": "Equal", + "value": "Equal" + }, + { + "name": "GreaterThan", + "value": "GreaterThan" + }, + { + "name": "GreaterThanOrEqual", + "value": "GreaterThanOrEqual" + }, + { + "name": "LessThan", + "value": "LessThan" + }, + { + "name": "LessThanOrEqual", + "value": "LessThanOrEqual" + }, + { + "name": "NotEqual", + "value": "NotEqual" + } + ] + } + }, + { + "type": "float64", + "var": "@ThresholdRuleV2_create.threshold", + "options": [ + "threshold" + ], + "required": true, + "help": { + "short": "Threshold value" + } + } + ], + "cls": "ThresholdRuleV2_create" + }, + { + "type": "@ThresholdRuleV2_create", + "var": "@EvaluationRule_create.unhealthyRule", + "options": [ + "unhealthy-rule" + ], + "required": true, + "help": { + "short": "Unhealthy rule with static threshold." + } + } + ], + "cls": "EvaluationRule_create" + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].metricName", + "options": [ + "metric-name" + ], + "help": { + "short": "Name of the metric" + }, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].metricNamespace", + "options": [ + "metric-namespace" + ], + "help": { + "short": "Metric namespace" + }, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].name", + "options": [ + "name" + ], + "required": true, + "help": { + "short": "Unique name of the signal within the entity." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].refreshInterval", + "options": [ + "refresh-interval" + ], + "help": { + "short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)." + }, + "default": { + "value": "PT1M" + }, + "enum": { + "items": [ + { + "name": "PT10M", + "value": "PT10M" + }, + { + "name": "PT1H", + "value": "PT1H" + }, + { + "name": "PT1M", + "value": "PT1M" + }, + { + "name": "PT2H", + "value": "PT2H" + }, + { + "name": "PT30M", + "value": "PT30M" + }, + { + "name": "PT5M", + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].signalDefinitionName", + "options": [ + "signal-definition-name" + ], + "help": { + "short": "Optional reference to a signal definition that provides default values." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].timeGrain", + "options": [ + "time-grain" + ], + "help": { + "short": "Time range of signal. ISO duration format like PT10M." + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + } + } + ] + }, + { + "type": "object", + "var": "$resource.properties.signalGroups.dependencies", + "options": [ + "dependencies" + ], + "help": { + "short": "Settings for dependency signals to control how the health state of child entities influences the health state of the parent entity." + }, + "args": [ + { + "type": "string", + "var": "$resource.properties.signalGroups.dependencies.aggregationType", + "options": [ + "aggregation-type" + ], + "required": true, + "help": { + "short": "Aggregation type for child dependencies." + }, + "default": { + "value": "WorstOf" + }, + "enum": { + "items": [ + { + "name": "MaxNotHealthy", + "value": "MaxNotHealthy" + }, + { + "name": "MinHealthy", + "value": "MinHealthy" + }, + { + "name": "WorstOf", + "value": "WorstOf" + } + ] + } + }, + { + "type": "float64", + "var": "$resource.properties.signalGroups.dependencies.degradedThreshold", + "options": [ + "degraded-threshold" + ], + "help": { + "short": "Degraded threshold for aggregation. For MinHealthy: parent is degraded when healthy count/percentage falls to or below this value. For MaxNotHealthy: parent is degraded when not-healthy count/percentage reaches or exceeds this value. Optional \u2014 if not set, there is no degraded state (transitions directly from Healthy to Unhealthy)." + }, + "format": { + "minimum": 0.0 + } + }, + { + "type": "boolean", + "var": "$resource.properties.signalGroups.dependencies.ignoreUnknown", + "options": [ + "ignore-unknown" + ], + "help": { + "short": "If true, children with Unknown health state are excluded from aggregation calculations. Defaults to true." + }, + "default": { + "value": true + } + }, + { + "type": "float64", + "var": "$resource.properties.signalGroups.dependencies.unhealthyThreshold", + "options": [ + "unhealthy-threshold" + ], + "help": { + "short": "Unhealthy threshold for aggregation. For MinHealthy: parent is unhealthy when healthy count/percentage falls to or below this value. For MaxNotHealthy: parent is unhealthy when not-healthy count/percentage reaches or exceeds this value. Required when aggregationType is MinHealthy or MaxNotHealthy." + }, + "format": { + "minimum": 0.0 + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.dependencies.unit", + "options": [ + "unit" + ], + "help": { + "short": "Unit type for the aggregation thresholds. Required when aggregationType is MinHealthy or MaxNotHealthy." + }, + "enum": { + "items": [ + { + "name": "Absolute", + "value": "Absolute" + }, + { + "name": "Percentage", + "value": "Percentage" + } + ] + } + } + ] + } + ] + }, + { + "type": "object", + "var": "$resource.properties.tags", + "options": [ + "tags" + ], + "group": "Properties", + "help": { + "short": "Optional set of tags (key-value pairs)" + }, + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "Entities_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "entityName", + "arg": "$Path.entityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "schema": { + "type": "object", + "name": "resource", + "required": true, + "props": [ + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "object", + "name": "alerts", + "arg": "$resource.properties.alerts", + "props": [ + { + "type": "@AlertConfiguration_create", + "name": "degraded", + "arg": "$resource.properties.alerts.degraded" + }, + { + "type": "object", + "name": "unhealthy", + "arg": "$resource.properties.alerts.unhealthy", + "props": [ + { + "type": "array", + "name": "actionGroupIds", + "arg": "@AlertConfiguration_create.actionGroupIds", + "format": { + "maxLength": 5, + "minLength": 1 + }, + "item": { + "type": "ResourceId" + } + }, + { + "type": "string", + "name": "description", + "arg": "@AlertConfiguration_create.description", + "format": { + "maxLength": 1000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "severity", + "arg": "@AlertConfiguration_create.severity", + "required": true, + "enum": { + "items": [ + { + "value": "Sev0" + }, + { + "value": "Sev1" + }, + { + "value": "Sev2" + }, + { + "value": "Sev3" + }, + { + "value": "Sev4" + } + ] + } + } + ], + "cls": "AlertConfiguration_create" + } + ] + }, + { + "type": "object", + "name": "canvasPosition", + "arg": "$resource.properties.canvasPosition", + "props": [ + { + "type": "float32", + "name": "x", + "arg": "$resource.properties.canvasPosition.x", + "required": true + }, + { + "type": "float32", + "name": "y", + "arg": "$resource.properties.canvasPosition.y", + "required": true + } + ] + }, + { + "type": "string", + "name": "displayName", + "arg": "$resource.properties.displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "float32", + "name": "healthObjective", + "arg": "$resource.properties.healthObjective", + "format": { + "maximum": 100.0, + "minimum": 0.0 + } + }, + { + "type": "object", + "name": "icon", + "arg": "$resource.properties.icon", + "props": [ + { + "type": "string", + "name": "customData", + "arg": "$resource.properties.icon.customData", + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "iconName", + "arg": "$resource.properties.icon.iconName", + "required": true, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "default": { + "value": "Standard" + }, + "type": "string", + "name": "impact", + "arg": "$resource.properties.impact", + "enum": { + "items": [ + { + "value": "Limited" + }, + { + "value": "Standard" + }, + { + "value": "Suppressed" + } + ] + } + }, + { + "type": "object", + "name": "signalGroups", + "arg": "$resource.properties.signalGroups", + "props": [ + { + "type": "object", + "name": "azureLogAnalytics", + "arg": "$resource.properties.signalGroups.azureLogAnalytics", + "props": [ + { + "type": "string", + "name": "authenticationSetting", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "name": "logAnalyticsWorkspaceResourceId", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.logAnalyticsWorkspaceResourceId", + "required": true + }, + { + "type": "array", + "name": "signals", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals", + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "dataUnit", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "@EvaluationRule_create", + "name": "evaluationRules", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].evaluationRules" + }, + { + "type": "string", + "name": "name", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "queryText", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].queryText", + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "LogAnalyticsQuery" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "type": "string", + "name": "timeGrain", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "valueColumnName", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].valueColumnName", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + }, + { + "type": "object", + "name": "azureMonitorWorkspace", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace", + "props": [ + { + "type": "string", + "name": "authenticationSetting", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "name": "azureMonitorWorkspaceResourceId", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.azureMonitorWorkspaceResourceId", + "required": true + }, + { + "type": "array", + "name": "signals", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals", + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "dataUnit", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "@EvaluationRule_create", + "name": "evaluationRules", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].evaluationRules" + }, + { + "type": "string", + "name": "name", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "queryText", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].queryText", + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "PrometheusMetricsQuery" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "type": "string", + "name": "timeGrain", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + }, + { + "type": "object", + "name": "azureResource", + "arg": "$resource.properties.signalGroups.azureResource", + "props": [ + { + "type": "string", + "name": "authenticationSetting", + "arg": "$resource.properties.signalGroups.azureResource.authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "name": "azureResourceId", + "arg": "$resource.properties.signalGroups.azureResource.azureResourceId", + "required": true + }, + { + "type": "string", + "name": "azureResourceKind", + "arg": "$resource.properties.signalGroups.azureResource.azureResourceKind", + "format": { + "maxLength": 256, + "minLength": 0 + } + }, + { + "type": "array", + "name": "signals", + "arg": "$resource.properties.signalGroups.azureResource.signals", + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "aggregationType", + "arg": "$resource.properties.signalGroups.azureResource.signals[].aggregationType", + "enum": { + "items": [ + { + "value": "Average" + }, + { + "value": "Count" + }, + { + "value": "Maximum" + }, + { + "value": "Minimum" + }, + { + "value": "None" + }, + { + "value": "Total" + } + ] + } + }, + { + "type": "string", + "name": "dataUnit", + "arg": "$resource.properties.signalGroups.azureResource.signals[].dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "dimension", + "arg": "$resource.properties.signalGroups.azureResource.signals[].dimension", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "dimensionFilter", + "arg": "$resource.properties.signalGroups.azureResource.signals[].dimensionFilter", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "arg": "$resource.properties.signalGroups.azureResource.signals[].displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "name": "evaluationRules", + "arg": "$resource.properties.signalGroups.azureResource.signals[].evaluationRules", + "props": [ + { + "type": "object", + "name": "degradedRule", + "arg": "@EvaluationRule_create.degradedRule", + "props": [ + { + "type": "string", + "name": "operator", + "arg": "@ThresholdRuleV2_create.operator", + "required": true, + "enum": { + "items": [ + { + "value": "Equal" + }, + { + "value": "GreaterThan" + }, + { + "value": "GreaterThanOrEqual" + }, + { + "value": "LessThan" + }, + { + "value": "LessThanOrEqual" + }, + { + "value": "NotEqual" + } + ] + } + }, + { + "type": "float64", + "name": "threshold", + "arg": "@ThresholdRuleV2_create.threshold", + "required": true + } + ], + "cls": "ThresholdRuleV2_create" + }, + { + "type": "@ThresholdRuleV2_create", + "name": "unhealthyRule", + "arg": "@EvaluationRule_create.unhealthyRule", + "required": true + } + ], + "cls": "EvaluationRule_create" + }, + { + "type": "string", + "name": "metricName", + "arg": "$resource.properties.signalGroups.azureResource.signals[].metricName", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricNamespace", + "arg": "$resource.properties.signalGroups.azureResource.signals[].metricNamespace", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "name", + "arg": "$resource.properties.signalGroups.azureResource.signals[].name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "arg": "$resource.properties.signalGroups.azureResource.signals[].refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "arg": "$resource.properties.signalGroups.azureResource.signals[].signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "AzureResourceMetric" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "type": "string", + "name": "timeGrain", + "arg": "$resource.properties.signalGroups.azureResource.signals[].timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + }, + { + "type": "object", + "name": "dependencies", + "arg": "$resource.properties.signalGroups.dependencies", + "props": [ + { + "default": { + "value": "WorstOf" + }, + "type": "string", + "name": "aggregationType", + "arg": "$resource.properties.signalGroups.dependencies.aggregationType", + "required": true, + "enum": { + "items": [ + { + "value": "MaxNotHealthy" + }, + { + "value": "MinHealthy" + }, + { + "value": "WorstOf" + } + ] + } + }, + { + "type": "float64", + "name": "degradedThreshold", + "arg": "$resource.properties.signalGroups.dependencies.degradedThreshold", + "format": { + "minimum": 0.0 + } + }, + { + "default": { + "value": true + }, + "type": "boolean", + "name": "ignoreUnknown", + "arg": "$resource.properties.signalGroups.dependencies.ignoreUnknown" + }, + { + "type": "float64", + "name": "unhealthyThreshold", + "arg": "$resource.properties.signalGroups.dependencies.unhealthyThreshold", + "format": { + "minimum": 0.0 + } + }, + { + "type": "string", + "name": "unit", + "arg": "$resource.properties.signalGroups.dependencies.unit", + "enum": { + "items": [ + { + "value": "Absolute" + }, + { + "value": "Percentage" + } + ] + } + } + ] + } + ] + }, + { + "type": "object", + "name": "tags", + "arg": "$resource.properties.tags", + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ] + } + ], + "clientFlatten": true + } + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/entities/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "object", + "name": "alerts", + "props": [ + { + "type": "@AlertConfiguration_read", + "name": "degraded" + }, + { + "type": "object", + "name": "unhealthy", + "props": [ + { + "type": "array", + "name": "actionGroupIds", + "format": { + "maxLength": 5, + "minLength": 1 + }, + "item": { + "type": "ResourceId" + } + }, + { + "type": "string", + "name": "description", + "format": { + "maxLength": 1000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "severity", + "required": true, + "enum": { + "items": [ + { + "value": "Sev0" + }, + { + "value": "Sev1" + }, + { + "value": "Sev2" + }, + { + "value": "Sev3" + }, + { + "value": "Sev4" + } + ] + } + } + ], + "cls": "AlertConfiguration_read" + } + ] + }, + { + "type": "object", + "name": "canvasPosition", + "props": [ + { + "type": "float32", + "name": "x", + "required": true + }, + { + "type": "float32", + "name": "y", + "required": true + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "discoveredBy", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "float32", + "name": "healthObjective", + "format": { + "maximum": 100.0, + "minimum": 0.0 + } + }, + { + "readOnly": true, + "type": "string", + "name": "healthState", + "enum": { + "items": [ + { + "value": "Degraded" + }, + { + "value": "Deleted" + }, + { + "value": "Healthy" + }, + { + "value": "Unhealthy" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "type": "object", + "name": "icon", + "props": [ + { + "type": "string", + "name": "customData", + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "iconName", + "required": true, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "default": { + "value": "Standard" + }, + "type": "string", + "name": "impact", + "enum": { + "items": [ + { + "value": "Limited" + }, + { + "value": "Standard" + }, + { + "value": "Suppressed" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + }, + { + "type": "object", + "name": "signalGroups", + "props": [ + { + "type": "object", + "name": "azureLogAnalytics", + "props": [ + { + "type": "string", + "name": "authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "name": "logAnalyticsWorkspaceResourceId", + "required": true + }, + { + "type": "array", + "name": "signals", + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "@EvaluationRule_read", + "name": "evaluationRules" + }, + { + "type": "string", + "name": "name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "queryText", + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "LogAnalyticsQuery" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "readOnly": true, + "type": "@SignalStatus_read", + "name": "status" + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "valueColumnName", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + }, + { + "type": "object", + "name": "azureMonitorWorkspace", + "props": [ + { + "type": "string", + "name": "authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "name": "azureMonitorWorkspaceResourceId", + "required": true + }, + { + "type": "array", + "name": "signals", + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "@EvaluationRule_read", + "name": "evaluationRules" + }, + { + "type": "string", + "name": "name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "queryText", + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "PrometheusMetricsQuery" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "readOnly": true, + "type": "@SignalStatus_read", + "name": "status" + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + }, + { + "type": "object", + "name": "azureResource", + "props": [ + { + "type": "string", + "name": "authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "name": "azureResourceId", + "required": true + }, + { + "type": "string", + "name": "azureResourceKind", + "format": { + "maxLength": 256, + "minLength": 0 + } + }, + { + "type": "array", + "name": "signals", + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "aggregationType", + "enum": { + "items": [ + { + "value": "Average" + }, + { + "value": "Count" + }, + { + "value": "Maximum" + }, + { + "value": "Minimum" + }, + { + "value": "None" + }, + { + "value": "Total" + } + ] + } + }, + { + "type": "string", + "name": "dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "dimension", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "dimensionFilter", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "name": "evaluationRules", + "props": [ + { + "type": "object", + "name": "degradedRule", + "props": [ + { + "type": "string", + "name": "operator", + "required": true, + "enum": { + "items": [ + { + "value": "Equal" + }, + { + "value": "GreaterThan" + }, + { + "value": "GreaterThanOrEqual" + }, + { + "value": "LessThan" + }, + { + "value": "LessThanOrEqual" + }, + { + "value": "NotEqual" + } + ] + } + }, + { + "type": "float64", + "name": "threshold", + "required": true + } + ], + "cls": "ThresholdRuleV2_read" + }, + { + "type": "@ThresholdRuleV2_read", + "name": "unhealthyRule", + "required": true + } + ], + "cls": "EvaluationRule_read" + }, + { + "type": "string", + "name": "metricName", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricNamespace", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "AzureResourceMetric" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "readOnly": true, + "type": "object", + "name": "status", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "error" + }, + { + "readOnly": true, + "type": "string", + "name": "healthState", + "enum": { + "items": [ + { + "value": "Degraded" + }, + { + "value": "Deleted" + }, + { + "value": "Healthy" + }, + { + "value": "Unhealthy" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "reportedAt", + "format": { + "protocol": "iso" + } + }, + { + "readOnly": true, + "type": "float64", + "name": "value" + } + ], + "cls": "SignalStatus_read" + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + }, + { + "type": "object", + "name": "dependencies", + "props": [ + { + "default": { + "value": "WorstOf" + }, + "type": "string", + "name": "aggregationType", + "required": true, + "enum": { + "items": [ + { + "value": "MaxNotHealthy" + }, + { + "value": "MinHealthy" + }, + { + "value": "WorstOf" + } + ] + } + }, + { + "type": "float64", + "name": "degradedThreshold", + "format": { + "minimum": 0.0 + } + }, + { + "default": { + "value": true + }, + "type": "boolean", + "name": "ignoreUnknown" + }, + { + "type": "float64", + "name": "unhealthyThreshold", + "format": { + "minimum": 0.0 + } + }, + { + "type": "string", + "name": "unit", + "enum": { + "items": [ + { + "value": "Absolute" + }, + { + "value": "Percentage" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "external", + "props": [ + { + "readOnly": true, + "type": "array", + "name": "signals", + "item": { + "type": "object", + "props": [ + { + "type": "@EvaluationRule_read", + "name": "evaluationRules" + }, + { + "type": "string", + "name": "name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "External" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "readOnly": true, + "type": "@SignalStatus_read", + "name": "status" + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "update", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.entityName", + "options": [ + "n", + "name", + "entity-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the entity. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Properties", + "args": [ + { + "nullable": true, + "type": "object", + "var": "$resource.properties.alerts", + "options": [ + "alerts" + ], + "group": "Properties", + "help": { + "short": "Alert configuration for this entity" + }, + "args": [ + { + "nullable": true, + "type": "@AlertConfiguration_update", + "var": "$resource.properties.alerts.degraded", + "options": [ + "degraded" + ], + "help": { + "short": "Alert to be triggered on state change to degraded" + } + }, + { + "nullable": true, + "type": "object", + "var": "$resource.properties.alerts.unhealthy", + "options": [ + "unhealthy" + ], + "help": { + "short": "Alert to be triggered on state change to unhealthy" + }, + "args": [ + { + "nullable": true, + "type": "array", + "var": "@AlertConfiguration_update.actionGroupIds", + "options": [ + "action-group-ids" + ], + "help": { + "short": "Optional list of action group resource IDs to be notified when the alert is triggered." + }, + "format": { + "maxLength": 5, + "minLength": 1 + }, + "item": { + "nullable": true, + "type": "ResourceId" + } + }, + { + "nullable": true, + "type": "string", + "var": "@AlertConfiguration_update.description", + "options": [ + "description" + ], + "help": { + "short": "The alert rule description." + }, + "format": { + "maxLength": 1000, + "minLength": 1 + } + }, + { + "type": "string", + "var": "@AlertConfiguration_update.severity", + "options": [ + "severity" + ], + "help": { + "short": "The severity of triggered alert." + }, + "enum": { + "items": [ + { + "name": "Sev0", + "value": "Sev0" + }, + { + "name": "Sev1", + "value": "Sev1" + }, + { + "name": "Sev2", + "value": "Sev2" + }, + { + "name": "Sev3", + "value": "Sev3" + }, + { + "name": "Sev4", + "value": "Sev4" + } + ] + } + } + ], + "cls": "AlertConfiguration_update" + } + ] + }, + { + "nullable": true, + "type": "object", + "var": "$resource.properties.canvasPosition", + "options": [ + "canvas-position" + ], + "group": "Properties", + "help": { + "short": "Positioning of the entity on the model canvas" + }, + "args": [ + { + "type": "float32", + "var": "$resource.properties.canvasPosition.x", + "options": [ + "x" + ], + "help": { + "short": "X Coordinate" + } + }, + { + "type": "float32", + "var": "$resource.properties.canvasPosition.y", + "options": [ + "y" + ], + "help": { + "short": "Y Coordinate" + } + } + ] + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.displayName", + "options": [ + "display-name" + ], + "group": "Properties", + "help": { + "short": "Display name" + }, + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "nullable": true, + "type": "float32", + "var": "$resource.properties.healthObjective", + "options": [ + "health-objective" + ], + "group": "Properties", + "help": { + "short": "Health objective as a percentage of time the entity should be healthy." + }, + "format": { + "maximum": 100.0, + "minimum": 0.0 + } + }, + { + "nullable": true, + "type": "object", + "var": "$resource.properties.icon", + "options": [ + "icon" + ], + "group": "Properties", + "help": { + "short": "Visual icon definition. If not set, a default icon is used." + }, + "args": [ + { + "nullable": true, + "type": "string", + "var": "$resource.properties.icon.customData", + "options": [ + "custom-data" + ], + "help": { + "short": "Custom data. Base64-encoded SVG data. If set, this overrides the built-in icon." + }, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.icon.iconName", + "options": [ + "icon-name" + ], + "help": { + "short": "Name of the built-in icon, or 'Custom' to use customData" + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.impact", + "options": [ + "impact" + ], + "group": "Properties", + "help": { + "short": "Impact of the entity in health state propagation" + }, + "enum": { + "items": [ + { + "name": "Limited", + "value": "Limited" + }, + { + "name": "Standard", + "value": "Standard" + }, + { + "name": "Suppressed", + "value": "Suppressed" + } + ] + } + }, + { + "nullable": true, + "type": "object", + "var": "$resource.properties.signalGroups", + "options": [ + "signal-groups" + ], + "group": "Properties", + "help": { + "short": "Signal groups which are assigned to this entity" + }, + "args": [ + { + "nullable": true, + "type": "object", + "var": "$resource.properties.signalGroups.azureLogAnalytics", + "options": [ + "azure-log-analytics" + ], + "help": { + "short": "Log Analytics Signal Group" + }, + "args": [ + { + "type": "string", + "var": "$resource.properties.signalGroups.azureLogAnalytics.authenticationSetting", + "options": [ + "authentication-setting" + ], + "help": { + "short": "Reference to the name of the authentication setting which is used for querying the data source." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "var": "$resource.properties.signalGroups.azureLogAnalytics.logAnalyticsWorkspaceResourceId", + "options": [ + "log-analytics-workspace-resource-id" + ], + "help": { + "short": "Log Analytics workspace resource ID." + } + }, + { + "nullable": true, + "type": "array", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals", + "options": [ + "signals" + ], + "help": { + "short": "Signals assigned to this group." + }, + "format": { + "maxLength": 50 + }, + "item": { + "nullable": true, + "type": "object", + "args": [ + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].dataUnit", + "options": [ + "data-unit" + ], + "help": { + "short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))" + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].displayName", + "options": [ + "display-name" + ], + "help": { + "short": "Display name" + }, + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "nullable": true, + "type": "@EvaluationRule_update", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].evaluationRules", + "options": [ + "evaluation-rules" + ], + "help": { + "short": "Evaluation rules for the signal definition" + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].name", + "options": [ + "name" + ], + "help": { + "short": "Unique name of the signal within the entity." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].queryText", + "options": [ + "query-text" + ], + "help": { + "short": "Query text in KQL syntax" + }, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].refreshInterval", + "options": [ + "refresh-interval" + ], + "help": { + "short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)." + }, + "enum": { + "items": [ + { + "name": "PT10M", + "value": "PT10M" + }, + { + "name": "PT1H", + "value": "PT1H" + }, + { + "name": "PT1M", + "value": "PT1M" + }, + { + "name": "PT2H", + "value": "PT2H" + }, + { + "name": "PT30M", + "value": "PT30M" + }, + { + "name": "PT5M", + "value": "PT5M" + } + ] + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].signalDefinitionName", + "options": [ + "signal-definition-name" + ], + "help": { + "short": "Optional reference to a signal definition that provides default values." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].timeGrain", + "options": [ + "time-grain" + ], + "help": { + "short": "Time range of signal. ISO duration format like PT10M. If not specified, the KQL query must define a time range." + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureLogAnalytics.signals[].valueColumnName", + "options": [ + "value-column-name" + ], + "help": { + "short": "Name of the column in the result set to evaluate against the thresholds. Defaults to the first column in the result set if not specified. The column must be numeric." + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + } + } + ] + }, + { + "nullable": true, + "type": "object", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace", + "options": [ + "azure-monitor-workspace" + ], + "help": { + "short": "Azure Monitor Workspace Signal Group" + }, + "args": [ + { + "type": "string", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.authenticationSetting", + "options": [ + "authentication-setting" + ], + "help": { + "short": "Reference to the name of the authentication setting which is used for querying the data source." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.azureMonitorWorkspaceResourceId", + "options": [ + "azure-monitor-workspace-resource-id" + ], + "help": { + "short": "Azure Monitor workspace resource ID." + } + }, + { + "nullable": true, + "type": "array", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals", + "options": [ + "signals" + ], + "help": { + "short": "Signals assigned to this signal group." + }, + "format": { + "maxLength": 50 + }, + "item": { + "nullable": true, + "type": "object", + "args": [ + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].dataUnit", + "options": [ + "data-unit" + ], + "help": { + "short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))" + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].displayName", + "options": [ + "display-name" + ], + "help": { + "short": "Display name" + }, + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "nullable": true, + "type": "@EvaluationRule_update", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].evaluationRules", + "options": [ + "evaluation-rules" + ], + "help": { + "short": "Evaluation rules for the signal definition" + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].name", + "options": [ + "name" + ], + "help": { + "short": "Unique name of the signal within the entity." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].queryText", + "options": [ + "query-text" + ], + "help": { + "short": "Query text in PromQL syntax" + }, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].refreshInterval", + "options": [ + "refresh-interval" + ], + "help": { + "short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)." + }, + "enum": { + "items": [ + { + "name": "PT10M", + "value": "PT10M" + }, + { + "name": "PT1H", + "value": "PT1H" + }, + { + "name": "PT1M", + "value": "PT1M" + }, + { + "name": "PT2H", + "value": "PT2H" + }, + { + "name": "PT30M", + "value": "PT30M" + }, + { + "name": "PT5M", + "value": "PT5M" + } + ] + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].signalDefinitionName", + "options": [ + "signal-definition-name" + ], + "help": { + "short": "Optional reference to a signal definition that provides default values." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].timeGrain", + "options": [ + "time-grain" + ], + "help": { + "short": "Time range of signal. ISO duration format like PT10M." + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + } + } + ] + }, + { + "nullable": true, + "type": "object", + "var": "$resource.properties.signalGroups.azureResource", + "options": [ + "azure-resource" + ], + "help": { + "short": "Azure Resource Signal Group" + }, + "args": [ + { + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.authenticationSetting", + "options": [ + "authentication-setting" + ], + "help": { + "short": "Reference to the name of the authentication setting which is used for querying the data source." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "var": "$resource.properties.signalGroups.azureResource.azureResourceId", + "options": [ + "azure-resource-id" + ], + "help": { + "short": "Azure resource ID" + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.azureResourceKind", + "options": [ + "azure-resource-kind" + ], + "help": { + "short": "Azure resource kind (e.g., 'functionapp'). Populated by the UI for icon rendering. Can be null if not populated." + }, + "format": { + "maxLength": 256, + "minLength": 0 + } + }, + { + "nullable": true, + "type": "array", + "var": "$resource.properties.signalGroups.azureResource.signals", + "options": [ + "signals" + ], + "help": { + "short": "Signals assigned to this group." + }, + "format": { + "maxLength": 50 + }, + "item": { + "nullable": true, + "type": "object", + "args": [ + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].aggregationType", + "options": [ + "aggregation-type" + ], + "help": { + "short": "Type of aggregation to apply to the metric" + }, + "enum": { + "items": [ + { + "name": "Average", + "value": "Average" + }, + { + "name": "Count", + "value": "Count" + }, + { + "name": "Maximum", + "value": "Maximum" + }, + { + "name": "Minimum", + "value": "Minimum" + }, + { + "name": "None", + "value": "None" + }, + { + "name": "Total", + "value": "Total" + } + ] + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].dataUnit", + "options": [ + "data-unit" + ], + "help": { + "short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))" + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].dimension", + "options": [ + "dimension" + ], + "help": { + "short": "Optional: Dimension to split by" + }, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].dimensionFilter", + "options": [ + "dimension-filter" + ], + "help": { + "short": "Optional: Dimension filter to apply to the dimension. Must only be set if also Dimension is set." + }, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].displayName", + "options": [ + "display-name" + ], + "help": { + "short": "Display name" + }, + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "nullable": true, + "type": "object", + "var": "$resource.properties.signalGroups.azureResource.signals[].evaluationRules", + "options": [ + "evaluation-rules" + ], + "help": { + "short": "Evaluation rules for the signal definition" + }, + "args": [ + { + "nullable": true, + "type": "object", + "var": "@EvaluationRule_update.degradedRule", + "options": [ + "degraded-rule" + ], + "help": { + "short": "Degraded rule with static threshold." + }, + "args": [ + { + "type": "string", + "var": "@ThresholdRuleV2_update.operator", + "options": [ + "operator" + ], + "help": { + "short": "Operator how to compare the signal value with the threshold" + }, + "enum": { + "items": [ + { + "name": "Equal", + "value": "Equal" + }, + { + "name": "GreaterThan", + "value": "GreaterThan" + }, + { + "name": "GreaterThanOrEqual", + "value": "GreaterThanOrEqual" + }, + { + "name": "LessThan", + "value": "LessThan" + }, + { + "name": "LessThanOrEqual", + "value": "LessThanOrEqual" + }, + { + "name": "NotEqual", + "value": "NotEqual" + } + ] + } + }, + { + "type": "float64", + "var": "@ThresholdRuleV2_update.threshold", + "options": [ + "threshold" + ], + "help": { + "short": "Threshold value" + } + } + ], + "cls": "ThresholdRuleV2_update" + }, + { + "type": "@ThresholdRuleV2_update", + "var": "@EvaluationRule_update.unhealthyRule", + "options": [ + "unhealthy-rule" + ], + "help": { + "short": "Unhealthy rule with static threshold." + } + } + ], + "cls": "EvaluationRule_update" + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].metricName", + "options": [ + "metric-name" + ], + "help": { + "short": "Name of the metric" + }, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].metricNamespace", + "options": [ + "metric-namespace" + ], + "help": { + "short": "Metric namespace" + }, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].name", + "options": [ + "name" + ], + "help": { + "short": "Unique name of the signal within the entity." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].refreshInterval", + "options": [ + "refresh-interval" + ], + "help": { + "short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)." + }, + "enum": { + "items": [ + { + "name": "PT10M", + "value": "PT10M" + }, + { + "name": "PT1H", + "value": "PT1H" + }, + { + "name": "PT1M", + "value": "PT1M" + }, + { + "name": "PT2H", + "value": "PT2H" + }, + { + "name": "PT30M", + "value": "PT30M" + }, + { + "name": "PT5M", + "value": "PT5M" + } + ] + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].signalDefinitionName", + "options": [ + "signal-definition-name" + ], + "help": { + "short": "Optional reference to a signal definition that provides default values." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.signals[].timeGrain", + "options": [ + "time-grain" + ], + "help": { + "short": "Time range of signal. ISO duration format like PT10M." + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + } + } + ] + }, + { + "nullable": true, + "type": "object", + "var": "$resource.properties.signalGroups.dependencies", + "options": [ + "dependencies" + ], + "help": { + "short": "Settings for dependency signals to control how the health state of child entities influences the health state of the parent entity." + }, + "args": [ + { + "type": "string", + "var": "$resource.properties.signalGroups.dependencies.aggregationType", + "options": [ + "aggregation-type" + ], + "help": { + "short": "Aggregation type for child dependencies." + }, + "enum": { + "items": [ + { + "name": "MaxNotHealthy", + "value": "MaxNotHealthy" + }, + { + "name": "MinHealthy", + "value": "MinHealthy" + }, + { + "name": "WorstOf", + "value": "WorstOf" + } + ] + } + }, + { + "nullable": true, + "type": "float64", + "var": "$resource.properties.signalGroups.dependencies.degradedThreshold", + "options": [ + "degraded-threshold" + ], + "help": { + "short": "Degraded threshold for aggregation. For MinHealthy: parent is degraded when healthy count/percentage falls to or below this value. For MaxNotHealthy: parent is degraded when not-healthy count/percentage reaches or exceeds this value. Optional \u2014 if not set, there is no degraded state (transitions directly from Healthy to Unhealthy)." + }, + "format": { + "minimum": 0.0 + } + }, + { + "nullable": true, + "type": "boolean", + "var": "$resource.properties.signalGroups.dependencies.ignoreUnknown", + "options": [ + "ignore-unknown" + ], + "help": { + "short": "If true, children with Unknown health state are excluded from aggregation calculations. Defaults to true." + } + }, + { + "nullable": true, + "type": "float64", + "var": "$resource.properties.signalGroups.dependencies.unhealthyThreshold", + "options": [ + "unhealthy-threshold" + ], + "help": { + "short": "Unhealthy threshold for aggregation. For MinHealthy: parent is unhealthy when healthy count/percentage falls to or below this value. For MaxNotHealthy: parent is unhealthy when not-healthy count/percentage reaches or exceeds this value. Required when aggregationType is MinHealthy or MaxNotHealthy." + }, + "format": { + "minimum": 0.0 + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.dependencies.unit", + "options": [ + "unit" + ], + "help": { + "short": "Unit type for the aggregation thresholds. Required when aggregationType is MinHealthy or MaxNotHealthy." + }, + "enum": { + "items": [ + { + "name": "Absolute", + "value": "Absolute" + }, + { + "name": "Percentage", + "value": "Percentage" + } + ] + } + } + ] + } + ] + }, + { + "nullable": true, + "type": "object", + "var": "$resource.properties.tags", + "options": [ + "tags" + ], + "group": "Properties", + "help": { + "short": "Optional set of tags (key-value pairs)" + }, + "additionalProps": { + "item": { + "nullable": true, + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ] + } + ], + "operations": [ + { + "operationId": "Entities_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "entityName", + "arg": "$Path.entityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/entities/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "object", + "name": "alerts", + "props": [ + { + "type": "@AlertConfiguration_read", + "name": "degraded" + }, + { + "type": "object", + "name": "unhealthy", + "props": [ + { + "type": "array", + "name": "actionGroupIds", + "format": { + "maxLength": 5, + "minLength": 1 + }, + "item": { + "type": "ResourceId" + } + }, + { + "type": "string", + "name": "description", + "format": { + "maxLength": 1000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "severity", + "required": true, + "enum": { + "items": [ + { + "value": "Sev0" + }, + { + "value": "Sev1" + }, + { + "value": "Sev2" + }, + { + "value": "Sev3" + }, + { + "value": "Sev4" + } + ] + } + } + ], + "cls": "AlertConfiguration_read" + } + ] + }, + { + "type": "object", + "name": "canvasPosition", + "props": [ + { + "type": "float32", + "name": "x", + "required": true + }, + { + "type": "float32", + "name": "y", + "required": true + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "discoveredBy", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "float32", + "name": "healthObjective", + "format": { + "maximum": 100.0, + "minimum": 0.0 + } + }, + { + "readOnly": true, + "type": "string", + "name": "healthState", + "enum": { + "items": [ + { + "value": "Degraded" + }, + { + "value": "Deleted" + }, + { + "value": "Healthy" + }, + { + "value": "Unhealthy" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "type": "object", + "name": "icon", + "props": [ + { + "type": "string", + "name": "customData", + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "iconName", + "required": true, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "default": { + "value": "Standard" + }, + "type": "string", + "name": "impact", + "enum": { + "items": [ + { + "value": "Limited" + }, + { + "value": "Standard" + }, + { + "value": "Suppressed" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + }, + { + "type": "object", + "name": "signalGroups", + "props": [ + { + "type": "object", + "name": "azureLogAnalytics", + "props": [ + { + "type": "string", + "name": "authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "name": "logAnalyticsWorkspaceResourceId", + "required": true + }, + { + "type": "array", + "name": "signals", + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "@EvaluationRule_read", + "name": "evaluationRules" + }, + { + "type": "string", + "name": "name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "queryText", + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "LogAnalyticsQuery" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "readOnly": true, + "type": "@SignalStatus_read", + "name": "status" + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "valueColumnName", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + }, + { + "type": "object", + "name": "azureMonitorWorkspace", + "props": [ + { + "type": "string", + "name": "authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "name": "azureMonitorWorkspaceResourceId", + "required": true + }, + { + "type": "array", + "name": "signals", + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "@EvaluationRule_read", + "name": "evaluationRules" + }, + { + "type": "string", + "name": "name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "queryText", + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "PrometheusMetricsQuery" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "readOnly": true, + "type": "@SignalStatus_read", + "name": "status" + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + }, + { + "type": "object", + "name": "azureResource", + "props": [ + { + "type": "string", + "name": "authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "name": "azureResourceId", + "required": true + }, + { + "type": "string", + "name": "azureResourceKind", + "format": { + "maxLength": 256, + "minLength": 0 + } + }, + { + "type": "array", + "name": "signals", + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "aggregationType", + "enum": { + "items": [ + { + "value": "Average" + }, + { + "value": "Count" + }, + { + "value": "Maximum" + }, + { + "value": "Minimum" + }, + { + "value": "None" + }, + { + "value": "Total" + } + ] + } + }, + { + "type": "string", + "name": "dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "dimension", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "dimensionFilter", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "name": "evaluationRules", + "props": [ + { + "type": "object", + "name": "degradedRule", + "props": [ + { + "type": "string", + "name": "operator", + "required": true, + "enum": { + "items": [ + { + "value": "Equal" + }, + { + "value": "GreaterThan" + }, + { + "value": "GreaterThanOrEqual" + }, + { + "value": "LessThan" + }, + { + "value": "LessThanOrEqual" + }, + { + "value": "NotEqual" + } + ] + } + }, + { + "type": "float64", + "name": "threshold", + "required": true + } + ], + "cls": "ThresholdRuleV2_read" + }, + { + "type": "@ThresholdRuleV2_read", + "name": "unhealthyRule", + "required": true + } + ], + "cls": "EvaluationRule_read" + }, + { + "type": "string", + "name": "metricName", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricNamespace", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "AzureResourceMetric" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "readOnly": true, + "type": "object", + "name": "status", + "props": [ + { + "readOnly": true, + "type": "string", + "name": "error" + }, + { + "readOnly": true, + "type": "string", + "name": "healthState", + "enum": { + "items": [ + { + "value": "Degraded" + }, + { + "value": "Deleted" + }, + { + "value": "Healthy" + }, + { + "value": "Unhealthy" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "reportedAt", + "format": { + "protocol": "iso" + } + }, + { + "readOnly": true, + "type": "float64", + "name": "value" + } + ], + "cls": "SignalStatus_read" + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + }, + { + "type": "object", + "name": "dependencies", + "props": [ + { + "default": { + "value": "WorstOf" + }, + "type": "string", + "name": "aggregationType", + "required": true, + "enum": { + "items": [ + { + "value": "MaxNotHealthy" + }, + { + "value": "MinHealthy" + }, + { + "value": "WorstOf" + } + ] + } + }, + { + "type": "float64", + "name": "degradedThreshold", + "format": { + "minimum": 0.0 + } + }, + { + "default": { + "value": true + }, + "type": "boolean", + "name": "ignoreUnknown" + }, + { + "type": "float64", + "name": "unhealthyThreshold", + "format": { + "minimum": 0.0 + } + }, + { + "type": "string", + "name": "unit", + "enum": { + "items": [ + { + "value": "Absolute" + }, + { + "value": "Percentage" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "external", + "props": [ + { + "readOnly": true, + "type": "array", + "name": "signals", + "item": { + "type": "object", + "props": [ + { + "type": "@EvaluationRule_read", + "name": "evaluationRules" + }, + { + "type": "string", + "name": "name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "External" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "readOnly": true, + "type": "@SignalStatus_read", + "name": "status" + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + } + ] + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "Entity_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + }, + { + "instanceUpdate": { + "ref": "$Instance", + "json": { + "schema": { + "type": "object", + "name": "resource", + "required": true, + "props": [ + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "object", + "name": "alerts", + "arg": "$resource.properties.alerts", + "props": [ + { + "type": "@AlertConfiguration_update", + "name": "degraded", + "arg": "$resource.properties.alerts.degraded" + }, + { + "type": "object", + "name": "unhealthy", + "arg": "$resource.properties.alerts.unhealthy", + "props": [ + { + "type": "array", + "name": "actionGroupIds", + "arg": "@AlertConfiguration_update.actionGroupIds", + "format": { + "maxLength": 5, + "minLength": 1 + }, + "item": { + "type": "ResourceId" + } + }, + { + "type": "string", + "name": "description", + "arg": "@AlertConfiguration_update.description", + "format": { + "maxLength": 1000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "severity", + "arg": "@AlertConfiguration_update.severity", + "required": true, + "enum": { + "items": [ + { + "value": "Sev0" + }, + { + "value": "Sev1" + }, + { + "value": "Sev2" + }, + { + "value": "Sev3" + }, + { + "value": "Sev4" + } + ] + } + } + ], + "cls": "AlertConfiguration_update" + } + ] + }, + { + "type": "object", + "name": "canvasPosition", + "arg": "$resource.properties.canvasPosition", + "props": [ + { + "type": "float32", + "name": "x", + "arg": "$resource.properties.canvasPosition.x", + "required": true + }, + { + "type": "float32", + "name": "y", + "arg": "$resource.properties.canvasPosition.y", + "required": true + } + ] + }, + { + "type": "string", + "name": "displayName", + "arg": "$resource.properties.displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "float32", + "name": "healthObjective", + "arg": "$resource.properties.healthObjective", + "format": { + "maximum": 100.0, + "minimum": 0.0 + } + }, + { + "type": "object", + "name": "icon", + "arg": "$resource.properties.icon", + "props": [ + { + "type": "string", + "name": "customData", + "arg": "$resource.properties.icon.customData", + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "iconName", + "arg": "$resource.properties.icon.iconName", + "required": true, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "default": { + "value": "Standard" + }, + "type": "string", + "name": "impact", + "arg": "$resource.properties.impact", + "enum": { + "items": [ + { + "value": "Limited" + }, + { + "value": "Standard" + }, + { + "value": "Suppressed" + } + ] + } + }, + { + "type": "object", + "name": "signalGroups", + "arg": "$resource.properties.signalGroups", + "props": [ + { + "type": "object", + "name": "azureLogAnalytics", + "arg": "$resource.properties.signalGroups.azureLogAnalytics", + "props": [ + { + "type": "string", + "name": "authenticationSetting", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "name": "logAnalyticsWorkspaceResourceId", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.logAnalyticsWorkspaceResourceId", + "required": true + }, + { + "type": "array", + "name": "signals", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals", + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "dataUnit", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "@EvaluationRule_update", + "name": "evaluationRules", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].evaluationRules" + }, + { + "type": "string", + "name": "name", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "queryText", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].queryText", + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "LogAnalyticsQuery" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "type": "string", + "name": "timeGrain", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "valueColumnName", + "arg": "$resource.properties.signalGroups.azureLogAnalytics.signals[].valueColumnName", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + }, + { + "type": "object", + "name": "azureMonitorWorkspace", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace", + "props": [ + { + "type": "string", + "name": "authenticationSetting", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "name": "azureMonitorWorkspaceResourceId", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.azureMonitorWorkspaceResourceId", + "required": true + }, + { + "type": "array", + "name": "signals", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals", + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "dataUnit", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "@EvaluationRule_update", + "name": "evaluationRules", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].evaluationRules" + }, + { + "type": "string", + "name": "name", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "queryText", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].queryText", + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "PrometheusMetricsQuery" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "type": "string", + "name": "timeGrain", + "arg": "$resource.properties.signalGroups.azureMonitorWorkspace.signals[].timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + }, + { + "type": "object", + "name": "azureResource", + "arg": "$resource.properties.signalGroups.azureResource", + "props": [ + { + "type": "string", + "name": "authenticationSetting", + "arg": "$resource.properties.signalGroups.azureResource.authenticationSetting", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceId", + "name": "azureResourceId", + "arg": "$resource.properties.signalGroups.azureResource.azureResourceId", + "required": true + }, + { + "type": "string", + "name": "azureResourceKind", + "arg": "$resource.properties.signalGroups.azureResource.azureResourceKind", + "format": { + "maxLength": 256, + "minLength": 0 + } + }, + { + "type": "array", + "name": "signals", + "arg": "$resource.properties.signalGroups.azureResource.signals", + "format": { + "maxLength": 50 + }, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "aggregationType", + "arg": "$resource.properties.signalGroups.azureResource.signals[].aggregationType", + "enum": { + "items": [ + { + "value": "Average" + }, + { + "value": "Count" + }, + { + "value": "Maximum" + }, + { + "value": "Minimum" + }, + { + "value": "None" + }, + { + "value": "Total" + } + ] + } + }, + { + "type": "string", + "name": "dataUnit", + "arg": "$resource.properties.signalGroups.azureResource.signals[].dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "dimension", + "arg": "$resource.properties.signalGroups.azureResource.signals[].dimension", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "dimensionFilter", + "arg": "$resource.properties.signalGroups.azureResource.signals[].dimensionFilter", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "arg": "$resource.properties.signalGroups.azureResource.signals[].displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "name": "evaluationRules", + "arg": "$resource.properties.signalGroups.azureResource.signals[].evaluationRules", + "props": [ + { + "type": "object", + "name": "degradedRule", + "arg": "@EvaluationRule_update.degradedRule", + "props": [ + { + "type": "string", + "name": "operator", + "arg": "@ThresholdRuleV2_update.operator", + "required": true, + "enum": { + "items": [ + { + "value": "Equal" + }, + { + "value": "GreaterThan" + }, + { + "value": "GreaterThanOrEqual" + }, + { + "value": "LessThan" + }, + { + "value": "LessThanOrEqual" + }, + { + "value": "NotEqual" + } + ] + } + }, + { + "type": "float64", + "name": "threshold", + "arg": "@ThresholdRuleV2_update.threshold", + "required": true + } + ], + "cls": "ThresholdRuleV2_update" + }, + { + "type": "@ThresholdRuleV2_update", + "name": "unhealthyRule", + "arg": "@EvaluationRule_update.unhealthyRule", + "required": true + } + ], + "cls": "EvaluationRule_update" + }, + { + "type": "string", + "name": "metricName", + "arg": "$resource.properties.signalGroups.azureResource.signals[].metricName", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricNamespace", + "arg": "$resource.properties.signalGroups.azureResource.signals[].metricNamespace", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "name", + "arg": "$resource.properties.signalGroups.azureResource.signals[].name", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "arg": "$resource.properties.signalGroups.azureResource.signals[].refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "arg": "$resource.properties.signalGroups.azureResource.signals[].signalDefinitionName", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "const": true, + "default": { + "value": "AzureResourceMetric" + }, + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "type": "string", + "name": "timeGrain", + "arg": "$resource.properties.signalGroups.azureResource.signals[].timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + "identifiers": [ + "name" + ] + } + ] + }, + { + "type": "object", + "name": "dependencies", + "arg": "$resource.properties.signalGroups.dependencies", + "props": [ + { + "default": { + "value": "WorstOf" + }, + "type": "string", + "name": "aggregationType", + "arg": "$resource.properties.signalGroups.dependencies.aggregationType", + "required": true, + "enum": { + "items": [ + { + "value": "MaxNotHealthy" + }, + { + "value": "MinHealthy" + }, + { + "value": "WorstOf" + } + ] + } + }, + { + "type": "float64", + "name": "degradedThreshold", + "arg": "$resource.properties.signalGroups.dependencies.degradedThreshold", + "format": { + "minimum": 0.0 + } + }, + { + "default": { + "value": true + }, + "type": "boolean", + "name": "ignoreUnknown", + "arg": "$resource.properties.signalGroups.dependencies.ignoreUnknown" + }, + { + "type": "float64", + "name": "unhealthyThreshold", + "arg": "$resource.properties.signalGroups.dependencies.unhealthyThreshold", + "format": { + "minimum": 0.0 + } + }, + { + "type": "string", + "name": "unit", + "arg": "$resource.properties.signalGroups.dependencies.unit", + "enum": { + "items": [ + { + "value": "Absolute" + }, + { + "value": "Percentage" + } + ] + } + } + ] + } + ] + }, + { + "type": "object", + "name": "tags", + "arg": "$resource.properties.tags", + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ] + } + ], + "clientFlatten": true + } + } + } + }, + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "Entities_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "entityName", + "arg": "$Path.entityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "ref": "$Instance" + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "@Entity_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.xml index 6015c67de..356185dcb 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.xml @@ -1,7 +1,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.json index 5f62d9be9..5425b5b31 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.json @@ -1 +1,329 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/gethistory", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRIaXN0b3J5/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel entity", "commands": [{"name": "get-history", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/gethistory", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRIaXN0b3J5/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.entityName", "options": ["entity-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the entity. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Body", "args": [{"type": "dateTime", "var": "$body.endAt", "options": ["end-at"], "group": "Body", "help": {"short": "End time for the history query. Defaults to now if not specified."}, "format": {"protocol": "iso"}}, {"type": "dateTime", "var": "$body.startAt", "options": ["start-at"], "group": "Body", "help": {"short": "Start time for the history query. Defaults to 24 hours ago if not specified."}, "format": {"protocol": "iso"}}]}], "operations": [{"operationId": "Entities_GetHistory", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}/getHistory", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "entityName", "arg": "$Path.entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "dateTime", "name": "endAt", "arg": "$body.endAt", "format": {"protocol": "iso"}}, {"type": "dateTime", "name": "startAt", "arg": "$body.startAt", "format": {"protocol": "iso"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "array", "name": "history", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "newState", "required": true, "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"type": "dateTime", "name": "occurredAt", "required": true, "format": {"protocol": "iso"}}, {"type": "string", "name": "previousState", "required": true, "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"type": "string", "name": "reason", "format": {"maxLength": 4096}}]}, "identifiers": ["occurredAt"]}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/gethistory", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRIaXN0b3J5/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models entity", + "commands": [ + { + "name": "get-history", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/gethistory", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRIaXN0b3J5/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.entityName", + "options": [ + "entity-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the entity. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Body", + "args": [ + { + "type": "dateTime", + "var": "$body.endAt", + "options": [ + "end-at" + ], + "group": "Body", + "help": { + "short": "End time for the history query. Defaults to now if not specified." + }, + "format": { + "protocol": "iso" + } + }, + { + "type": "dateTime", + "var": "$body.startAt", + "options": [ + "start-at" + ], + "group": "Body", + "help": { + "short": "Start time for the history query. Defaults to 24 hours ago if not specified." + }, + "format": { + "protocol": "iso" + } + } + ] + } + ], + "operations": [ + { + "operationId": "Entities_GetHistory", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}/getHistory", + "request": { + "method": "post", + "path": { + "params": [ + { + "type": "string", + "name": "entityName", + "arg": "$Path.entityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "schema": { + "type": "object", + "name": "body", + "required": true, + "props": [ + { + "type": "dateTime", + "name": "endAt", + "arg": "$body.endAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "dateTime", + "name": "startAt", + "arg": "$body.startAt", + "format": { + "protocol": "iso" + } + } + ], + "clientFlatten": true + } + } + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "string", + "name": "entityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "array", + "name": "history", + "required": true, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "newState", + "required": true, + "enum": { + "items": [ + { + "value": "Degraded" + }, + { + "value": "Deleted" + }, + { + "value": "Healthy" + }, + { + "value": "Unhealthy" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "type": "dateTime", + "name": "occurredAt", + "required": true, + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "previousState", + "required": true, + "enum": { + "items": [ + { + "value": "Degraded" + }, + { + "value": "Deleted" + }, + { + "value": "Healthy" + }, + { + "value": "Unhealthy" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "type": "string", + "name": "reason", + "format": { + "maxLength": 4096 + } + } + ] + }, + "identifiers": [ + "occurredAt" + ] + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.xml index 293c12d90..4ae28637c 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.xml @@ -1,7 +1,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.json index c501dcf5e..5d3c61392 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.json @@ -1 +1,341 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getsignalhistory", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRTaWduYWxIaXN0b3J5/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel entity", "commands": [{"name": "get-signal-history", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getsignalhistory", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRTaWduYWxIaXN0b3J5/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.entityName", "options": ["entity-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the entity. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Body", "args": [{"type": "dateTime", "var": "$body.endAt", "options": ["end-at"], "group": "Body", "help": {"short": "End time for the history query. Defaults to now if not specified."}, "format": {"protocol": "iso"}}, {"type": "string", "var": "$body.signalName", "options": ["signal-name"], "required": true, "group": "Body", "help": {"short": "Name of the signal to get history for"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "dateTime", "var": "$body.startAt", "options": ["start-at"], "group": "Body", "help": {"short": "Start time for the history query. Defaults to 24 hours ago if not specified."}, "format": {"protocol": "iso"}}]}], "operations": [{"operationId": "Entities_GetSignalHistory", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}/getSignalHistory", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "entityName", "arg": "$Path.entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "dateTime", "name": "endAt", "arg": "$body.endAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "signalName", "arg": "$body.signalName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "dateTime", "name": "startAt", "arg": "$body.startAt", "format": {"protocol": "iso"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "array", "name": "history", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "additionalContext", "format": {"maxLength": 4096}}, {"type": "string", "name": "healthState", "required": true, "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"type": "dateTime", "name": "occurredAt", "required": true, "format": {"protocol": "iso"}}, {"type": "float64", "name": "value"}]}, "identifiers": ["occurredAt"]}, {"type": "string", "name": "signalName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getsignalhistory", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRTaWduYWxIaXN0b3J5/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models entity", + "commands": [ + { + "name": "get-signal-history", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getsignalhistory", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRTaWduYWxIaXN0b3J5/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.entityName", + "options": [ + "entity-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the entity. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Body", + "args": [ + { + "type": "dateTime", + "var": "$body.endAt", + "options": [ + "end-at" + ], + "group": "Body", + "help": { + "short": "End time for the history query. Defaults to now if not specified." + }, + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "var": "$body.signalName", + "options": [ + "signal-name" + ], + "required": true, + "group": "Body", + "help": { + "short": "Name of the signal to get history for" + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "dateTime", + "var": "$body.startAt", + "options": [ + "start-at" + ], + "group": "Body", + "help": { + "short": "Start time for the history query. Defaults to 24 hours ago if not specified." + }, + "format": { + "protocol": "iso" + } + } + ] + } + ], + "operations": [ + { + "operationId": "Entities_GetSignalHistory", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}/getSignalHistory", + "request": { + "method": "post", + "path": { + "params": [ + { + "type": "string", + "name": "entityName", + "arg": "$Path.entityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "schema": { + "type": "object", + "name": "body", + "required": true, + "props": [ + { + "type": "dateTime", + "name": "endAt", + "arg": "$body.endAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "signalName", + "arg": "$body.signalName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "dateTime", + "name": "startAt", + "arg": "$body.startAt", + "format": { + "protocol": "iso" + } + } + ], + "clientFlatten": true + } + } + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "string", + "name": "entityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "array", + "name": "history", + "required": true, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "additionalContext", + "format": { + "maxLength": 4096 + } + }, + { + "type": "string", + "name": "healthState", + "required": true, + "enum": { + "items": [ + { + "value": "Degraded" + }, + { + "value": "Deleted" + }, + { + "value": "Healthy" + }, + { + "value": "Unhealthy" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "type": "dateTime", + "name": "occurredAt", + "required": true, + "format": { + "protocol": "iso" + } + }, + { + "type": "float64", + "name": "value" + } + ] + }, + "identifiers": [ + "occurredAt" + ] + }, + { + "type": "string", + "name": "signalName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.xml index 8c126c5a2..130bed62b 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.xml @@ -1,7 +1,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.json index 85425e604..51d05d124 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.json @@ -1 +1,479 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/ingesthealthreport", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9pbmdlc3RIZWFsdGhSZXBvcnQ=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel entity", "commands": [{"name": "ingest-health-report", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/ingesthealthreport", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9pbmdlc3RIZWFsdGhSZXBvcnQ=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.entityName", "options": ["entity-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the entity. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Body", "args": [{"type": "string", "var": "$body.additionalContext", "options": ["additional-context"], "group": "Body", "help": {"short": "Optional additional context or description for the health report"}, "format": {"maxLength": 4096}}, {"type": "object", "var": "$body.evaluationRules", "options": ["evaluation-rules"], "group": "Body", "help": {"short": "Evaluation rules that were used to determine the reported health state"}, "args": [{"type": "object", "var": "$body.evaluationRules.degradedRule", "options": ["degraded-rule"], "help": {"short": "Degraded rule with static threshold."}, "args": [{"type": "string", "var": "@ThresholdRuleV2_create.operator", "options": ["operator"], "required": true, "help": {"short": "Operator how to compare the signal value with the threshold"}, "enum": {"items": [{"name": "Equal", "value": "Equal"}, {"name": "GreaterThan", "value": "GreaterThan"}, {"name": "GreaterThanOrEqual", "value": "GreaterThanOrEqual"}, {"name": "LessThan", "value": "LessThan"}, {"name": "LessThanOrEqual", "value": "LessThanOrEqual"}, {"name": "NotEqual", "value": "NotEqual"}]}}, {"type": "float64", "var": "@ThresholdRuleV2_create.threshold", "options": ["threshold"], "required": true, "help": {"short": "Threshold value"}}], "cls": "ThresholdRuleV2_create"}, {"type": "@ThresholdRuleV2_create", "var": "$body.evaluationRules.unhealthyRule", "options": ["unhealthy-rule"], "required": true, "help": {"short": "Unhealthy rule with static threshold."}}]}, {"type": "integer32", "var": "$body.expiresInMinutes", "options": ["expires-in-minutes"], "group": "Body", "help": {"short": "Number of minutes until the health report expires. Defaults to 60 (1 hour) if not specified."}, "default": {"value": 60}, "format": {"maximum": 10080, "minimum": 1}}, {"type": "string", "var": "$body.healthState", "options": ["health-state"], "required": true, "group": "Body", "help": {"short": "Health state to report for the signal"}, "enum": {"items": [{"name": "Degraded", "value": "Degraded"}, {"name": "Deleted", "value": "Deleted"}, {"name": "Healthy", "value": "Healthy"}, {"name": "Unhealthy", "value": "Unhealthy"}, {"name": "Unknown", "value": "Unknown"}]}}, {"type": "string", "var": "$body.signalName", "options": ["signal-name"], "required": true, "group": "Body", "help": {"short": "Name of the entity signal to report health for"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "float64", "var": "$body.value", "options": ["value"], "group": "Body", "help": {"short": "Reported value of the signal"}}]}], "operations": [{"operationId": "Entities_IngestHealthReport", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}/ingestHealthReport", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "entityName", "arg": "$Path.entityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "required": true, "props": [{"type": "string", "name": "additionalContext", "arg": "$body.additionalContext", "format": {"maxLength": 4096}}, {"type": "object", "name": "evaluationRules", "arg": "$body.evaluationRules", "props": [{"type": "object", "name": "degradedRule", "arg": "$body.evaluationRules.degradedRule", "props": [{"type": "string", "name": "operator", "arg": "@ThresholdRuleV2_create.operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "arg": "@ThresholdRuleV2_create.threshold", "required": true}], "cls": "ThresholdRuleV2_create"}, {"type": "@ThresholdRuleV2_create", "name": "unhealthyRule", "arg": "$body.evaluationRules.unhealthyRule", "required": true}]}, {"default": {"value": 60}, "type": "integer32", "name": "expiresInMinutes", "arg": "$body.expiresInMinutes", "format": {"maximum": 10080, "minimum": 1}}, {"type": "string", "name": "healthState", "arg": "$body.healthState", "required": true, "enum": {"items": [{"value": "Degraded"}, {"value": "Deleted"}, {"value": "Healthy"}, {"value": "Unhealthy"}, {"value": "Unknown"}]}}, {"type": "string", "name": "signalName", "arg": "$body.signalName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "float64", "name": "value", "arg": "$body.value"}], "clientFlatten": true}}}}, "responses": [{"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}]}]}]} \ No newline at end of file +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/ingesthealthreport", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9pbmdlc3RIZWFsdGhSZXBvcnQ=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models entity", + "commands": [ + { + "name": "ingest-health-report", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/ingesthealthreport", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9pbmdlc3RIZWFsdGhSZXBvcnQ=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.entityName", + "options": [ + "entity-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the entity. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Body", + "args": [ + { + "type": "string", + "var": "$body.additionalContext", + "options": [ + "additional-context" + ], + "group": "Body", + "help": { + "short": "Optional additional context or description for the health report" + }, + "format": { + "maxLength": 4096 + } + }, + { + "type": "object", + "var": "$body.evaluationRules", + "options": [ + "evaluation-rules" + ], + "group": "Body", + "help": { + "short": "Evaluation rules that were used to determine the reported health state" + }, + "args": [ + { + "type": "object", + "var": "$body.evaluationRules.degradedRule", + "options": [ + "degraded-rule" + ], + "help": { + "short": "Degraded rule with static threshold." + }, + "args": [ + { + "type": "string", + "var": "@ThresholdRuleV2_create.operator", + "options": [ + "operator" + ], + "required": true, + "help": { + "short": "Operator how to compare the signal value with the threshold" + }, + "enum": { + "items": [ + { + "name": "Equal", + "value": "Equal" + }, + { + "name": "GreaterThan", + "value": "GreaterThan" + }, + { + "name": "GreaterThanOrEqual", + "value": "GreaterThanOrEqual" + }, + { + "name": "LessThan", + "value": "LessThan" + }, + { + "name": "LessThanOrEqual", + "value": "LessThanOrEqual" + }, + { + "name": "NotEqual", + "value": "NotEqual" + } + ] + } + }, + { + "type": "float64", + "var": "@ThresholdRuleV2_create.threshold", + "options": [ + "threshold" + ], + "required": true, + "help": { + "short": "Threshold value" + } + } + ], + "cls": "ThresholdRuleV2_create" + }, + { + "type": "@ThresholdRuleV2_create", + "var": "$body.evaluationRules.unhealthyRule", + "options": [ + "unhealthy-rule" + ], + "required": true, + "help": { + "short": "Unhealthy rule with static threshold." + } + } + ] + }, + { + "type": "integer32", + "var": "$body.expiresInMinutes", + "options": [ + "expires-in-minutes" + ], + "group": "Body", + "help": { + "short": "Number of minutes until the health report expires. Defaults to 60 (1 hour) if not specified." + }, + "default": { + "value": 60 + }, + "format": { + "maximum": 10080, + "minimum": 1 + } + }, + { + "type": "string", + "var": "$body.healthState", + "options": [ + "health-state" + ], + "required": true, + "group": "Body", + "help": { + "short": "Health state to report for the signal" + }, + "enum": { + "items": [ + { + "name": "Degraded", + "value": "Degraded" + }, + { + "name": "Deleted", + "value": "Deleted" + }, + { + "name": "Healthy", + "value": "Healthy" + }, + { + "name": "Unhealthy", + "value": "Unhealthy" + }, + { + "name": "Unknown", + "value": "Unknown" + } + ] + } + }, + { + "type": "string", + "var": "$body.signalName", + "options": [ + "signal-name" + ], + "required": true, + "group": "Body", + "help": { + "short": "Name of the entity signal to report health for" + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "float64", + "var": "$body.value", + "options": [ + "value" + ], + "group": "Body", + "help": { + "short": "Reported value of the signal" + } + } + ] + } + ], + "operations": [ + { + "operationId": "Entities_IngestHealthReport", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}/ingestHealthReport", + "request": { + "method": "post", + "path": { + "params": [ + { + "type": "string", + "name": "entityName", + "arg": "$Path.entityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "schema": { + "type": "object", + "name": "body", + "required": true, + "props": [ + { + "type": "string", + "name": "additionalContext", + "arg": "$body.additionalContext", + "format": { + "maxLength": 4096 + } + }, + { + "type": "object", + "name": "evaluationRules", + "arg": "$body.evaluationRules", + "props": [ + { + "type": "object", + "name": "degradedRule", + "arg": "$body.evaluationRules.degradedRule", + "props": [ + { + "type": "string", + "name": "operator", + "arg": "@ThresholdRuleV2_create.operator", + "required": true, + "enum": { + "items": [ + { + "value": "Equal" + }, + { + "value": "GreaterThan" + }, + { + "value": "GreaterThanOrEqual" + }, + { + "value": "LessThan" + }, + { + "value": "LessThanOrEqual" + }, + { + "value": "NotEqual" + } + ] + } + }, + { + "type": "float64", + "name": "threshold", + "arg": "@ThresholdRuleV2_create.threshold", + "required": true + } + ], + "cls": "ThresholdRuleV2_create" + }, + { + "type": "@ThresholdRuleV2_create", + "name": "unhealthyRule", + "arg": "$body.evaluationRules.unhealthyRule", + "required": true + } + ] + }, + { + "default": { + "value": 60 + }, + "type": "integer32", + "name": "expiresInMinutes", + "arg": "$body.expiresInMinutes", + "format": { + "maximum": 10080, + "minimum": 1 + } + }, + { + "type": "string", + "name": "healthState", + "arg": "$body.healthState", + "required": true, + "enum": { + "items": [ + { + "value": "Degraded" + }, + { + "value": "Deleted" + }, + { + "value": "Healthy" + }, + { + "value": "Unhealthy" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "type": "string", + "name": "signalName", + "arg": "$body.signalName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "float64", + "name": "value", + "arg": "$body.value" + } + ], + "clientFlatten": true + } + } + } + }, + "responses": [ + { + "statusCode": [ + 204 + ] + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.xml index ec49be65f..d2db754ca 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.xml @@ -1,7 +1,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.json index 10cc44928..c4029ebbb 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.json @@ -1 +1,576 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25z/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel signal-definition", "commands": [{"name": "list", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25z/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "dateTime", "var": "$Query.timestamp", "options": ["timestamp"], "help": {"short": "Timestamp to use for the operation. When specified, the version of the resource at this point in time is retrieved. If not specified, the latest version is used."}, "format": {"protocol": "iso"}}]}], "operations": [{"operationId": "SignalDefinitions_ListByHealthModel", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/signaldefinitions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "dateTime", "name": "timestamp", "arg": "$Query.timestamp", "format": {"protocol": "iso"}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/signaldefinitions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "required": true, "props": [{"type": "object", "name": "degradedRule", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "required": true}], "cls": "ThresholdRuleV2_read"}, {"type": "@ThresholdRuleV2_read", "name": "unhealthyRule", "required": true}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}], "discriminators": [{"property": "signalKind", "value": "AzureResourceMetric", "props": [{"type": "string", "name": "aggregationType", "required": true, "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricName", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "timeGrain", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "LogAnalyticsQuery", "props": [{"type": "string", "name": "queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "PrometheusMetricsQuery", "props": [{"type": "string", "name": "queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25z/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models signal-definition", + "commands": [ + { + "name": "list", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25z/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + }, + { + "type": "dateTime", + "var": "$Query.timestamp", + "options": [ + "timestamp" + ], + "help": { + "short": "Timestamp to use for the operation. When specified, the version of the resource at this point in time is retrieved. If not specified, the latest version is used." + }, + "format": { + "protocol": "iso" + } + } + ] + } + ], + "operations": [ + { + "operationId": "SignalDefinitions_ListByHealthModel", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/signaldefinitions", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "params": [ + { + "type": "dateTime", + "name": "timestamp", + "arg": "$Query.timestamp", + "format": { + "protocol": "iso" + } + } + ], + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "string", + "name": "nextLink" + }, + { + "type": "array", + "name": "value", + "required": true, + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/signaldefinitions/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "name": "evaluationRules", + "required": true, + "props": [ + { + "type": "object", + "name": "degradedRule", + "props": [ + { + "type": "string", + "name": "operator", + "required": true, + "enum": { + "items": [ + { + "value": "Equal" + }, + { + "value": "GreaterThan" + }, + { + "value": "GreaterThanOrEqual" + }, + { + "value": "LessThan" + }, + { + "value": "LessThanOrEqual" + }, + { + "value": "NotEqual" + } + ] + } + }, + { + "type": "float64", + "name": "threshold", + "required": true + } + ], + "cls": "ThresholdRuleV2_read" + }, + { + "type": "@ThresholdRuleV2_read", + "name": "unhealthyRule", + "required": true + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ], + "discriminators": [ + { + "property": "signalKind", + "value": "AzureResourceMetric", + "props": [ + { + "type": "string", + "name": "aggregationType", + "required": true, + "enum": { + "items": [ + { + "value": "Average" + }, + { + "value": "Count" + }, + { + "value": "Maximum" + }, + { + "value": "Minimum" + }, + { + "value": "None" + }, + { + "value": "Total" + } + ] + } + }, + { + "type": "string", + "name": "dimension", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "dimensionFilter", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricName", + "required": true, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricNamespace", + "required": true, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "required": true, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "property": "signalKind", + "value": "LogAnalyticsQuery", + "props": [ + { + "type": "string", + "name": "queryText", + "required": true, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "valueColumnName", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "property": "signalKind", + "value": "PrometheusMetricsQuery", + "props": [ + { + "type": "string", + "name": "queryText", + "required": true, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "array", + "ref": "$Instance.value", + "clientFlatten": true, + "nextLink": "$Instance.nextLink" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.xml index f386e445c..a44ad9ca8 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.xml @@ -1,7 +1,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.json index cfbb830bc..332c07d59 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.json @@ -1 +1,3338 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel signal-definition", "commands": [{"name": "show", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.signalDefinitionName", "options": ["n", "name", "signal-definition-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the signal definition. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "SignalDefinitions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/signaldefinitions/{signalDefinitionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "signalDefinitionName", "arg": "$Path.signalDefinitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/signaldefinitions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "required": true, "props": [{"type": "object", "name": "degradedRule", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "required": true}], "cls": "ThresholdRuleV2_read"}, {"type": "@ThresholdRuleV2_read", "name": "unhealthyRule", "required": true}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}], "discriminators": [{"property": "signalKind", "value": "AzureResourceMetric", "props": [{"type": "string", "name": "aggregationType", "required": true, "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricName", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "timeGrain", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "LogAnalyticsQuery", "props": [{"type": "string", "name": "queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "PrometheusMetricsQuery", "props": [{"type": "string", "name": "queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.signalDefinitionName", "options": ["n", "name", "signal-definition-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the signal definition. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "SignalDefinitions_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/signaldefinitions/{signalDefinitionName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "signalDefinitionName", "arg": "$Path.signalDefinitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.signalDefinitionName", "options": ["n", "name", "signal-definition-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the signal definition. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.AzureResourceMetric", "options": ["azure-resource-metric"], "group": "Properties", "args": [{"type": "string", "var": "$resource.properties.AzureResourceMetric.aggregationType", "options": ["aggregation-type"], "required": true, "help": {"short": "Type of aggregation to apply to the metric"}, "enum": {"items": [{"name": "Average", "value": "Average"}, {"name": "Count", "value": "Count"}, {"name": "Maximum", "value": "Maximum"}, {"name": "Minimum", "value": "Minimum"}, {"name": "None", "value": "None"}, {"name": "Total", "value": "Total"}]}}, {"type": "string", "var": "$resource.properties.AzureResourceMetric.dimension", "options": ["dimension"], "help": {"short": "Optional: Dimension to split by"}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.AzureResourceMetric.dimensionFilter", "options": ["dimension-filter"], "help": {"short": "Optional: Dimension filter to apply to the dimension. Must only be set if also Dimension is set."}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.AzureResourceMetric.metricName", "options": ["metric-name"], "required": true, "help": {"short": "Name of the metric"}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.AzureResourceMetric.metricNamespace", "options": ["metric-namespace"], "required": true, "help": {"short": "Metric namespace"}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.AzureResourceMetric.timeGrain", "options": ["time-grain"], "required": true, "help": {"short": "Time range of signal. ISO duration format like PT10M."}, "format": {"maxLength": 100, "minLength": 1}}]}, {"type": "object", "var": "$resource.properties.LogAnalyticsQuery", "options": ["log-analytics-query"], "group": "Properties", "args": [{"type": "string", "var": "$resource.properties.LogAnalyticsQuery.queryText", "options": ["query-text"], "required": true, "help": {"short": "Query text in KQL syntax"}, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "var": "$resource.properties.LogAnalyticsQuery.timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M. If not specified, the KQL query must define a time range."}, "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "var": "$resource.properties.LogAnalyticsQuery.valueColumnName", "options": ["value-column-name"], "help": {"short": "Name of the column in the result set to evaluate against the thresholds. Defaults to the first column in the result set if not specified. The column must be numeric."}, "format": {"maxLength": 100, "minLength": 1}}]}, {"type": "object", "var": "$resource.properties.PrometheusMetricsQuery", "options": ["prometheus-metrics-query"], "group": "Properties", "args": [{"type": "string", "var": "$resource.properties.PrometheusMetricsQuery.queryText", "options": ["query-text"], "required": true, "help": {"short": "Query text in PromQL syntax"}, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "var": "$resource.properties.PrometheusMetricsQuery.timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M."}, "format": {"maxLength": 100, "minLength": 1}}]}, {"type": "string", "var": "$resource.properties.dataUnit", "options": ["data-unit"], "group": "Properties", "help": {"short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))"}, "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "var": "$resource.properties.evaluationRules", "options": ["evaluation-rules"], "group": "Properties", "help": {"short": "Evaluation rules for the signal definition"}, "args": [{"type": "object", "var": "$resource.properties.evaluationRules.degradedRule", "options": ["degraded-rule"], "help": {"short": "Degraded rule with static threshold."}, "args": [{"type": "string", "var": "@ThresholdRuleV2_create.operator", "options": ["operator"], "required": true, "help": {"short": "Operator how to compare the signal value with the threshold"}, "enum": {"items": [{"name": "Equal", "value": "Equal"}, {"name": "GreaterThan", "value": "GreaterThan"}, {"name": "GreaterThanOrEqual", "value": "GreaterThanOrEqual"}, {"name": "LessThan", "value": "LessThan"}, {"name": "LessThanOrEqual", "value": "LessThanOrEqual"}, {"name": "NotEqual", "value": "NotEqual"}]}}, {"type": "float64", "var": "@ThresholdRuleV2_create.threshold", "options": ["threshold"], "required": true, "help": {"short": "Threshold value"}}], "cls": "ThresholdRuleV2_create"}, {"type": "@ThresholdRuleV2_create", "var": "$resource.properties.evaluationRules.unhealthyRule", "options": ["unhealthy-rule"], "required": true, "help": {"short": "Unhealthy rule with static threshold."}}]}, {"type": "string", "var": "$resource.properties.refreshInterval", "options": ["refresh-interval"], "group": "Properties", "help": {"short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)."}, "default": {"value": "PT1M"}, "enum": {"items": [{"name": "PT10M", "value": "PT10M"}, {"name": "PT1H", "value": "PT1H"}, {"name": "PT1M", "value": "PT1M"}, {"name": "PT2H", "value": "PT2H"}, {"name": "PT30M", "value": "PT30M"}, {"name": "PT5M", "value": "PT5M"}]}}, {"type": "object", "var": "$resource.properties.tags", "options": ["tags"], "group": "Properties", "help": {"short": "Optional set of tags (key-value pairs)"}, "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "SignalDefinitions_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/signaldefinitions/{signalDefinitionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "signalDefinitionName", "arg": "$Path.signalDefinitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataUnit", "arg": "$resource.properties.dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "arg": "$resource.properties.evaluationRules", "required": true, "props": [{"type": "object", "name": "degradedRule", "arg": "$resource.properties.evaluationRules.degradedRule", "props": [{"type": "string", "name": "operator", "arg": "@ThresholdRuleV2_create.operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "arg": "@ThresholdRuleV2_create.threshold", "required": true}], "cls": "ThresholdRuleV2_create"}, {"type": "@ThresholdRuleV2_create", "name": "unhealthyRule", "arg": "$resource.properties.evaluationRules.unhealthyRule", "required": true}]}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "arg": "$resource.properties.refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"arg": "$resource.properties.AzureResourceMetric", "value": "AzureResourceMetric"}, {"value": "External"}, {"arg": "$resource.properties.LogAnalyticsQuery", "value": "LogAnalyticsQuery"}, {"arg": "$resource.properties.PrometheusMetricsQuery", "value": "PrometheusMetricsQuery"}]}}, {"type": "object", "name": "tags", "arg": "$resource.properties.tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}], "discriminators": [{"property": "signalKind", "value": "AzureResourceMetric", "props": [{"type": "string", "name": "aggregationType", "arg": "$resource.properties.AzureResourceMetric.aggregationType", "required": true, "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dimension", "arg": "$resource.properties.AzureResourceMetric.dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "arg": "$resource.properties.AzureResourceMetric.dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricName", "arg": "$resource.properties.AzureResourceMetric.metricName", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "arg": "$resource.properties.AzureResourceMetric.metricNamespace", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.AzureResourceMetric.timeGrain", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "LogAnalyticsQuery", "props": [{"type": "string", "name": "queryText", "arg": "$resource.properties.LogAnalyticsQuery.queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.LogAnalyticsQuery.timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "arg": "$resource.properties.LogAnalyticsQuery.valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "PrometheusMetricsQuery", "props": [{"type": "string", "name": "queryText", "arg": "$resource.properties.PrometheusMetricsQuery.queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.PrometheusMetricsQuery.timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/signaldefinitions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "required": true, "props": [{"type": "object", "name": "degradedRule", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "required": true}], "cls": "ThresholdRuleV2_read"}, {"type": "@ThresholdRuleV2_read", "name": "unhealthyRule", "required": true}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}], "discriminators": [{"property": "signalKind", "value": "AzureResourceMetric", "props": [{"type": "string", "name": "aggregationType", "required": true, "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricName", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "timeGrain", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "LogAnalyticsQuery", "props": [{"type": "string", "name": "queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "PrometheusMetricsQuery", "props": [{"type": "string", "name": "queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.signalDefinitionName", "options": ["n", "name", "signal-definition-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the signal definition. Must be unique within a health model."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "object", "var": "$resource.properties.AzureResourceMetric", "options": ["azure-resource-metric"], "group": "Properties", "args": [{"type": "string", "var": "$resource.properties.AzureResourceMetric.aggregationType", "options": ["aggregation-type"], "help": {"short": "Type of aggregation to apply to the metric"}, "enum": {"items": [{"name": "Average", "value": "Average"}, {"name": "Count", "value": "Count"}, {"name": "Maximum", "value": "Maximum"}, {"name": "Minimum", "value": "Minimum"}, {"name": "None", "value": "None"}, {"name": "Total", "value": "Total"}]}}, {"nullable": true, "type": "string", "var": "$resource.properties.AzureResourceMetric.dimension", "options": ["dimension"], "help": {"short": "Optional: Dimension to split by"}, "format": {"maxLength": 256, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.AzureResourceMetric.dimensionFilter", "options": ["dimension-filter"], "help": {"short": "Optional: Dimension filter to apply to the dimension. Must only be set if also Dimension is set."}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.AzureResourceMetric.metricName", "options": ["metric-name"], "help": {"short": "Name of the metric"}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.AzureResourceMetric.metricNamespace", "options": ["metric-namespace"], "help": {"short": "Metric namespace"}, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "var": "$resource.properties.AzureResourceMetric.timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M."}, "format": {"maxLength": 100, "minLength": 1}}]}, {"type": "object", "var": "$resource.properties.LogAnalyticsQuery", "options": ["log-analytics-query"], "group": "Properties", "args": [{"type": "string", "var": "$resource.properties.LogAnalyticsQuery.queryText", "options": ["query-text"], "help": {"short": "Query text in KQL syntax"}, "format": {"maxLength": 5000, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.LogAnalyticsQuery.timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M. If not specified, the KQL query must define a time range."}, "format": {"maxLength": 100, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.LogAnalyticsQuery.valueColumnName", "options": ["value-column-name"], "help": {"short": "Name of the column in the result set to evaluate against the thresholds. Defaults to the first column in the result set if not specified. The column must be numeric."}, "format": {"maxLength": 100, "minLength": 1}}]}, {"type": "object", "var": "$resource.properties.PrometheusMetricsQuery", "options": ["prometheus-metrics-query"], "group": "Properties", "args": [{"type": "string", "var": "$resource.properties.PrometheusMetricsQuery.queryText", "options": ["query-text"], "help": {"short": "Query text in PromQL syntax"}, "format": {"maxLength": 5000, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.PrometheusMetricsQuery.timeGrain", "options": ["time-grain"], "help": {"short": "Time range of signal. ISO duration format like PT10M."}, "format": {"maxLength": 100, "minLength": 1}}]}, {"nullable": true, "type": "string", "var": "$resource.properties.dataUnit", "options": ["data-unit"], "group": "Properties", "help": {"short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))"}, "format": {"maxLength": 100, "minLength": 1}}, {"nullable": true, "type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "var": "$resource.properties.evaluationRules", "options": ["evaluation-rules"], "group": "Properties", "help": {"short": "Evaluation rules for the signal definition"}, "args": [{"nullable": true, "type": "object", "var": "$resource.properties.evaluationRules.degradedRule", "options": ["degraded-rule"], "help": {"short": "Degraded rule with static threshold."}, "args": [{"type": "string", "var": "@ThresholdRuleV2_update.operator", "options": ["operator"], "help": {"short": "Operator how to compare the signal value with the threshold"}, "enum": {"items": [{"name": "Equal", "value": "Equal"}, {"name": "GreaterThan", "value": "GreaterThan"}, {"name": "GreaterThanOrEqual", "value": "GreaterThanOrEqual"}, {"name": "LessThan", "value": "LessThan"}, {"name": "LessThanOrEqual", "value": "LessThanOrEqual"}, {"name": "NotEqual", "value": "NotEqual"}]}}, {"type": "float64", "var": "@ThresholdRuleV2_update.threshold", "options": ["threshold"], "help": {"short": "Threshold value"}}], "cls": "ThresholdRuleV2_update"}, {"type": "@ThresholdRuleV2_update", "var": "$resource.properties.evaluationRules.unhealthyRule", "options": ["unhealthy-rule"], "help": {"short": "Unhealthy rule with static threshold."}}]}, {"nullable": true, "type": "string", "var": "$resource.properties.refreshInterval", "options": ["refresh-interval"], "group": "Properties", "help": {"short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)."}, "enum": {"items": [{"name": "PT10M", "value": "PT10M"}, {"name": "PT1H", "value": "PT1H"}, {"name": "PT1M", "value": "PT1M"}, {"name": "PT2H", "value": "PT2H"}, {"name": "PT30M", "value": "PT30M"}, {"name": "PT5M", "value": "PT5M"}]}}, {"nullable": true, "type": "object", "var": "$resource.properties.tags", "options": ["tags"], "group": "Properties", "help": {"short": "Optional set of tags (key-value pairs)"}, "additionalProps": {"item": {"nullable": true, "type": "string", "format": {"maxLength": 4096}}}}]}], "operations": [{"operationId": "SignalDefinitions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/signaldefinitions/{signalDefinitionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "signalDefinitionName", "arg": "$Path.signalDefinitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/signaldefinitions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "required": true, "props": [{"type": "object", "name": "degradedRule", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "required": true}], "cls": "ThresholdRuleV2_read"}, {"type": "@ThresholdRuleV2_read", "name": "unhealthyRule", "required": true}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"value": "AzureResourceMetric"}, {"value": "External"}, {"value": "LogAnalyticsQuery"}, {"value": "PrometheusMetricsQuery"}]}}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}], "discriminators": [{"property": "signalKind", "value": "AzureResourceMetric", "props": [{"type": "string", "name": "aggregationType", "required": true, "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricName", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "timeGrain", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "LogAnalyticsQuery", "props": [{"type": "string", "name": "queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "PrometheusMetricsQuery", "props": [{"type": "string", "name": "queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "SignalDefinition_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataUnit", "arg": "$resource.properties.dataUnit", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "evaluationRules", "arg": "$resource.properties.evaluationRules", "required": true, "props": [{"type": "object", "name": "degradedRule", "arg": "$resource.properties.evaluationRules.degradedRule", "props": [{"type": "string", "name": "operator", "arg": "@ThresholdRuleV2_update.operator", "required": true, "enum": {"items": [{"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "float64", "name": "threshold", "arg": "@ThresholdRuleV2_update.threshold", "required": true}], "cls": "ThresholdRuleV2_update"}, {"type": "@ThresholdRuleV2_update", "name": "unhealthyRule", "arg": "$resource.properties.evaluationRules.unhealthyRule", "required": true}]}, {"default": {"value": "PT1M"}, "type": "string", "name": "refreshInterval", "arg": "$resource.properties.refreshInterval", "enum": {"items": [{"value": "PT10M"}, {"value": "PT1H"}, {"value": "PT1M"}, {"value": "PT2H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "signalKind", "required": true, "enum": {"items": [{"arg": "$resource.properties.AzureResourceMetric", "value": "AzureResourceMetric"}, {"value": "External"}, {"arg": "$resource.properties.LogAnalyticsQuery", "value": "LogAnalyticsQuery"}, {"arg": "$resource.properties.PrometheusMetricsQuery", "value": "PrometheusMetricsQuery"}]}}, {"type": "object", "name": "tags", "arg": "$resource.properties.tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}], "discriminators": [{"property": "signalKind", "value": "AzureResourceMetric", "props": [{"type": "string", "name": "aggregationType", "arg": "$resource.properties.AzureResourceMetric.aggregationType", "required": true, "enum": {"items": [{"value": "Average"}, {"value": "Count"}, {"value": "Maximum"}, {"value": "Minimum"}, {"value": "None"}, {"value": "Total"}]}}, {"type": "string", "name": "dimension", "arg": "$resource.properties.AzureResourceMetric.dimension", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "dimensionFilter", "arg": "$resource.properties.AzureResourceMetric.dimensionFilter", "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricName", "arg": "$resource.properties.AzureResourceMetric.metricName", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "metricNamespace", "arg": "$resource.properties.AzureResourceMetric.metricNamespace", "required": true, "format": {"maxLength": 256, "minLength": 1}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.AzureResourceMetric.timeGrain", "required": true, "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "LogAnalyticsQuery", "props": [{"type": "string", "name": "queryText", "arg": "$resource.properties.LogAnalyticsQuery.queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.LogAnalyticsQuery.timeGrain", "format": {"maxLength": 100, "minLength": 1}}, {"type": "string", "name": "valueColumnName", "arg": "$resource.properties.LogAnalyticsQuery.valueColumnName", "format": {"maxLength": 100, "minLength": 1}}]}, {"property": "signalKind", "value": "PrometheusMetricsQuery", "props": [{"type": "string", "name": "queryText", "arg": "$resource.properties.PrometheusMetricsQuery.queryText", "required": true, "format": {"maxLength": 5000, "minLength": 1}}, {"type": "string", "name": "timeGrain", "arg": "$resource.properties.PrometheusMetricsQuery.timeGrain", "format": {"maxLength": 100, "minLength": 1}}]}]}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "SignalDefinitions_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/signaldefinitions/{signalDefinitionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "signalDefinitionName", "arg": "$Path.signalDefinitionName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@SignalDefinition_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models signal-definition", + "commands": [ + { + "name": "show", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "string", + "var": "$Path.signalDefinitionName", + "options": [ + "n", + "name", + "signal-definition-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the signal definition. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "operationId": "SignalDefinitions_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/signaldefinitions/{signalDefinitionName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "arg": "$Path.signalDefinitionName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/signaldefinitions/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "name": "evaluationRules", + "required": true, + "props": [ + { + "type": "object", + "name": "degradedRule", + "props": [ + { + "type": "string", + "name": "operator", + "required": true, + "enum": { + "items": [ + { + "value": "Equal" + }, + { + "value": "GreaterThan" + }, + { + "value": "GreaterThanOrEqual" + }, + { + "value": "LessThan" + }, + { + "value": "LessThanOrEqual" + }, + { + "value": "NotEqual" + } + ] + } + }, + { + "type": "float64", + "name": "threshold", + "required": true + } + ], + "cls": "ThresholdRuleV2_read" + }, + { + "type": "@ThresholdRuleV2_read", + "name": "unhealthyRule", + "required": true + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ], + "discriminators": [ + { + "property": "signalKind", + "value": "AzureResourceMetric", + "props": [ + { + "type": "string", + "name": "aggregationType", + "required": true, + "enum": { + "items": [ + { + "value": "Average" + }, + { + "value": "Count" + }, + { + "value": "Maximum" + }, + { + "value": "Minimum" + }, + { + "value": "None" + }, + { + "value": "Total" + } + ] + } + }, + { + "type": "string", + "name": "dimension", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "dimensionFilter", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricName", + "required": true, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricNamespace", + "required": true, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "required": true, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "property": "signalKind", + "value": "LogAnalyticsQuery", + "props": [ + { + "type": "string", + "name": "queryText", + "required": true, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "valueColumnName", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "property": "signalKind", + "value": "PrometheusMetricsQuery", + "props": [ + { + "type": "string", + "name": "queryText", + "required": true, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "delete", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "string", + "var": "$Path.signalDefinitionName", + "options": [ + "n", + "name", + "signal-definition-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the signal definition. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "location" + }, + "operationId": "SignalDefinitions_Delete", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/signaldefinitions/{signalDefinitionName}", + "request": { + "method": "delete", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "arg": "$Path.signalDefinitionName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 202 + ], + "header": { + "items": [ + { + "name": "Location" + }, + { + "name": "Retry-After" + } + ] + } + }, + { + "statusCode": [ + 204 + ] + }, + { + "statusCode": [ + 200, + 201 + ] + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "confirmation": "Are you sure you want to perform this operation?" + }, + { + "name": "create", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "string", + "var": "$Path.signalDefinitionName", + "options": [ + "n", + "name", + "signal-definition-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the signal definition. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Properties", + "args": [ + { + "type": "object", + "var": "$resource.properties.AzureResourceMetric", + "options": [ + "azure-resource-metric" + ], + "group": "Properties", + "args": [ + { + "type": "string", + "var": "$resource.properties.AzureResourceMetric.aggregationType", + "options": [ + "aggregation-type" + ], + "required": true, + "help": { + "short": "Type of aggregation to apply to the metric" + }, + "enum": { + "items": [ + { + "name": "Average", + "value": "Average" + }, + { + "name": "Count", + "value": "Count" + }, + { + "name": "Maximum", + "value": "Maximum" + }, + { + "name": "Minimum", + "value": "Minimum" + }, + { + "name": "None", + "value": "None" + }, + { + "name": "Total", + "value": "Total" + } + ] + } + }, + { + "type": "string", + "var": "$resource.properties.AzureResourceMetric.dimension", + "options": [ + "dimension" + ], + "help": { + "short": "Optional: Dimension to split by" + }, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.AzureResourceMetric.dimensionFilter", + "options": [ + "dimension-filter" + ], + "help": { + "short": "Optional: Dimension filter to apply to the dimension. Must only be set if also Dimension is set." + }, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.AzureResourceMetric.metricName", + "options": [ + "metric-name" + ], + "required": true, + "help": { + "short": "Name of the metric" + }, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.AzureResourceMetric.metricNamespace", + "options": [ + "metric-namespace" + ], + "required": true, + "help": { + "short": "Metric namespace" + }, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.AzureResourceMetric.timeGrain", + "options": [ + "time-grain" + ], + "required": true, + "help": { + "short": "Time range of signal. ISO duration format like PT10M." + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "type": "object", + "var": "$resource.properties.LogAnalyticsQuery", + "options": [ + "log-analytics-query" + ], + "group": "Properties", + "args": [ + { + "type": "string", + "var": "$resource.properties.LogAnalyticsQuery.queryText", + "options": [ + "query-text" + ], + "required": true, + "help": { + "short": "Query text in KQL syntax" + }, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.LogAnalyticsQuery.timeGrain", + "options": [ + "time-grain" + ], + "help": { + "short": "Time range of signal. ISO duration format like PT10M. If not specified, the KQL query must define a time range." + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.LogAnalyticsQuery.valueColumnName", + "options": [ + "value-column-name" + ], + "help": { + "short": "Name of the column in the result set to evaluate against the thresholds. Defaults to the first column in the result set if not specified. The column must be numeric." + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "type": "object", + "var": "$resource.properties.PrometheusMetricsQuery", + "options": [ + "prometheus-metrics-query" + ], + "group": "Properties", + "args": [ + { + "type": "string", + "var": "$resource.properties.PrometheusMetricsQuery.queryText", + "options": [ + "query-text" + ], + "required": true, + "help": { + "short": "Query text in PromQL syntax" + }, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.PrometheusMetricsQuery.timeGrain", + "options": [ + "time-grain" + ], + "help": { + "short": "Time range of signal. ISO duration format like PT10M." + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "type": "string", + "var": "$resource.properties.dataUnit", + "options": [ + "data-unit" + ], + "group": "Properties", + "help": { + "short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))" + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.displayName", + "options": [ + "display-name" + ], + "group": "Properties", + "help": { + "short": "Display name" + }, + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "var": "$resource.properties.evaluationRules", + "options": [ + "evaluation-rules" + ], + "group": "Properties", + "help": { + "short": "Evaluation rules for the signal definition" + }, + "args": [ + { + "type": "object", + "var": "$resource.properties.evaluationRules.degradedRule", + "options": [ + "degraded-rule" + ], + "help": { + "short": "Degraded rule with static threshold." + }, + "args": [ + { + "type": "string", + "var": "@ThresholdRuleV2_create.operator", + "options": [ + "operator" + ], + "required": true, + "help": { + "short": "Operator how to compare the signal value with the threshold" + }, + "enum": { + "items": [ + { + "name": "Equal", + "value": "Equal" + }, + { + "name": "GreaterThan", + "value": "GreaterThan" + }, + { + "name": "GreaterThanOrEqual", + "value": "GreaterThanOrEqual" + }, + { + "name": "LessThan", + "value": "LessThan" + }, + { + "name": "LessThanOrEqual", + "value": "LessThanOrEqual" + }, + { + "name": "NotEqual", + "value": "NotEqual" + } + ] + } + }, + { + "type": "float64", + "var": "@ThresholdRuleV2_create.threshold", + "options": [ + "threshold" + ], + "required": true, + "help": { + "short": "Threshold value" + } + } + ], + "cls": "ThresholdRuleV2_create" + }, + { + "type": "@ThresholdRuleV2_create", + "var": "$resource.properties.evaluationRules.unhealthyRule", + "options": [ + "unhealthy-rule" + ], + "required": true, + "help": { + "short": "Unhealthy rule with static threshold." + } + } + ] + }, + { + "type": "string", + "var": "$resource.properties.refreshInterval", + "options": [ + "refresh-interval" + ], + "group": "Properties", + "help": { + "short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)." + }, + "default": { + "value": "PT1M" + }, + "enum": { + "items": [ + { + "name": "PT10M", + "value": "PT10M" + }, + { + "name": "PT1H", + "value": "PT1H" + }, + { + "name": "PT1M", + "value": "PT1M" + }, + { + "name": "PT2H", + "value": "PT2H" + }, + { + "name": "PT30M", + "value": "PT30M" + }, + { + "name": "PT5M", + "value": "PT5M" + } + ] + } + }, + { + "type": "object", + "var": "$resource.properties.tags", + "options": [ + "tags" + ], + "group": "Properties", + "help": { + "short": "Optional set of tags (key-value pairs)" + }, + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "SignalDefinitions_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/signaldefinitions/{signalDefinitionName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "arg": "$Path.signalDefinitionName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "schema": { + "type": "object", + "name": "resource", + "required": true, + "props": [ + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "dataUnit", + "arg": "$resource.properties.dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "arg": "$resource.properties.displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "name": "evaluationRules", + "arg": "$resource.properties.evaluationRules", + "required": true, + "props": [ + { + "type": "object", + "name": "degradedRule", + "arg": "$resource.properties.evaluationRules.degradedRule", + "props": [ + { + "type": "string", + "name": "operator", + "arg": "@ThresholdRuleV2_create.operator", + "required": true, + "enum": { + "items": [ + { + "value": "Equal" + }, + { + "value": "GreaterThan" + }, + { + "value": "GreaterThanOrEqual" + }, + { + "value": "LessThan" + }, + { + "value": "LessThanOrEqual" + }, + { + "value": "NotEqual" + } + ] + } + }, + { + "type": "float64", + "name": "threshold", + "arg": "@ThresholdRuleV2_create.threshold", + "required": true + } + ], + "cls": "ThresholdRuleV2_create" + }, + { + "type": "@ThresholdRuleV2_create", + "name": "unhealthyRule", + "arg": "$resource.properties.evaluationRules.unhealthyRule", + "required": true + } + ] + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "arg": "$resource.properties.refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "arg": "$resource.properties.AzureResourceMetric", + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "arg": "$resource.properties.LogAnalyticsQuery", + "value": "LogAnalyticsQuery" + }, + { + "arg": "$resource.properties.PrometheusMetricsQuery", + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "type": "object", + "name": "tags", + "arg": "$resource.properties.tags", + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ], + "discriminators": [ + { + "property": "signalKind", + "value": "AzureResourceMetric", + "props": [ + { + "type": "string", + "name": "aggregationType", + "arg": "$resource.properties.AzureResourceMetric.aggregationType", + "required": true, + "enum": { + "items": [ + { + "value": "Average" + }, + { + "value": "Count" + }, + { + "value": "Maximum" + }, + { + "value": "Minimum" + }, + { + "value": "None" + }, + { + "value": "Total" + } + ] + } + }, + { + "type": "string", + "name": "dimension", + "arg": "$resource.properties.AzureResourceMetric.dimension", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "dimensionFilter", + "arg": "$resource.properties.AzureResourceMetric.dimensionFilter", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricName", + "arg": "$resource.properties.AzureResourceMetric.metricName", + "required": true, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricNamespace", + "arg": "$resource.properties.AzureResourceMetric.metricNamespace", + "required": true, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "arg": "$resource.properties.AzureResourceMetric.timeGrain", + "required": true, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "property": "signalKind", + "value": "LogAnalyticsQuery", + "props": [ + { + "type": "string", + "name": "queryText", + "arg": "$resource.properties.LogAnalyticsQuery.queryText", + "required": true, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "arg": "$resource.properties.LogAnalyticsQuery.timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "valueColumnName", + "arg": "$resource.properties.LogAnalyticsQuery.valueColumnName", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "property": "signalKind", + "value": "PrometheusMetricsQuery", + "props": [ + { + "type": "string", + "name": "queryText", + "arg": "$resource.properties.PrometheusMetricsQuery.queryText", + "required": true, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "arg": "$resource.properties.PrometheusMetricsQuery.timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + } + ] + } + ], + "clientFlatten": true + } + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/signaldefinitions/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "name": "evaluationRules", + "required": true, + "props": [ + { + "type": "object", + "name": "degradedRule", + "props": [ + { + "type": "string", + "name": "operator", + "required": true, + "enum": { + "items": [ + { + "value": "Equal" + }, + { + "value": "GreaterThan" + }, + { + "value": "GreaterThanOrEqual" + }, + { + "value": "LessThan" + }, + { + "value": "LessThanOrEqual" + }, + { + "value": "NotEqual" + } + ] + } + }, + { + "type": "float64", + "name": "threshold", + "required": true + } + ], + "cls": "ThresholdRuleV2_read" + }, + { + "type": "@ThresholdRuleV2_read", + "name": "unhealthyRule", + "required": true + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ], + "discriminators": [ + { + "property": "signalKind", + "value": "AzureResourceMetric", + "props": [ + { + "type": "string", + "name": "aggregationType", + "required": true, + "enum": { + "items": [ + { + "value": "Average" + }, + { + "value": "Count" + }, + { + "value": "Maximum" + }, + { + "value": "Minimum" + }, + { + "value": "None" + }, + { + "value": "Total" + } + ] + } + }, + { + "type": "string", + "name": "dimension", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "dimensionFilter", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricName", + "required": true, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricNamespace", + "required": true, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "required": true, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "property": "signalKind", + "value": "LogAnalyticsQuery", + "props": [ + { + "type": "string", + "name": "queryText", + "required": true, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "valueColumnName", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "property": "signalKind", + "value": "PrometheusMetricsQuery", + "props": [ + { + "type": "string", + "name": "queryText", + "required": true, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "update", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "string", + "var": "$Path.signalDefinitionName", + "options": [ + "n", + "name", + "signal-definition-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the signal definition. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Properties", + "args": [ + { + "type": "object", + "var": "$resource.properties.AzureResourceMetric", + "options": [ + "azure-resource-metric" + ], + "group": "Properties", + "args": [ + { + "type": "string", + "var": "$resource.properties.AzureResourceMetric.aggregationType", + "options": [ + "aggregation-type" + ], + "help": { + "short": "Type of aggregation to apply to the metric" + }, + "enum": { + "items": [ + { + "name": "Average", + "value": "Average" + }, + { + "name": "Count", + "value": "Count" + }, + { + "name": "Maximum", + "value": "Maximum" + }, + { + "name": "Minimum", + "value": "Minimum" + }, + { + "name": "None", + "value": "None" + }, + { + "name": "Total", + "value": "Total" + } + ] + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.AzureResourceMetric.dimension", + "options": [ + "dimension" + ], + "help": { + "short": "Optional: Dimension to split by" + }, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.AzureResourceMetric.dimensionFilter", + "options": [ + "dimension-filter" + ], + "help": { + "short": "Optional: Dimension filter to apply to the dimension. Must only be set if also Dimension is set." + }, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.AzureResourceMetric.metricName", + "options": [ + "metric-name" + ], + "help": { + "short": "Name of the metric" + }, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.AzureResourceMetric.metricNamespace", + "options": [ + "metric-namespace" + ], + "help": { + "short": "Metric namespace" + }, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.AzureResourceMetric.timeGrain", + "options": [ + "time-grain" + ], + "help": { + "short": "Time range of signal. ISO duration format like PT10M." + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "type": "object", + "var": "$resource.properties.LogAnalyticsQuery", + "options": [ + "log-analytics-query" + ], + "group": "Properties", + "args": [ + { + "type": "string", + "var": "$resource.properties.LogAnalyticsQuery.queryText", + "options": [ + "query-text" + ], + "help": { + "short": "Query text in KQL syntax" + }, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.LogAnalyticsQuery.timeGrain", + "options": [ + "time-grain" + ], + "help": { + "short": "Time range of signal. ISO duration format like PT10M. If not specified, the KQL query must define a time range." + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.LogAnalyticsQuery.valueColumnName", + "options": [ + "value-column-name" + ], + "help": { + "short": "Name of the column in the result set to evaluate against the thresholds. Defaults to the first column in the result set if not specified. The column must be numeric." + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "type": "object", + "var": "$resource.properties.PrometheusMetricsQuery", + "options": [ + "prometheus-metrics-query" + ], + "group": "Properties", + "args": [ + { + "type": "string", + "var": "$resource.properties.PrometheusMetricsQuery.queryText", + "options": [ + "query-text" + ], + "help": { + "short": "Query text in PromQL syntax" + }, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.PrometheusMetricsQuery.timeGrain", + "options": [ + "time-grain" + ], + "help": { + "short": "Time range of signal. ISO duration format like PT10M." + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.dataUnit", + "options": [ + "data-unit" + ], + "group": "Properties", + "help": { + "short": "Unit of the signal result (e.g. Bytes, MilliSeconds, Percent, Count))" + }, + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.displayName", + "options": [ + "display-name" + ], + "group": "Properties", + "help": { + "short": "Display name" + }, + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "var": "$resource.properties.evaluationRules", + "options": [ + "evaluation-rules" + ], + "group": "Properties", + "help": { + "short": "Evaluation rules for the signal definition" + }, + "args": [ + { + "nullable": true, + "type": "object", + "var": "$resource.properties.evaluationRules.degradedRule", + "options": [ + "degraded-rule" + ], + "help": { + "short": "Degraded rule with static threshold." + }, + "args": [ + { + "type": "string", + "var": "@ThresholdRuleV2_update.operator", + "options": [ + "operator" + ], + "help": { + "short": "Operator how to compare the signal value with the threshold" + }, + "enum": { + "items": [ + { + "name": "Equal", + "value": "Equal" + }, + { + "name": "GreaterThan", + "value": "GreaterThan" + }, + { + "name": "GreaterThanOrEqual", + "value": "GreaterThanOrEqual" + }, + { + "name": "LessThan", + "value": "LessThan" + }, + { + "name": "LessThanOrEqual", + "value": "LessThanOrEqual" + }, + { + "name": "NotEqual", + "value": "NotEqual" + } + ] + } + }, + { + "type": "float64", + "var": "@ThresholdRuleV2_update.threshold", + "options": [ + "threshold" + ], + "help": { + "short": "Threshold value" + } + } + ], + "cls": "ThresholdRuleV2_update" + }, + { + "type": "@ThresholdRuleV2_update", + "var": "$resource.properties.evaluationRules.unhealthyRule", + "options": [ + "unhealthy-rule" + ], + "help": { + "short": "Unhealthy rule with static threshold." + } + } + ] + }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.refreshInterval", + "options": [ + "refresh-interval" + ], + "group": "Properties", + "help": { + "short": "Interval in which the signal is being evaluated. Defaults to PT1M (1 minute)." + }, + "enum": { + "items": [ + { + "name": "PT10M", + "value": "PT10M" + }, + { + "name": "PT1H", + "value": "PT1H" + }, + { + "name": "PT1M", + "value": "PT1M" + }, + { + "name": "PT2H", + "value": "PT2H" + }, + { + "name": "PT30M", + "value": "PT30M" + }, + { + "name": "PT5M", + "value": "PT5M" + } + ] + } + }, + { + "nullable": true, + "type": "object", + "var": "$resource.properties.tags", + "options": [ + "tags" + ], + "group": "Properties", + "help": { + "short": "Optional set of tags (key-value pairs)" + }, + "additionalProps": { + "item": { + "nullable": true, + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ] + } + ], + "operations": [ + { + "operationId": "SignalDefinitions_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/signaldefinitions/{signalDefinitionName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "arg": "$Path.signalDefinitionName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/signaldefinitions/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "name": "evaluationRules", + "required": true, + "props": [ + { + "type": "object", + "name": "degradedRule", + "props": [ + { + "type": "string", + "name": "operator", + "required": true, + "enum": { + "items": [ + { + "value": "Equal" + }, + { + "value": "GreaterThan" + }, + { + "value": "GreaterThanOrEqual" + }, + { + "value": "LessThan" + }, + { + "value": "LessThanOrEqual" + }, + { + "value": "NotEqual" + } + ] + } + }, + { + "type": "float64", + "name": "threshold", + "required": true + } + ], + "cls": "ThresholdRuleV2_read" + }, + { + "type": "@ThresholdRuleV2_read", + "name": "unhealthyRule", + "required": true + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "value": "LogAnalyticsQuery" + }, + { + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ], + "discriminators": [ + { + "property": "signalKind", + "value": "AzureResourceMetric", + "props": [ + { + "type": "string", + "name": "aggregationType", + "required": true, + "enum": { + "items": [ + { + "value": "Average" + }, + { + "value": "Count" + }, + { + "value": "Maximum" + }, + { + "value": "Minimum" + }, + { + "value": "None" + }, + { + "value": "Total" + } + ] + } + }, + { + "type": "string", + "name": "dimension", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "dimensionFilter", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricName", + "required": true, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricNamespace", + "required": true, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "required": true, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "property": "signalKind", + "value": "LogAnalyticsQuery", + "props": [ + { + "type": "string", + "name": "queryText", + "required": true, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "valueColumnName", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "property": "signalKind", + "value": "PrometheusMetricsQuery", + "props": [ + { + "type": "string", + "name": "queryText", + "required": true, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "SignalDefinition_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + }, + { + "instanceUpdate": { + "ref": "$Instance", + "json": { + "schema": { + "type": "object", + "name": "resource", + "required": true, + "props": [ + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "dataUnit", + "arg": "$resource.properties.dataUnit", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "displayName", + "arg": "$resource.properties.displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "name": "evaluationRules", + "arg": "$resource.properties.evaluationRules", + "required": true, + "props": [ + { + "type": "object", + "name": "degradedRule", + "arg": "$resource.properties.evaluationRules.degradedRule", + "props": [ + { + "type": "string", + "name": "operator", + "arg": "@ThresholdRuleV2_update.operator", + "required": true, + "enum": { + "items": [ + { + "value": "Equal" + }, + { + "value": "GreaterThan" + }, + { + "value": "GreaterThanOrEqual" + }, + { + "value": "LessThan" + }, + { + "value": "LessThanOrEqual" + }, + { + "value": "NotEqual" + } + ] + } + }, + { + "type": "float64", + "name": "threshold", + "arg": "@ThresholdRuleV2_update.threshold", + "required": true + } + ], + "cls": "ThresholdRuleV2_update" + }, + { + "type": "@ThresholdRuleV2_update", + "name": "unhealthyRule", + "arg": "$resource.properties.evaluationRules.unhealthyRule", + "required": true + } + ] + }, + { + "default": { + "value": "PT1M" + }, + "type": "string", + "name": "refreshInterval", + "arg": "$resource.properties.refreshInterval", + "enum": { + "items": [ + { + "value": "PT10M" + }, + { + "value": "PT1H" + }, + { + "value": "PT1M" + }, + { + "value": "PT2H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "signalKind", + "required": true, + "enum": { + "items": [ + { + "arg": "$resource.properties.AzureResourceMetric", + "value": "AzureResourceMetric" + }, + { + "value": "External" + }, + { + "arg": "$resource.properties.LogAnalyticsQuery", + "value": "LogAnalyticsQuery" + }, + { + "arg": "$resource.properties.PrometheusMetricsQuery", + "value": "PrometheusMetricsQuery" + } + ] + } + }, + { + "type": "object", + "name": "tags", + "arg": "$resource.properties.tags", + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ], + "discriminators": [ + { + "property": "signalKind", + "value": "AzureResourceMetric", + "props": [ + { + "type": "string", + "name": "aggregationType", + "arg": "$resource.properties.AzureResourceMetric.aggregationType", + "required": true, + "enum": { + "items": [ + { + "value": "Average" + }, + { + "value": "Count" + }, + { + "value": "Maximum" + }, + { + "value": "Minimum" + }, + { + "value": "None" + }, + { + "value": "Total" + } + ] + } + }, + { + "type": "string", + "name": "dimension", + "arg": "$resource.properties.AzureResourceMetric.dimension", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "dimensionFilter", + "arg": "$resource.properties.AzureResourceMetric.dimensionFilter", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricName", + "arg": "$resource.properties.AzureResourceMetric.metricName", + "required": true, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricNamespace", + "arg": "$resource.properties.AzureResourceMetric.metricNamespace", + "required": true, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "arg": "$resource.properties.AzureResourceMetric.timeGrain", + "required": true, + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "property": "signalKind", + "value": "LogAnalyticsQuery", + "props": [ + { + "type": "string", + "name": "queryText", + "arg": "$resource.properties.LogAnalyticsQuery.queryText", + "required": true, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "arg": "$resource.properties.LogAnalyticsQuery.timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "valueColumnName", + "arg": "$resource.properties.LogAnalyticsQuery.valueColumnName", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + }, + { + "property": "signalKind", + "value": "PrometheusMetricsQuery", + "props": [ + { + "type": "string", + "name": "queryText", + "arg": "$resource.properties.PrometheusMetricsQuery.queryText", + "required": true, + "format": { + "maxLength": 5000, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "arg": "$resource.properties.PrometheusMetricsQuery.timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ] + } + ] + } + ], + "clientFlatten": true + } + } + } + }, + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "SignalDefinitions_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/signaldefinitions/{signalDefinitionName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "string", + "name": "signalDefinitionName", + "arg": "$Path.signalDefinitionName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "ref": "$Instance" + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "@SignalDefinition_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml index 2721a0a86..0974a03e5 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml @@ -1,7 +1,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.json index 9219d3deb..80f882ab2 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.json @@ -1 +1,359 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHM=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel relationship", "commands": [{"name": "list", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHM=/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "dateTime", "var": "$Query.timestamp", "options": ["timestamp"], "help": {"short": "Timestamp to use for the operation. When specified, the version of the resource at this point in time is retrieved. If not specified, the latest version is used."}, "format": {"protocol": "iso"}}]}], "operations": [{"operationId": "Relationships_ListByHealthModel", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/relationships", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "dateTime", "name": "timestamp", "arg": "$Query.timestamp", "format": {"protocol": "iso"}}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/relationships/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "childEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"readOnly": true, "type": "string", "name": "discoveredBy", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "string", "name": "parentEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHM=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models relationship", + "commands": [ + { + "name": "list", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHM=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + }, + { + "type": "dateTime", + "var": "$Query.timestamp", + "options": [ + "timestamp" + ], + "help": { + "short": "Timestamp to use for the operation. When specified, the version of the resource at this point in time is retrieved. If not specified, the latest version is used." + }, + "format": { + "protocol": "iso" + } + } + ] + } + ], + "operations": [ + { + "operationId": "Relationships_ListByHealthModel", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/relationships", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "params": [ + { + "type": "dateTime", + "name": "timestamp", + "arg": "$Query.timestamp", + "format": { + "protocol": "iso" + } + } + ], + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "string", + "name": "nextLink" + }, + { + "type": "array", + "name": "value", + "required": true, + "item": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/relationships/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "childEntityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "readOnly": true, + "type": "string", + "name": "discoveredBy", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "string", + "name": "parentEntityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "array", + "ref": "$Instance.value", + "clientFlatten": true, + "nextLink": "$Instance.nextLink" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.xml index 4568b6a1c..f1a1653b0 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.xml @@ -1,7 +1,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.json index ac52200f6..76ff70f58 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.json @@ -1 +1,1497 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "cloud-health healthmodel relationship", "commands": [{"name": "show", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.relationshipName", "options": ["n", "name", "relationship-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the relationship. Must be unique within a health model. For example, a concatenation of parentEntityName and childEntityName can be used as the name."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Relationships_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/relationships/{relationshipName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "relationshipName", "arg": "$Path.relationshipName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/relationships/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "childEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"readOnly": true, "type": "string", "name": "discoveredBy", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "string", "name": "parentEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.relationshipName", "options": ["n", "name", "relationship-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the relationship. Must be unique within a health model. For example, a concatenation of parentEntityName and childEntityName can be used as the name."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Relationships_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/relationships/{relationshipName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "relationshipName", "arg": "$Path.relationshipName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.relationshipName", "options": ["n", "name", "relationship-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the relationship. Must be unique within a health model. For example, a concatenation of parentEntityName and childEntityName can be used as the name."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "string", "var": "$resource.properties.childEntityName", "options": ["child-entity-name"], "group": "Properties", "help": {"short": "Resource name of the child entity"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"type": "string", "var": "$resource.properties.parentEntityName", "options": ["parent-entity-name"], "group": "Properties", "help": {"short": "Resource name of the parent entity"}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "object", "var": "$resource.properties.tags", "options": ["tags"], "group": "Properties", "help": {"short": "Optional set of tags (key-value pairs)"}, "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Relationships_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/relationships/{relationshipName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "relationshipName", "arg": "$Path.relationshipName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "childEntityName", "arg": "$resource.properties.childEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "string", "name": "parentEntityName", "arg": "$resource.properties.parentEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "object", "name": "tags", "arg": "$resource.properties.tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/relationships/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "childEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"readOnly": true, "type": "string", "name": "discoveredBy", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "string", "name": "parentEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-01-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", "version": "2026-01-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.healthModelName", "options": ["health-model-name"], "required": true, "idPart": "name", "help": {"short": "Name of health model resource"}, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "var": "$Path.relationshipName", "options": ["n", "name", "relationship-name"], "required": true, "idPart": "child_name_1", "help": {"short": "Name of the relationship. Must be unique within a health model. For example, a concatenation of parentEntityName and childEntityName can be used as the name."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$resource.properties.displayName", "options": ["display-name"], "group": "Properties", "help": {"short": "Display name"}, "format": {"maxLength": 260, "minLength": 1}}, {"nullable": true, "type": "object", "var": "$resource.properties.tags", "options": ["tags"], "group": "Properties", "help": {"short": "Optional set of tags (key-value pairs)"}, "additionalProps": {"item": {"nullable": true, "type": "string", "format": {"maxLength": 4096}}}}]}], "operations": [{"operationId": "Relationships_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/relationships/{relationshipName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "relationshipName", "arg": "$Path.relationshipName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/relationships/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "childEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"readOnly": true, "type": "string", "name": "discoveredBy", "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "string", "name": "parentEntityName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Relationship_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "displayName", "arg": "$resource.properties.displayName", "format": {"maxLength": 260, "minLength": 1}}, {"type": "object", "name": "tags", "arg": "$resource.properties.tags", "additionalProps": {"item": {"type": "string", "format": {"maxLength": 4096}}}}]}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Relationships_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/relationships/{relationshipName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "healthModelName", "arg": "$Path.healthModelName", "required": true, "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$"}}, {"type": "string", "name": "relationshipName", "arg": "$Path.relationshipName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-01-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Relationship_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models relationship", + "commands": [ + { + "name": "show", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.relationshipName", + "options": [ + "n", + "name", + "relationship-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the relationship. Must be unique within a health model. For example, a concatenation of parentEntityName and childEntityName can be used as the name." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "operationId": "Relationships_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/relationships/{relationshipName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "relationshipName", + "arg": "$Path.relationshipName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/relationships/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "childEntityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "readOnly": true, + "type": "string", + "name": "discoveredBy", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "string", + "name": "parentEntityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "delete", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.relationshipName", + "options": [ + "n", + "name", + "relationship-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the relationship. Must be unique within a health model. For example, a concatenation of parentEntityName and childEntityName can be used as the name." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "location" + }, + "operationId": "Relationships_Delete", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/relationships/{relationshipName}", + "request": { + "method": "delete", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "relationshipName", + "arg": "$Path.relationshipName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 202 + ], + "header": { + "items": [ + { + "name": "Location" + }, + { + "name": "Retry-After" + } + ] + } + }, + { + "statusCode": [ + 204 + ] + }, + { + "statusCode": [ + 200, + 201 + ] + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "confirmation": "Are you sure you want to perform this operation?" + }, + { + "name": "create", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.relationshipName", + "options": [ + "n", + "name", + "relationship-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the relationship. Must be unique within a health model. For example, a concatenation of parentEntityName and childEntityName can be used as the name." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Properties", + "args": [ + { + "type": "string", + "var": "$resource.properties.childEntityName", + "options": [ + "child-entity-name" + ], + "group": "Properties", + "help": { + "short": "Resource name of the child entity" + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$resource.properties.displayName", + "options": [ + "display-name" + ], + "group": "Properties", + "help": { + "short": "Display name" + }, + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "string", + "var": "$resource.properties.parentEntityName", + "options": [ + "parent-entity-name" + ], + "group": "Properties", + "help": { + "short": "Resource name of the parent entity" + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "object", + "var": "$resource.properties.tags", + "options": [ + "tags" + ], + "group": "Properties", + "help": { + "short": "Optional set of tags (key-value pairs)" + }, + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ] + } + ], + "operations": [ + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "Relationships_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/relationships/{relationshipName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "relationshipName", + "arg": "$Path.relationshipName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "schema": { + "type": "object", + "name": "resource", + "required": true, + "props": [ + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "childEntityName", + "arg": "$resource.properties.childEntityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "displayName", + "arg": "$resource.properties.displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "string", + "name": "parentEntityName", + "arg": "$resource.properties.parentEntityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "object", + "name": "tags", + "arg": "$resource.properties.tags", + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ] + } + ], + "clientFlatten": true + } + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/relationships/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "childEntityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "readOnly": true, + "type": "string", + "name": "discoveredBy", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "string", + "name": "parentEntityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + }, + { + "name": "update", + "version": "2026-01-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", + "version": "2026-01-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.relationshipName", + "options": [ + "n", + "name", + "relationship-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the relationship. Must be unique within a health model. For example, a concatenation of parentEntityName and childEntityName can be used as the name." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Properties", + "args": [ + { + "nullable": true, + "type": "string", + "var": "$resource.properties.displayName", + "options": [ + "display-name" + ], + "group": "Properties", + "help": { + "short": "Display name" + }, + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "nullable": true, + "type": "object", + "var": "$resource.properties.tags", + "options": [ + "tags" + ], + "group": "Properties", + "help": { + "short": "Optional set of tags (key-value pairs)" + }, + "additionalProps": { + "item": { + "nullable": true, + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ] + } + ], + "operations": [ + { + "operationId": "Relationships_Get", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/relationships/{relationshipName}", + "request": { + "method": "get", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "relationshipName", + "arg": "$Path.relationshipName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "readOnly": true, + "type": "ResourceId", + "name": "id", + "format": { + "template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CloudHealth/healthmodels/{}/relationships/{}" + } + }, + { + "readOnly": true, + "type": "string", + "name": "name" + }, + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "childEntityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "readOnly": true, + "type": "string", + "name": "discoveredBy", + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "string", + "name": "parentEntityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "readOnly": true, + "type": "string", + "name": "provisioningState", + "enum": { + "items": [ + { + "value": "Canceled" + }, + { + "value": "Creating" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Succeeded" + } + ] + } + }, + { + "type": "object", + "name": "tags", + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ] + }, + { + "readOnly": true, + "type": "object", + "name": "systemData", + "props": [ + { + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "createdBy" + }, + { + "type": "string", + "name": "createdByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + }, + { + "type": "dateTime", + "name": "lastModifiedAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "lastModifiedBy" + }, + { + "type": "string", + "name": "lastModifiedByType", + "enum": { + "items": [ + { + "value": "Application" + }, + { + "value": "Key" + }, + { + "value": "ManagedIdentity" + }, + { + "value": "User" + } + ] + } + } + ] + }, + { + "readOnly": true, + "type": "string", + "name": "type" + } + ], + "cls": "Relationship_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + }, + { + "instanceUpdate": { + "ref": "$Instance", + "json": { + "schema": { + "type": "object", + "name": "resource", + "required": true, + "props": [ + { + "type": "object", + "name": "properties", + "props": [ + { + "type": "string", + "name": "displayName", + "arg": "$resource.properties.displayName", + "format": { + "maxLength": 260, + "minLength": 1 + } + }, + { + "type": "object", + "name": "tags", + "arg": "$resource.properties.tags", + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 4096 + } + } + } + } + ] + } + ], + "clientFlatten": true + } + } + } + }, + { + "longRunning": { + "finalStateVia": "azure-async-operation" + }, + "operationId": "Relationships_CreateOrUpdate", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/relationships/{relationshipName}", + "request": { + "method": "put", + "path": { + "params": [ + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "relationshipName", + "arg": "$Path.relationshipName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-01-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "ref": "$Instance" + } + } + }, + "responses": [ + { + "statusCode": [ + 200, + 201 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "@Relationship_read" + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.xml index 2bae7f3ff..7317949b0 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.xml @@ -1,7 +1,7 @@ - + From f046daa39ded97ce82f006b75e2a011b56a9694e Mon Sep 17 00:00:00 2001 From: Andre Bossard Date: Fri, 19 Jun 2026 13:16:41 +0200 Subject: [PATCH 3/3] update the newer api version Signed-off-by: Andre Bossard --- Commands/monitor/health-models/_create.md | 15 +- Commands/monitor/health-models/_delete.md | 10 +- Commands/monitor/health-models/_list.md | 16 +- Commands/monitor/health-models/_show.md | 10 +- Commands/monitor/health-models/_update.md | 10 +- .../authentication-setting/_create.md | 15 +- .../authentication-setting/_delete.md | 10 +- .../authentication-setting/_list.md | 10 +- .../authentication-setting/_show.md | 10 +- .../authentication-setting/_update.md | 10 +- .../authentication-setting/readme.md | 12 +- .../health-models/discovery-rule/_create.md | 15 +- .../health-models/discovery-rule/_delete.md | 10 +- .../health-models/discovery-rule/_list.md | 10 +- .../health-models/discovery-rule/_show.md | 10 +- .../health-models/discovery-rule/_update.md | 10 +- .../health-models/discovery-rule/readme.md | 12 +- .../entity/_add-data-annotation.md | 16 + .../monitor/health-models/entity/_create.md | 10 +- .../monitor/health-models/entity/_delete.md | 10 +- .../entity/_get-data-annotation.md | 16 + .../health-models/entity/_get-history.md | 15 +- .../entity/_get-signal-history.md | 10 +- .../entity/_get-signal-recommendation.md | 16 + .../entity/_ingest-health-report.md | 10 +- .../monitor/health-models/entity/_list.md | 10 +- .../monitor/health-models/entity/_show.md | 10 +- .../monitor/health-models/entity/_update.md | 10 +- .../monitor/health-models/entity/readme.md | 27 +- .../monitor/health-models/identity/_assign.md | 15 +- .../monitor/health-models/identity/_remove.md | 10 +- .../monitor/health-models/identity/_show.md | 10 +- .../monitor/health-models/identity/readme.md | 8 +- Commands/monitor/health-models/readme.md | 24 +- .../health-models/relationship/_create.md | 10 +- .../health-models/relationship/_delete.md | 10 +- .../health-models/relationship/_list.md | 10 +- .../health-models/relationship/_show.md | 10 +- .../health-models/relationship/_update.md | 10 +- .../health-models/relationship/readme.md | 12 +- .../signal-definition/_create.md | 15 +- .../signal-definition/_delete.md | 10 +- .../health-models/signal-definition/_list.md | 10 +- .../health-models/signal-definition/_show.md | 10 +- .../signal-definition/_update.md | 10 +- .../health-models/signal-definition/readme.md | 12 +- ...1-preview.json => 2026-05-01-preview.json} | 24 +- ...-01-preview.xml => 2026-05-01-preview.xml} | 14 +- ...01-01-preview.md => 2026-05-01-preview.md} | 2 +- ...1-preview.json => 2026-05-01-preview.json} | 68 +- ...-01-preview.xml => 2026-05-01-preview.xml} | 50 +- ...1-preview.json => 2026-05-01-preview.json} | 14 +- ...-01-preview.xml => 2026-05-01-preview.xml} | 8 +- ...1-preview.json => 2026-05-01-preview.json} | 40 +- ...-01-preview.xml => 2026-05-01-preview.xml} | 28 +- ...1-preview.json => 2026-05-01-preview.json} | 31 +- ...-01-preview.xml => 2026-05-01-preview.xml} | 15 +- ...1-preview.json => 2026-05-01-preview.json} | 177 ++- ...-01-preview.xml => 2026-05-01-preview.xml} | 78 +- ...1-preview.json => 2026-05-01-preview.json} | 258 +++- ...-01-preview.xml => 2026-05-01-preview.xml} | 100 +- ...1-preview.json => 2026-05-01-preview.json} | 1202 +++++++++++++++-- ...-01-preview.xml => 2026-05-01-preview.xml} | 445 +++++- .../2026-05-01-preview.json | 293 ++++ .../2026-05-01-preview.xml | 107 ++ .../2026-05-01-preview.json | 361 +++++ .../2026-05-01-preview.xml | 125 ++ ...1-preview.json => 2026-05-01-preview.json} | 73 +- ...-01-preview.xml => 2026-05-01-preview.xml} | 27 +- ...1-preview.json => 2026-05-01-preview.json} | 73 +- ...-01-preview.xml => 2026-05-01-preview.xml} | 27 +- .../2026-05-01-preview.json | 373 +++++ .../2026-05-01-preview.xml | 128 ++ ...1-preview.json => 2026-05-01-preview.json} | 120 +- ...-01-preview.xml => 2026-05-01-preview.xml} | 46 +- ...1-preview.json => 2026-05-01-preview.json} | 68 +- ...-01-preview.xml => 2026-05-01-preview.xml} | 30 +- ...1-preview.json => 2026-05-01-preview.json} | 477 +++++-- ...-01-preview.xml => 2026-05-01-preview.xml} | 188 ++- ...1-preview.json => 2026-05-01-preview.json} | 14 +- ...-01-preview.xml => 2026-05-01-preview.xml} | 8 +- ...1-preview.json => 2026-05-01-preview.json} | 40 +- ...-01-preview.xml => 2026-05-01-preview.xml} | 28 +- 83 files changed, 4853 insertions(+), 858 deletions(-) create mode 100644 Commands/monitor/health-models/entity/_add-data-annotation.md create mode 100644 Commands/monitor/health-models/entity/_get-data-annotation.md create mode 100644 Commands/monitor/health-models/entity/_get-signal-recommendation.md rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/{2026-01-01-preview.json => 2026-05-01-preview.json} (98%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/{2026-01-01-preview.xml => 2026-05-01-preview.xml} (94%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/{2026-01-01-preview.md => 2026-05-01-preview.md} (56%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/{2026-01-01-preview.json => 2026-05-01-preview.json} (98%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/{2026-01-01-preview.xml => 2026-05-01-preview.xml} (96%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/{2026-01-01-preview.json => 2026-05-01-preview.json} (97%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/{2026-01-01-preview.xml => 2026-05-01-preview.xml} (95%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/{2026-01-01-preview.json => 2026-05-01-preview.json} (98%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/{2026-01-01-preview.xml => 2026-05-01-preview.xml} (95%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/{2026-01-01-preview.json => 2026-05-01-preview.json} (94%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/{2026-01-01-preview.xml => 2026-05-01-preview.xml} (91%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/{2026-01-01-preview.json => 2026-05-01-preview.json} (92%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/{2026-01-01-preview.xml => 2026-05-01-preview.xml} (90%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/{2026-01-01-preview.json => 2026-05-01-preview.json} (81%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/{2026-01-01-preview.xml => 2026-05-01-preview.xml} (82%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/{2026-01-01-preview.json => 2026-05-01-preview.json} (86%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/{2026-01-01-preview.xml => 2026-05-01-preview.xml} (86%) create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.xml rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/{2026-01-01-preview.json => 2026-05-01-preview.json} (83%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/{2026-01-01-preview.xml => 2026-05-01-preview.xml} (81%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/{2026-01-01-preview.json => 2026-05-01-preview.json} (83%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/{2026-01-01-preview.xml => 2026-05-01-preview.xml} (81%) create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.xml rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/{2026-01-01-preview.json => 2026-05-01-preview.json} (78%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/{2026-01-01-preview.xml => 2026-05-01-preview.xml} (78%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/{2026-01-01-preview.json => 2026-05-01-preview.json} (90%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/{2026-01-01-preview.xml => 2026-05-01-preview.xml} (89%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/{2026-01-01-preview.json => 2026-05-01-preview.json} (88%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/{2026-01-01-preview.xml => 2026-05-01-preview.xml} (88%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/{2026-01-01-preview.json => 2026-05-01-preview.json} (98%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/{2026-01-01-preview.xml => 2026-05-01-preview.xml} (95%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/{2026-01-01-preview.json => 2026-05-01-preview.json} (98%) rename Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/{2026-01-01-preview.xml => 2026-05-01-preview.xml} (96%) diff --git a/Commands/monitor/health-models/_create.md b/Commands/monitor/health-models/_create.md index 2adfcf4b4..510935422 100644 --- a/Commands/monitor/health-models/_create.md +++ b/Commands/monitor/health-models/_create.md @@ -1,21 +1,16 @@ # [Command] _monitor health-models create_ -Create a health model. +Create a HealthModel ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** - + #### examples -- Create a health model +- HealthModels_Create ```bash - monitor health-models create --resource-group myRG --name myModel --location eastus - ``` - -- Create a health model with a system-assigned managed identity - ```bash - monitor health-models create --resource-group myRG --name myModel --location eastus --mi-system-assigned + monitor health-models create --resource-group rgopenapi --health-model-name model1 --type SystemAssigned, UserAssigned --user-assigned-identities "{/subscriptions/4980D7D5-4E07-47AD-AD34-E76C6BC9F061/resourceGroups/rgopenapi/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ua1:{}}" --tags "{key2961:hbljozzkqrpcthsjtfkyozpwyx}" --location eastus2 ``` diff --git a/Commands/monitor/health-models/_delete.md b/Commands/monitor/health-models/_delete.md index bddbe9652..0c3d60fa6 100644 --- a/Commands/monitor/health-models/_delete.md +++ b/Commands/monitor/health-models/_delete.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models delete_ -Delete a health model. +Delete a HealthModel ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** - + #### examples -- Delete a health model +- HealthModels_Delete ```bash - monitor health-models delete --resource-group myRG --name myModel --yes + monitor health-models delete --resource-group rgopenapi --health-model-name model1 ``` diff --git a/Commands/monitor/health-models/_list.md b/Commands/monitor/health-models/_list.md index 5fe445433..a17acf2c8 100644 --- a/Commands/monitor/health-models/_list.md +++ b/Commands/monitor/health-models/_list.md @@ -1,22 +1,22 @@ # [Command] _monitor health-models list_ -List health models in a resource group or across the subscription. +List HealthModel resources by subscription ID ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.xml) **Stable** - - + + #### examples -- List health models in a resource group +- HealthModels_ListBySubscription ```bash - monitor health-models list --resource-group myRG + monitor health-models list ``` -- List health models in the subscription +- HealthModels_ListByResourceGroup ```bash - monitor health-models list + monitor health-models list --resource-group rgopenapi ``` diff --git a/Commands/monitor/health-models/_show.md b/Commands/monitor/health-models/_show.md index 84be48f59..6497bcd2b 100644 --- a/Commands/monitor/health-models/_show.md +++ b/Commands/monitor/health-models/_show.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models show_ -Get a health model. +Get a HealthModel ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** - + #### examples -- Get a health model +- HealthModels_Get ```bash - monitor health-models show --resource-group myRG --name myModel + monitor health-models show --resource-group rgopenapi --health-model-name myHealthModel ``` diff --git a/Commands/monitor/health-models/_update.md b/Commands/monitor/health-models/_update.md index 68058a2a9..45a21dd8d 100644 --- a/Commands/monitor/health-models/_update.md +++ b/Commands/monitor/health-models/_update.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models update_ -Update a health model. +Update a HealthModel ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** - + #### examples -- Update tags on a health model +- HealthModels_Create ```bash - monitor health-models update --resource-group myRG --name myModel --tags env=prod team=platform + monitor health-models update --resource-group rgopenapi --health-model-name model1 ``` diff --git a/Commands/monitor/health-models/authentication-setting/_create.md b/Commands/monitor/health-models/authentication-setting/_create.md index d4af1b3ae..af9715aa7 100644 --- a/Commands/monitor/health-models/authentication-setting/_create.md +++ b/Commands/monitor/health-models/authentication-setting/_create.md @@ -1,21 +1,16 @@ # [Command] _monitor health-models authentication-setting create_ -Create an authentication setting backed by a managed identity. +Create a AuthenticationSetting ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml) **Stable** - + #### examples -- Create an authentication setting backed by the model's system-assigned identity +- AuthenticationSettings_CreateOrUpdate ```bash - monitor health-models authentication-setting create --resource-group myRG --health-model-name myModel --name myAuth --managed-identity SystemAssigned - ``` - -- Create an authentication setting backed by a user-assigned identity - ```bash - monitor health-models authentication-setting create --resource-group myRG --health-model-name myModel --name myAuth --managed-identity /subscriptions/.../userAssignedIdentities/myUai + monitor health-models authentication-setting create --resource-group myResourceGroup --health-model-name myHealthModel --authentication-setting-name myAuthSetting --display-name myDisplayName ``` diff --git a/Commands/monitor/health-models/authentication-setting/_delete.md b/Commands/monitor/health-models/authentication-setting/_delete.md index e8a7c10e6..6d216159d 100644 --- a/Commands/monitor/health-models/authentication-setting/_delete.md +++ b/Commands/monitor/health-models/authentication-setting/_delete.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models authentication-setting delete_ -Delete an authentication setting. +Delete a AuthenticationSetting ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml) **Stable** - + #### examples -- Delete an authentication setting +- AuthenticationSettings_Delete ```bash - monitor health-models authentication-setting delete --resource-group myRG --health-model-name myModel --name myAuth --yes + monitor health-models authentication-setting delete --resource-group my-resource-group --health-model-name my-health-model --authentication-setting-name my-auth-setting ``` diff --git a/Commands/monitor/health-models/authentication-setting/_list.md b/Commands/monitor/health-models/authentication-setting/_list.md index f41133bb9..ace638be4 100644 --- a/Commands/monitor/health-models/authentication-setting/_list.md +++ b/Commands/monitor/health-models/authentication-setting/_list.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models authentication-setting list_ -List authentication settings in a health model. +List AuthenticationSetting resources by HealthModel ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.xml) **Stable** - + #### examples -- List authentication settings in a health model +- AuthenticationSettings_ListByHealthModel ```bash - monitor health-models authentication-setting list --resource-group myRG --health-model-name myModel + monitor health-models authentication-setting list --resource-group my-resource-group --health-model-name my-health-model ``` diff --git a/Commands/monitor/health-models/authentication-setting/_show.md b/Commands/monitor/health-models/authentication-setting/_show.md index 5e414bf3b..8945ff1dc 100644 --- a/Commands/monitor/health-models/authentication-setting/_show.md +++ b/Commands/monitor/health-models/authentication-setting/_show.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models authentication-setting show_ -Get an authentication setting. +Get a AuthenticationSetting ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml) **Stable** - + #### examples -- Get an authentication setting +- AuthenticationSettings_Get ```bash - monitor health-models authentication-setting show --resource-group myRG --health-model-name myModel --name myAuth + monitor health-models authentication-setting show --resource-group my-resource-group --health-model-name my-health-model --authentication-setting-name my-auth-setting ``` diff --git a/Commands/monitor/health-models/authentication-setting/_update.md b/Commands/monitor/health-models/authentication-setting/_update.md index e2a54bc24..0a2753b2d 100644 --- a/Commands/monitor/health-models/authentication-setting/_update.md +++ b/Commands/monitor/health-models/authentication-setting/_update.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models authentication-setting update_ -Update an authentication setting. +Update a AuthenticationSetting ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml) **Stable** - + #### examples -- Update the display name of an authentication setting +- AuthenticationSettings_CreateOrUpdate ```bash - monitor health-models authentication-setting update --resource-group myRG --health-model-name myModel --name myAuth --display-name "Auth for production" + monitor health-models authentication-setting update --resource-group myResourceGroup --health-model-name myHealthModel --authentication-setting-name myAuthSetting ``` diff --git a/Commands/monitor/health-models/authentication-setting/readme.md b/Commands/monitor/health-models/authentication-setting/readme.md index 69ef366e9..05f154df7 100644 --- a/Commands/monitor/health-models/authentication-setting/readme.md +++ b/Commands/monitor/health-models/authentication-setting/readme.md @@ -1,20 +1,20 @@ # [Group] _monitor health-models authentication-setting_ -Manage authentication settings used by signal definitions and discovery rules. +Manage Authenticationsetting ## Commands - [create](/Commands/monitor/health-models/authentication-setting/_create.md) -: Create an authentication setting backed by a managed identity. +: Create a AuthenticationSetting - [delete](/Commands/monitor/health-models/authentication-setting/_delete.md) -: Delete an authentication setting. +: Delete a AuthenticationSetting - [list](/Commands/monitor/health-models/authentication-setting/_list.md) -: List authentication settings in a health model. +: List AuthenticationSetting resources by HealthModel - [show](/Commands/monitor/health-models/authentication-setting/_show.md) -: Get an authentication setting. +: Get a AuthenticationSetting - [update](/Commands/monitor/health-models/authentication-setting/_update.md) -: Update an authentication setting. +: Update a AuthenticationSetting diff --git a/Commands/monitor/health-models/discovery-rule/_create.md b/Commands/monitor/health-models/discovery-rule/_create.md index 754ef4021..4cc95c740 100644 --- a/Commands/monitor/health-models/discovery-rule/_create.md +++ b/Commands/monitor/health-models/discovery-rule/_create.md @@ -1,21 +1,16 @@ # [Command] _monitor health-models discovery-rule create_ -Create a discovery rule. +Create a DiscoveryRule ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml) **Stable** - + #### examples -- Create a Resource Graph discovery rule +- DiscoveryRules_CreateOrUpdate ```bash - monitor health-models discovery-rule create --resource-group myRG --health-model-name myModel --name vmDiscovery --authentication-setting myAuth --discover-relationships Enabled --add-recommended-signals Enabled --resource-graph-query "resources | where type =~ 'microsoft.compute/virtualmachines'" - ``` - -- Create an Application Insights topology discovery rule - ```bash - monitor health-models discovery-rule create --resource-group myRG --health-model-name myModel --name aiDiscovery --authentication-setting myAuth --discover-relationships Enabled --add-recommended-signals Enabled --application-insights-resource-id /subscriptions/.../components/myAppInsights + monitor health-models discovery-rule create --resource-group myResourceGroup --health-model-name myHealthModel --discovery-rule-name myDiscoveryRule --authentication-setting authSetting1 --display-name myDisplayName --discover-relationships Enabled --add-recommended-signals Enabled --specification "{resourceGraphQuery:'resources | where subscriptionId == '/7ddfffd7-9b32-40df-1234-828cbd55d6f4'/ | where resourceGroup == '/my-rg'/',resource-graph-query:{resource-graph-query:'resources | where subscriptionId == '/7ddfffd7-9b32-40df-1234-828cbd55d6f4'/ | where resourceGroup == '/my-rg'/'}}" --add-resource-health-signal Enabled ``` diff --git a/Commands/monitor/health-models/discovery-rule/_delete.md b/Commands/monitor/health-models/discovery-rule/_delete.md index 20846905f..0e3b60d03 100644 --- a/Commands/monitor/health-models/discovery-rule/_delete.md +++ b/Commands/monitor/health-models/discovery-rule/_delete.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models discovery-rule delete_ -Delete a discovery rule. +Delete a DiscoveryRule ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml) **Stable** - + #### examples -- Delete a discovery rule +- DiscoveryRules_Delete ```bash - monitor health-models discovery-rule delete --resource-group myRG --health-model-name myModel --name vmDiscovery --yes + monitor health-models discovery-rule delete --resource-group my-resource-group --health-model-name my-health-model --discovery-rule-name my-discovery-rule ``` diff --git a/Commands/monitor/health-models/discovery-rule/_list.md b/Commands/monitor/health-models/discovery-rule/_list.md index b03396da1..e5af57bfd 100644 --- a/Commands/monitor/health-models/discovery-rule/_list.md +++ b/Commands/monitor/health-models/discovery-rule/_list.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models discovery-rule list_ -List discovery rules in a health model. +List DiscoveryRule resources by HealthModel ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.xml) **Stable** - + #### examples -- List discovery rules in a health model +- DiscoveryRules_ListByHealthModel ```bash - monitor health-models discovery-rule list --resource-group myRG --health-model-name myModel + monitor health-models discovery-rule list --resource-group my-resource-group --health-model-name my-health-model ``` diff --git a/Commands/monitor/health-models/discovery-rule/_show.md b/Commands/monitor/health-models/discovery-rule/_show.md index 6c9f4b9a0..551120b4b 100644 --- a/Commands/monitor/health-models/discovery-rule/_show.md +++ b/Commands/monitor/health-models/discovery-rule/_show.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models discovery-rule show_ -Get a discovery rule. +Get a DiscoveryRule ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml) **Stable** - + #### examples -- Get a discovery rule +- DiscoveryRules_Get ```bash - monitor health-models discovery-rule show --resource-group myRG --health-model-name myModel --name vmDiscovery + monitor health-models discovery-rule show --resource-group myResourceGroup --health-model-name myHealthModel --discovery-rule-name myDiscoveryRule ``` diff --git a/Commands/monitor/health-models/discovery-rule/_update.md b/Commands/monitor/health-models/discovery-rule/_update.md index 405f7da82..37dc0b10e 100644 --- a/Commands/monitor/health-models/discovery-rule/_update.md +++ b/Commands/monitor/health-models/discovery-rule/_update.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models discovery-rule update_ -Update a discovery rule. +Update a DiscoveryRule ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml) **Stable** - + #### examples -- Disable recommended signals on a discovery rule +- DiscoveryRules_CreateOrUpdate ```bash - monitor health-models discovery-rule update --resource-group myRG --health-model-name myModel --name vmDiscovery --add-recommended-signals Disabled + monitor health-models discovery-rule update --resource-group myResourceGroup --health-model-name myHealthModel --discovery-rule-name myDiscoveryRule ``` diff --git a/Commands/monitor/health-models/discovery-rule/readme.md b/Commands/monitor/health-models/discovery-rule/readme.md index b7813a970..ae4bd9c8b 100644 --- a/Commands/monitor/health-models/discovery-rule/readme.md +++ b/Commands/monitor/health-models/discovery-rule/readme.md @@ -1,20 +1,20 @@ # [Group] _monitor health-models discovery-rule_ -Manage discovery rules that auto-populate a health model. +Manage Discoveryrule ## Commands - [create](/Commands/monitor/health-models/discovery-rule/_create.md) -: Create a discovery rule. +: Create a DiscoveryRule - [delete](/Commands/monitor/health-models/discovery-rule/_delete.md) -: Delete a discovery rule. +: Delete a DiscoveryRule - [list](/Commands/monitor/health-models/discovery-rule/_list.md) -: List discovery rules in a health model. +: List DiscoveryRule resources by HealthModel - [show](/Commands/monitor/health-models/discovery-rule/_show.md) -: Get a discovery rule. +: Get a DiscoveryRule - [update](/Commands/monitor/health-models/discovery-rule/_update.md) -: Update a discovery rule. +: Update a DiscoveryRule diff --git a/Commands/monitor/health-models/entity/_add-data-annotation.md b/Commands/monitor/health-models/entity/_add-data-annotation.md new file mode 100644 index 000000000..991ff4af4 --- /dev/null +++ b/Commands/monitor/health-models/entity/_add-data-annotation.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models entity add-data-annotation_ + +Add a data annotation to an entity + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- Entities_AddDataAnnotation + ```bash + monitor health-models entity add-data-annotation --resource-group rgopenapi --health-model-name myHealthModel --entity-name entity1 --annotation-details "{environment:production,deploymentId:deploy-2026-04-10-001,changedBy:release-pipeline}" --description Production deployment of v2.4.1 + ``` diff --git a/Commands/monitor/health-models/entity/_create.md b/Commands/monitor/health-models/entity/_create.md index 7b89d2429..d402f2f8a 100644 --- a/Commands/monitor/health-models/entity/_create.md +++ b/Commands/monitor/health-models/entity/_create.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models entity create_ -Create an entity in a health model. +Create a Entity ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml) **Stable** - + #### examples -- Create an entity in a health model +- Entities_CreateOrUpdate ```bash - monitor health-models entity create --resource-group myRG --health-model-name myModel --name webTier --display-name "Web Tier" --impact Standard + monitor health-models entity create --resource-group rgopenapi --health-model-name myHealthModel --entity-name uszrxbdkxesdrxhmagmzywebgbjj --display-name My entity --canvas-position "{x:14,y:13}" --icon "{icon-name:Custom,custom-data:rcitntvapruccrhtxmkqjphbxunkz}" --health-objective 62 --impact Standard --tags "{key1376:'sample tag'}" --signal-groups "{azure-resource:{authentication-setting:auth123,azure-resource-id:/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1,azure-resource-kind:functionapp,signals:[{signalKind:AzureResourceMetric,name:uniqueSignalName1,signal-definition-name:sigdef1,metric-namespace:microsoft.compute/virtualMachines,metric-name:cpuusage,aggregation-type:None,dimension-filter:'node eq '/node1'/',display-name:'CPU usage',refresh-interval:PT1M,time-grain:PT1M,data-unit:Count,evaluation-rules:{degradedRule:{operator:LowerThan,threshold:10},unhealthyRule:{operator:LowerThan,threshold:1}}}]},azure-log-analytics:{authentication-setting:auth123,log-analytics-workspace-resource-id:/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.OperationalInsights/workspaces/myworkspace,signals:[{signalKind:LogAnalyticsQuery,name:uniqueSignalName2,signal-definition-name:null,evaluation-rules:{degradedRule:{operator:GreaterThan,threshold:1},unhealthyRule:{operator:GreaterThan,threshold:5}},refresh-interval:PT1M,query-text:'print 1',time-grain:PT30M,value-column-name:result,display-name:'Test LA signal',data-unit:'my unit'}]},azure-monitor-workspace:{authentication-setting:auth123,azure-monitor-workspace-resource-id:/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.OperationalInsights/workspaces/myworkspace,signals:[{signalKind:PrometheusMetricsQuery,name:pod-cpu-usage,signal-definition-name:PodCpuUsageDefinition,display-name:'Pod CPU Usage',refresh-interval:PT1M,data-unit:Percent,query-text:\'rate(container_cpu_usage_seconds_total{pod=~"my-app-.*"}[5m]) * 100\',time-grain:PT5M,evaluation-rules:{degradedRule:{operator:GreaterThan,threshold:70},unhealthyRule:{operator:GreaterThan,threshold:90}}}]},dependencies:{aggregation-type:MinHealthy,unit:Percentage,degraded-threshold:80,unhealthy-threshold:50}}" --alerts "{unhealthy:{severity:Sev1,description:'Alert description',actionGroupIds:[/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Insights/actionGroups/myactiongroup]},degraded:{severity:Sev4,description:'Alert description',actionGroupIds:[/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Insights/actionGroups/myactiongroup]}}" ``` diff --git a/Commands/monitor/health-models/entity/_delete.md b/Commands/monitor/health-models/entity/_delete.md index a8400452c..f8946f882 100644 --- a/Commands/monitor/health-models/entity/_delete.md +++ b/Commands/monitor/health-models/entity/_delete.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models entity delete_ -Delete an entity. +Delete a Entity ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml) **Stable** - + #### examples -- Delete an entity +- Entities_Delete ```bash - monitor health-models entity delete --resource-group myRG --health-model-name myModel --name webTier --yes + monitor health-models entity delete --resource-group rgopenapi --health-model-name model1 --entity-name U4VTRFlUkm9kR6H23-c-6U-XHq7n ``` diff --git a/Commands/monitor/health-models/entity/_get-data-annotation.md b/Commands/monitor/health-models/entity/_get-data-annotation.md new file mode 100644 index 000000000..ccf99814d --- /dev/null +++ b/Commands/monitor/health-models/entity/_get-data-annotation.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models entity get-data-annotation_ + +Retrieve data annotations for an entity + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- Entities_GetDataAnnotations + ```bash + monitor health-models entity get-data-annotation --resource-group rgopenapi --health-model-name myHealthModel --entity-name entity1 --start-at 2026-04-09T00:00:00Z --end-at 2026-04-10T23:59:59Z + ``` diff --git a/Commands/monitor/health-models/entity/_get-history.md b/Commands/monitor/health-models/entity/_get-history.md index f943f8ad6..6945f0ba5 100644 --- a/Commands/monitor/health-models/entity/_get-history.md +++ b/Commands/monitor/health-models/entity/_get-history.md @@ -1,21 +1,16 @@ # [Command] _monitor health-models entity get-history_ -Get the health state transition history for an entity. +Retrieve the health state transition history for an entity ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.xml) **Stable** - + #### examples -- Get the last 24 hours of health state transitions for an entity +- Entities_GetHistory ```bash - monitor health-models entity get-history --resource-group myRG --health-model-name myModel --entity-name webTier - ``` - -- Get health state history for a custom time window - ```bash - monitor health-models entity get-history --resource-group myRG --health-model-name myModel --entity-name webTier --start-at 2026-01-01T00:00:00Z --end-at 2026-01-02T00:00:00Z + monitor health-models entity get-history --resource-group rgopenapi --health-model-name myHealthModel --entity-name entity1 --start-at 2025-12-11T10:00:00Z --end-at 2025-12-12T10:00:00Z --top 4 ``` diff --git a/Commands/monitor/health-models/entity/_get-signal-history.md b/Commands/monitor/health-models/entity/_get-signal-history.md index 5ed5e1a6b..7650f8f98 100644 --- a/Commands/monitor/health-models/entity/_get-signal-history.md +++ b/Commands/monitor/health-models/entity/_get-signal-history.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models entity get-signal-history_ -Get the time series of values for a signal on an entity. +Retrieve the time series history for a signal on an entity ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-05-01-preview.xml) **Stable** - + #### examples -- Get the time series for a signal on an entity +- Entities_GetSignalHistory ```bash - monitor health-models entity get-signal-history --resource-group myRG --health-model-name myModel --entity-name webTier --signal-name cpuPressure + monitor health-models entity get-signal-history --resource-group rgopenapi --health-model-name myHealthModel --entity-name entity1 --signal-name uniqueSignalName1 --start-at 2025-12-11T10:00:00Z --end-at 2025-12-12T10:00:00Z --top 7 ``` diff --git a/Commands/monitor/health-models/entity/_get-signal-recommendation.md b/Commands/monitor/health-models/entity/_get-signal-recommendation.md new file mode 100644 index 000000000..a16ca3880 --- /dev/null +++ b/Commands/monitor/health-models/entity/_get-signal-recommendation.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models entity get-signal-recommendation_ + +Get recommended signal configurations for a given Entity (only applicable for Entities representing Azure resources) + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- Entities_GetSignalRecommendations + ```bash + monitor health-models entity get-signal-recommendation --resource-group rgopenapi --health-model-name myHealthModel --entity-name entity1 + ``` diff --git a/Commands/monitor/health-models/entity/_ingest-health-report.md b/Commands/monitor/health-models/entity/_ingest-health-report.md index 924745129..cd74f125b 100644 --- a/Commands/monitor/health-models/entity/_ingest-health-report.md +++ b/Commands/monitor/health-models/entity/_ingest-health-report.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models entity ingest-health-report_ -Push an external health report for a signal on an entity. +Ingest a health report for a specific signal on an entity (the entity must already exist) ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.xml) **Stable** - + #### examples -- Push an external health report for a signal on an entity +- Entities_IngestHealthReport ```bash - monitor health-models entity ingest-health-report --resource-group myRG --health-model-name myModel --entity-name webTier --signal-name synthetic-probe --health-state Healthy --value 1 --expires-in-minutes 10 --additional-context "HTTP 200 from synthetic probe" + monitor health-models entity ingest-health-report --resource-group rgopenapi --health-model-name myHealthModel --entity-name entity1 --signal-name uniqueSignalName1 --value 85.5 --health-state Degraded --evaluation-rules "{degraded-rule:{operator:GreaterThan,threshold:70},unhealthy-rule:{operator:GreaterThan,threshold:90}}" --expires-in-minutes 60 --additional-context CPU usage elevated due to batch processing job ``` diff --git a/Commands/monitor/health-models/entity/_list.md b/Commands/monitor/health-models/entity/_list.md index 20c378b6b..72d262622 100644 --- a/Commands/monitor/health-models/entity/_list.md +++ b/Commands/monitor/health-models/entity/_list.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models entity list_ -List entities in a health model. +List Entity resources by HealthModel ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.xml) **Stable** - + #### examples -- List entities in a health model +- Entities_ListByHealthModel ```bash - monitor health-models entity list --resource-group myRG --health-model-name myModel + monitor health-models entity list --resource-group rgopenapi --health-model-name gPWT6GP85xRV248L7LhNRTD--2Yc73wu-5Qk-0tS ``` diff --git a/Commands/monitor/health-models/entity/_show.md b/Commands/monitor/health-models/entity/_show.md index 8839cd1d2..703ed32d0 100644 --- a/Commands/monitor/health-models/entity/_show.md +++ b/Commands/monitor/health-models/entity/_show.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models entity show_ -Get an entity. +Get a Entity ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml) **Stable** - + #### examples -- Get an entity +- Entities_Get ```bash - monitor health-models entity show --resource-group myRG --health-model-name myModel --name webTier + monitor health-models entity show --resource-group rgopenapi --health-model-name myHealthModel --entity-name entity1 ``` diff --git a/Commands/monitor/health-models/entity/_update.md b/Commands/monitor/health-models/entity/_update.md index 5ca736d86..b60e783f1 100644 --- a/Commands/monitor/health-models/entity/_update.md +++ b/Commands/monitor/health-models/entity/_update.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models entity update_ -Update an entity. +Update a Entity ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml) **Stable** - + #### examples -- Update an entity's display name +- Entities_CreateOrUpdate ```bash - monitor health-models entity update --resource-group myRG --health-model-name myModel --name webTier --display-name "Web Tier (PROD)" + monitor health-models entity update --resource-group rgopenapi --health-model-name myHealthModel --entity-name uszrxbdkxesdrxhmagmzywebgbjj ``` diff --git a/Commands/monitor/health-models/entity/readme.md b/Commands/monitor/health-models/entity/readme.md index b483bb754..3d0591f25 100644 --- a/Commands/monitor/health-models/entity/readme.md +++ b/Commands/monitor/health-models/entity/readme.md @@ -1,29 +1,38 @@ # [Group] _monitor health-models entity_ -Manage entities (nodes) in a health model. +Manage Entity ## Commands +- [add-data-annotation](/Commands/monitor/health-models/entity/_add-data-annotation.md) +: Add a data annotation to an entity + - [create](/Commands/monitor/health-models/entity/_create.md) -: Create an entity in a health model. +: Create a Entity - [delete](/Commands/monitor/health-models/entity/_delete.md) -: Delete an entity. +: Delete a Entity + +- [get-data-annotation](/Commands/monitor/health-models/entity/_get-data-annotation.md) +: Retrieve data annotations for an entity - [get-history](/Commands/monitor/health-models/entity/_get-history.md) -: Get the health state transition history for an entity. +: Retrieve the health state transition history for an entity - [get-signal-history](/Commands/monitor/health-models/entity/_get-signal-history.md) -: Get the time series of values for a signal on an entity. +: Retrieve the time series history for a signal on an entity + +- [get-signal-recommendation](/Commands/monitor/health-models/entity/_get-signal-recommendation.md) +: Get recommended signal configurations for a given Entity (only applicable for Entities representing Azure resources) - [ingest-health-report](/Commands/monitor/health-models/entity/_ingest-health-report.md) -: Push an external health report for a signal on an entity. +: Ingest a health report for a specific signal on an entity (the entity must already exist) - [list](/Commands/monitor/health-models/entity/_list.md) -: List entities in a health model. +: List Entity resources by HealthModel - [show](/Commands/monitor/health-models/entity/_show.md) -: Get an entity. +: Get a Entity - [update](/Commands/monitor/health-models/entity/_update.md) -: Update an entity. +: Update a Entity diff --git a/Commands/monitor/health-models/identity/_assign.md b/Commands/monitor/health-models/identity/_assign.md index c0457a4f5..b98a83a94 100644 --- a/Commands/monitor/health-models/identity/_assign.md +++ b/Commands/monitor/health-models/identity/_assign.md @@ -1,21 +1,16 @@ # [Command] _monitor health-models identity assign_ -Assign a system- or user-assigned managed identity to a health model. +Assign the user or system managed identities. ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** - + #### examples -- Assign system-assigned identity to a health model +- HealthModels_Create ```bash - monitor health-models identity assign --resource-group myRG --name myModel --system-assigned - ``` - -- Assign a user-assigned identity to a health model - ```bash - monitor health-models identity assign --resource-group myRG --name myModel --user-assigned /subscriptions/.../userAssignedIdentities/myUai + monitor health-models identity assign --resource-group rgopenapi --health-model-name model1 ``` diff --git a/Commands/monitor/health-models/identity/_remove.md b/Commands/monitor/health-models/identity/_remove.md index 513877c51..f3d94f6f0 100644 --- a/Commands/monitor/health-models/identity/_remove.md +++ b/Commands/monitor/health-models/identity/_remove.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models identity remove_ -Remove a system- or user-assigned managed identity from a health model. +Remove the user or system managed identities. ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** - + #### examples -- Remove all managed identities from a health model +- HealthModels_Create ```bash - monitor health-models identity remove --resource-group myRG --name myModel --system-assigned --user-assigned + monitor health-models identity remove --resource-group rgopenapi --health-model-name model1 ``` diff --git a/Commands/monitor/health-models/identity/_show.md b/Commands/monitor/health-models/identity/_show.md index 59ee3ef9e..d2d781272 100644 --- a/Commands/monitor/health-models/identity/_show.md +++ b/Commands/monitor/health-models/identity/_show.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models identity show_ -Show the managed identities currently assigned to a health model. +Show the details of managed identities. ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** - + #### examples -- Show managed identities assigned to a health model +- HealthModels_Get ```bash - monitor health-models identity show --resource-group myRG --name myModel + monitor health-models identity show --resource-group rgopenapi --health-model-name myHealthModel ``` diff --git a/Commands/monitor/health-models/identity/readme.md b/Commands/monitor/health-models/identity/readme.md index 93f663eaf..4f1272869 100644 --- a/Commands/monitor/health-models/identity/readme.md +++ b/Commands/monitor/health-models/identity/readme.md @@ -1,14 +1,14 @@ # [Group] _monitor health-models identity_ -Manage system- and user-assigned managed identities on a health model. +Manage Identity ## Commands - [assign](/Commands/monitor/health-models/identity/_assign.md) -: Assign a system- or user-assigned managed identity to a health model. +: Assign the user or system managed identities. - [remove](/Commands/monitor/health-models/identity/_remove.md) -: Remove a system- or user-assigned managed identity from a health model. +: Remove the user or system managed identities. - [show](/Commands/monitor/health-models/identity/_show.md) -: Show the managed identities currently assigned to a health model. +: Show the details of managed identities. diff --git a/Commands/monitor/health-models/readme.md b/Commands/monitor/health-models/readme.md index 644291623..25a5779f6 100644 --- a/Commands/monitor/health-models/readme.md +++ b/Commands/monitor/health-models/readme.md @@ -1,40 +1,40 @@ # [Group] _monitor health-models_ -Manage Azure Monitor health models. +Manage Healthmodel ## Subgroups - [authentication-setting](/Commands/monitor/health-models/authentication-setting/readme.md) -: Manage authentication settings used by signal definitions and discovery rules. +: Manage Authenticationsetting - [discovery-rule](/Commands/monitor/health-models/discovery-rule/readme.md) -: Manage discovery rules that auto-populate a health model. +: Manage Discoveryrule - [entity](/Commands/monitor/health-models/entity/readme.md) -: Manage entities (nodes) in a health model. +: Manage Entity - [identity](/Commands/monitor/health-models/identity/readme.md) -: Manage system- and user-assigned managed identities on a health model. +: Manage Identity - [relationship](/Commands/monitor/health-models/relationship/readme.md) -: Manage parent-child relationships (edges) between entities. +: Manage Relationship - [signal-definition](/Commands/monitor/health-models/signal-definition/readme.md) -: Manage signal definitions in a health model. +: Manage Signaldefinition ## Commands - [create](/Commands/monitor/health-models/_create.md) -: Create a health model. +: Create a HealthModel - [delete](/Commands/monitor/health-models/_delete.md) -: Delete a health model. +: Delete a HealthModel - [list](/Commands/monitor/health-models/_list.md) -: List health models in a resource group or across the subscription. +: List HealthModel resources by subscription ID - [show](/Commands/monitor/health-models/_show.md) -: Get a health model. +: Get a HealthModel - [update](/Commands/monitor/health-models/_update.md) -: Update a health model. +: Update a HealthModel diff --git a/Commands/monitor/health-models/relationship/_create.md b/Commands/monitor/health-models/relationship/_create.md index 795a25316..7295860f0 100644 --- a/Commands/monitor/health-models/relationship/_create.md +++ b/Commands/monitor/health-models/relationship/_create.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models relationship create_ -Create a relationship between two entities. +Create a Relationship ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml) **Stable** - + #### examples -- Create a parent-child relationship between two entities +- Relationships_CreateOrUpdate ```bash - monitor health-models relationship create --resource-group myRG --health-model-name myModel --name webToDb --parent-entity-name webTier --child-entity-name dbTier + monitor health-models relationship create --resource-group rgopenapi --health-model-name model1 --relationship-name rel1 --display-name My relationship --parent-entity-name Entity1 --child-entity-name Entity2 --tags "{key9681:ixfvzsfnpvkkbrce}" ``` diff --git a/Commands/monitor/health-models/relationship/_delete.md b/Commands/monitor/health-models/relationship/_delete.md index fbe881496..aa9323b06 100644 --- a/Commands/monitor/health-models/relationship/_delete.md +++ b/Commands/monitor/health-models/relationship/_delete.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models relationship delete_ -Delete a relationship. +Delete a Relationship ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml) **Stable** - + #### examples -- Delete a relationship +- Relationships_Delete ```bash - monitor health-models relationship delete --resource-group myRG --health-model-name myModel --name webToDb --yes + monitor health-models relationship delete --resource-group rgopenapi --health-model-name model1 --relationship-name rel1 ``` diff --git a/Commands/monitor/health-models/relationship/_list.md b/Commands/monitor/health-models/relationship/_list.md index b8da0d7d8..30892f150 100644 --- a/Commands/monitor/health-models/relationship/_list.md +++ b/Commands/monitor/health-models/relationship/_list.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models relationship list_ -List relationships in a health model. +List Relationship resources by HealthModel ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.xml) **Stable** - + #### examples -- List relationships in a health model +- Relationships_ListByHealthModel ```bash - monitor health-models relationship list --resource-group myRG --health-model-name myModel + monitor health-models relationship list --resource-group rgopenapi --health-model-name model1 ``` diff --git a/Commands/monitor/health-models/relationship/_show.md b/Commands/monitor/health-models/relationship/_show.md index 151297777..9c37077b9 100644 --- a/Commands/monitor/health-models/relationship/_show.md +++ b/Commands/monitor/health-models/relationship/_show.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models relationship show_ -Get a relationship. +Get a Relationship ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml) **Stable** - + #### examples -- Get a relationship +- Relationships_Get ```bash - monitor health-models relationship show --resource-group myRG --health-model-name myModel --name webToDb + monitor health-models relationship show --resource-group rgopenapi --health-model-name myHealthModel --relationship-name Ue-21-F3M12V3w-13x18F8H-7HOk--kq6tP-HB ``` diff --git a/Commands/monitor/health-models/relationship/_update.md b/Commands/monitor/health-models/relationship/_update.md index eef449cb6..c9285f681 100644 --- a/Commands/monitor/health-models/relationship/_update.md +++ b/Commands/monitor/health-models/relationship/_update.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models relationship update_ -Update a relationship. +Update a Relationship ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml) **Stable** - + #### examples -- Update the display name of a relationship +- Relationships_CreateOrUpdate ```bash - monitor health-models relationship update --resource-group myRG --health-model-name myModel --name webToDb --display-name "Web depends on DB" + monitor health-models relationship update --resource-group rgopenapi --health-model-name model1 --relationship-name rel1 ``` diff --git a/Commands/monitor/health-models/relationship/readme.md b/Commands/monitor/health-models/relationship/readme.md index 5edacf2d8..b126f987f 100644 --- a/Commands/monitor/health-models/relationship/readme.md +++ b/Commands/monitor/health-models/relationship/readme.md @@ -1,20 +1,20 @@ # [Group] _monitor health-models relationship_ -Manage parent-child relationships (edges) between entities. +Manage Relationship ## Commands - [create](/Commands/monitor/health-models/relationship/_create.md) -: Create a relationship between two entities. +: Create a Relationship - [delete](/Commands/monitor/health-models/relationship/_delete.md) -: Delete a relationship. +: Delete a Relationship - [list](/Commands/monitor/health-models/relationship/_list.md) -: List relationships in a health model. +: List Relationship resources by HealthModel - [show](/Commands/monitor/health-models/relationship/_show.md) -: Get a relationship. +: Get a Relationship - [update](/Commands/monitor/health-models/relationship/_update.md) -: Update a relationship. +: Update a Relationship diff --git a/Commands/monitor/health-models/signal-definition/_create.md b/Commands/monitor/health-models/signal-definition/_create.md index ba3621b70..6a74ae193 100644 --- a/Commands/monitor/health-models/signal-definition/_create.md +++ b/Commands/monitor/health-models/signal-definition/_create.md @@ -1,21 +1,16 @@ # [Command] _monitor health-models signal-definition create_ -Create or update a signal definition. +Create a SignalDefinition ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml) **Stable** - + #### examples -- Create an Azure Monitor metric signal definition +- SignalDefinitions_CreateOrUpdate ```bash - monitor health-models signal-definition create --resource-group myRG --health-model-name myModel --name cpuPressure --display-name 'CPU Pressure' --refresh-interval PT5M --azure-resource-metric metric-namespace='Microsoft.Compute/virtualMachines' metric-name='Percentage CPU' aggregation-type=Average --evaluation-rules unhealthy-rule='{operator:GreaterThan,threshold:90}' degraded-rule='{operator:GreaterThan,threshold:75}' - ``` - -- Create a PromQL signal definition - ```bash - monitor health-models signal-definition create --resource-group myRG --health-model-name myModel --name apiUp --display-name 'API Up' --refresh-interval PT1M --prometheus-metrics-query azure-monitor-workspace-resource-id=/subscriptions/.../accounts/myAmw query-text='up{job="api"}' --evaluation-rules unhealthy-rule='{operator:LessThan,threshold:1}' + monitor health-models signal-definition create --resource-group rgopenapi --health-model-name myHealthModel --signal-definition-name sig1 --display-name cpu usage --refresh-interval PT1M --tags "{key4788:ixfvzsfnpvkkbrce}" --data-unit byte --evaluation-rules "{degraded-rule:{operator:GreaterThan,threshold:70},unhealthy-rule:{operator:Dynamic,sensitivity:Medium,lookBackWindow:PT1H}}" ``` diff --git a/Commands/monitor/health-models/signal-definition/_delete.md b/Commands/monitor/health-models/signal-definition/_delete.md index 833c60ad9..46d96d4eb 100644 --- a/Commands/monitor/health-models/signal-definition/_delete.md +++ b/Commands/monitor/health-models/signal-definition/_delete.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models signal-definition delete_ -Delete a signal definition. +Delete a SignalDefinition ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml) **Stable** - + #### examples -- Delete a signal definition +- SignalDefinitions_Delete ```bash - monitor health-models signal-definition delete --resource-group myRG --health-model-name myModel --name cpuPressure --yes + monitor health-models signal-definition delete --resource-group rgopenapi --health-model-name model1 --signal-definition-name sig ``` diff --git a/Commands/monitor/health-models/signal-definition/_list.md b/Commands/monitor/health-models/signal-definition/_list.md index 5fc04a0cb..871550945 100644 --- a/Commands/monitor/health-models/signal-definition/_list.md +++ b/Commands/monitor/health-models/signal-definition/_list.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models signal-definition list_ -List signal definitions in a health model. +List SignalDefinition resources by HealthModel ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.xml) **Stable** - + #### examples -- List signal definitions in a health model +- SignalDefinitions_ListByHealthModel ```bash - monitor health-models signal-definition list --resource-group myRG --health-model-name myModel + monitor health-models signal-definition list --resource-group rgopenapi --health-model-name myHealthModel ``` diff --git a/Commands/monitor/health-models/signal-definition/_show.md b/Commands/monitor/health-models/signal-definition/_show.md index 198c25870..4a880c7b0 100644 --- a/Commands/monitor/health-models/signal-definition/_show.md +++ b/Commands/monitor/health-models/signal-definition/_show.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models signal-definition show_ -Get a signal definition. +Get a SignalDefinition ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml) **Stable** - + #### examples -- Get a signal definition +- SignalDefinitions_Get ```bash - monitor health-models signal-definition show --resource-group myRG --health-model-name myModel --name cpuPressure + monitor health-models signal-definition show --resource-group rgopenapi --health-model-name myHealthModel --signal-definition-name sig1 ``` diff --git a/Commands/monitor/health-models/signal-definition/_update.md b/Commands/monitor/health-models/signal-definition/_update.md index fcd284ebf..09f83d197 100644 --- a/Commands/monitor/health-models/signal-definition/_update.md +++ b/Commands/monitor/health-models/signal-definition/_update.md @@ -1,16 +1,16 @@ # [Command] _monitor health-models signal-definition update_ -Update a signal definition. +Update a SignalDefinition ## Versions -### [2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml) **Stable** - + #### examples -- Update the refresh interval of a signal definition +- SignalDefinitions_CreateOrUpdate ```bash - monitor health-models signal-definition update --resource-group myRG --health-model-name myModel --name cpuPressure --refresh-interval PT10M + monitor health-models signal-definition update --resource-group rgopenapi --health-model-name myHealthModel --signal-definition-name sig1 ``` diff --git a/Commands/monitor/health-models/signal-definition/readme.md b/Commands/monitor/health-models/signal-definition/readme.md index a2f4ac6a0..c60dee3dc 100644 --- a/Commands/monitor/health-models/signal-definition/readme.md +++ b/Commands/monitor/health-models/signal-definition/readme.md @@ -1,20 +1,20 @@ # [Group] _monitor health-models signal-definition_ -Manage signal definitions in a health model. +Manage Signaldefinition ## Commands - [create](/Commands/monitor/health-models/signal-definition/_create.md) -: Create or update a signal definition. +: Create a SignalDefinition - [delete](/Commands/monitor/health-models/signal-definition/_delete.md) -: Delete a signal definition. +: Delete a SignalDefinition - [list](/Commands/monitor/health-models/signal-definition/_list.md) -: List signal definitions in a health model. +: List SignalDefinition resources by HealthModel - [show](/Commands/monitor/health-models/signal-definition/_show.md) -: Get a signal definition. +: Get a SignalDefinition - [update](/Commands/monitor/health-models/signal-definition/_update.md) -: Update a signal definition. +: Update a SignalDefinition diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.json similarity index 98% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.json rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.json index adeb66997..c196e0801 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.json @@ -3,13 +3,13 @@ "resources": [ { "id": "/subscriptions/{}/providers/microsoft.cloudhealth/healthmodels", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNsb3VkSGVhbHRoL2hlYWx0aG1vZGVscw==/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNsb3VkSGVhbHRoL2hlYWx0aG1vZGVscw==/V/MjAyNi0wNS0wMS1wcmV2aWV3" }, { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxz/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxz/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "commandGroups": [ @@ -18,17 +18,17 @@ "commands": [ { "name": "list", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/providers/microsoft.cloudhealth/healthmodels", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNsb3VkSGVhbHRoL2hlYWx0aG1vZGVscw==/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNsb3VkSGVhbHRoL2hlYWx0aG1vZGVscw==/V/MjAyNi0wNS0wMS1wcmV2aWV3" }, { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxz/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxz/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -119,7 +119,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -399,7 +399,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -657,4 +657,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.xml similarity index 94% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.xml rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.xml index 9eb9f58f7..2e9692b65 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.xml @@ -1,11 +1,11 @@ - - + + - - - + + + @@ -32,7 +32,7 @@ - + @@ -138,7 +138,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.md similarity index 56% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.md rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.md index 2d82c3663..ea8486ebc 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.md +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.md @@ -1 +1 @@ -Reference [/subscriptions/{}/providers/microsoft.cloudhealth/healthmodels 2026-01-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-01-01-preview.xml) +Reference [/subscriptions/{}/providers/microsoft.cloudhealth/healthmodels 2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.json similarity index 98% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.json rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.json index a430b6482..e6add16d9 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.json @@ -3,8 +3,8 @@ "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "commandGroups": [ @@ -13,12 +13,12 @@ "commands": [ { "name": "show", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -106,7 +106,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -348,12 +348,12 @@ }, { "name": "delete", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -444,7 +444,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -501,12 +501,12 @@ }, { "name": "create", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -722,7 +722,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -1048,12 +1048,12 @@ }, { "name": "update", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -1223,7 +1223,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -1563,7 +1563,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -1624,13 +1624,13 @@ "commands": [ { "name": "assign", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "subresource": "identity", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -1768,7 +1768,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -2073,7 +2073,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -2129,13 +2129,13 @@ }, { "name": "remove", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "subresource": "identity", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -2273,7 +2273,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -2578,7 +2578,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -2634,13 +2634,13 @@ }, { "name": "show", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "subresource": "identity", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -2740,7 +2740,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -2986,4 +2986,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml similarity index 96% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml index 53e29d496..2997ec02b 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml @@ -1,9 +1,9 @@ - + - - + + @@ -26,7 +26,7 @@ - + @@ -118,8 +118,8 @@ - - + + @@ -143,7 +143,7 @@ - + @@ -166,8 +166,8 @@ - - + + @@ -230,7 +230,7 @@ - + @@ -353,8 +353,8 @@ - - + + @@ -404,7 +404,7 @@ - + @@ -537,7 +537,7 @@ - + @@ -564,8 +564,8 @@ - - + + @@ -604,7 +604,7 @@ - + @@ -721,7 +721,7 @@ - + @@ -747,8 +747,8 @@ - - + + @@ -787,7 +787,7 @@ - + @@ -904,7 +904,7 @@ - + @@ -930,8 +930,8 @@ - - + + @@ -959,7 +959,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.json similarity index 97% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.json rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.json index a8f182801..661b8c203 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.json @@ -3,8 +3,8 @@ "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3M=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3M=/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "commandGroups": [ @@ -13,12 +13,12 @@ "commands": [ { "name": "list", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3M=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3M=/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -104,7 +104,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -326,4 +326,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.xml similarity index 95% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.xml rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.xml index f69cd4c21..e272dca36 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.xml @@ -1,9 +1,9 @@ - + - - + + @@ -26,7 +26,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.json similarity index 98% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.json rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.json index 426361c81..f4cbd5a38 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.json @@ -3,8 +3,8 @@ "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "commandGroups": [ @@ -13,12 +13,12 @@ "commands": [ { "name": "show", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -130,7 +130,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -336,12 +336,12 @@ }, { "name": "delete", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -456,7 +456,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -513,12 +513,12 @@ }, { "name": "create", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -678,7 +678,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -943,12 +943,12 @@ }, { "name": "update", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -1105,7 +1105,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -1415,7 +1415,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -1472,4 +1472,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml similarity index 95% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.xml rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml index 41e3de823..c11f11ad4 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml @@ -1,9 +1,9 @@ - + - - + + @@ -33,7 +33,7 @@ - + @@ -112,8 +112,8 @@ - - + + @@ -144,7 +144,7 @@ - + @@ -167,8 +167,8 @@ - - + + @@ -211,7 +211,7 @@ - + @@ -311,8 +311,8 @@ - - + + @@ -354,7 +354,7 @@ - + @@ -472,7 +472,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.json similarity index 94% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.json rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.json index 46036b144..3009b5381 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.json @@ -3,8 +3,8 @@ "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVz/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVz/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "commandGroups": [ @@ -13,12 +13,12 @@ "commands": [ { "name": "list", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVz/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVz/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -127,7 +127,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -193,6 +193,23 @@ ] } }, + { + "default": { + "value": "Enabled" + }, + "type": "string", + "name": "addResourceHealthSignal", + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, { "type": "string", "name": "authenticationSetting", @@ -433,4 +450,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.xml similarity index 91% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.xml rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.xml index 2f7692089..a03d2acf4 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.xml @@ -1,9 +1,9 @@ - + - - + + @@ -33,7 +33,7 @@ - + @@ -56,6 +56,13 @@ + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.json similarity index 92% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.json rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.json index b1216bcc1..d63a981f4 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.json @@ -3,8 +3,8 @@ "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "commandGroups": [ @@ -13,12 +13,12 @@ "commands": [ { "name": "show", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -130,7 +130,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -185,6 +185,23 @@ ] } }, + { + "default": { + "value": "Enabled" + }, + "type": "string", + "name": "addResourceHealthSignal", + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, { "type": "string", "name": "authenticationSetting", @@ -420,12 +437,12 @@ }, { "name": "delete", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -540,7 +557,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -597,12 +614,12 @@ }, { "name": "create", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -688,6 +705,32 @@ ] } }, + { + "type": "string", + "var": "$resource.properties.addResourceHealthSignal", + "options": [ + "add-resource-health-signal" + ], + "group": "Properties", + "help": { + "short": "Whether to automatically add a signal for the Azure resource's availability state from Azure Resource Health to the discovered entities. Defaults to `Enabled`: discovery rules updated via this API version without setting this field will begin emitting a Resource Health availability signal. Pass `Disabled` to preserve pre-`2026-05-01-preview` behavior." + }, + "default": { + "value": "Enabled" + }, + "enum": { + "items": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } + }, { "type": "string", "var": "$resource.properties.authenticationSetting", @@ -854,7 +897,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -892,6 +935,24 @@ ] } }, + { + "default": { + "value": "Enabled" + }, + "type": "string", + "name": "addResourceHealthSignal", + "arg": "$resource.properties.addResourceHealthSignal", + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, { "type": "string", "name": "authenticationSetting", @@ -1033,6 +1094,23 @@ ] } }, + { + "default": { + "value": "Enabled" + }, + "type": "string", + "name": "addResourceHealthSignal", + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, { "type": "string", "name": "authenticationSetting", @@ -1268,12 +1346,12 @@ }, { "name": "update", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -1359,6 +1437,30 @@ ] } }, + { + "nullable": true, + "type": "string", + "var": "$resource.properties.addResourceHealthSignal", + "options": [ + "add-resource-health-signal" + ], + "group": "Properties", + "help": { + "short": "Whether to automatically add a signal for the Azure resource's availability state from Azure Resource Health to the discovered entities. Defaults to `Enabled`: discovery rules updated via this API version without setting this field will begin emitting a Resource Health availability signal. Pass `Disabled` to preserve pre-`2026-05-01-preview` behavior." + }, + "enum": { + "items": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } + }, { "type": "string", "var": "$resource.properties.authenticationSetting", @@ -1521,7 +1623,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -1576,6 +1678,23 @@ ] } }, + { + "default": { + "value": "Enabled" + }, + "type": "string", + "name": "addResourceHealthSignal", + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, { "type": "string", "name": "authenticationSetting", @@ -1830,6 +1949,24 @@ ] } }, + { + "default": { + "value": "Enabled" + }, + "type": "string", + "name": "addResourceHealthSignal", + "arg": "$resource.properties.addResourceHealthSignal", + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, { "type": "string", "name": "authenticationSetting", @@ -1980,7 +2117,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -2037,4 +2174,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml similarity index 90% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml index 727dc0f1e..a3ffcd40f 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml @@ -1,9 +1,9 @@ - + - - + + @@ -33,7 +33,7 @@ - + @@ -53,6 +53,13 @@ + + + + + + + @@ -140,8 +147,8 @@ - - + + @@ -172,7 +179,7 @@ - + @@ -195,8 +202,8 @@ - - + + @@ -217,6 +224,14 @@ + + + + + + + + @@ -265,7 +280,7 @@ - + @@ -279,6 +294,13 @@ + + + + + + + @@ -327,6 +349,13 @@ + + + + + + + @@ -414,8 +443,8 @@ - - + + @@ -436,6 +465,13 @@ + + + + + + + @@ -483,7 +519,7 @@ - + @@ -503,6 +539,13 @@ + + + + + + + @@ -599,6 +642,13 @@ + + + + + + + @@ -650,7 +700,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.json similarity index 81% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.json rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.json index 980d8d41d..3112a33c3 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.json @@ -3,8 +3,8 @@ "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVz/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVz/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "commandGroups": [ @@ -13,12 +13,12 @@ "commands": [ { "name": "list", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVz/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVz/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -127,7 +127,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -446,6 +446,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -598,6 +601,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -694,6 +700,183 @@ "minLength": 0 } }, + { + "type": "object", + "name": "resourceHealth", + "props": [ + { + "default": { + "value": "Enabled" + }, + "type": "string", + "name": "enabled", + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "signalName", + "format": { + "maxLength": 256 + } + }, + { + "readOnly": true, + "type": "object", + "name": "status", + "props": [ + { + "type": "string", + "name": "additionalContext", + "format": { + "maxLength": 4096 + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "availabilityReportedTime", + "format": { + "protocol": "iso" + } + }, + { + "readOnly": true, + "type": "string", + "name": "availabilityState", + "enum": { + "items": [ + { + "value": "Available" + }, + { + "value": "Degraded" + }, + { + "value": "Unavailable" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "category", + "enum": { + "items": [ + { + "value": "Planned" + }, + { + "value": "Unplanned" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "detailedStatus", + "format": { + "maxLength": 4096 + } + }, + { + "readOnly": true, + "type": "string", + "name": "error" + }, + { + "readOnly": true, + "type": "string", + "name": "healthState", + "enum": { + "items": [ + { + "value": "Degraded" + }, + { + "value": "Deleted" + }, + { + "value": "Healthy" + }, + { + "value": "Unhealthy" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "reasonChronicity", + "enum": { + "items": [ + { + "value": "Persistent" + }, + { + "value": "Transient" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "reasonType", + "enum": { + "items": [ + { + "value": "Planned" + }, + { + "value": "Unplanned" + }, + { + "value": "UserInitiated" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "reportedAt", + "format": { + "protocol": "iso" + } + }, + { + "readOnly": true, + "type": "string", + "name": "summary" + }, + { + "readOnly": true, + "type": "float64", + "name": "value" + } + ] + } + ] + }, { "type": "array", "name": "signals", @@ -737,14 +920,6 @@ "minLength": 1 } }, - { - "type": "string", - "name": "dimension", - "format": { - "maxLength": 256, - "minLength": 1 - } - }, { "type": "string", "name": "dimensionFilter", @@ -769,12 +944,35 @@ "type": "object", "name": "degradedRule", "props": [ + { + "type": "string", + "name": "lookBackWindow", + "enum": { + "items": [ + { + "value": "PT15M" + }, + { + "value": "PT1H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, { "type": "string", "name": "operator", "required": true, "enum": { "items": [ + { + "value": "Dynamic" + }, { "value": "Equal" }, @@ -796,10 +994,26 @@ ] } }, + { + "type": "string", + "name": "sensitivity", + "enum": { + "items": [ + { + "value": "High" + }, + { + "value": "Low" + }, + { + "value": "Medium" + } + ] + } + }, { "type": "float64", - "name": "threshold", - "required": true + "name": "threshold" } ], "cls": "ThresholdRuleV2_read" @@ -847,6 +1061,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -902,6 +1119,13 @@ "type": "object", "name": "status", "props": [ + { + "type": "string", + "name": "additionalContext", + "format": { + "maxLength": 4096 + } + }, { "readOnly": true, "type": "string", @@ -1218,4 +1442,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.xml similarity index 82% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.xml rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.xml index a6e6b97a8..7bc096024 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.xml @@ -1,9 +1,9 @@ - + - - + + @@ -33,7 +33,7 @@ - + @@ -144,6 +144,7 @@ + @@ -198,6 +199,7 @@ + @@ -232,6 +234,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -248,9 +315,6 @@ - - - @@ -259,8 +323,17 @@ + + + + + + + + + @@ -269,7 +342,14 @@ - + + + + + + + + @@ -286,6 +366,7 @@ + @@ -306,6 +387,9 @@ + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.json similarity index 86% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.json rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.json index 1ec081bf6..d6306d4db 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.json @@ -3,8 +3,8 @@ "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "commandGroups": [ @@ -13,12 +13,12 @@ "commands": [ { "name": "show", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -130,7 +130,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -438,6 +438,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -590,6 +593,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -686,6 +692,183 @@ "minLength": 0 } }, + { + "type": "object", + "name": "resourceHealth", + "props": [ + { + "default": { + "value": "Enabled" + }, + "type": "string", + "name": "enabled", + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "signalName", + "format": { + "maxLength": 256 + } + }, + { + "readOnly": true, + "type": "object", + "name": "status", + "props": [ + { + "type": "string", + "name": "additionalContext", + "format": { + "maxLength": 4096 + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "availabilityReportedTime", + "format": { + "protocol": "iso" + } + }, + { + "readOnly": true, + "type": "string", + "name": "availabilityState", + "enum": { + "items": [ + { + "value": "Available" + }, + { + "value": "Degraded" + }, + { + "value": "Unavailable" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "category", + "enum": { + "items": [ + { + "value": "Planned" + }, + { + "value": "Unplanned" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "detailedStatus", + "format": { + "maxLength": 4096 + } + }, + { + "readOnly": true, + "type": "string", + "name": "error" + }, + { + "readOnly": true, + "type": "string", + "name": "healthState", + "enum": { + "items": [ + { + "value": "Degraded" + }, + { + "value": "Deleted" + }, + { + "value": "Healthy" + }, + { + "value": "Unhealthy" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "reasonChronicity", + "enum": { + "items": [ + { + "value": "Persistent" + }, + { + "value": "Transient" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "reasonType", + "enum": { + "items": [ + { + "value": "Planned" + }, + { + "value": "Unplanned" + }, + { + "value": "UserInitiated" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "reportedAt", + "format": { + "protocol": "iso" + } + }, + { + "readOnly": true, + "type": "string", + "name": "summary" + }, + { + "readOnly": true, + "type": "float64", + "name": "value" + } + ] + } + ] + }, { "type": "array", "name": "signals", @@ -729,14 +912,6 @@ "minLength": 1 } }, - { - "type": "string", - "name": "dimension", - "format": { - "maxLength": 256, - "minLength": 1 - } - }, { "type": "string", "name": "dimensionFilter", @@ -761,12 +936,35 @@ "type": "object", "name": "degradedRule", "props": [ + { + "type": "string", + "name": "lookBackWindow", + "enum": { + "items": [ + { + "value": "PT15M" + }, + { + "value": "PT1H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, { "type": "string", "name": "operator", "required": true, "enum": { "items": [ + { + "value": "Dynamic" + }, { "value": "Equal" }, @@ -788,10 +986,26 @@ ] } }, + { + "type": "string", + "name": "sensitivity", + "enum": { + "items": [ + { + "value": "High" + }, + { + "value": "Low" + }, + { + "value": "Medium" + } + ] + } + }, { "type": "float64", - "name": "threshold", - "required": true + "name": "threshold" } ], "cls": "ThresholdRuleV2_read" @@ -839,6 +1053,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -894,6 +1111,13 @@ "type": "object", "name": "status", "props": [ + { + "type": "string", + "name": "additionalContext", + "format": { + "maxLength": 4096 + } + }, { "readOnly": true, "type": "string", @@ -1205,12 +1429,12 @@ }, { "name": "delete", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -1325,7 +1549,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -1382,12 +1606,12 @@ }, { "name": "create", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -1834,6 +2058,10 @@ "name": "PT10M", "value": "PT10M" }, + { + "name": "PT15M", + "value": "PT15M" + }, { "name": "PT1H", "value": "PT1H" @@ -2037,6 +2265,10 @@ "name": "PT10M", "value": "PT10M" }, + { + "name": "PT15M", + "value": "PT15M" + }, { "name": "PT1H", "value": "PT1H" @@ -2141,6 +2373,43 @@ "minLength": 0 } }, + { + "type": "object", + "var": "$resource.properties.signalGroups.azureResource.resourceHealth", + "options": [ + "resource-health" + ], + "help": { + "short": "Optional configuration for automatically adding a signal based on the resource's availability state in Azure Resource Health." + }, + "args": [ + { + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.resourceHealth.enabled", + "options": [ + "enabled" + ], + "help": { + "short": "Whether to automatically add a signal for the Azure resource's availability state from Azure Resource Health. Defaults to Enabled." + }, + "default": { + "value": "Enabled" + }, + "enum": { + "items": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } + } + ] + }, { "type": "array", "var": "$resource.properties.signalGroups.azureResource.signals", @@ -2208,20 +2477,6 @@ "minLength": 1 } }, - { - "type": "string", - "var": "$resource.properties.signalGroups.azureResource.signals[].dimension", - "options": [ - "dimension" - ], - "help": { - "short": "Optional: Dimension to split by" - }, - "format": { - "maxLength": 256, - "minLength": 1 - } - }, { "type": "string", "var": "$resource.properties.signalGroups.azureResource.signals[].dimensionFilter", @@ -2270,6 +2525,36 @@ "short": "Degraded rule with static threshold." }, "args": [ + { + "type": "string", + "var": "@ThresholdRuleV2_create.lookBackWindow", + "options": [ + "look-back-window" + ], + "help": { + "short": "ISO 8601 duration for the historical look-back window used by dynamic threshold computation. Only applicable when operator is Dynamic." + }, + "enum": { + "items": [ + { + "name": "PT15M", + "value": "PT15M" + }, + { + "name": "PT1H", + "value": "PT1H" + }, + { + "name": "PT30M", + "value": "PT30M" + }, + { + "name": "PT5M", + "value": "PT5M" + } + ] + } + }, { "type": "string", "var": "@ThresholdRuleV2_create.operator", @@ -2282,6 +2567,10 @@ }, "enum": { "items": [ + { + "name": "Dynamic", + "value": "Dynamic" + }, { "name": "Equal", "value": "Equal" @@ -2309,13 +2598,38 @@ ] } }, + { + "type": "string", + "var": "@ThresholdRuleV2_create.sensitivity", + "options": [ + "sensitivity" + ], + "help": { + "short": "Sensitivity level for dynamic threshold detection. Only applicable when operator is Dynamic." + }, + "enum": { + "items": [ + { + "name": "High", + "value": "High" + }, + { + "name": "Low", + "value": "Low" + }, + { + "name": "Medium", + "value": "Medium" + } + ] + } + }, { "type": "float64", "var": "@ThresholdRuleV2_create.threshold", "options": [ "threshold" ], - "required": true, "help": { "short": "Threshold value" } @@ -2397,6 +2711,10 @@ "name": "PT10M", "value": "PT10M" }, + { + "name": "PT15M", + "value": "PT15M" + }, { "name": "PT1H", "value": "PT1H" @@ -2633,7 +2951,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -2893,6 +3211,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -3053,6 +3374,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -3150,6 +3474,31 @@ "minLength": 0 } }, + { + "type": "object", + "name": "resourceHealth", + "arg": "$resource.properties.signalGroups.azureResource.resourceHealth", + "props": [ + { + "default": { + "value": "Enabled" + }, + "type": "string", + "name": "enabled", + "arg": "$resource.properties.signalGroups.azureResource.resourceHealth.enabled", + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + } + ] + }, { "type": "array", "name": "signals", @@ -3198,17 +3547,8 @@ }, { "type": "string", - "name": "dimension", - "arg": "$resource.properties.signalGroups.azureResource.signals[].dimension", - "format": { - "maxLength": 256, - "minLength": 1 - } - }, - { - "type": "string", - "name": "dimensionFilter", - "arg": "$resource.properties.signalGroups.azureResource.signals[].dimensionFilter", + "name": "dimensionFilter", + "arg": "$resource.properties.signalGroups.azureResource.signals[].dimensionFilter", "format": { "maxLength": 256, "minLength": 1 @@ -3233,6 +3573,27 @@ "name": "degradedRule", "arg": "@EvaluationRule_create.degradedRule", "props": [ + { + "type": "string", + "name": "lookBackWindow", + "arg": "@ThresholdRuleV2_create.lookBackWindow", + "enum": { + "items": [ + { + "value": "PT15M" + }, + { + "value": "PT1H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, { "type": "string", "name": "operator", @@ -3240,6 +3601,9 @@ "required": true, "enum": { "items": [ + { + "value": "Dynamic" + }, { "value": "Equal" }, @@ -3261,11 +3625,28 @@ ] } }, + { + "type": "string", + "name": "sensitivity", + "arg": "@ThresholdRuleV2_create.sensitivity", + "enum": { + "items": [ + { + "value": "High" + }, + { + "value": "Low" + }, + { + "value": "Medium" + } + ] + } + }, { "type": "float64", "name": "threshold", - "arg": "@ThresholdRuleV2_create.threshold", - "required": true + "arg": "@ThresholdRuleV2_create.threshold" } ], "cls": "ThresholdRuleV2_create" @@ -3318,6 +3699,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -3774,6 +4158,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -3926,6 +4313,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -4022,6 +4412,183 @@ "minLength": 0 } }, + { + "type": "object", + "name": "resourceHealth", + "props": [ + { + "default": { + "value": "Enabled" + }, + "type": "string", + "name": "enabled", + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "signalName", + "format": { + "maxLength": 256 + } + }, + { + "readOnly": true, + "type": "object", + "name": "status", + "props": [ + { + "type": "string", + "name": "additionalContext", + "format": { + "maxLength": 4096 + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "availabilityReportedTime", + "format": { + "protocol": "iso" + } + }, + { + "readOnly": true, + "type": "string", + "name": "availabilityState", + "enum": { + "items": [ + { + "value": "Available" + }, + { + "value": "Degraded" + }, + { + "value": "Unavailable" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "category", + "enum": { + "items": [ + { + "value": "Planned" + }, + { + "value": "Unplanned" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "detailedStatus", + "format": { + "maxLength": 4096 + } + }, + { + "readOnly": true, + "type": "string", + "name": "error" + }, + { + "readOnly": true, + "type": "string", + "name": "healthState", + "enum": { + "items": [ + { + "value": "Degraded" + }, + { + "value": "Deleted" + }, + { + "value": "Healthy" + }, + { + "value": "Unhealthy" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "reasonChronicity", + "enum": { + "items": [ + { + "value": "Persistent" + }, + { + "value": "Transient" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "reasonType", + "enum": { + "items": [ + { + "value": "Planned" + }, + { + "value": "Unplanned" + }, + { + "value": "UserInitiated" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "reportedAt", + "format": { + "protocol": "iso" + } + }, + { + "readOnly": true, + "type": "string", + "name": "summary" + }, + { + "readOnly": true, + "type": "float64", + "name": "value" + } + ] + } + ] + }, { "type": "array", "name": "signals", @@ -4065,14 +4632,6 @@ "minLength": 1 } }, - { - "type": "string", - "name": "dimension", - "format": { - "maxLength": 256, - "minLength": 1 - } - }, { "type": "string", "name": "dimensionFilter", @@ -4097,12 +4656,35 @@ "type": "object", "name": "degradedRule", "props": [ + { + "type": "string", + "name": "lookBackWindow", + "enum": { + "items": [ + { + "value": "PT15M" + }, + { + "value": "PT1H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, { "type": "string", "name": "operator", "required": true, "enum": { "items": [ + { + "value": "Dynamic" + }, { "value": "Equal" }, @@ -4124,10 +4706,26 @@ ] } }, + { + "type": "string", + "name": "sensitivity", + "enum": { + "items": [ + { + "value": "High" + }, + { + "value": "Low" + }, + { + "value": "Medium" + } + ] + } + }, { "type": "float64", - "name": "threshold", - "required": true + "name": "threshold" } ], "cls": "ThresholdRuleV2_read" @@ -4175,6 +4773,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -4230,6 +4831,13 @@ "type": "object", "name": "status", "props": [ + { + "type": "string", + "name": "additionalContext", + "format": { + "maxLength": 4096 + } + }, { "readOnly": true, "type": "string", @@ -4541,12 +5149,12 @@ }, { "name": "update", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -5001,6 +5609,10 @@ "name": "PT10M", "value": "PT10M" }, + { + "name": "PT15M", + "value": "PT15M" + }, { "name": "PT1H", "value": "PT1H" @@ -5209,6 +5821,10 @@ "name": "PT10M", "value": "PT10M" }, + { + "name": "PT15M", + "value": "PT15M" + }, { "name": "PT1H", "value": "PT1H" @@ -5315,6 +5931,42 @@ "minLength": 0 } }, + { + "nullable": true, + "type": "object", + "var": "$resource.properties.signalGroups.azureResource.resourceHealth", + "options": [ + "resource-health" + ], + "help": { + "short": "Optional configuration for automatically adding a signal based on the resource's availability state in Azure Resource Health." + }, + "args": [ + { + "nullable": true, + "type": "string", + "var": "$resource.properties.signalGroups.azureResource.resourceHealth.enabled", + "options": [ + "enabled" + ], + "help": { + "short": "Whether to automatically add a signal for the Azure resource's availability state from Azure Resource Health. Defaults to Enabled." + }, + "enum": { + "items": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } + } + ] + }, { "nullable": true, "type": "array", @@ -5386,21 +6038,6 @@ "minLength": 1 } }, - { - "nullable": true, - "type": "string", - "var": "$resource.properties.signalGroups.azureResource.signals[].dimension", - "options": [ - "dimension" - ], - "help": { - "short": "Optional: Dimension to split by" - }, - "format": { - "maxLength": 256, - "minLength": 1 - } - }, { "nullable": true, "type": "string", @@ -5453,6 +6090,37 @@ "short": "Degraded rule with static threshold." }, "args": [ + { + "nullable": true, + "type": "string", + "var": "@ThresholdRuleV2_update.lookBackWindow", + "options": [ + "look-back-window" + ], + "help": { + "short": "ISO 8601 duration for the historical look-back window used by dynamic threshold computation. Only applicable when operator is Dynamic." + }, + "enum": { + "items": [ + { + "name": "PT15M", + "value": "PT15M" + }, + { + "name": "PT1H", + "value": "PT1H" + }, + { + "name": "PT30M", + "value": "PT30M" + }, + { + "name": "PT5M", + "value": "PT5M" + } + ] + } + }, { "type": "string", "var": "@ThresholdRuleV2_update.operator", @@ -5464,6 +6132,10 @@ }, "enum": { "items": [ + { + "name": "Dynamic", + "value": "Dynamic" + }, { "name": "Equal", "value": "Equal" @@ -5492,6 +6164,34 @@ } }, { + "nullable": true, + "type": "string", + "var": "@ThresholdRuleV2_update.sensitivity", + "options": [ + "sensitivity" + ], + "help": { + "short": "Sensitivity level for dynamic threshold detection. Only applicable when operator is Dynamic." + }, + "enum": { + "items": [ + { + "name": "High", + "value": "High" + }, + { + "name": "Low", + "value": "Low" + }, + { + "name": "Medium", + "value": "Medium" + } + ] + } + }, + { + "nullable": true, "type": "float64", "var": "@ThresholdRuleV2_update.threshold", "options": [ @@ -5576,6 +6276,10 @@ "name": "PT10M", "value": "PT10M" }, + { + "name": "PT15M", + "value": "PT15M" + }, { "name": "PT1H", "value": "PT1H" @@ -5811,7 +6515,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -6119,6 +6823,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -6271,6 +6978,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -6367,6 +7077,183 @@ "minLength": 0 } }, + { + "type": "object", + "name": "resourceHealth", + "props": [ + { + "default": { + "value": "Enabled" + }, + "type": "string", + "name": "enabled", + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "signalName", + "format": { + "maxLength": 256 + } + }, + { + "readOnly": true, + "type": "object", + "name": "status", + "props": [ + { + "type": "string", + "name": "additionalContext", + "format": { + "maxLength": 4096 + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "availabilityReportedTime", + "format": { + "protocol": "iso" + } + }, + { + "readOnly": true, + "type": "string", + "name": "availabilityState", + "enum": { + "items": [ + { + "value": "Available" + }, + { + "value": "Degraded" + }, + { + "value": "Unavailable" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "category", + "enum": { + "items": [ + { + "value": "Planned" + }, + { + "value": "Unplanned" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "detailedStatus", + "format": { + "maxLength": 4096 + } + }, + { + "readOnly": true, + "type": "string", + "name": "error" + }, + { + "readOnly": true, + "type": "string", + "name": "healthState", + "enum": { + "items": [ + { + "value": "Degraded" + }, + { + "value": "Deleted" + }, + { + "value": "Healthy" + }, + { + "value": "Unhealthy" + }, + { + "value": "Unknown" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "reasonChronicity", + "enum": { + "items": [ + { + "value": "Persistent" + }, + { + "value": "Transient" + } + ] + } + }, + { + "readOnly": true, + "type": "string", + "name": "reasonType", + "enum": { + "items": [ + { + "value": "Planned" + }, + { + "value": "Unplanned" + }, + { + "value": "UserInitiated" + } + ] + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "reportedAt", + "format": { + "protocol": "iso" + } + }, + { + "readOnly": true, + "type": "string", + "name": "summary" + }, + { + "readOnly": true, + "type": "float64", + "name": "value" + } + ] + } + ] + }, { "type": "array", "name": "signals", @@ -6410,14 +7297,6 @@ "minLength": 1 } }, - { - "type": "string", - "name": "dimension", - "format": { - "maxLength": 256, - "minLength": 1 - } - }, { "type": "string", "name": "dimensionFilter", @@ -6442,12 +7321,35 @@ "type": "object", "name": "degradedRule", "props": [ + { + "type": "string", + "name": "lookBackWindow", + "enum": { + "items": [ + { + "value": "PT15M" + }, + { + "value": "PT1H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, { "type": "string", "name": "operator", "required": true, "enum": { "items": [ + { + "value": "Dynamic" + }, { "value": "Equal" }, @@ -6469,10 +7371,26 @@ ] } }, + { + "type": "string", + "name": "sensitivity", + "enum": { + "items": [ + { + "value": "High" + }, + { + "value": "Low" + }, + { + "value": "Medium" + } + ] + } + }, { "type": "float64", - "name": "threshold", - "required": true + "name": "threshold" } ], "cls": "ThresholdRuleV2_read" @@ -6520,6 +7438,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -6575,6 +7496,13 @@ "type": "object", "name": "status", "props": [ + { + "type": "string", + "name": "additionalContext", + "format": { + "maxLength": 4096 + } + }, { "readOnly": true, "type": "string", @@ -7127,6 +8055,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -7287,6 +8218,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -7384,6 +8318,31 @@ "minLength": 0 } }, + { + "type": "object", + "name": "resourceHealth", + "arg": "$resource.properties.signalGroups.azureResource.resourceHealth", + "props": [ + { + "default": { + "value": "Enabled" + }, + "type": "string", + "name": "enabled", + "arg": "$resource.properties.signalGroups.azureResource.resourceHealth.enabled", + "enum": { + "items": [ + { + "value": "Disabled" + }, + { + "value": "Enabled" + } + ] + } + } + ] + }, { "type": "array", "name": "signals", @@ -7430,15 +8389,6 @@ "minLength": 1 } }, - { - "type": "string", - "name": "dimension", - "arg": "$resource.properties.signalGroups.azureResource.signals[].dimension", - "format": { - "maxLength": 256, - "minLength": 1 - } - }, { "type": "string", "name": "dimensionFilter", @@ -7467,6 +8417,27 @@ "name": "degradedRule", "arg": "@EvaluationRule_update.degradedRule", "props": [ + { + "type": "string", + "name": "lookBackWindow", + "arg": "@ThresholdRuleV2_update.lookBackWindow", + "enum": { + "items": [ + { + "value": "PT15M" + }, + { + "value": "PT1H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, { "type": "string", "name": "operator", @@ -7474,6 +8445,9 @@ "required": true, "enum": { "items": [ + { + "value": "Dynamic" + }, { "value": "Equal" }, @@ -7495,11 +8469,28 @@ ] } }, + { + "type": "string", + "name": "sensitivity", + "arg": "@ThresholdRuleV2_update.sensitivity", + "enum": { + "items": [ + { + "value": "High" + }, + { + "value": "Low" + }, + { + "value": "Medium" + } + ] + } + }, { "type": "float64", "name": "threshold", - "arg": "@ThresholdRuleV2_update.threshold", - "required": true + "arg": "@ThresholdRuleV2_update.threshold" } ], "cls": "ThresholdRuleV2_update" @@ -7552,6 +8543,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -7764,7 +8758,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -7821,4 +8815,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml similarity index 86% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.xml rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml index 356185dcb..2a5713af8 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml @@ -1,9 +1,9 @@ - + - - + + @@ -33,7 +33,7 @@ - + @@ -141,6 +141,7 @@ + @@ -195,6 +196,7 @@ + @@ -229,6 +231,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -245,9 +312,6 @@ - - - @@ -256,8 +320,17 @@ + + + + + + + + + @@ -266,7 +339,14 @@ - + + + + + + + + @@ -283,6 +363,7 @@ + @@ -303,6 +384,9 @@ + + + @@ -423,8 +507,8 @@ - - + + @@ -455,7 +539,7 @@ - + @@ -478,8 +562,8 @@ - - + + @@ -597,6 +681,7 @@ + @@ -656,6 +741,7 @@ + @@ -687,6 +773,17 @@ + + + + + + + + + + + @@ -706,10 +803,6 @@ - - - - @@ -722,9 +815,19 @@ + + + + + + + + + + @@ -733,7 +836,15 @@ - + + + + + + + + + @@ -758,6 +869,7 @@ + @@ -835,7 +947,7 @@ - + @@ -916,6 +1028,7 @@ + @@ -969,6 +1082,7 @@ + @@ -1002,6 +1116,15 @@ + + + + + + + + + @@ -1018,9 +1141,6 @@ - - - @@ -1029,8 +1149,17 @@ + + + + + + + + + @@ -1039,7 +1168,14 @@ - + + + + + + + + @@ -1056,6 +1192,7 @@ + @@ -1222,6 +1359,7 @@ + @@ -1276,6 +1414,7 @@ + @@ -1310,6 +1449,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1326,9 +1530,6 @@ - - - @@ -1337,8 +1538,17 @@ + + + + + + + + + @@ -1347,7 +1557,14 @@ - + + + + + + + + @@ -1364,6 +1581,7 @@ + @@ -1384,6 +1602,9 @@ + + + @@ -1504,8 +1725,8 @@ - - + + @@ -1621,6 +1842,7 @@ + @@ -1679,6 +1901,7 @@ + @@ -1710,6 +1933,16 @@ + + + + + + + + + + @@ -1729,10 +1962,6 @@ - - - - @@ -1745,9 +1974,19 @@ + + + + + + + + + + @@ -1756,7 +1995,15 @@ - + + + + + + + + + @@ -1780,6 +2027,7 @@ + @@ -1854,7 +2102,7 @@ - + @@ -1962,6 +2210,7 @@ + @@ -2016,6 +2265,7 @@ + @@ -2050,6 +2300,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2066,9 +2381,6 @@ - - - @@ -2077,8 +2389,17 @@ + + + + + + + + + @@ -2087,7 +2408,14 @@ - + + + + + + + + @@ -2104,6 +2432,7 @@ + @@ -2124,6 +2453,9 @@ + + + @@ -2320,6 +2652,7 @@ + @@ -2373,6 +2706,7 @@ + @@ -2406,6 +2740,15 @@ + + + + + + + + + @@ -2422,9 +2765,6 @@ - - - @@ -2433,8 +2773,17 @@ + + + + + + + + + @@ -2443,7 +2792,14 @@ - + + + + + + + + @@ -2460,6 +2816,7 @@ + @@ -2541,7 +2898,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.json new file mode 100644 index 000000000..599ad8cde --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.json @@ -0,0 +1,293 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/adddataannotation", + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9hZGREYXRhQW5ub3RhdGlvbg==/V/MjAyNi0wNS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models entity", + "commands": [ + { + "name": "add-data-annotation", + "version": "2026-05-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/adddataannotation", + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9hZGREYXRhQW5ub3RhdGlvbg==/V/MjAyNi0wNS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.entityName", + "options": [ + "entity-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the entity. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Body", + "args": [ + { + "type": "object", + "var": "$body.annotationDetails", + "options": [ + "annotation-details" + ], + "required": true, + "group": "Body", + "help": { + "short": "Annotation details as a dynamic key-value pair bag. Service-enforced limits: a maximum of 10 entries per annotation and a maximum value length of 256 characters. Requests exceeding these limits will be rejected with a 400 response." + }, + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 256 + } + } + } + }, + { + "type": "string", + "var": "$body.description", + "options": [ + "description" + ], + "group": "Body", + "help": { + "short": "Optional description of the annotation" + }, + "format": { + "maxLength": 4096 + } + } + ] + } + ], + "operations": [ + { + "operationId": "Entities_AddDataAnnotation", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}/addDataAnnotation", + "request": { + "method": "post", + "path": { + "params": [ + { + "type": "string", + "name": "entityName", + "arg": "$Path.entityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-05-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "schema": { + "type": "object", + "name": "body", + "required": true, + "props": [ + { + "type": "object", + "name": "annotationDetails", + "arg": "$body.annotationDetails", + "required": true, + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 256 + } + } + } + }, + { + "type": "string", + "name": "description", + "arg": "$body.description", + "format": { + "maxLength": 4096 + } + } + ], + "clientFlatten": true + } + } + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "object", + "name": "annotationDetails", + "required": true, + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 256 + } + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "annotationId", + "format": { + "maxLength": 256 + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "description", + "format": { + "maxLength": 4096 + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.xml new file mode 100644 index 000000000..633347933 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.xml @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.json new file mode 100644 index 000000000..9f4fadfdb --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.json @@ -0,0 +1,361 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getdataannotations", + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXREYXRhQW5ub3RhdGlvbnM=/V/MjAyNi0wNS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models entity", + "commands": [ + { + "name": "get-data-annotation", + "version": "2026-05-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getdataannotations", + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXREYXRhQW5ub3RhdGlvbnM=/V/MjAyNi0wNS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.entityName", + "options": [ + "entity-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the entity. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Body", + "args": [ + { + "type": "dateTime", + "var": "$body.endAt", + "options": [ + "end-at" + ], + "group": "Body", + "help": { + "short": "End of UTC time range. Defaults to now if not specified." + }, + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "var": "$body.nextMarker", + "options": [ + "next-marker" + ], + "group": "Body", + "help": { + "short": "An opaque string value that identifies the portion of the result set to be returned with the next operation. Must not be combined with startAt or endAt." + }, + "format": { + "maxLength": 4096 + } + }, + { + "type": "dateTime", + "var": "$body.startAt", + "options": [ + "start-at" + ], + "group": "Body", + "help": { + "short": "Start of UTC time range. Defaults to 24 hours ago if not specified." + }, + "format": { + "protocol": "iso" + } + }, + { + "type": "integer32", + "var": "$body.top", + "options": [ + "top" + ], + "group": "Body", + "help": { + "short": "Maximum number of annotations to return per page. Defaults to 100." + }, + "default": { + "value": 100 + }, + "format": { + "maximum": 100, + "minimum": 1 + } + } + ] + } + ], + "operations": [ + { + "operationId": "Entities_GetDataAnnotations", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}/getDataAnnotations", + "request": { + "method": "post", + "path": { + "params": [ + { + "type": "string", + "name": "entityName", + "arg": "$Path.entityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-05-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "schema": { + "type": "object", + "name": "body", + "required": true, + "props": [ + { + "type": "dateTime", + "name": "endAt", + "arg": "$body.endAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "nextMarker", + "arg": "$body.nextMarker", + "format": { + "maxLength": 4096 + } + }, + { + "type": "dateTime", + "name": "startAt", + "arg": "$body.startAt", + "format": { + "protocol": "iso" + } + }, + { + "default": { + "value": 100 + }, + "type": "integer32", + "name": "top", + "arg": "$body.top", + "format": { + "maximum": 100, + "minimum": 1 + } + } + ], + "clientFlatten": true + } + } + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "array", + "name": "annotations", + "required": true, + "item": { + "type": "object", + "props": [ + { + "type": "object", + "name": "annotationDetails", + "required": true, + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 256 + } + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "annotationId", + "format": { + "maxLength": 256 + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "description", + "format": { + "maxLength": 4096 + } + } + ] + }, + "identifiers": [ + "annotationId" + ] + }, + { + "type": "string", + "name": "entityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "nextMarker", + "format": { + "maxLength": 4096 + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.xml new file mode 100644 index 000000000..1b65e89ca --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.xml @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.json similarity index 83% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.json rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.json index 5425b5b31..ff2376cef 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.json @@ -3,8 +3,8 @@ "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/gethistory", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRIaXN0b3J5/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRIaXN0b3J5/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "commandGroups": [ @@ -13,12 +13,12 @@ "commands": [ { "name": "get-history", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/gethistory", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRIaXN0b3J5/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRIaXN0b3J5/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -93,6 +93,20 @@ "protocol": "iso" } }, + { + "type": "string", + "var": "$body.nextMarker", + "options": [ + "next-marker" + ], + "group": "Body", + "help": { + "short": "An opaque string value that identifies the portion of the result set to be returned with the next operation. Must not be combined with startAt or endAt." + }, + "format": { + "maxLength": 4096 + } + }, { "type": "dateTime", "var": "$body.startAt", @@ -106,6 +120,24 @@ "format": { "protocol": "iso" } + }, + { + "type": "integer32", + "var": "$body.top", + "options": [ + "top" + ], + "group": "Body", + "help": { + "short": "Maximum number of health state transitions to return per page. Defaults to 1000." + }, + "default": { + "value": 1000 + }, + "format": { + "maximum": 1000, + "minimum": 1 + } } ] } @@ -161,7 +193,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -187,6 +219,14 @@ "protocol": "iso" } }, + { + "type": "string", + "name": "nextMarker", + "arg": "$body.nextMarker", + "format": { + "maxLength": 4096 + } + }, { "type": "dateTime", "name": "startAt", @@ -194,6 +234,18 @@ "format": { "protocol": "iso" } + }, + { + "default": { + "value": 1000 + }, + "type": "integer32", + "name": "top", + "arg": "$body.top", + "format": { + "maximum": 1000, + "minimum": 1 + } } ], "clientFlatten": true @@ -295,6 +347,13 @@ "identifiers": [ "occurredAt" ] + }, + { + "type": "string", + "name": "nextMarker", + "format": { + "maxLength": 4096 + } } ] } @@ -326,4 +385,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.xml similarity index 81% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.xml rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.xml index 4ae28637c..87805878f 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.xml @@ -1,9 +1,9 @@ - + - - + + @@ -21,10 +21,19 @@ + + + + + + + + + @@ -43,7 +52,7 @@ - + @@ -53,9 +62,16 @@ + + + + + + + @@ -95,6 +111,9 @@ + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-05-01-preview.json similarity index 83% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.json rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-05-01-preview.json index 5d3c61392..9fb4d8b11 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-05-01-preview.json @@ -3,8 +3,8 @@ "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getsignalhistory", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRTaWduYWxIaXN0b3J5/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRTaWduYWxIaXN0b3J5/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "commandGroups": [ @@ -13,12 +13,12 @@ "commands": [ { "name": "get-signal-history", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getsignalhistory", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRTaWduYWxIaXN0b3J5/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRTaWduYWxIaXN0b3J5/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -93,6 +93,20 @@ "protocol": "iso" } }, + { + "type": "string", + "var": "$body.nextMarker", + "options": [ + "next-marker" + ], + "group": "Body", + "help": { + "short": "An opaque string value that identifies the portion of the result set to be returned with the next operation. Must not be combined with startAt or endAt." + }, + "format": { + "maxLength": 4096 + } + }, { "type": "string", "var": "$body.signalName", @@ -121,6 +135,24 @@ "format": { "protocol": "iso" } + }, + { + "type": "integer32", + "var": "$body.top", + "options": [ + "top" + ], + "group": "Body", + "help": { + "short": "Maximum number of data points to return per page. Defaults to 1000." + }, + "default": { + "value": 1000 + }, + "format": { + "maximum": 1000, + "minimum": 1 + } } ] } @@ -176,7 +208,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -202,6 +234,14 @@ "protocol": "iso" } }, + { + "type": "string", + "name": "nextMarker", + "arg": "$body.nextMarker", + "format": { + "maxLength": 4096 + } + }, { "type": "string", "name": "signalName", @@ -218,6 +258,18 @@ "format": { "protocol": "iso" } + }, + { + "default": { + "value": 1000 + }, + "type": "integer32", + "name": "top", + "arg": "$body.top", + "format": { + "maximum": 1000, + "minimum": 1 + } } ], "clientFlatten": true @@ -300,6 +352,13 @@ "occurredAt" ] }, + { + "type": "string", + "name": "nextMarker", + "format": { + "maxLength": 4096 + } + }, { "type": "string", "name": "signalName", @@ -338,4 +397,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-05-01-preview.xml similarity index 81% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.xml rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-05-01-preview.xml index 130bed62b..f59cfdde7 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-05-01-preview.xml @@ -1,9 +1,9 @@ - + - - + + @@ -21,6 +21,10 @@ + + + + @@ -29,6 +33,11 @@ + + + + + @@ -47,7 +56,7 @@ - + @@ -57,12 +66,19 @@ + + + + + + + @@ -94,6 +110,9 @@ + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.json new file mode 100644 index 000000000..dfbe35ed3 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.json @@ -0,0 +1,373 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getsignalrecommendations", + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRTaWduYWxSZWNvbW1lbmRhdGlvbnM=/V/MjAyNi0wNS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models entity", + "commands": [ + { + "name": "get-signal-recommendation", + "version": "2026-05-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getsignalrecommendations", + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRTaWduYWxSZWNvbW1lbmRhdGlvbnM=/V/MjAyNi0wNS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.entityName", + "options": [ + "entity-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the entity. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "operationId": "Entities_GetSignalRecommendations", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}/getSignalRecommendations", + "request": { + "method": "post", + "path": { + "params": [ + { + "type": "string", + "name": "entityName", + "arg": "$Path.entityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-05-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "array<@SignalConfiguration_read>", + "name": "recommendedConfigurations", + "required": true, + "item": { + "type": "@SignalConfiguration_read" + }, + "identifiers": [ + "signalId" + ] + }, + { + "type": "array", + "name": "recommendedSignals", + "required": true, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "aggregationType", + "enum": { + "items": [ + { + "value": "Average" + }, + { + "value": "Count" + }, + { + "value": "Maximum" + }, + { + "value": "Minimum" + }, + { + "value": "None" + }, + { + "value": "Total" + } + ] + } + }, + { + "type": "string", + "name": "dimensionFilter", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "object", + "name": "evaluationRules", + "props": [ + { + "type": "object", + "name": "degradedRule", + "props": [ + { + "type": "string", + "name": "lookBackWindow", + "enum": { + "items": [ + { + "value": "PT15M" + }, + { + "value": "PT1H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "operator", + "required": true, + "enum": { + "items": [ + { + "value": "Dynamic" + }, + { + "value": "Equal" + }, + { + "value": "GreaterThan" + }, + { + "value": "GreaterThanOrEqual" + }, + { + "value": "LessThan" + }, + { + "value": "LessThanOrEqual" + }, + { + "value": "NotEqual" + } + ] + } + }, + { + "type": "string", + "name": "sensitivity", + "enum": { + "items": [ + { + "value": "High" + }, + { + "value": "Low" + }, + { + "value": "Medium" + } + ] + } + }, + { + "type": "float64", + "name": "threshold" + } + ], + "cls": "ThresholdRuleV2_read" + }, + { + "type": "@ThresholdRuleV2_read", + "name": "unhealthyRule", + "required": true + } + ] + }, + { + "type": "string", + "name": "metricName", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricNamespace", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "signalId", + "required": true, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "unit", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ], + "cls": "SignalConfiguration_read" + }, + "identifiers": [ + "signalId" + ] + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.xml new file mode 100644 index 000000000..bd38ed143 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.xml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.json similarity index 78% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.json rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.json index 51d05d124..001817942 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.json @@ -3,8 +3,8 @@ "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/ingesthealthreport", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9pbmdlc3RIZWFsdGhSZXBvcnQ=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9pbmdlc3RIZWFsdGhSZXBvcnQ=/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "commandGroups": [ @@ -13,12 +13,12 @@ "commands": [ { "name": "ingest-health-report", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/ingesthealthreport", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9pbmdlc3RIZWFsdGhSZXBvcnQ=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9pbmdlc3RIZWFsdGhSZXBvcnQ=/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -114,6 +114,36 @@ "short": "Degraded rule with static threshold." }, "args": [ + { + "type": "string", + "var": "@ThresholdRuleV2_create.lookBackWindow", + "options": [ + "look-back-window" + ], + "help": { + "short": "ISO 8601 duration for the historical look-back window used by dynamic threshold computation. Only applicable when operator is Dynamic." + }, + "enum": { + "items": [ + { + "name": "PT15M", + "value": "PT15M" + }, + { + "name": "PT1H", + "value": "PT1H" + }, + { + "name": "PT30M", + "value": "PT30M" + }, + { + "name": "PT5M", + "value": "PT5M" + } + ] + } + }, { "type": "string", "var": "@ThresholdRuleV2_create.operator", @@ -126,6 +156,10 @@ }, "enum": { "items": [ + { + "name": "Dynamic", + "value": "Dynamic" + }, { "name": "Equal", "value": "Equal" @@ -153,13 +187,38 @@ ] } }, + { + "type": "string", + "var": "@ThresholdRuleV2_create.sensitivity", + "options": [ + "sensitivity" + ], + "help": { + "short": "Sensitivity level for dynamic threshold detection. Only applicable when operator is Dynamic." + }, + "enum": { + "items": [ + { + "name": "High", + "value": "High" + }, + { + "name": "Low", + "value": "Low" + }, + { + "name": "Medium", + "value": "Medium" + } + ] + } + }, { "type": "float64", "var": "@ThresholdRuleV2_create.threshold", "options": [ "threshold" ], - "required": true, "help": { "short": "Threshold value" } @@ -314,7 +373,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -350,6 +409,27 @@ "name": "degradedRule", "arg": "$body.evaluationRules.degradedRule", "props": [ + { + "type": "string", + "name": "lookBackWindow", + "arg": "@ThresholdRuleV2_create.lookBackWindow", + "enum": { + "items": [ + { + "value": "PT15M" + }, + { + "value": "PT1H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, { "type": "string", "name": "operator", @@ -357,6 +437,9 @@ "required": true, "enum": { "items": [ + { + "value": "Dynamic" + }, { "value": "Equal" }, @@ -378,11 +461,28 @@ ] } }, + { + "type": "string", + "name": "sensitivity", + "arg": "@ThresholdRuleV2_create.sensitivity", + "enum": { + "items": [ + { + "value": "High" + }, + { + "value": "Low" + }, + { + "value": "Medium" + } + ] + } + }, { "type": "float64", "name": "threshold", - "arg": "@ThresholdRuleV2_create.threshold", - "required": true + "arg": "@ThresholdRuleV2_create.threshold" } ], "cls": "ThresholdRuleV2_create" @@ -476,4 +576,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.xml similarity index 78% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.xml rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.xml index d2db754ca..c2b63c7c9 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.xml @@ -1,9 +1,9 @@ - + - - + + @@ -25,9 +25,19 @@ + + + + + + + + + + @@ -36,7 +46,15 @@ - + + + + + + + + + @@ -84,7 +102,7 @@ - + @@ -96,8 +114,17 @@ + + + + + + + + + @@ -106,7 +133,14 @@ - + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.json similarity index 90% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.json rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.json index c4029ebbb..b9b3ca5fc 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.json @@ -3,8 +3,8 @@ "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25z/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25z/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "commandGroups": [ @@ -13,12 +13,12 @@ "commands": [ { "name": "list", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25z/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25z/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -127,7 +127,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -203,12 +203,35 @@ "type": "object", "name": "degradedRule", "props": [ + { + "type": "string", + "name": "lookBackWindow", + "enum": { + "items": [ + { + "value": "PT15M" + }, + { + "value": "PT1H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, { "type": "string", "name": "operator", "required": true, "enum": { "items": [ + { + "value": "Dynamic" + }, { "value": "Equal" }, @@ -230,10 +253,26 @@ ] } }, + { + "type": "string", + "name": "sensitivity", + "enum": { + "items": [ + { + "value": "High" + }, + { + "value": "Low" + }, + { + "value": "Medium" + } + ] + } + }, { "type": "float64", - "name": "threshold", - "required": true + "name": "threshold" } ], "cls": "ThresholdRuleV2_read" @@ -280,6 +319,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -364,14 +406,6 @@ ] } }, - { - "type": "string", - "name": "dimension", - "format": { - "maxLength": 256, - "minLength": 1 - } - }, { "type": "string", "name": "dimensionFilter", @@ -573,4 +607,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.xml similarity index 89% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.xml rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.xml index a44ad9ca8..f5f916c01 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.xml @@ -1,9 +1,9 @@ - + - - + + @@ -33,7 +33,7 @@ - + @@ -58,8 +58,17 @@ + + + + + + + + + @@ -68,7 +77,14 @@ - + + + + + + + + @@ -85,6 +101,7 @@ + @@ -118,9 +135,6 @@ - - - diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.json similarity index 88% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.json rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.json index 332c07d59..a6b54c30a 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.json @@ -3,8 +3,8 @@ "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "commandGroups": [ @@ -13,12 +13,12 @@ "commands": [ { "name": "show", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -130,7 +130,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -195,12 +195,35 @@ "type": "object", "name": "degradedRule", "props": [ + { + "type": "string", + "name": "lookBackWindow", + "enum": { + "items": [ + { + "value": "PT15M" + }, + { + "value": "PT1H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, { "type": "string", "name": "operator", "required": true, "enum": { "items": [ + { + "value": "Dynamic" + }, { "value": "Equal" }, @@ -222,10 +245,26 @@ ] } }, + { + "type": "string", + "name": "sensitivity", + "enum": { + "items": [ + { + "value": "High" + }, + { + "value": "Low" + }, + { + "value": "Medium" + } + ] + } + }, { "type": "float64", - "name": "threshold", - "required": true + "name": "threshold" } ], "cls": "ThresholdRuleV2_read" @@ -272,6 +311,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -356,14 +398,6 @@ ] } }, - { - "type": "string", - "name": "dimension", - "format": { - "maxLength": 256, - "minLength": 1 - } - }, { "type": "string", "name": "dimensionFilter", @@ -560,12 +594,12 @@ }, { "name": "delete", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -680,7 +714,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -737,12 +771,12 @@ }, { "name": "create", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -852,20 +886,6 @@ ] } }, - { - "type": "string", - "var": "$resource.properties.AzureResourceMetric.dimension", - "options": [ - "dimension" - ], - "help": { - "short": "Optional: Dimension to split by" - }, - "format": { - "maxLength": 256, - "minLength": 1 - } - }, { "type": "string", "var": "$resource.properties.AzureResourceMetric.dimensionFilter", @@ -1070,6 +1090,36 @@ "short": "Degraded rule with static threshold." }, "args": [ + { + "type": "string", + "var": "@ThresholdRuleV2_create.lookBackWindow", + "options": [ + "look-back-window" + ], + "help": { + "short": "ISO 8601 duration for the historical look-back window used by dynamic threshold computation. Only applicable when operator is Dynamic." + }, + "enum": { + "items": [ + { + "name": "PT15M", + "value": "PT15M" + }, + { + "name": "PT1H", + "value": "PT1H" + }, + { + "name": "PT30M", + "value": "PT30M" + }, + { + "name": "PT5M", + "value": "PT5M" + } + ] + } + }, { "type": "string", "var": "@ThresholdRuleV2_create.operator", @@ -1082,6 +1132,10 @@ }, "enum": { "items": [ + { + "name": "Dynamic", + "value": "Dynamic" + }, { "name": "Equal", "value": "Equal" @@ -1109,13 +1163,38 @@ ] } }, + { + "type": "string", + "var": "@ThresholdRuleV2_create.sensitivity", + "options": [ + "sensitivity" + ], + "help": { + "short": "Sensitivity level for dynamic threshold detection. Only applicable when operator is Dynamic." + }, + "enum": { + "items": [ + { + "name": "High", + "value": "High" + }, + { + "name": "Low", + "value": "Low" + }, + { + "name": "Medium", + "value": "Medium" + } + ] + } + }, { "type": "float64", "var": "@ThresholdRuleV2_create.threshold", "options": [ "threshold" ], - "required": true, "help": { "short": "Threshold value" } @@ -1155,6 +1234,10 @@ "name": "PT10M", "value": "PT10M" }, + { + "name": "PT15M", + "value": "PT15M" + }, { "name": "PT1H", "value": "PT1H" @@ -1254,7 +1337,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -1305,6 +1388,27 @@ "name": "degradedRule", "arg": "$resource.properties.evaluationRules.degradedRule", "props": [ + { + "type": "string", + "name": "lookBackWindow", + "arg": "@ThresholdRuleV2_create.lookBackWindow", + "enum": { + "items": [ + { + "value": "PT15M" + }, + { + "value": "PT1H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, { "type": "string", "name": "operator", @@ -1312,6 +1416,9 @@ "required": true, "enum": { "items": [ + { + "value": "Dynamic" + }, { "value": "Equal" }, @@ -1333,11 +1440,28 @@ ] } }, + { + "type": "string", + "name": "sensitivity", + "arg": "@ThresholdRuleV2_create.sensitivity", + "enum": { + "items": [ + { + "value": "High" + }, + { + "value": "Low" + }, + { + "value": "Medium" + } + ] + } + }, { "type": "float64", "name": "threshold", - "arg": "@ThresholdRuleV2_create.threshold", - "required": true + "arg": "@ThresholdRuleV2_create.threshold" } ], "cls": "ThresholdRuleV2_create" @@ -1362,6 +1486,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -1451,15 +1578,6 @@ ] } }, - { - "type": "string", - "name": "dimension", - "arg": "$resource.properties.AzureResourceMetric.dimension", - "format": { - "maxLength": 256, - "minLength": 1 - } - }, { "type": "string", "name": "dimensionFilter", @@ -1622,12 +1740,35 @@ "type": "object", "name": "degradedRule", "props": [ + { + "type": "string", + "name": "lookBackWindow", + "enum": { + "items": [ + { + "value": "PT15M" + }, + { + "value": "PT1H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, { "type": "string", "name": "operator", "required": true, "enum": { "items": [ + { + "value": "Dynamic" + }, { "value": "Equal" }, @@ -1649,10 +1790,26 @@ ] } }, + { + "type": "string", + "name": "sensitivity", + "enum": { + "items": [ + { + "value": "High" + }, + { + "value": "Low" + }, + { + "value": "Medium" + } + ] + } + }, { "type": "float64", - "name": "threshold", - "required": true + "name": "threshold" } ], "cls": "ThresholdRuleV2_read" @@ -1699,6 +1856,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -1783,14 +1943,6 @@ ] } }, - { - "type": "string", - "name": "dimension", - "format": { - "maxLength": 256, - "minLength": 1 - } - }, { "type": "string", "name": "dimensionFilter", @@ -1987,12 +2139,12 @@ }, { "name": "update", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -2101,21 +2253,6 @@ ] } }, - { - "nullable": true, - "type": "string", - "var": "$resource.properties.AzureResourceMetric.dimension", - "options": [ - "dimension" - ], - "help": { - "short": "Optional: Dimension to split by" - }, - "format": { - "maxLength": 256, - "minLength": 1 - } - }, { "nullable": true, "type": "string", @@ -2322,6 +2459,37 @@ "short": "Degraded rule with static threshold." }, "args": [ + { + "nullable": true, + "type": "string", + "var": "@ThresholdRuleV2_update.lookBackWindow", + "options": [ + "look-back-window" + ], + "help": { + "short": "ISO 8601 duration for the historical look-back window used by dynamic threshold computation. Only applicable when operator is Dynamic." + }, + "enum": { + "items": [ + { + "name": "PT15M", + "value": "PT15M" + }, + { + "name": "PT1H", + "value": "PT1H" + }, + { + "name": "PT30M", + "value": "PT30M" + }, + { + "name": "PT5M", + "value": "PT5M" + } + ] + } + }, { "type": "string", "var": "@ThresholdRuleV2_update.operator", @@ -2333,6 +2501,10 @@ }, "enum": { "items": [ + { + "name": "Dynamic", + "value": "Dynamic" + }, { "name": "Equal", "value": "Equal" @@ -2361,6 +2533,34 @@ } }, { + "nullable": true, + "type": "string", + "var": "@ThresholdRuleV2_update.sensitivity", + "options": [ + "sensitivity" + ], + "help": { + "short": "Sensitivity level for dynamic threshold detection. Only applicable when operator is Dynamic." + }, + "enum": { + "items": [ + { + "name": "High", + "value": "High" + }, + { + "name": "Low", + "value": "Low" + }, + { + "name": "Medium", + "value": "Medium" + } + ] + } + }, + { + "nullable": true, "type": "float64", "var": "@ThresholdRuleV2_update.threshold", "options": [ @@ -2402,6 +2602,10 @@ "name": "PT10M", "value": "PT10M" }, + { + "name": "PT15M", + "value": "PT15M" + }, { "name": "PT1H", "value": "PT1H" @@ -2500,7 +2704,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -2565,12 +2769,35 @@ "type": "object", "name": "degradedRule", "props": [ + { + "type": "string", + "name": "lookBackWindow", + "enum": { + "items": [ + { + "value": "PT15M" + }, + { + "value": "PT1H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, { "type": "string", "name": "operator", "required": true, "enum": { "items": [ + { + "value": "Dynamic" + }, { "value": "Equal" }, @@ -2592,10 +2819,26 @@ ] } }, + { + "type": "string", + "name": "sensitivity", + "enum": { + "items": [ + { + "value": "High" + }, + { + "value": "Low" + }, + { + "value": "Medium" + } + ] + } + }, { "type": "float64", - "name": "threshold", - "required": true + "name": "threshold" } ], "cls": "ThresholdRuleV2_read" @@ -2642,6 +2885,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -2726,14 +2972,6 @@ ] } }, - { - "type": "string", - "name": "dimension", - "format": { - "maxLength": 256, - "minLength": 1 - } - }, { "type": "string", "name": "dimensionFilter", @@ -2962,6 +3200,27 @@ "name": "degradedRule", "arg": "$resource.properties.evaluationRules.degradedRule", "props": [ + { + "type": "string", + "name": "lookBackWindow", + "arg": "@ThresholdRuleV2_update.lookBackWindow", + "enum": { + "items": [ + { + "value": "PT15M" + }, + { + "value": "PT1H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, { "type": "string", "name": "operator", @@ -2969,6 +3228,9 @@ "required": true, "enum": { "items": [ + { + "value": "Dynamic" + }, { "value": "Equal" }, @@ -2990,11 +3252,28 @@ ] } }, + { + "type": "string", + "name": "sensitivity", + "arg": "@ThresholdRuleV2_update.sensitivity", + "enum": { + "items": [ + { + "value": "High" + }, + { + "value": "Low" + }, + { + "value": "Medium" + } + ] + } + }, { "type": "float64", "name": "threshold", - "arg": "@ThresholdRuleV2_update.threshold", - "required": true + "arg": "@ThresholdRuleV2_update.threshold" } ], "cls": "ThresholdRuleV2_update" @@ -3019,6 +3298,9 @@ { "value": "PT10M" }, + { + "value": "PT15M" + }, { "value": "PT1H" }, @@ -3108,15 +3390,6 @@ ] } }, - { - "type": "string", - "name": "dimension", - "arg": "$resource.properties.AzureResourceMetric.dimension", - "format": { - "maxLength": 256, - "minLength": 1 - } - }, { "type": "string", "name": "dimensionFilter", @@ -3278,7 +3551,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -3335,4 +3608,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml similarity index 88% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml index 0974a03e5..e9ca7af88 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml @@ -1,9 +1,9 @@ - + - - + + @@ -33,7 +33,7 @@ - + @@ -55,8 +55,17 @@ + + + + + + + + + @@ -65,7 +74,14 @@ - + + + + + + + + @@ -82,6 +98,7 @@ + @@ -115,9 +132,6 @@ - - - @@ -193,8 +207,8 @@ - - + + @@ -225,7 +239,7 @@ - + @@ -248,8 +262,8 @@ - - + + @@ -275,10 +289,6 @@ - - - - @@ -332,9 +342,19 @@ + + + + + + + + + + @@ -343,7 +363,15 @@ - + + + + + + + + + @@ -356,6 +384,7 @@ + @@ -390,7 +419,7 @@ - + @@ -406,8 +435,17 @@ + + + + + + + + + @@ -416,7 +454,14 @@ - + + + + + + + + @@ -424,6 +469,7 @@ + @@ -457,9 +503,6 @@ - - - @@ -514,8 +557,17 @@ + + + + + + + + + @@ -524,7 +576,14 @@ - + + + + + + + + @@ -541,6 +600,7 @@ + @@ -574,9 +634,6 @@ - - - @@ -652,8 +709,8 @@ - - + + @@ -679,10 +736,6 @@ - - - - @@ -736,9 +789,19 @@ + + + + + + + + + + @@ -747,7 +810,15 @@ - + + + + + + + + + @@ -759,6 +830,7 @@ + @@ -792,7 +864,7 @@ - + @@ -814,8 +886,17 @@ + + + + + + + + + @@ -824,7 +905,14 @@ - + + + + + + + + @@ -841,6 +929,7 @@ + @@ -874,9 +963,6 @@ - - - @@ -963,8 +1049,17 @@ + + + + + + + + + @@ -973,7 +1068,14 @@ - + + + + + + + + @@ -981,6 +1083,7 @@ + @@ -1014,9 +1117,6 @@ - - - @@ -1072,7 +1172,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.json similarity index 98% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.json rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.json index 80f882ab2..a24a0fb57 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.json @@ -3,8 +3,8 @@ "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHM=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHM=/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "commandGroups": [ @@ -13,12 +13,12 @@ "commands": [ { "name": "list", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHM=/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHM=/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -127,7 +127,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -356,4 +356,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.xml similarity index 95% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.xml rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.xml index f1a1653b0..9351a7643 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.xml @@ -1,9 +1,9 @@ - + - - + + @@ -33,7 +33,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.json similarity index 98% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.json rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.json index 76ff70f58..20589ed9f 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.json @@ -3,8 +3,8 @@ "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "commandGroups": [ @@ -13,12 +13,12 @@ "commands": [ { "name": "show", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -130,7 +130,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -343,12 +343,12 @@ }, { "name": "delete", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -463,7 +463,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -520,12 +520,12 @@ }, { "name": "create", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -707,7 +707,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -979,12 +979,12 @@ }, { "name": "update", - "version": "2026-01-01-preview", + "version": "2026-05-01-preview", "resources": [ { "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", - "version": "2026-01-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wMS0wMS1wcmV2aWV3" + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" } ], "argGroups": [ @@ -1138,7 +1138,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -1437,7 +1437,7 @@ "readOnly": true, "const": true, "default": { - "value": "2026-01-01-preview" + "value": "2026-05-01-preview" }, "type": "string", "name": "api-version", @@ -1494,4 +1494,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml similarity index 96% rename from Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.xml rename to Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml index 7317949b0..375719d45 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-01-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml @@ -1,9 +1,9 @@ - + - - + + @@ -33,7 +33,7 @@ - + @@ -118,8 +118,8 @@ - - + + @@ -150,7 +150,7 @@ - + @@ -173,8 +173,8 @@ - - + + @@ -227,7 +227,7 @@ - + @@ -336,8 +336,8 @@ - - + + @@ -381,7 +381,7 @@ - + @@ -502,7 +502,7 @@ - +