From 1fd09d32d4c1cb5db7b4c5af64a0aaf095bacae9 Mon Sep 17 00:00:00 2001 From: Andre Bossard Date: Wed, 1 Jul 2026 16:32:36 +0200 Subject: [PATCH 1/3] monitor health-models: mark command models as Preview The az monitor health-models command group is shipped as a preview extension (azext.isPreview=true, version 1.0.0b1) but its aaz command models were registered with stage **Stable**, so the generated CLI command groups/commands do not carry is_preview and omit the [Preview] tag in help. Flip the version-line stage from **Stable** to **Preview** across all health-models command models (39 commands) to match the extension's preview status, mirroring existing preview groups (storage-discovery, durabletask). Related: Azure/ahm-planning#3527 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Commands/monitor/health-models/_create.md | 2 +- Commands/monitor/health-models/_delete.md | 2 +- Commands/monitor/health-models/_list.md | 2 +- Commands/monitor/health-models/_show.md | 2 +- Commands/monitor/health-models/_update.md | 2 +- .../monitor/health-models/authentication-setting/_create.md | 2 +- .../monitor/health-models/authentication-setting/_delete.md | 2 +- Commands/monitor/health-models/authentication-setting/_list.md | 2 +- Commands/monitor/health-models/authentication-setting/_show.md | 2 +- .../monitor/health-models/authentication-setting/_update.md | 2 +- Commands/monitor/health-models/discovery-rule/_create.md | 2 +- Commands/monitor/health-models/discovery-rule/_delete.md | 2 +- Commands/monitor/health-models/discovery-rule/_list.md | 2 +- Commands/monitor/health-models/discovery-rule/_show.md | 2 +- Commands/monitor/health-models/discovery-rule/_update.md | 2 +- Commands/monitor/health-models/entity/_add-data-annotation.md | 2 +- Commands/monitor/health-models/entity/_create.md | 2 +- Commands/monitor/health-models/entity/_delete.md | 2 +- Commands/monitor/health-models/entity/_get-data-annotation.md | 2 +- Commands/monitor/health-models/entity/_get-history.md | 2 +- Commands/monitor/health-models/entity/_get-signal-history.md | 2 +- .../monitor/health-models/entity/_get-signal-recommendation.md | 2 +- Commands/monitor/health-models/entity/_ingest-health-report.md | 2 +- Commands/monitor/health-models/entity/_list.md | 2 +- Commands/monitor/health-models/entity/_show.md | 2 +- Commands/monitor/health-models/entity/_update.md | 2 +- Commands/monitor/health-models/identity/_assign.md | 2 +- Commands/monitor/health-models/identity/_remove.md | 2 +- Commands/monitor/health-models/identity/_show.md | 2 +- Commands/monitor/health-models/relationship/_create.md | 2 +- Commands/monitor/health-models/relationship/_delete.md | 2 +- Commands/monitor/health-models/relationship/_list.md | 2 +- Commands/monitor/health-models/relationship/_show.md | 2 +- Commands/monitor/health-models/relationship/_update.md | 2 +- Commands/monitor/health-models/signal-definition/_create.md | 2 +- Commands/monitor/health-models/signal-definition/_delete.md | 2 +- Commands/monitor/health-models/signal-definition/_list.md | 2 +- Commands/monitor/health-models/signal-definition/_show.md | 2 +- Commands/monitor/health-models/signal-definition/_update.md | 2 +- 39 files changed, 39 insertions(+), 39 deletions(-) diff --git a/Commands/monitor/health-models/_create.md b/Commands/monitor/health-models/_create.md index 510935422..1e0ada981 100644 --- a/Commands/monitor/health-models/_create.md +++ b/Commands/monitor/health-models/_create.md @@ -4,7 +4,7 @@ Create a HealthModel ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/_delete.md b/Commands/monitor/health-models/_delete.md index 0c3d60fa6..c9a2e1242 100644 --- a/Commands/monitor/health-models/_delete.md +++ b/Commands/monitor/health-models/_delete.md @@ -4,7 +4,7 @@ Delete a HealthModel ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/_list.md b/Commands/monitor/health-models/_list.md index a17acf2c8..ebc3c3411 100644 --- a/Commands/monitor/health-models/_list.md +++ b/Commands/monitor/health-models/_list.md @@ -4,7 +4,7 @@ List HealthModel resources by subscription ID ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/_show.md b/Commands/monitor/health-models/_show.md index 6497bcd2b..aab901e95 100644 --- a/Commands/monitor/health-models/_show.md +++ b/Commands/monitor/health-models/_show.md @@ -4,7 +4,7 @@ Get a HealthModel ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/_update.md b/Commands/monitor/health-models/_update.md index 45a21dd8d..6a48dcc79 100644 --- a/Commands/monitor/health-models/_update.md +++ b/Commands/monitor/health-models/_update.md @@ -4,7 +4,7 @@ Update a HealthModel ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/authentication-setting/_create.md b/Commands/monitor/health-models/authentication-setting/_create.md index af9715aa7..e66a0eaad 100644 --- a/Commands/monitor/health-models/authentication-setting/_create.md +++ b/Commands/monitor/health-models/authentication-setting/_create.md @@ -4,7 +4,7 @@ Create a AuthenticationSetting ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/authentication-setting/_delete.md b/Commands/monitor/health-models/authentication-setting/_delete.md index 6d216159d..600623c8f 100644 --- a/Commands/monitor/health-models/authentication-setting/_delete.md +++ b/Commands/monitor/health-models/authentication-setting/_delete.md @@ -4,7 +4,7 @@ Delete a AuthenticationSetting ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/authentication-setting/_list.md b/Commands/monitor/health-models/authentication-setting/_list.md index ace638be4..c40fc1a90 100644 --- a/Commands/monitor/health-models/authentication-setting/_list.md +++ b/Commands/monitor/health-models/authentication-setting/_list.md @@ -4,7 +4,7 @@ List AuthenticationSetting resources by HealthModel ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/authentication-setting/_show.md b/Commands/monitor/health-models/authentication-setting/_show.md index 8945ff1dc..3bb78ddde 100644 --- a/Commands/monitor/health-models/authentication-setting/_show.md +++ b/Commands/monitor/health-models/authentication-setting/_show.md @@ -4,7 +4,7 @@ Get a AuthenticationSetting ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/authentication-setting/_update.md b/Commands/monitor/health-models/authentication-setting/_update.md index 0a2753b2d..9bb876c33 100644 --- a/Commands/monitor/health-models/authentication-setting/_update.md +++ b/Commands/monitor/health-models/authentication-setting/_update.md @@ -4,7 +4,7 @@ Update a AuthenticationSetting ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/discovery-rule/_create.md b/Commands/monitor/health-models/discovery-rule/_create.md index 4cc95c740..fa03ee9fd 100644 --- a/Commands/monitor/health-models/discovery-rule/_create.md +++ b/Commands/monitor/health-models/discovery-rule/_create.md @@ -4,7 +4,7 @@ Create a DiscoveryRule ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/discovery-rule/_delete.md b/Commands/monitor/health-models/discovery-rule/_delete.md index 0e3b60d03..f2d50e19c 100644 --- a/Commands/monitor/health-models/discovery-rule/_delete.md +++ b/Commands/monitor/health-models/discovery-rule/_delete.md @@ -4,7 +4,7 @@ Delete a DiscoveryRule ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/discovery-rule/_list.md b/Commands/monitor/health-models/discovery-rule/_list.md index e5af57bfd..9ac38492d 100644 --- a/Commands/monitor/health-models/discovery-rule/_list.md +++ b/Commands/monitor/health-models/discovery-rule/_list.md @@ -4,7 +4,7 @@ List DiscoveryRule resources by HealthModel ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/discovery-rule/_show.md b/Commands/monitor/health-models/discovery-rule/_show.md index 551120b4b..6612d2692 100644 --- a/Commands/monitor/health-models/discovery-rule/_show.md +++ b/Commands/monitor/health-models/discovery-rule/_show.md @@ -4,7 +4,7 @@ Get a DiscoveryRule ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/discovery-rule/_update.md b/Commands/monitor/health-models/discovery-rule/_update.md index 37dc0b10e..a2e35441d 100644 --- a/Commands/monitor/health-models/discovery-rule/_update.md +++ b/Commands/monitor/health-models/discovery-rule/_update.md @@ -4,7 +4,7 @@ Update a DiscoveryRule ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/entity/_add-data-annotation.md b/Commands/monitor/health-models/entity/_add-data-annotation.md index 991ff4af4..1a39dec6a 100644 --- a/Commands/monitor/health-models/entity/_add-data-annotation.md +++ b/Commands/monitor/health-models/entity/_add-data-annotation.md @@ -4,7 +4,7 @@ Add a data annotation to an entity ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/entity/_create.md b/Commands/monitor/health-models/entity/_create.md index d402f2f8a..c516b21b4 100644 --- a/Commands/monitor/health-models/entity/_create.md +++ b/Commands/monitor/health-models/entity/_create.md @@ -4,7 +4,7 @@ Create a Entity ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/entity/_delete.md b/Commands/monitor/health-models/entity/_delete.md index f8946f882..271a2bed2 100644 --- a/Commands/monitor/health-models/entity/_delete.md +++ b/Commands/monitor/health-models/entity/_delete.md @@ -4,7 +4,7 @@ Delete a Entity ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/entity/_get-data-annotation.md b/Commands/monitor/health-models/entity/_get-data-annotation.md index ccf99814d..1fcb900b5 100644 --- a/Commands/monitor/health-models/entity/_get-data-annotation.md +++ b/Commands/monitor/health-models/entity/_get-data-annotation.md @@ -4,7 +4,7 @@ Retrieve data annotations for an entity ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/entity/_get-history.md b/Commands/monitor/health-models/entity/_get-history.md index 6945f0ba5..8ad3bd207 100644 --- a/Commands/monitor/health-models/entity/_get-history.md +++ b/Commands/monitor/health-models/entity/_get-history.md @@ -4,7 +4,7 @@ Retrieve the health state transition history for an entity ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/entity/_get-signal-history.md b/Commands/monitor/health-models/entity/_get-signal-history.md index 7650f8f98..061960498 100644 --- a/Commands/monitor/health-models/entity/_get-signal-history.md +++ b/Commands/monitor/health-models/entity/_get-signal-history.md @@ -4,7 +4,7 @@ Retrieve the time series history for a signal on an entity ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/entity/_get-signal-recommendation.md b/Commands/monitor/health-models/entity/_get-signal-recommendation.md index a16ca3880..31e8d2d4e 100644 --- a/Commands/monitor/health-models/entity/_get-signal-recommendation.md +++ b/Commands/monitor/health-models/entity/_get-signal-recommendation.md @@ -4,7 +4,7 @@ Get recommended signal configurations for a given Entity (only applicable for En ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/entity/_ingest-health-report.md b/Commands/monitor/health-models/entity/_ingest-health-report.md index cd74f125b..ecba3d419 100644 --- a/Commands/monitor/health-models/entity/_ingest-health-report.md +++ b/Commands/monitor/health-models/entity/_ingest-health-report.md @@ -4,7 +4,7 @@ Ingest a health report for a specific signal on an entity (the entity must alrea ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/entity/_list.md b/Commands/monitor/health-models/entity/_list.md index 72d262622..0ddd7790a 100644 --- a/Commands/monitor/health-models/entity/_list.md +++ b/Commands/monitor/health-models/entity/_list.md @@ -4,7 +4,7 @@ List Entity resources by HealthModel ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/entity/_show.md b/Commands/monitor/health-models/entity/_show.md index 703ed32d0..530a619ee 100644 --- a/Commands/monitor/health-models/entity/_show.md +++ b/Commands/monitor/health-models/entity/_show.md @@ -4,7 +4,7 @@ Get a Entity ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/entity/_update.md b/Commands/monitor/health-models/entity/_update.md index b60e783f1..01ac59075 100644 --- a/Commands/monitor/health-models/entity/_update.md +++ b/Commands/monitor/health-models/entity/_update.md @@ -4,7 +4,7 @@ Update a Entity ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/identity/_assign.md b/Commands/monitor/health-models/identity/_assign.md index b98a83a94..159ef6f09 100644 --- a/Commands/monitor/health-models/identity/_assign.md +++ b/Commands/monitor/health-models/identity/_assign.md @@ -4,7 +4,7 @@ Assign the user or system managed identities. ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/identity/_remove.md b/Commands/monitor/health-models/identity/_remove.md index f3d94f6f0..0361af3f0 100644 --- a/Commands/monitor/health-models/identity/_remove.md +++ b/Commands/monitor/health-models/identity/_remove.md @@ -4,7 +4,7 @@ Remove the user or system managed identities. ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/identity/_show.md b/Commands/monitor/health-models/identity/_show.md index d2d781272..3132ad291 100644 --- a/Commands/monitor/health-models/identity/_show.md +++ b/Commands/monitor/health-models/identity/_show.md @@ -4,7 +4,7 @@ Show the details of managed identities. ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/relationship/_create.md b/Commands/monitor/health-models/relationship/_create.md index 7295860f0..43b83d6a3 100644 --- a/Commands/monitor/health-models/relationship/_create.md +++ b/Commands/monitor/health-models/relationship/_create.md @@ -4,7 +4,7 @@ Create a Relationship ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/relationship/_delete.md b/Commands/monitor/health-models/relationship/_delete.md index aa9323b06..f07c4fbd1 100644 --- a/Commands/monitor/health-models/relationship/_delete.md +++ b/Commands/monitor/health-models/relationship/_delete.md @@ -4,7 +4,7 @@ Delete a Relationship ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/relationship/_list.md b/Commands/monitor/health-models/relationship/_list.md index 30892f150..4d33368b6 100644 --- a/Commands/monitor/health-models/relationship/_list.md +++ b/Commands/monitor/health-models/relationship/_list.md @@ -4,7 +4,7 @@ List Relationship resources by HealthModel ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/relationship/_show.md b/Commands/monitor/health-models/relationship/_show.md index 9c37077b9..204f34054 100644 --- a/Commands/monitor/health-models/relationship/_show.md +++ b/Commands/monitor/health-models/relationship/_show.md @@ -4,7 +4,7 @@ Get a Relationship ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/relationship/_update.md b/Commands/monitor/health-models/relationship/_update.md index c9285f681..25a5f087d 100644 --- a/Commands/monitor/health-models/relationship/_update.md +++ b/Commands/monitor/health-models/relationship/_update.md @@ -4,7 +4,7 @@ Update a Relationship ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/signal-definition/_create.md b/Commands/monitor/health-models/signal-definition/_create.md index 6a74ae193..5c17366ed 100644 --- a/Commands/monitor/health-models/signal-definition/_create.md +++ b/Commands/monitor/health-models/signal-definition/_create.md @@ -4,7 +4,7 @@ Create a SignalDefinition ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/signal-definition/_delete.md b/Commands/monitor/health-models/signal-definition/_delete.md index 46d96d4eb..8b3c379f9 100644 --- a/Commands/monitor/health-models/signal-definition/_delete.md +++ b/Commands/monitor/health-models/signal-definition/_delete.md @@ -4,7 +4,7 @@ Delete a SignalDefinition ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/signal-definition/_list.md b/Commands/monitor/health-models/signal-definition/_list.md index 871550945..484c0929c 100644 --- a/Commands/monitor/health-models/signal-definition/_list.md +++ b/Commands/monitor/health-models/signal-definition/_list.md @@ -4,7 +4,7 @@ List SignalDefinition resources by HealthModel ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/signal-definition/_show.md b/Commands/monitor/health-models/signal-definition/_show.md index 4a880c7b0..7a5e8755d 100644 --- a/Commands/monitor/health-models/signal-definition/_show.md +++ b/Commands/monitor/health-models/signal-definition/_show.md @@ -4,7 +4,7 @@ Get a SignalDefinition ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml) **Preview** diff --git a/Commands/monitor/health-models/signal-definition/_update.md b/Commands/monitor/health-models/signal-definition/_update.md index 09f83d197..f756ad467 100644 --- a/Commands/monitor/health-models/signal-definition/_update.md +++ b/Commands/monitor/health-models/signal-definition/_update.md @@ -4,7 +4,7 @@ Update a SignalDefinition ## Versions -### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml) **Stable** +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml) **Preview** From 038170b97117a77ed7a0d7e3f52fa6c3f237a2b6 Mon Sep 17 00:00:00 2001 From: Andre Bossard Date: Wed, 1 Jul 2026 16:55:11 +0200 Subject: [PATCH 2/3] monitor health-models: fix entity get-*-recommendations/annotations to plural The 2026-05-01-preview aaz command-model rebuild renamed two entity action commands to singular (get-signal-recommendation, get-data-annotation), diverging from the API spec. The REST operations are plural everywhere: TypeSpec @action("getSignalRecommendations")/@action("getDataAnnotations"), the operation URLs (.../getsignalrecommendations, .../getdataannotations), the operationIds (Entities_GetSignalRecommendations/GetDataAnnotations), and the already-shipped azure-cli-extensions commands. Rename the command names back to plural to match the spec and the extension. Related: Azure/ahm-planning#3527 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../{_get-data-annotation.md => _get-data-annotations.md} | 4 ++-- ...ignal-recommendation.md => _get-signal-recommendations.md} | 4 ++-- Commands/monitor/health-models/entity/readme.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) rename Commands/monitor/health-models/entity/{_get-data-annotation.md => _get-data-annotations.md} (65%) rename Commands/monitor/health-models/entity/{_get-signal-recommendation.md => _get-signal-recommendations.md} (81%) diff --git a/Commands/monitor/health-models/entity/_get-data-annotation.md b/Commands/monitor/health-models/entity/_get-data-annotations.md similarity index 65% rename from Commands/monitor/health-models/entity/_get-data-annotation.md rename to Commands/monitor/health-models/entity/_get-data-annotations.md index 1fcb900b5..e6c01a0dc 100644 --- a/Commands/monitor/health-models/entity/_get-data-annotation.md +++ b/Commands/monitor/health-models/entity/_get-data-annotations.md @@ -1,4 +1,4 @@ -# [Command] _monitor health-models entity get-data-annotation_ +# [Command] _monitor health-models entity get-data-annotations_ Retrieve data annotations for an entity @@ -12,5 +12,5 @@ Retrieve data annotations for an entity - 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 + monitor health-models entity get-data-annotations --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-signal-recommendation.md b/Commands/monitor/health-models/entity/_get-signal-recommendations.md similarity index 81% rename from Commands/monitor/health-models/entity/_get-signal-recommendation.md rename to Commands/monitor/health-models/entity/_get-signal-recommendations.md index 31e8d2d4e..5d464f09c 100644 --- a/Commands/monitor/health-models/entity/_get-signal-recommendation.md +++ b/Commands/monitor/health-models/entity/_get-signal-recommendations.md @@ -1,4 +1,4 @@ -# [Command] _monitor health-models entity get-signal-recommendation_ +# [Command] _monitor health-models entity get-signal-recommendations_ Get recommended signal configurations for a given Entity (only applicable for Entities representing Azure resources) @@ -12,5 +12,5 @@ Get recommended signal configurations for a given Entity (only applicable for En - Entities_GetSignalRecommendations ```bash - monitor health-models entity get-signal-recommendation --resource-group rgopenapi --health-model-name myHealthModel --entity-name entity1 + monitor health-models entity get-signal-recommendations --resource-group rgopenapi --health-model-name myHealthModel --entity-name entity1 ``` diff --git a/Commands/monitor/health-models/entity/readme.md b/Commands/monitor/health-models/entity/readme.md index 3d0591f25..e64d9d909 100644 --- a/Commands/monitor/health-models/entity/readme.md +++ b/Commands/monitor/health-models/entity/readme.md @@ -13,7 +13,7 @@ Manage Entity - [delete](/Commands/monitor/health-models/entity/_delete.md) : Delete a Entity -- [get-data-annotation](/Commands/monitor/health-models/entity/_get-data-annotation.md) +- [get-data-annotations](/Commands/monitor/health-models/entity/_get-data-annotations.md) : Retrieve data annotations for an entity - [get-history](/Commands/monitor/health-models/entity/_get-history.md) @@ -22,7 +22,7 @@ Manage Entity - [get-signal-history](/Commands/monitor/health-models/entity/_get-signal-history.md) : Retrieve the time series history for a signal on an entity -- [get-signal-recommendation](/Commands/monitor/health-models/entity/_get-signal-recommendation.md) +- [get-signal-recommendations](/Commands/monitor/health-models/entity/_get-signal-recommendations.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) From 931c4e53c3b1a8de9f7e356253be337a9358e02d Mon Sep 17 00:00:00 2001 From: Andre Bossard Date: Wed, 1 Jul 2026 18:28:46 +0200 Subject: [PATCH 3/3] regenerated the healthmodel with preview=true and some singular to plurar renamces Signed-off-by: Andre Bossard --- Commands/monitor/health-models/_update.md | 2 +- .../authentication-setting/_update.md | 2 +- .../health-models/discovery-rule/_update.md | 2 +- .../monitor/health-models/entity/_update.md | 2 +- Commands/monitor/health-models/readme.md | 2 +- .../health-models/relationship/_update.md | 2 +- .../signal-definition/_update.md | 2 +- .../2026-05-01-preview.json | 661 +- .../2026-05-01-preview.json | 2990 +----- .../2026-05-01-preview.json | 330 +- .../2026-05-01-preview.json | 1476 +-- .../2026-05-01-preview.json | 454 +- .../2026-05-01-preview.json | 2178 +--- .../2026-05-01-preview.json | 1446 +-- .../2026-05-01-preview.json | 8819 +---------------- .../2026-05-01-preview.json | 294 +- .../2026-05-01-preview.json | 362 +- .../2026-05-01-preview.xml | 2 +- .../2026-05-01-preview.json | 389 +- .../2026-05-01-preview.json | 401 +- .../2026-05-01-preview.json | 374 +- .../2026-05-01-preview.xml | 2 +- .../2026-05-01-preview.json | 580 +- .../2026-05-01-preview.json | 611 +- .../2026-05-01-preview.json | 3612 +------ .../2026-05-01-preview.json | 360 +- .../2026-05-01-preview.json | 1498 +-- 27 files changed, 27 insertions(+), 26826 deletions(-) diff --git a/Commands/monitor/health-models/_update.md b/Commands/monitor/health-models/_update.md index 6a48dcc79..26ea62912 100644 --- a/Commands/monitor/health-models/_update.md +++ b/Commands/monitor/health-models/_update.md @@ -12,5 +12,5 @@ Update a HealthModel - HealthModels_Create ```bash - monitor health-models update --resource-group rgopenapi --health-model-name model1 + monitor health-models update --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}" ``` diff --git a/Commands/monitor/health-models/authentication-setting/_update.md b/Commands/monitor/health-models/authentication-setting/_update.md index 9bb876c33..961703e61 100644 --- a/Commands/monitor/health-models/authentication-setting/_update.md +++ b/Commands/monitor/health-models/authentication-setting/_update.md @@ -12,5 +12,5 @@ Update a AuthenticationSetting - AuthenticationSettings_CreateOrUpdate ```bash - monitor health-models authentication-setting update --resource-group myResourceGroup --health-model-name myHealthModel --authentication-setting-name myAuthSetting + monitor health-models authentication-setting update --resource-group myResourceGroup --health-model-name myHealthModel --authentication-setting-name myAuthSetting --display-name myDisplayName ``` diff --git a/Commands/monitor/health-models/discovery-rule/_update.md b/Commands/monitor/health-models/discovery-rule/_update.md index a2e35441d..534791377 100644 --- a/Commands/monitor/health-models/discovery-rule/_update.md +++ b/Commands/monitor/health-models/discovery-rule/_update.md @@ -12,5 +12,5 @@ Update a DiscoveryRule - DiscoveryRules_CreateOrUpdate ```bash - monitor health-models discovery-rule update --resource-group myResourceGroup --health-model-name myHealthModel --discovery-rule-name myDiscoveryRule + monitor health-models discovery-rule update --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 "{kind:ResourceGraphQuery,resourceGraphQuery:'resources | where subscriptionId == '/7ddfffd7-9b32-40df-1234-828cbd55d6f4'/ | where resourceGroup == '/my-rg'/'}" --add-resource-health-signal Enabled ``` diff --git a/Commands/monitor/health-models/entity/_update.md b/Commands/monitor/health-models/entity/_update.md index 01ac59075..922a3a339 100644 --- a/Commands/monitor/health-models/entity/_update.md +++ b/Commands/monitor/health-models/entity/_update.md @@ -12,5 +12,5 @@ Update a Entity - Entities_CreateOrUpdate ```bash - monitor health-models entity update --resource-group rgopenapi --health-model-name myHealthModel --entity-name uszrxbdkxesdrxhmagmzywebgbjj + monitor health-models entity update --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/readme.md b/Commands/monitor/health-models/readme.md index 25a5779f6..f19b86d15 100644 --- a/Commands/monitor/health-models/readme.md +++ b/Commands/monitor/health-models/readme.md @@ -1,6 +1,6 @@ # [Group] _monitor health-models_ -Manage Healthmodel +Manage Azure Monitor health models. ## Subgroups diff --git a/Commands/monitor/health-models/relationship/_update.md b/Commands/monitor/health-models/relationship/_update.md index 25a5f087d..d26b367f3 100644 --- a/Commands/monitor/health-models/relationship/_update.md +++ b/Commands/monitor/health-models/relationship/_update.md @@ -12,5 +12,5 @@ Update a Relationship - Relationships_CreateOrUpdate ```bash - monitor health-models relationship update --resource-group rgopenapi --health-model-name model1 --relationship-name rel1 + monitor health-models relationship update --resource-group rgopenapi --health-model-name model1 --relationship-name rel1 --display-name My relationship --tags "{key9681:ixfvzsfnpvkkbrce}" ``` diff --git a/Commands/monitor/health-models/signal-definition/_update.md b/Commands/monitor/health-models/signal-definition/_update.md index f756ad467..67ab7febc 100644 --- a/Commands/monitor/health-models/signal-definition/_update.md +++ b/Commands/monitor/health-models/signal-definition/_update.md @@ -12,5 +12,5 @@ Update a SignalDefinition - SignalDefinitions_CreateOrUpdate ```bash - monitor health-models signal-definition update --resource-group rgopenapi --health-model-name myHealthModel --signal-definition-name sig1 + monitor health-models signal-definition update --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/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.json index c196e0801..844ae14d3 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.json @@ -1,660 +1 @@ -{ - "plane": "mgmt-plane", - "resources": [ - { - "id": "/subscriptions/{}/providers/microsoft.cloudhealth/healthmodels", - "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-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxz/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "commandGroups": [ - { - "name": "monitor health-models", - "commands": [ - { - "name": "list", - "version": "2026-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/providers/microsoft.cloudhealth/healthmodels", - "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-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxz/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-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": "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-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": "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" - } - ] - } - ] - } - ] -} +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.cloudhealth/healthmodels", "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-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxz/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "monitor health-models", "commands": [{"name": "list", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.cloudhealth/healthmodels", "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-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxz/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-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": "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-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": "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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.json index e6add16d9..c75541faf 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.json @@ -1,2989 +1 @@ -{ - "plane": "mgmt-plane", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "commandGroups": [ - { - "name": "monitor health-models", - "commands": [ - { - "name": "show", - "version": "2026-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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-05-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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", - "version": "2026-05-01-preview", - "subresource": "identity", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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-05-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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", - "version": "2026-05-01-preview", - "subresource": "identity", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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-05-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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", - "version": "2026-05-01-preview", - "subresource": "identity", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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 - } - ] - } - ] - } - ] - } - ] -} +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "monitor health-models", "commands": [{"name": "show", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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-05-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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-05-01-preview", "subresource": "identity", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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-05-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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-05-01-preview", "subresource": "identity", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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-05-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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}", "version": "2026-05-01-preview", "subresource": "identity", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.json index 661b8c203..cb0168172 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.json @@ -1,329 +1 @@ -{ - "plane": "mgmt-plane", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3M=/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "commandGroups": [ - { - "name": "monitor health-models authentication-setting", - "commands": [ - { - "name": "list", - "version": "2026-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3M=/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-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": "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" - } - ] - } - ] - } - ] -} +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3M=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "monitor health-models authentication-setting", "commands": [{"name": "list", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3M=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-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": "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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.json index f4cbd5a38..51d0deff9 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.json @@ -1,1475 +1 @@ -{ - "plane": "mgmt-plane", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "commandGroups": [ - { - "name": "monitor health-models authentication-setting", - "commands": [ - { - "name": "show", - "version": "2026-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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-05-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 - } - ] - } - ] - } - ] -} +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "monitor health-models authentication-setting", "commands": [{"name": "show", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/authenticationsettings/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2F1dGhlbnRpY2F0aW9uc2V0dGluZ3Mve2F1dGhlbnRpY2F0aW9uU2V0dGluZ05hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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-05-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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.json index 3009b5381..62665d989 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.json @@ -1,453 +1 @@ -{ - "plane": "mgmt-plane", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVz/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "commandGroups": [ - { - "name": "monitor health-models discovery-rule", - "commands": [ - { - "name": "list", - "version": "2026-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVz/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-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": "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" - } - ] - } - }, - { - "default": { - "value": "Enabled" - }, - "type": "string", - "name": "addResourceHealthSignal", - "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" - } - ] - } - ] - } - ] -} +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVz/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "monitor health-models discovery-rule", "commands": [{"name": "list", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVz/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-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": "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"}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "addResourceHealthSignal", "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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.json index d63a981f4..5fb115d3b 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.json @@ -1,2177 +1 @@ -{ - "plane": "mgmt-plane", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "commandGroups": [ - { - "name": "monitor health-models discovery-rule", - "commands": [ - { - "name": "show", - "version": "2026-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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" - } - ] - } - }, - { - "default": { - "value": "Enabled" - }, - "type": "string", - "name": "addResourceHealthSignal", - "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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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.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", - "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-05-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" - } - ] - } - }, - { - "default": { - "value": "Enabled" - }, - "type": "string", - "name": "addResourceHealthSignal", - "arg": "$resource.properties.addResourceHealthSignal", - "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" - } - ] - } - }, - { - "default": { - "value": "Enabled" - }, - "type": "string", - "name": "addResourceHealthSignal", - "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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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" - } - ] - } - }, - { - "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", - "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-05-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" - } - ] - } - }, - { - "default": { - "value": "Enabled" - }, - "type": "string", - "name": "addResourceHealthSignal", - "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" - } - ] - } - }, - { - "default": { - "value": "Enabled" - }, - "type": "string", - "name": "addResourceHealthSignal", - "arg": "$resource.properties.addResourceHealthSignal", - "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-05-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 - } - ] - } - ] - } - ] -} +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "monitor health-models discovery-rule", "commands": [{"name": "show", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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"}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "addResourceHealthSignal", "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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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.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", "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-05-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"}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "addResourceHealthSignal", "arg": "$resource.properties.addResourceHealthSignal", "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"}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "addResourceHealthSignal", "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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/discoveryrules/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2Rpc2NvdmVyeXJ1bGVzL3tkaXNjb3ZlcnlSdWxlTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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"}]}}, {"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", "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-05-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"}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "addResourceHealthSignal", "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"}]}}, {"default": {"value": "Enabled"}, "type": "string", "name": "addResourceHealthSignal", "arg": "$resource.properties.addResourceHealthSignal", "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-05-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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.json index 3112a33c3..cb0c02794 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.json @@ -1,1445 +1 @@ -{ - "plane": "mgmt-plane", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVz/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "commandGroups": [ - { - "name": "monitor health-models entity", - "commands": [ - { - "name": "list", - "version": "2026-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVz/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-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": "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": "PT15M" - }, - { - "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": "PT15M" - }, - { - "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": "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", - "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": "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": "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 - } - ], - "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": "PT15M" - }, - { - "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": [ - { - "type": "string", - "name": "additionalContext", - "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": "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" - } - ] - } - ] - } - ] -} +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVz/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "monitor health-models entity", "commands": [{"name": "list", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVz/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-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": "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": "PT15M"}, {"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": "PT15M"}, {"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": "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", "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": "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": "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}], "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": "PT15M"}, {"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": [{"type": "string", "name": "additionalContext", "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": "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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.json index d6306d4db..5126105d9 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.json @@ -1,8818 +1 @@ -{ - "plane": "mgmt-plane", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "commandGroups": [ - { - "name": "monitor health-models entity", - "commands": [ - { - "name": "show", - "version": "2026-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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": "PT15M" - }, - { - "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": "PT15M" - }, - { - "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": "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", - "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": "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": "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 - } - ], - "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": "PT15M" - }, - { - "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": [ - { - "type": "string", - "name": "additionalContext", - "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": "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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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": "PT15M", - "value": "PT15M" - }, - { - "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": "PT15M", - "value": "PT15M" - }, - { - "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": "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", - "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[].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.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", - "options": [ - "operator" - ], - "required": true, - "help": { - "short": "Operator how to compare the signal value with the threshold" - }, - "enum": { - "items": [ - { - "name": "Dynamic", - "value": "Dynamic" - }, - { - "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": "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" - ], - "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": "PT15M", - "value": "PT15M" - }, - { - "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-05-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": "PT15M" - }, - { - "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": "PT15M" - }, - { - "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": "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", - "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": "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": "lookBackWindow", - "arg": "@ThresholdRuleV2_create.lookBackWindow", - "enum": { - "items": [ - { - "value": "PT15M" - }, - { - "value": "PT1H" - }, - { - "value": "PT30M" - }, - { - "value": "PT5M" - } - ] - } - }, - { - "type": "string", - "name": "operator", - "arg": "@ThresholdRuleV2_create.operator", - "required": true, - "enum": { - "items": [ - { - "value": "Dynamic" - }, - { - "value": "Equal" - }, - { - "value": "GreaterThan" - }, - { - "value": "GreaterThanOrEqual" - }, - { - "value": "LessThan" - }, - { - "value": "LessThanOrEqual" - }, - { - "value": "NotEqual" - } - ] - } - }, - { - "type": "string", - "name": "sensitivity", - "arg": "@ThresholdRuleV2_create.sensitivity", - "enum": { - "items": [ - { - "value": "High" - }, - { - "value": "Low" - }, - { - "value": "Medium" - } - ] - } - }, - { - "type": "float64", - "name": "threshold", - "arg": "@ThresholdRuleV2_create.threshold" - } - ], - "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": "PT15M" - }, - { - "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": "PT15M" - }, - { - "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": "PT15M" - }, - { - "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": "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", - "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": "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": "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 - } - ], - "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": "PT15M" - }, - { - "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": [ - { - "type": "string", - "name": "additionalContext", - "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": "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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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": "PT15M", - "value": "PT15M" - }, - { - "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": "PT15M", - "value": "PT15M" - }, - { - "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": "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", - "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[].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": [ - { - "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", - "options": [ - "operator" - ], - "help": { - "short": "Operator how to compare the signal value with the threshold" - }, - "enum": { - "items": [ - { - "name": "Dynamic", - "value": "Dynamic" - }, - { - "name": "Equal", - "value": "Equal" - }, - { - "name": "GreaterThan", - "value": "GreaterThan" - }, - { - "name": "GreaterThanOrEqual", - "value": "GreaterThanOrEqual" - }, - { - "name": "LessThan", - "value": "LessThan" - }, - { - "name": "LessThanOrEqual", - "value": "LessThanOrEqual" - }, - { - "name": "NotEqual", - "value": "NotEqual" - } - ] - } - }, - { - "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": [ - "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": "PT15M", - "value": "PT15M" - }, - { - "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-05-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": "PT15M" - }, - { - "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": "PT15M" - }, - { - "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": "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", - "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": "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": "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 - } - ], - "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": "PT15M" - }, - { - "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": [ - { - "type": "string", - "name": "additionalContext", - "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": "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": "PT15M" - }, - { - "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": "PT15M" - }, - { - "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": "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", - "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": "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": "lookBackWindow", - "arg": "@ThresholdRuleV2_update.lookBackWindow", - "enum": { - "items": [ - { - "value": "PT15M" - }, - { - "value": "PT1H" - }, - { - "value": "PT30M" - }, - { - "value": "PT5M" - } - ] - } - }, - { - "type": "string", - "name": "operator", - "arg": "@ThresholdRuleV2_update.operator", - "required": true, - "enum": { - "items": [ - { - "value": "Dynamic" - }, - { - "value": "Equal" - }, - { - "value": "GreaterThan" - }, - { - "value": "GreaterThanOrEqual" - }, - { - "value": "LessThan" - }, - { - "value": "LessThanOrEqual" - }, - { - "value": "NotEqual" - } - ] - } - }, - { - "type": "string", - "name": "sensitivity", - "arg": "@ThresholdRuleV2_update.sensitivity", - "enum": { - "items": [ - { - "value": "High" - }, - { - "value": "Low" - }, - { - "value": "Medium" - } - ] - } - }, - { - "type": "float64", - "name": "threshold", - "arg": "@ThresholdRuleV2_update.threshold" - } - ], - "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": "PT15M" - }, - { - "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-05-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 - } - ] - } - ] - } - ] -} +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "monitor health-models entity", "commands": [{"name": "show", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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": "PT15M"}, {"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": "PT15M"}, {"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": "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", "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": "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": "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}], "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": "PT15M"}, {"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": [{"type": "string", "name": "additionalContext", "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": "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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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": "PT15M", "value": "PT15M"}, {"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": "PT15M", "value": "PT15M"}, {"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": "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", "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[].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.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", "options": ["operator"], "required": true, "help": {"short": "Operator how to compare the signal value with the threshold"}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"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": "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"], "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": "PT15M", "value": "PT15M"}, {"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-05-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": "PT15M"}, {"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": "PT15M"}, {"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": "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", "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": "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": "lookBackWindow", "arg": "@ThresholdRuleV2_create.lookBackWindow", "enum": {"items": [{"value": "PT15M"}, {"value": "PT1H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "operator", "arg": "@ThresholdRuleV2_create.operator", "required": true, "enum": {"items": [{"value": "Dynamic"}, {"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "string", "name": "sensitivity", "arg": "@ThresholdRuleV2_create.sensitivity", "enum": {"items": [{"value": "High"}, {"value": "Low"}, {"value": "Medium"}]}}, {"type": "float64", "name": "threshold", "arg": "@ThresholdRuleV2_create.threshold"}], "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": "PT15M"}, {"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": "PT15M"}, {"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": "PT15M"}, {"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": "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", "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": "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": "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}], "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": "PT15M"}, {"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": [{"type": "string", "name": "additionalContext", "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": "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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfQ==/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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": "PT15M", "value": "PT15M"}, {"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": "PT15M", "value": "PT15M"}, {"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": "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", "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[].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": [{"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", "options": ["operator"], "help": {"short": "Operator how to compare the signal value with the threshold"}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"name": "Equal", "value": "Equal"}, {"name": "GreaterThan", "value": "GreaterThan"}, {"name": "GreaterThanOrEqual", "value": "GreaterThanOrEqual"}, {"name": "LessThan", "value": "LessThan"}, {"name": "LessThanOrEqual", "value": "LessThanOrEqual"}, {"name": "NotEqual", "value": "NotEqual"}]}}, {"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": ["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": "PT15M", "value": "PT15M"}, {"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-05-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": "PT15M"}, {"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": "PT15M"}, {"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": "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", "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": "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": "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}], "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": "PT15M"}, {"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": [{"type": "string", "name": "additionalContext", "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": "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": "PT15M"}, {"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": "PT15M"}, {"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": "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", "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": "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": "lookBackWindow", "arg": "@ThresholdRuleV2_update.lookBackWindow", "enum": {"items": [{"value": "PT15M"}, {"value": "PT1H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "operator", "arg": "@ThresholdRuleV2_update.operator", "required": true, "enum": {"items": [{"value": "Dynamic"}, {"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "string", "name": "sensitivity", "arg": "@ThresholdRuleV2_update.sensitivity", "enum": {"items": [{"value": "High"}, {"value": "Low"}, {"value": "Medium"}]}}, {"type": "float64", "name": "threshold", "arg": "@ThresholdRuleV2_update.threshold"}], "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": "PT15M"}, {"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-05-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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.json index 599ad8cde..98dcc98a1 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.json @@ -1,293 +1 @@ -{ - "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 - } - ] - } - ] - } - ] -} +{"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}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.json index 9f4fadfdb..817f28a56 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.json @@ -1,361 +1 @@ -{ - "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 - } - ] - } - ] - } - ] -} +{"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-annotations", "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}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.xml index 1b65e89ca..4bf8c2b75 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.xml @@ -2,7 +2,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.json index ff2376cef..72dddb8a6 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.json @@ -1,388 +1 @@ -{ - "plane": "mgmt-plane", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/gethistory", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRIaXN0b3J5/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "commandGroups": [ - { - "name": "monitor health-models entity", - "commands": [ - { - "name": "get-history", - "version": "2026-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/gethistory", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRIaXN0b3J5/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 time for the history query. 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 time for the history query. 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 health state transitions to return per page. Defaults to 1000." - }, - "default": { - "value": 1000 - }, - "format": { - "maximum": 1000, - "minimum": 1 - } - } - ] - } - ], - "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-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": 1000 - }, - "type": "integer32", - "name": "top", - "arg": "$body.top", - "format": { - "maximum": 1000, - "minimum": 1 - } - } - ], - "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" - ] - }, - { - "type": "string", - "name": "nextMarker", - "format": { - "maxLength": 4096 - } - } - ] - } - } - } - }, - { - "isError": true, - "body": { - "json": { - "schema": { - "type": "@MgmtErrorFormat" - } - } - } - } - ] - } - } - ], - "outputs": [ - { - "type": "object", - "ref": "$Instance", - "clientFlatten": true - } - ] - } - ] - } - ] -} +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/gethistory", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRIaXN0b3J5/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "monitor health-models entity", "commands": [{"name": "get-history", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/gethistory", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRIaXN0b3J5/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 time for the history query. 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 time for the history query. 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 health state transitions to return per page. Defaults to 1000."}, "default": {"value": 1000}, "format": {"maximum": 1000, "minimum": 1}}]}], "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-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": 1000}, "type": "integer32", "name": "top", "arg": "$body.top", "format": {"maximum": 1000, "minimum": 1}}], "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"]}, {"type": "string", "name": "nextMarker", "format": {"maxLength": 4096}}]}}}}, {"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-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-05-01-preview.json index 9fb4d8b11..dfe7e3e28 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-05-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-05-01-preview.json @@ -1,400 +1 @@ -{ - "plane": "mgmt-plane", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getsignalhistory", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRTaWduYWxIaXN0b3J5/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "commandGroups": [ - { - "name": "monitor health-models entity", - "commands": [ - { - "name": "get-signal-history", - "version": "2026-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getsignalhistory", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRTaWduYWxIaXN0b3J5/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 time for the history query. 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": "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" - } - }, - { - "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 - } - } - ] - } - ], - "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-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": "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" - } - }, - { - "default": { - "value": 1000 - }, - "type": "integer32", - "name": "top", - "arg": "$body.top", - "format": { - "maximum": 1000, - "minimum": 1 - } - } - ], - "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": "nextMarker", - "format": { - "maxLength": 4096 - } - }, - { - "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 - } - ] - } - ] - } - ] -} +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getsignalhistory", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRTaWduYWxIaXN0b3J5/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "monitor health-models entity", "commands": [{"name": "get-signal-history", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getsignalhistory", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRTaWduYWxIaXN0b3J5/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 time for the history query. 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": "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"}}, {"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}}]}], "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-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": "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"}}, {"default": {"value": 1000}, "type": "integer32", "name": "top", "arg": "$body.top", "format": {"maximum": 1000, "minimum": 1}}], "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": "nextMarker", "format": {"maxLength": 4096}}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.json index dfbe35ed3..8d31eeb2b 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.json @@ -1,373 +1 @@ -{ - "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 - } - ] - } - ] - } - ] -} +{"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-recommendations", "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}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.xml index bd38ed143..4b6b025f0 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.xml @@ -2,7 +2,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.json index 001817942..8d7695aae 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.json @@ -1,579 +1 @@ -{ - "plane": "mgmt-plane", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/ingesthealthreport", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9pbmdlc3RIZWFsdGhSZXBvcnQ=/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "commandGroups": [ - { - "name": "monitor health-models entity", - "commands": [ - { - "name": "ingest-health-report", - "version": "2026-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/ingesthealthreport", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9pbmdlc3RIZWFsdGhSZXBvcnQ=/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": "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.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", - "options": [ - "operator" - ], - "required": true, - "help": { - "short": "Operator how to compare the signal value with the threshold" - }, - "enum": { - "items": [ - { - "name": "Dynamic", - "value": "Dynamic" - }, - { - "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": "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" - ], - "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-05-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": "lookBackWindow", - "arg": "@ThresholdRuleV2_create.lookBackWindow", - "enum": { - "items": [ - { - "value": "PT15M" - }, - { - "value": "PT1H" - }, - { - "value": "PT30M" - }, - { - "value": "PT5M" - } - ] - } - }, - { - "type": "string", - "name": "operator", - "arg": "@ThresholdRuleV2_create.operator", - "required": true, - "enum": { - "items": [ - { - "value": "Dynamic" - }, - { - "value": "Equal" - }, - { - "value": "GreaterThan" - }, - { - "value": "GreaterThanOrEqual" - }, - { - "value": "LessThan" - }, - { - "value": "LessThanOrEqual" - }, - { - "value": "NotEqual" - } - ] - } - }, - { - "type": "string", - "name": "sensitivity", - "arg": "@ThresholdRuleV2_create.sensitivity", - "enum": { - "items": [ - { - "value": "High" - }, - { - "value": "Low" - }, - { - "value": "Medium" - } - ] - } - }, - { - "type": "float64", - "name": "threshold", - "arg": "@ThresholdRuleV2_create.threshold" - } - ], - "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" - } - } - } - } - ] - } - } - ] - } - ] - } - ] -} +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/ingesthealthreport", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9pbmdlc3RIZWFsdGhSZXBvcnQ=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "monitor health-models entity", "commands": [{"name": "ingest-health-report", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/ingesthealthreport", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9pbmdlc3RIZWFsdGhSZXBvcnQ=/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": "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.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", "options": ["operator"], "required": true, "help": {"short": "Operator how to compare the signal value with the threshold"}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"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": "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"], "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-05-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": "lookBackWindow", "arg": "@ThresholdRuleV2_create.lookBackWindow", "enum": {"items": [{"value": "PT15M"}, {"value": "PT1H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "operator", "arg": "@ThresholdRuleV2_create.operator", "required": true, "enum": {"items": [{"value": "Dynamic"}, {"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "string", "name": "sensitivity", "arg": "@ThresholdRuleV2_create.sensitivity", "enum": {"items": [{"value": "High"}, {"value": "Low"}, {"value": "Medium"}]}}, {"type": "float64", "name": "threshold", "arg": "@ThresholdRuleV2_create.threshold"}], "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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.json index b9b3ca5fc..6a2526af5 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.json @@ -1,610 +1 @@ -{ - "plane": "mgmt-plane", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25z/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "commandGroups": [ - { - "name": "monitor health-models signal-definition", - "commands": [ - { - "name": "list", - "version": "2026-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25z/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-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": "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": "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 - } - ] - }, - { - "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": "PT15M" - }, - { - "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": "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" - } - ] - } - ] - } - ] -} +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25z/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "monitor health-models signal-definition", "commands": [{"name": "list", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25z/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-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": "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": "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}]}, {"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": "PT15M"}, {"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": "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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.json index a6b54c30a..78930176c 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.json @@ -1,3611 +1 @@ -{ - "plane": "mgmt-plane", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "commandGroups": [ - { - "name": "monitor health-models signal-definition", - "commands": [ - { - "name": "show", - "version": "2026-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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": "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 - } - ] - }, - { - "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": "PT15M" - }, - { - "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": "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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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.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.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", - "options": [ - "operator" - ], - "required": true, - "help": { - "short": "Operator how to compare the signal value with the threshold" - }, - "enum": { - "items": [ - { - "name": "Dynamic", - "value": "Dynamic" - }, - { - "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": "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" - ], - "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": "PT15M", - "value": "PT15M" - }, - { - "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-05-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": "lookBackWindow", - "arg": "@ThresholdRuleV2_create.lookBackWindow", - "enum": { - "items": [ - { - "value": "PT15M" - }, - { - "value": "PT1H" - }, - { - "value": "PT30M" - }, - { - "value": "PT5M" - } - ] - } - }, - { - "type": "string", - "name": "operator", - "arg": "@ThresholdRuleV2_create.operator", - "required": true, - "enum": { - "items": [ - { - "value": "Dynamic" - }, - { - "value": "Equal" - }, - { - "value": "GreaterThan" - }, - { - "value": "GreaterThanOrEqual" - }, - { - "value": "LessThan" - }, - { - "value": "LessThanOrEqual" - }, - { - "value": "NotEqual" - } - ] - } - }, - { - "type": "string", - "name": "sensitivity", - "arg": "@ThresholdRuleV2_create.sensitivity", - "enum": { - "items": [ - { - "value": "High" - }, - { - "value": "Low" - }, - { - "value": "Medium" - } - ] - } - }, - { - "type": "float64", - "name": "threshold", - "arg": "@ThresholdRuleV2_create.threshold" - } - ], - "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": "PT15M" - }, - { - "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": "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": "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 - } - ] - }, - { - "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": "PT15M" - }, - { - "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": "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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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.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": [ - { - "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", - "options": [ - "operator" - ], - "help": { - "short": "Operator how to compare the signal value with the threshold" - }, - "enum": { - "items": [ - { - "name": "Dynamic", - "value": "Dynamic" - }, - { - "name": "Equal", - "value": "Equal" - }, - { - "name": "GreaterThan", - "value": "GreaterThan" - }, - { - "name": "GreaterThanOrEqual", - "value": "GreaterThanOrEqual" - }, - { - "name": "LessThan", - "value": "LessThan" - }, - { - "name": "LessThanOrEqual", - "value": "LessThanOrEqual" - }, - { - "name": "NotEqual", - "value": "NotEqual" - } - ] - } - }, - { - "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": [ - "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": "PT15M", - "value": "PT15M" - }, - { - "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-05-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": "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 - } - ] - }, - { - "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": "PT15M" - }, - { - "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": "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": "lookBackWindow", - "arg": "@ThresholdRuleV2_update.lookBackWindow", - "enum": { - "items": [ - { - "value": "PT15M" - }, - { - "value": "PT1H" - }, - { - "value": "PT30M" - }, - { - "value": "PT5M" - } - ] - } - }, - { - "type": "string", - "name": "operator", - "arg": "@ThresholdRuleV2_update.operator", - "required": true, - "enum": { - "items": [ - { - "value": "Dynamic" - }, - { - "value": "Equal" - }, - { - "value": "GreaterThan" - }, - { - "value": "GreaterThanOrEqual" - }, - { - "value": "LessThan" - }, - { - "value": "LessThanOrEqual" - }, - { - "value": "NotEqual" - } - ] - } - }, - { - "type": "string", - "name": "sensitivity", - "arg": "@ThresholdRuleV2_update.sensitivity", - "enum": { - "items": [ - { - "value": "High" - }, - { - "value": "Low" - }, - { - "value": "Medium" - } - ] - } - }, - { - "type": "float64", - "name": "threshold", - "arg": "@ThresholdRuleV2_update.threshold" - } - ], - "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": "PT15M" - }, - { - "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": "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-05-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 - } - ] - } - ] - } - ] -} +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "monitor health-models signal-definition", "commands": [{"name": "show", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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": "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}]}, {"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": "PT15M"}, {"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": "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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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.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.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", "options": ["operator"], "required": true, "help": {"short": "Operator how to compare the signal value with the threshold"}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"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": "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"], "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": "PT15M", "value": "PT15M"}, {"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-05-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": "lookBackWindow", "arg": "@ThresholdRuleV2_create.lookBackWindow", "enum": {"items": [{"value": "PT15M"}, {"value": "PT1H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "operator", "arg": "@ThresholdRuleV2_create.operator", "required": true, "enum": {"items": [{"value": "Dynamic"}, {"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "string", "name": "sensitivity", "arg": "@ThresholdRuleV2_create.sensitivity", "enum": {"items": [{"value": "High"}, {"value": "Low"}, {"value": "Medium"}]}}, {"type": "float64", "name": "threshold", "arg": "@ThresholdRuleV2_create.threshold"}], "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": "PT15M"}, {"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": "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": "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}]}, {"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": "PT15M"}, {"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": "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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/signaldefinitions/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3NpZ25hbGRlZmluaXRpb25zL3tzaWduYWxEZWZpbml0aW9uTmFtZX0=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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.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": [{"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", "options": ["operator"], "help": {"short": "Operator how to compare the signal value with the threshold"}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"name": "Equal", "value": "Equal"}, {"name": "GreaterThan", "value": "GreaterThan"}, {"name": "GreaterThanOrEqual", "value": "GreaterThanOrEqual"}, {"name": "LessThan", "value": "LessThan"}, {"name": "LessThanOrEqual", "value": "LessThanOrEqual"}, {"name": "NotEqual", "value": "NotEqual"}]}}, {"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": ["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": "PT15M", "value": "PT15M"}, {"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-05-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": "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}]}, {"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": "PT15M"}, {"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": "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": "lookBackWindow", "arg": "@ThresholdRuleV2_update.lookBackWindow", "enum": {"items": [{"value": "PT15M"}, {"value": "PT1H"}, {"value": "PT30M"}, {"value": "PT5M"}]}}, {"type": "string", "name": "operator", "arg": "@ThresholdRuleV2_update.operator", "required": true, "enum": {"items": [{"value": "Dynamic"}, {"value": "Equal"}, {"value": "GreaterThan"}, {"value": "GreaterThanOrEqual"}, {"value": "LessThan"}, {"value": "LessThanOrEqual"}, {"value": "NotEqual"}]}}, {"type": "string", "name": "sensitivity", "arg": "@ThresholdRuleV2_update.sensitivity", "enum": {"items": [{"value": "High"}, {"value": "Low"}, {"value": "Medium"}]}}, {"type": "float64", "name": "threshold", "arg": "@ThresholdRuleV2_update.threshold"}], "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": "PT15M"}, {"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": "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-05-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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.json index a24a0fb57..9cd6774b9 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.json @@ -1,359 +1 @@ -{ - "plane": "mgmt-plane", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHM=/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "commandGroups": [ - { - "name": "monitor health-models relationship", - "commands": [ - { - "name": "list", - "version": "2026-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHM=/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-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": "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" - } - ] - } - ] - } - ] -} +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHM=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "monitor health-models relationship", "commands": [{"name": "list", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHM=/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-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": "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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.json index 20589ed9f..ae4ba4acc 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.json @@ -1,1497 +1 @@ -{ - "plane": "mgmt-plane", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "commandGroups": [ - { - "name": "monitor health-models relationship", - "commands": [ - { - "name": "show", - "version": "2026-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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-05-01-preview", - "resources": [ - { - "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", - "version": "2026-05-01-preview", - "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3" - } - ], - "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-05-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-05-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 - } - ] - } - ] - } - ] -} +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "monitor health-models relationship", "commands": [{"name": "show", "version": "2026-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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-05-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/relationships/{}", "version": "2026-05-01-preview", "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L3JlbGF0aW9uc2hpcHMve3JlbGF0aW9uc2hpcE5hbWV9/V/MjAyNi0wNS0wMS1wcmV2aWV3"}], "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-05-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-05-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