diff --git a/Commands/monitor/health-models/_create.md b/Commands/monitor/health-models/_create.md new file mode 100644 index 000000000..510935422 --- /dev/null +++ b/Commands/monitor/health-models/_create.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models create_ + +Create a HealthModel + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- HealthModels_Create + ```bash + monitor health-models create --resource-group rgopenapi --health-model-name model1 --type SystemAssigned, UserAssigned --user-assigned-identities "{/subscriptions/4980D7D5-4E07-47AD-AD34-E76C6BC9F061/resourceGroups/rgopenapi/providers/Microsoft.ManagedIdentity/userAssignedIdentities/ua1:{}}" --tags "{key2961:hbljozzkqrpcthsjtfkyozpwyx}" --location eastus2 + ``` diff --git a/Commands/monitor/health-models/_delete.md b/Commands/monitor/health-models/_delete.md new file mode 100644 index 000000000..0c3d60fa6 --- /dev/null +++ b/Commands/monitor/health-models/_delete.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models delete_ + +Delete a HealthModel + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- HealthModels_Delete + ```bash + monitor health-models delete --resource-group rgopenapi --health-model-name model1 + ``` diff --git a/Commands/monitor/health-models/_list.md b/Commands/monitor/health-models/_list.md new file mode 100644 index 000000000..a17acf2c8 --- /dev/null +++ b/Commands/monitor/health-models/_list.md @@ -0,0 +1,22 @@ +# [Command] _monitor health-models list_ + +List HealthModel resources by subscription ID + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.xml) **Stable** + + + + +#### examples + +- HealthModels_ListBySubscription + ```bash + monitor health-models list + ``` + +- HealthModels_ListByResourceGroup + ```bash + monitor health-models list --resource-group rgopenapi + ``` diff --git a/Commands/monitor/health-models/_show.md b/Commands/monitor/health-models/_show.md new file mode 100644 index 000000000..6497bcd2b --- /dev/null +++ b/Commands/monitor/health-models/_show.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models show_ + +Get a HealthModel + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- HealthModels_Get + ```bash + monitor health-models show --resource-group rgopenapi --health-model-name myHealthModel + ``` diff --git a/Commands/monitor/health-models/_update.md b/Commands/monitor/health-models/_update.md new file mode 100644 index 000000000..45a21dd8d --- /dev/null +++ b/Commands/monitor/health-models/_update.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models update_ + +Update a HealthModel + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- HealthModels_Create + ```bash + monitor health-models update --resource-group rgopenapi --health-model-name model1 + ``` diff --git a/Commands/monitor/health-models/authentication-setting/_create.md b/Commands/monitor/health-models/authentication-setting/_create.md new file mode 100644 index 000000000..af9715aa7 --- /dev/null +++ b/Commands/monitor/health-models/authentication-setting/_create.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models authentication-setting create_ + +Create a AuthenticationSetting + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- AuthenticationSettings_CreateOrUpdate + ```bash + monitor health-models authentication-setting create --resource-group myResourceGroup --health-model-name myHealthModel --authentication-setting-name myAuthSetting --display-name myDisplayName + ``` diff --git a/Commands/monitor/health-models/authentication-setting/_delete.md b/Commands/monitor/health-models/authentication-setting/_delete.md new file mode 100644 index 000000000..6d216159d --- /dev/null +++ b/Commands/monitor/health-models/authentication-setting/_delete.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models authentication-setting delete_ + +Delete a AuthenticationSetting + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- AuthenticationSettings_Delete + ```bash + monitor health-models authentication-setting delete --resource-group my-resource-group --health-model-name my-health-model --authentication-setting-name my-auth-setting + ``` diff --git a/Commands/monitor/health-models/authentication-setting/_list.md b/Commands/monitor/health-models/authentication-setting/_list.md new file mode 100644 index 000000000..ace638be4 --- /dev/null +++ b/Commands/monitor/health-models/authentication-setting/_list.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models authentication-setting list_ + +List AuthenticationSetting resources by HealthModel + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- AuthenticationSettings_ListByHealthModel + ```bash + monitor health-models authentication-setting list --resource-group my-resource-group --health-model-name my-health-model + ``` diff --git a/Commands/monitor/health-models/authentication-setting/_show.md b/Commands/monitor/health-models/authentication-setting/_show.md new file mode 100644 index 000000000..8945ff1dc --- /dev/null +++ b/Commands/monitor/health-models/authentication-setting/_show.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models authentication-setting show_ + +Get a AuthenticationSetting + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- AuthenticationSettings_Get + ```bash + monitor health-models authentication-setting show --resource-group my-resource-group --health-model-name my-health-model --authentication-setting-name my-auth-setting + ``` diff --git a/Commands/monitor/health-models/authentication-setting/_update.md b/Commands/monitor/health-models/authentication-setting/_update.md new file mode 100644 index 000000000..0a2753b2d --- /dev/null +++ b/Commands/monitor/health-models/authentication-setting/_update.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models authentication-setting update_ + +Update a AuthenticationSetting + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- AuthenticationSettings_CreateOrUpdate + ```bash + monitor health-models authentication-setting update --resource-group myResourceGroup --health-model-name myHealthModel --authentication-setting-name myAuthSetting + ``` diff --git a/Commands/monitor/health-models/authentication-setting/readme.md b/Commands/monitor/health-models/authentication-setting/readme.md new file mode 100644 index 000000000..05f154df7 --- /dev/null +++ b/Commands/monitor/health-models/authentication-setting/readme.md @@ -0,0 +1,20 @@ +# [Group] _monitor health-models authentication-setting_ + +Manage Authenticationsetting + +## Commands + +- [create](/Commands/monitor/health-models/authentication-setting/_create.md) +: Create a AuthenticationSetting + +- [delete](/Commands/monitor/health-models/authentication-setting/_delete.md) +: Delete a AuthenticationSetting + +- [list](/Commands/monitor/health-models/authentication-setting/_list.md) +: List AuthenticationSetting resources by HealthModel + +- [show](/Commands/monitor/health-models/authentication-setting/_show.md) +: Get a AuthenticationSetting + +- [update](/Commands/monitor/health-models/authentication-setting/_update.md) +: Update a AuthenticationSetting diff --git a/Commands/monitor/health-models/discovery-rule/_create.md b/Commands/monitor/health-models/discovery-rule/_create.md new file mode 100644 index 000000000..4cc95c740 --- /dev/null +++ b/Commands/monitor/health-models/discovery-rule/_create.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models discovery-rule create_ + +Create a DiscoveryRule + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- DiscoveryRules_CreateOrUpdate + ```bash + monitor health-models discovery-rule create --resource-group myResourceGroup --health-model-name myHealthModel --discovery-rule-name myDiscoveryRule --authentication-setting authSetting1 --display-name myDisplayName --discover-relationships Enabled --add-recommended-signals Enabled --specification "{resourceGraphQuery:'resources | where subscriptionId == '/7ddfffd7-9b32-40df-1234-828cbd55d6f4'/ | where resourceGroup == '/my-rg'/',resource-graph-query:{resource-graph-query:'resources | where subscriptionId == '/7ddfffd7-9b32-40df-1234-828cbd55d6f4'/ | where resourceGroup == '/my-rg'/'}}" --add-resource-health-signal Enabled + ``` diff --git a/Commands/monitor/health-models/discovery-rule/_delete.md b/Commands/monitor/health-models/discovery-rule/_delete.md new file mode 100644 index 000000000..0e3b60d03 --- /dev/null +++ b/Commands/monitor/health-models/discovery-rule/_delete.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models discovery-rule delete_ + +Delete a DiscoveryRule + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- DiscoveryRules_Delete + ```bash + monitor health-models discovery-rule delete --resource-group my-resource-group --health-model-name my-health-model --discovery-rule-name my-discovery-rule + ``` diff --git a/Commands/monitor/health-models/discovery-rule/_list.md b/Commands/monitor/health-models/discovery-rule/_list.md new file mode 100644 index 000000000..e5af57bfd --- /dev/null +++ b/Commands/monitor/health-models/discovery-rule/_list.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models discovery-rule list_ + +List DiscoveryRule resources by HealthModel + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- DiscoveryRules_ListByHealthModel + ```bash + monitor health-models discovery-rule list --resource-group my-resource-group --health-model-name my-health-model + ``` diff --git a/Commands/monitor/health-models/discovery-rule/_show.md b/Commands/monitor/health-models/discovery-rule/_show.md new file mode 100644 index 000000000..551120b4b --- /dev/null +++ b/Commands/monitor/health-models/discovery-rule/_show.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models discovery-rule show_ + +Get a DiscoveryRule + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- DiscoveryRules_Get + ```bash + monitor health-models discovery-rule show --resource-group myResourceGroup --health-model-name myHealthModel --discovery-rule-name myDiscoveryRule + ``` diff --git a/Commands/monitor/health-models/discovery-rule/_update.md b/Commands/monitor/health-models/discovery-rule/_update.md new file mode 100644 index 000000000..37dc0b10e --- /dev/null +++ b/Commands/monitor/health-models/discovery-rule/_update.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models discovery-rule update_ + +Update a DiscoveryRule + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- DiscoveryRules_CreateOrUpdate + ```bash + monitor health-models discovery-rule update --resource-group myResourceGroup --health-model-name myHealthModel --discovery-rule-name myDiscoveryRule + ``` diff --git a/Commands/monitor/health-models/discovery-rule/readme.md b/Commands/monitor/health-models/discovery-rule/readme.md new file mode 100644 index 000000000..ae4bd9c8b --- /dev/null +++ b/Commands/monitor/health-models/discovery-rule/readme.md @@ -0,0 +1,20 @@ +# [Group] _monitor health-models discovery-rule_ + +Manage Discoveryrule + +## Commands + +- [create](/Commands/monitor/health-models/discovery-rule/_create.md) +: Create a DiscoveryRule + +- [delete](/Commands/monitor/health-models/discovery-rule/_delete.md) +: Delete a DiscoveryRule + +- [list](/Commands/monitor/health-models/discovery-rule/_list.md) +: List DiscoveryRule resources by HealthModel + +- [show](/Commands/monitor/health-models/discovery-rule/_show.md) +: Get a DiscoveryRule + +- [update](/Commands/monitor/health-models/discovery-rule/_update.md) +: Update a DiscoveryRule diff --git a/Commands/monitor/health-models/entity/_add-data-annotation.md b/Commands/monitor/health-models/entity/_add-data-annotation.md new file mode 100644 index 000000000..991ff4af4 --- /dev/null +++ b/Commands/monitor/health-models/entity/_add-data-annotation.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models entity add-data-annotation_ + +Add a data annotation to an entity + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- Entities_AddDataAnnotation + ```bash + monitor health-models entity add-data-annotation --resource-group rgopenapi --health-model-name myHealthModel --entity-name entity1 --annotation-details "{environment:production,deploymentId:deploy-2026-04-10-001,changedBy:release-pipeline}" --description Production deployment of v2.4.1 + ``` diff --git a/Commands/monitor/health-models/entity/_create.md b/Commands/monitor/health-models/entity/_create.md new file mode 100644 index 000000000..d402f2f8a --- /dev/null +++ b/Commands/monitor/health-models/entity/_create.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models entity create_ + +Create a Entity + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- Entities_CreateOrUpdate + ```bash + monitor health-models entity create --resource-group rgopenapi --health-model-name myHealthModel --entity-name uszrxbdkxesdrxhmagmzywebgbjj --display-name My entity --canvas-position "{x:14,y:13}" --icon "{icon-name:Custom,custom-data:rcitntvapruccrhtxmkqjphbxunkz}" --health-objective 62 --impact Standard --tags "{key1376:'sample tag'}" --signal-groups "{azure-resource:{authentication-setting:auth123,azure-resource-id:/subscriptions/12345678-1234-1234-1234-123456789012/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1,azure-resource-kind:functionapp,signals:[{signalKind:AzureResourceMetric,name:uniqueSignalName1,signal-definition-name:sigdef1,metric-namespace:microsoft.compute/virtualMachines,metric-name:cpuusage,aggregation-type:None,dimension-filter:'node eq '/node1'/',display-name:'CPU usage',refresh-interval:PT1M,time-grain:PT1M,data-unit:Count,evaluation-rules:{degradedRule:{operator:LowerThan,threshold:10},unhealthyRule:{operator:LowerThan,threshold:1}}}]},azure-log-analytics:{authentication-setting:auth123,log-analytics-workspace-resource-id:/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.OperationalInsights/workspaces/myworkspace,signals:[{signalKind:LogAnalyticsQuery,name:uniqueSignalName2,signal-definition-name:null,evaluation-rules:{degradedRule:{operator:GreaterThan,threshold:1},unhealthyRule:{operator:GreaterThan,threshold:5}},refresh-interval:PT1M,query-text:'print 1',time-grain:PT30M,value-column-name:result,display-name:'Test LA signal',data-unit:'my unit'}]},azure-monitor-workspace:{authentication-setting:auth123,azure-monitor-workspace-resource-id:/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.OperationalInsights/workspaces/myworkspace,signals:[{signalKind:PrometheusMetricsQuery,name:pod-cpu-usage,signal-definition-name:PodCpuUsageDefinition,display-name:'Pod CPU Usage',refresh-interval:PT1M,data-unit:Percent,query-text:\'rate(container_cpu_usage_seconds_total{pod=~"my-app-.*"}[5m]) * 100\',time-grain:PT5M,evaluation-rules:{degradedRule:{operator:GreaterThan,threshold:70},unhealthyRule:{operator:GreaterThan,threshold:90}}}]},dependencies:{aggregation-type:MinHealthy,unit:Percentage,degraded-threshold:80,unhealthy-threshold:50}}" --alerts "{unhealthy:{severity:Sev1,description:'Alert description',actionGroupIds:[/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Insights/actionGroups/myactiongroup]},degraded:{severity:Sev4,description:'Alert description',actionGroupIds:[/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Insights/actionGroups/myactiongroup]}}" + ``` diff --git a/Commands/monitor/health-models/entity/_delete.md b/Commands/monitor/health-models/entity/_delete.md new file mode 100644 index 000000000..f8946f882 --- /dev/null +++ b/Commands/monitor/health-models/entity/_delete.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models entity delete_ + +Delete a Entity + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- Entities_Delete + ```bash + monitor health-models entity delete --resource-group rgopenapi --health-model-name model1 --entity-name U4VTRFlUkm9kR6H23-c-6U-XHq7n + ``` diff --git a/Commands/monitor/health-models/entity/_get-data-annotation.md b/Commands/monitor/health-models/entity/_get-data-annotation.md new file mode 100644 index 000000000..ccf99814d --- /dev/null +++ b/Commands/monitor/health-models/entity/_get-data-annotation.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models entity get-data-annotation_ + +Retrieve data annotations for an entity + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- Entities_GetDataAnnotations + ```bash + monitor health-models entity get-data-annotation --resource-group rgopenapi --health-model-name myHealthModel --entity-name entity1 --start-at 2026-04-09T00:00:00Z --end-at 2026-04-10T23:59:59Z + ``` diff --git a/Commands/monitor/health-models/entity/_get-history.md b/Commands/monitor/health-models/entity/_get-history.md new file mode 100644 index 000000000..6945f0ba5 --- /dev/null +++ b/Commands/monitor/health-models/entity/_get-history.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models entity get-history_ + +Retrieve the health state transition history for an entity + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- Entities_GetHistory + ```bash + monitor health-models entity get-history --resource-group rgopenapi --health-model-name myHealthModel --entity-name entity1 --start-at 2025-12-11T10:00:00Z --end-at 2025-12-12T10:00:00Z --top 4 + ``` diff --git a/Commands/monitor/health-models/entity/_get-signal-history.md b/Commands/monitor/health-models/entity/_get-signal-history.md new file mode 100644 index 000000000..7650f8f98 --- /dev/null +++ b/Commands/monitor/health-models/entity/_get-signal-history.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models entity get-signal-history_ + +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** + + + +#### examples + +- Entities_GetSignalHistory + ```bash + monitor health-models entity get-signal-history --resource-group rgopenapi --health-model-name myHealthModel --entity-name entity1 --signal-name uniqueSignalName1 --start-at 2025-12-11T10:00:00Z --end-at 2025-12-12T10:00:00Z --top 7 + ``` diff --git a/Commands/monitor/health-models/entity/_get-signal-recommendation.md b/Commands/monitor/health-models/entity/_get-signal-recommendation.md new file mode 100644 index 000000000..a16ca3880 --- /dev/null +++ b/Commands/monitor/health-models/entity/_get-signal-recommendation.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models entity get-signal-recommendation_ + +Get recommended signal configurations for a given Entity (only applicable for Entities representing Azure resources) + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- Entities_GetSignalRecommendations + ```bash + monitor health-models entity get-signal-recommendation --resource-group rgopenapi --health-model-name myHealthModel --entity-name entity1 + ``` diff --git a/Commands/monitor/health-models/entity/_ingest-health-report.md b/Commands/monitor/health-models/entity/_ingest-health-report.md new file mode 100644 index 000000000..cd74f125b --- /dev/null +++ b/Commands/monitor/health-models/entity/_ingest-health-report.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models entity ingest-health-report_ + +Ingest a health report for a specific signal on an entity (the entity must already exist) + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- Entities_IngestHealthReport + ```bash + monitor health-models entity ingest-health-report --resource-group rgopenapi --health-model-name myHealthModel --entity-name entity1 --signal-name uniqueSignalName1 --value 85.5 --health-state Degraded --evaluation-rules "{degraded-rule:{operator:GreaterThan,threshold:70},unhealthy-rule:{operator:GreaterThan,threshold:90}}" --expires-in-minutes 60 --additional-context CPU usage elevated due to batch processing job + ``` diff --git a/Commands/monitor/health-models/entity/_list.md b/Commands/monitor/health-models/entity/_list.md new file mode 100644 index 000000000..72d262622 --- /dev/null +++ b/Commands/monitor/health-models/entity/_list.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models entity list_ + +List Entity resources by HealthModel + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- Entities_ListByHealthModel + ```bash + monitor health-models entity list --resource-group rgopenapi --health-model-name gPWT6GP85xRV248L7LhNRTD--2Yc73wu-5Qk-0tS + ``` diff --git a/Commands/monitor/health-models/entity/_show.md b/Commands/monitor/health-models/entity/_show.md new file mode 100644 index 000000000..703ed32d0 --- /dev/null +++ b/Commands/monitor/health-models/entity/_show.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models entity show_ + +Get a Entity + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- Entities_Get + ```bash + monitor health-models entity show --resource-group rgopenapi --health-model-name myHealthModel --entity-name entity1 + ``` diff --git a/Commands/monitor/health-models/entity/_update.md b/Commands/monitor/health-models/entity/_update.md new file mode 100644 index 000000000..b60e783f1 --- /dev/null +++ b/Commands/monitor/health-models/entity/_update.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models entity update_ + +Update a Entity + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- Entities_CreateOrUpdate + ```bash + monitor health-models entity update --resource-group rgopenapi --health-model-name myHealthModel --entity-name uszrxbdkxesdrxhmagmzywebgbjj + ``` diff --git a/Commands/monitor/health-models/entity/readme.md b/Commands/monitor/health-models/entity/readme.md new file mode 100644 index 000000000..3d0591f25 --- /dev/null +++ b/Commands/monitor/health-models/entity/readme.md @@ -0,0 +1,38 @@ +# [Group] _monitor health-models entity_ + +Manage Entity + +## Commands + +- [add-data-annotation](/Commands/monitor/health-models/entity/_add-data-annotation.md) +: Add a data annotation to an entity + +- [create](/Commands/monitor/health-models/entity/_create.md) +: Create a Entity + +- [delete](/Commands/monitor/health-models/entity/_delete.md) +: Delete a Entity + +- [get-data-annotation](/Commands/monitor/health-models/entity/_get-data-annotation.md) +: Retrieve data annotations for an entity + +- [get-history](/Commands/monitor/health-models/entity/_get-history.md) +: Retrieve the health state transition history for an 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 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) +: Ingest a health report for a specific signal on an entity (the entity must already exist) + +- [list](/Commands/monitor/health-models/entity/_list.md) +: List Entity resources by HealthModel + +- [show](/Commands/monitor/health-models/entity/_show.md) +: Get a Entity + +- [update](/Commands/monitor/health-models/entity/_update.md) +: Update a Entity diff --git a/Commands/monitor/health-models/identity/_assign.md b/Commands/monitor/health-models/identity/_assign.md new file mode 100644 index 000000000..b98a83a94 --- /dev/null +++ b/Commands/monitor/health-models/identity/_assign.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models identity assign_ + +Assign the user or system managed identities. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- HealthModels_Create + ```bash + monitor health-models identity assign --resource-group rgopenapi --health-model-name model1 + ``` diff --git a/Commands/monitor/health-models/identity/_remove.md b/Commands/monitor/health-models/identity/_remove.md new file mode 100644 index 000000000..f3d94f6f0 --- /dev/null +++ b/Commands/monitor/health-models/identity/_remove.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models identity remove_ + +Remove the user or system managed identities. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- HealthModels_Create + ```bash + monitor health-models identity remove --resource-group rgopenapi --health-model-name model1 + ``` diff --git a/Commands/monitor/health-models/identity/_show.md b/Commands/monitor/health-models/identity/_show.md new file mode 100644 index 000000000..d2d781272 --- /dev/null +++ b/Commands/monitor/health-models/identity/_show.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models identity show_ + +Show the details of managed identities. + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- HealthModels_Get + ```bash + monitor health-models identity show --resource-group rgopenapi --health-model-name myHealthModel + ``` diff --git a/Commands/monitor/health-models/identity/readme.md b/Commands/monitor/health-models/identity/readme.md new file mode 100644 index 000000000..4f1272869 --- /dev/null +++ b/Commands/monitor/health-models/identity/readme.md @@ -0,0 +1,14 @@ +# [Group] _monitor health-models identity_ + +Manage Identity + +## Commands + +- [assign](/Commands/monitor/health-models/identity/_assign.md) +: Assign the user or system managed identities. + +- [remove](/Commands/monitor/health-models/identity/_remove.md) +: Remove the user or system managed identities. + +- [show](/Commands/monitor/health-models/identity/_show.md) +: Show the details of managed identities. diff --git a/Commands/monitor/health-models/readme.md b/Commands/monitor/health-models/readme.md new file mode 100644 index 000000000..25a5779f6 --- /dev/null +++ b/Commands/monitor/health-models/readme.md @@ -0,0 +1,40 @@ +# [Group] _monitor health-models_ + +Manage Healthmodel + +## Subgroups + +- [authentication-setting](/Commands/monitor/health-models/authentication-setting/readme.md) +: Manage Authenticationsetting + +- [discovery-rule](/Commands/monitor/health-models/discovery-rule/readme.md) +: Manage Discoveryrule + +- [entity](/Commands/monitor/health-models/entity/readme.md) +: Manage Entity + +- [identity](/Commands/monitor/health-models/identity/readme.md) +: Manage Identity + +- [relationship](/Commands/monitor/health-models/relationship/readme.md) +: Manage Relationship + +- [signal-definition](/Commands/monitor/health-models/signal-definition/readme.md) +: Manage Signaldefinition + +## Commands + +- [create](/Commands/monitor/health-models/_create.md) +: Create a HealthModel + +- [delete](/Commands/monitor/health-models/_delete.md) +: Delete a HealthModel + +- [list](/Commands/monitor/health-models/_list.md) +: List HealthModel resources by subscription ID + +- [show](/Commands/monitor/health-models/_show.md) +: Get a HealthModel + +- [update](/Commands/monitor/health-models/_update.md) +: Update a HealthModel diff --git a/Commands/monitor/health-models/relationship/_create.md b/Commands/monitor/health-models/relationship/_create.md new file mode 100644 index 000000000..7295860f0 --- /dev/null +++ b/Commands/monitor/health-models/relationship/_create.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models relationship create_ + +Create a Relationship + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- Relationships_CreateOrUpdate + ```bash + monitor health-models relationship create --resource-group rgopenapi --health-model-name model1 --relationship-name rel1 --display-name My relationship --parent-entity-name Entity1 --child-entity-name Entity2 --tags "{key9681:ixfvzsfnpvkkbrce}" + ``` diff --git a/Commands/monitor/health-models/relationship/_delete.md b/Commands/monitor/health-models/relationship/_delete.md new file mode 100644 index 000000000..aa9323b06 --- /dev/null +++ b/Commands/monitor/health-models/relationship/_delete.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models relationship delete_ + +Delete a Relationship + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- Relationships_Delete + ```bash + monitor health-models relationship delete --resource-group rgopenapi --health-model-name model1 --relationship-name rel1 + ``` diff --git a/Commands/monitor/health-models/relationship/_list.md b/Commands/monitor/health-models/relationship/_list.md new file mode 100644 index 000000000..30892f150 --- /dev/null +++ b/Commands/monitor/health-models/relationship/_list.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models relationship list_ + +List Relationship resources by HealthModel + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- Relationships_ListByHealthModel + ```bash + monitor health-models relationship list --resource-group rgopenapi --health-model-name model1 + ``` diff --git a/Commands/monitor/health-models/relationship/_show.md b/Commands/monitor/health-models/relationship/_show.md new file mode 100644 index 000000000..9c37077b9 --- /dev/null +++ b/Commands/monitor/health-models/relationship/_show.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models relationship show_ + +Get a Relationship + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- Relationships_Get + ```bash + monitor health-models relationship show --resource-group rgopenapi --health-model-name myHealthModel --relationship-name Ue-21-F3M12V3w-13x18F8H-7HOk--kq6tP-HB + ``` diff --git a/Commands/monitor/health-models/relationship/_update.md b/Commands/monitor/health-models/relationship/_update.md new file mode 100644 index 000000000..c9285f681 --- /dev/null +++ b/Commands/monitor/health-models/relationship/_update.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models relationship update_ + +Update a Relationship + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- Relationships_CreateOrUpdate + ```bash + monitor health-models relationship update --resource-group rgopenapi --health-model-name model1 --relationship-name rel1 + ``` diff --git a/Commands/monitor/health-models/relationship/readme.md b/Commands/monitor/health-models/relationship/readme.md new file mode 100644 index 000000000..b126f987f --- /dev/null +++ b/Commands/monitor/health-models/relationship/readme.md @@ -0,0 +1,20 @@ +# [Group] _monitor health-models relationship_ + +Manage Relationship + +## Commands + +- [create](/Commands/monitor/health-models/relationship/_create.md) +: Create a Relationship + +- [delete](/Commands/monitor/health-models/relationship/_delete.md) +: Delete a Relationship + +- [list](/Commands/monitor/health-models/relationship/_list.md) +: List Relationship resources by HealthModel + +- [show](/Commands/monitor/health-models/relationship/_show.md) +: Get a Relationship + +- [update](/Commands/monitor/health-models/relationship/_update.md) +: Update a Relationship diff --git a/Commands/monitor/health-models/signal-definition/_create.md b/Commands/monitor/health-models/signal-definition/_create.md new file mode 100644 index 000000000..6a74ae193 --- /dev/null +++ b/Commands/monitor/health-models/signal-definition/_create.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models signal-definition create_ + +Create a SignalDefinition + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- SignalDefinitions_CreateOrUpdate + ```bash + monitor health-models signal-definition create --resource-group rgopenapi --health-model-name myHealthModel --signal-definition-name sig1 --display-name cpu usage --refresh-interval PT1M --tags "{key4788:ixfvzsfnpvkkbrce}" --data-unit byte --evaluation-rules "{degraded-rule:{operator:GreaterThan,threshold:70},unhealthy-rule:{operator:Dynamic,sensitivity:Medium,lookBackWindow:PT1H}}" + ``` diff --git a/Commands/monitor/health-models/signal-definition/_delete.md b/Commands/monitor/health-models/signal-definition/_delete.md new file mode 100644 index 000000000..46d96d4eb --- /dev/null +++ b/Commands/monitor/health-models/signal-definition/_delete.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models signal-definition delete_ + +Delete a SignalDefinition + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- SignalDefinitions_Delete + ```bash + monitor health-models signal-definition delete --resource-group rgopenapi --health-model-name model1 --signal-definition-name sig + ``` diff --git a/Commands/monitor/health-models/signal-definition/_list.md b/Commands/monitor/health-models/signal-definition/_list.md new file mode 100644 index 000000000..871550945 --- /dev/null +++ b/Commands/monitor/health-models/signal-definition/_list.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models signal-definition list_ + +List SignalDefinition resources by HealthModel + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- SignalDefinitions_ListByHealthModel + ```bash + monitor health-models signal-definition list --resource-group rgopenapi --health-model-name myHealthModel + ``` diff --git a/Commands/monitor/health-models/signal-definition/_show.md b/Commands/monitor/health-models/signal-definition/_show.md new file mode 100644 index 000000000..4a880c7b0 --- /dev/null +++ b/Commands/monitor/health-models/signal-definition/_show.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models signal-definition show_ + +Get a SignalDefinition + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- SignalDefinitions_Get + ```bash + monitor health-models signal-definition show --resource-group rgopenapi --health-model-name myHealthModel --signal-definition-name sig1 + ``` diff --git a/Commands/monitor/health-models/signal-definition/_update.md b/Commands/monitor/health-models/signal-definition/_update.md new file mode 100644 index 000000000..09f83d197 --- /dev/null +++ b/Commands/monitor/health-models/signal-definition/_update.md @@ -0,0 +1,16 @@ +# [Command] _monitor health-models signal-definition update_ + +Update a SignalDefinition + +## Versions + +### [2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml) **Stable** + + + +#### examples + +- SignalDefinitions_CreateOrUpdate + ```bash + monitor health-models signal-definition update --resource-group rgopenapi --health-model-name myHealthModel --signal-definition-name sig1 + ``` diff --git a/Commands/monitor/health-models/signal-definition/readme.md b/Commands/monitor/health-models/signal-definition/readme.md new file mode 100644 index 000000000..c60dee3dc --- /dev/null +++ b/Commands/monitor/health-models/signal-definition/readme.md @@ -0,0 +1,20 @@ +# [Group] _monitor health-models signal-definition_ + +Manage Signaldefinition + +## Commands + +- [create](/Commands/monitor/health-models/signal-definition/_create.md) +: Create a SignalDefinition + +- [delete](/Commands/monitor/health-models/signal-definition/_delete.md) +: Delete a SignalDefinition + +- [list](/Commands/monitor/health-models/signal-definition/_list.md) +: List SignalDefinition resources by HealthModel + +- [show](/Commands/monitor/health-models/signal-definition/_show.md) +: Get a SignalDefinition + +- [update](/Commands/monitor/health-models/signal-definition/_update.md) +: Update a SignalDefinition diff --git a/Commands/monitor/readme.md b/Commands/monitor/readme.md index 128aab189..8ced03e7d 100644 --- a/Commands/monitor/readme.md +++ b/Commands/monitor/readme.md @@ -28,6 +28,9 @@ Manage the Azure Monitor Service. - [diagnostic-settings](/Commands/monitor/diagnostic-settings/readme.md) : Manage service diagnostic settings. +- [health-models](/Commands/monitor/health-models/readme.md) +: Manage Azure Monitor health models. + - [log-analytics](/Commands/monitor/log-analytics/readme.md) : Manage Azure log analytics. diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.json new file mode 100644 index 000000000..c196e0801 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.json @@ -0,0 +1,660 @@ +{ + "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" + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.xml new file mode 100644 index 000000000..2e9692b65 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.xml @@ -0,0 +1,239 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.md new file mode 100644 index 000000000..ea8486ebc --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.cloudhealth/healthmodels 2026-05-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHM=/2026-05-01-preview.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.json new file mode 100644 index 000000000..e6add16d9 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.json @@ -0,0 +1,2989 @@ +{ + "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 + } + ] + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml new file mode 100644 index 000000000..2997ec02b --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30=/2026-05-01-preview.xml @@ -0,0 +1,1056 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.json new file mode 100644 index 000000000..661b8c203 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.json @@ -0,0 +1,329 @@ +{ + "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" + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.xml new file mode 100644 index 000000000..e272dca36 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncw==/2026-05-01-preview.xml @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.json new file mode 100644 index 000000000..f4cbd5a38 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.json @@ -0,0 +1,1475 @@ +{ + "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 + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml new file mode 100644 index 000000000..c11f11ad4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vYXV0aGVudGljYXRpb25zZXR0aW5ncy97fQ==/2026-05-01-preview.xml @@ -0,0 +1,502 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.json new file mode 100644 index 000000000..3009b5381 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.json @@ -0,0 +1,453 @@ +{ + "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" + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.xml new file mode 100644 index 000000000..a03d2acf4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXM=/2026-05-01-preview.xml @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.json new file mode 100644 index 000000000..d63a981f4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.json @@ -0,0 +1,2177 @@ +{ + "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 + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml new file mode 100644 index 000000000..a3ffcd40f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZGlzY292ZXJ5cnVsZXMve30=/2026-05-01-preview.xml @@ -0,0 +1,730 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.json new file mode 100644 index 000000000..3112a33c3 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.json @@ -0,0 +1,1445 @@ +{ + "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" + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.xml new file mode 100644 index 000000000..7bc096024 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXM=/2026-05-01-preview.xml @@ -0,0 +1,516 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.json new file mode 100644 index 000000000..d6306d4db --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.json @@ -0,0 +1,8818 @@ +{ + "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 + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml new file mode 100644 index 000000000..2a5713af8 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30=/2026-05-01-preview.xml @@ -0,0 +1,2928 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.json new file mode 100644 index 000000000..599ad8cde --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.json @@ -0,0 +1,293 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/adddataannotation", + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9hZGREYXRhQW5ub3RhdGlvbg==/V/MjAyNi0wNS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models entity", + "commands": [ + { + "name": "add-data-annotation", + "version": "2026-05-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/adddataannotation", + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9hZGREYXRhQW5ub3RhdGlvbg==/V/MjAyNi0wNS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.entityName", + "options": [ + "entity-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the entity. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Body", + "args": [ + { + "type": "object", + "var": "$body.annotationDetails", + "options": [ + "annotation-details" + ], + "required": true, + "group": "Body", + "help": { + "short": "Annotation details as a dynamic key-value pair bag. Service-enforced limits: a maximum of 10 entries per annotation and a maximum value length of 256 characters. Requests exceeding these limits will be rejected with a 400 response." + }, + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 256 + } + } + } + }, + { + "type": "string", + "var": "$body.description", + "options": [ + "description" + ], + "group": "Body", + "help": { + "short": "Optional description of the annotation" + }, + "format": { + "maxLength": 4096 + } + } + ] + } + ], + "operations": [ + { + "operationId": "Entities_AddDataAnnotation", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}/addDataAnnotation", + "request": { + "method": "post", + "path": { + "params": [ + { + "type": "string", + "name": "entityName", + "arg": "$Path.entityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-05-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "schema": { + "type": "object", + "name": "body", + "required": true, + "props": [ + { + "type": "object", + "name": "annotationDetails", + "arg": "$body.annotationDetails", + "required": true, + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 256 + } + } + } + }, + { + "type": "string", + "name": "description", + "arg": "$body.description", + "format": { + "maxLength": 4096 + } + } + ], + "clientFlatten": true + } + } + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "object", + "name": "annotationDetails", + "required": true, + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 256 + } + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "annotationId", + "format": { + "maxLength": 256 + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "description", + "format": { + "maxLength": 4096 + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.xml new file mode 100644 index 000000000..633347933 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vYWRkZGF0YWFubm90YXRpb24=/2026-05-01-preview.xml @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.json new file mode 100644 index 000000000..9f4fadfdb --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.json @@ -0,0 +1,361 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getdataannotations", + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXREYXRhQW5ub3RhdGlvbnM=/V/MjAyNi0wNS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models entity", + "commands": [ + { + "name": "get-data-annotation", + "version": "2026-05-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getdataannotations", + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXREYXRhQW5ub3RhdGlvbnM=/V/MjAyNi0wNS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.entityName", + "options": [ + "entity-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the entity. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + }, + { + "name": "Body", + "args": [ + { + "type": "dateTime", + "var": "$body.endAt", + "options": [ + "end-at" + ], + "group": "Body", + "help": { + "short": "End of UTC time range. Defaults to now if not specified." + }, + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "var": "$body.nextMarker", + "options": [ + "next-marker" + ], + "group": "Body", + "help": { + "short": "An opaque string value that identifies the portion of the result set to be returned with the next operation. Must not be combined with startAt or endAt." + }, + "format": { + "maxLength": 4096 + } + }, + { + "type": "dateTime", + "var": "$body.startAt", + "options": [ + "start-at" + ], + "group": "Body", + "help": { + "short": "Start of UTC time range. Defaults to 24 hours ago if not specified." + }, + "format": { + "protocol": "iso" + } + }, + { + "type": "integer32", + "var": "$body.top", + "options": [ + "top" + ], + "group": "Body", + "help": { + "short": "Maximum number of annotations to return per page. Defaults to 100." + }, + "default": { + "value": 100 + }, + "format": { + "maximum": 100, + "minimum": 1 + } + } + ] + } + ], + "operations": [ + { + "operationId": "Entities_GetDataAnnotations", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}/getDataAnnotations", + "request": { + "method": "post", + "path": { + "params": [ + { + "type": "string", + "name": "entityName", + "arg": "$Path.entityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-05-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + }, + "body": { + "json": { + "schema": { + "type": "object", + "name": "body", + "required": true, + "props": [ + { + "type": "dateTime", + "name": "endAt", + "arg": "$body.endAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "nextMarker", + "arg": "$body.nextMarker", + "format": { + "maxLength": 4096 + } + }, + { + "type": "dateTime", + "name": "startAt", + "arg": "$body.startAt", + "format": { + "protocol": "iso" + } + }, + { + "default": { + "value": 100 + }, + "type": "integer32", + "name": "top", + "arg": "$body.top", + "format": { + "maximum": 100, + "minimum": 1 + } + } + ], + "clientFlatten": true + } + } + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "array", + "name": "annotations", + "required": true, + "item": { + "type": "object", + "props": [ + { + "type": "object", + "name": "annotationDetails", + "required": true, + "additionalProps": { + "item": { + "type": "string", + "format": { + "maxLength": 256 + } + } + } + }, + { + "readOnly": true, + "type": "string", + "name": "annotationId", + "format": { + "maxLength": 256 + } + }, + { + "readOnly": true, + "type": "dateTime", + "name": "createdAt", + "format": { + "protocol": "iso" + } + }, + { + "type": "string", + "name": "description", + "format": { + "maxLength": 4096 + } + } + ] + }, + "identifiers": [ + "annotationId" + ] + }, + { + "type": "string", + "name": "entityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "nextMarker", + "format": { + "maxLength": 4096 + } + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.xml new file mode 100644 index 000000000..1b65e89ca --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0ZGF0YWFubm90YXRpb25z/2026-05-01-preview.xml @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.json new file mode 100644 index 000000000..ff2376cef --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.json @@ -0,0 +1,388 @@ +{ + "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 + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.xml new file mode 100644 index 000000000..87805878f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0aGlzdG9yeQ==/2026-05-01-preview.xml @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-05-01-preview.json new file mode 100644 index 000000000..9fb4d8b11 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-05-01-preview.json @@ -0,0 +1,400 @@ +{ + "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 + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-05-01-preview.xml new file mode 100644 index 000000000..f59cfdde7 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFsaGlzdG9yeQ==/2026-05-01-preview.xml @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.json new file mode 100644 index 000000000..dfbe35ed3 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.json @@ -0,0 +1,373 @@ +{ + "plane": "mgmt-plane", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getsignalrecommendations", + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRTaWduYWxSZWNvbW1lbmRhdGlvbnM=/V/MjAyNi0wNS0wMS1wcmV2aWV3" + } + ], + "commandGroups": [ + { + "name": "monitor health-models entity", + "commands": [ + { + "name": "get-signal-recommendation", + "version": "2026-05-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cloudhealth/healthmodels/{}/entities/{}/getsignalrecommendations", + "version": "2026-05-01-preview", + "swagger": "mgmt-plane/cloudhealth/ResourceProviders/Microsoft.CloudHealth/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2xvdWRIZWFsdGgvaGVhbHRobW9kZWxzL3toZWFsdGhNb2RlbE5hbWV9L2VudGl0aWVzL3tlbnRpdHlOYW1lfS9nZXRTaWduYWxSZWNvbW1lbmRhdGlvbnM=/V/MjAyNi0wNS0wMS1wcmV2aWV3" + } + ], + "argGroups": [ + { + "name": "", + "args": [ + { + "type": "string", + "var": "$Path.entityName", + "options": [ + "entity-name" + ], + "required": true, + "idPart": "child_name_1", + "help": { + "short": "Name of the entity. Must be unique within a health model." + }, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "var": "$Path.healthModelName", + "options": [ + "health-model-name" + ], + "required": true, + "idPart": "name", + "help": { + "short": "Name of health model resource" + }, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "ResourceGroupName", + "var": "$Path.resourceGroupName", + "options": [ + "g", + "resource-group" + ], + "required": true, + "idPart": "resource_group" + }, + { + "type": "SubscriptionId", + "var": "$Path.subscriptionId", + "options": [ + "subscription" + ], + "required": true, + "idPart": "subscription" + } + ] + } + ], + "operations": [ + { + "operationId": "Entities_GetSignalRecommendations", + "http": { + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CloudHealth/healthmodels/{healthModelName}/entities/{entityName}/getSignalRecommendations", + "request": { + "method": "post", + "path": { + "params": [ + { + "type": "string", + "name": "entityName", + "arg": "$Path.entityName", + "required": true, + "format": { + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "healthModelName", + "arg": "$Path.healthModelName", + "required": true, + "format": { + "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,42}[a-zA-Z0-9]$" + } + }, + { + "type": "string", + "name": "resourceGroupName", + "arg": "$Path.resourceGroupName", + "required": true, + "format": { + "maxLength": 90, + "minLength": 1 + } + }, + { + "type": "uuid", + "name": "subscriptionId", + "arg": "$Path.subscriptionId", + "required": true + } + ] + }, + "query": { + "consts": [ + { + "readOnly": true, + "const": true, + "default": { + "value": "2026-05-01-preview" + }, + "type": "string", + "name": "api-version", + "required": true, + "format": { + "minLength": 1 + } + } + ] + } + }, + "responses": [ + { + "statusCode": [ + 200 + ], + "body": { + "json": { + "var": "$Instance", + "schema": { + "type": "object", + "props": [ + { + "type": "array<@SignalConfiguration_read>", + "name": "recommendedConfigurations", + "required": true, + "item": { + "type": "@SignalConfiguration_read" + }, + "identifiers": [ + "signalId" + ] + }, + { + "type": "array", + "name": "recommendedSignals", + "required": true, + "item": { + "type": "object", + "props": [ + { + "type": "string", + "name": "aggregationType", + "enum": { + "items": [ + { + "value": "Average" + }, + { + "value": "Count" + }, + { + "value": "Maximum" + }, + { + "value": "Minimum" + }, + { + "value": "None" + }, + { + "value": "Total" + } + ] + } + }, + { + "type": "string", + "name": "dimensionFilter", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "object", + "name": "evaluationRules", + "props": [ + { + "type": "object", + "name": "degradedRule", + "props": [ + { + "type": "string", + "name": "lookBackWindow", + "enum": { + "items": [ + { + "value": "PT15M" + }, + { + "value": "PT1H" + }, + { + "value": "PT30M" + }, + { + "value": "PT5M" + } + ] + } + }, + { + "type": "string", + "name": "operator", + "required": true, + "enum": { + "items": [ + { + "value": "Dynamic" + }, + { + "value": "Equal" + }, + { + "value": "GreaterThan" + }, + { + "value": "GreaterThanOrEqual" + }, + { + "value": "LessThan" + }, + { + "value": "LessThanOrEqual" + }, + { + "value": "NotEqual" + } + ] + } + }, + { + "type": "string", + "name": "sensitivity", + "enum": { + "items": [ + { + "value": "High" + }, + { + "value": "Low" + }, + { + "value": "Medium" + } + ] + } + }, + { + "type": "float64", + "name": "threshold" + } + ], + "cls": "ThresholdRuleV2_read" + }, + { + "type": "@ThresholdRuleV2_read", + "name": "unhealthyRule", + "required": true + } + ] + }, + { + "type": "string", + "name": "metricName", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "metricNamespace", + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "signalId", + "required": true, + "format": { + "maxLength": 256, + "minLength": 1 + } + }, + { + "type": "string", + "name": "timeGrain", + "format": { + "maxLength": 100, + "minLength": 1 + } + }, + { + "type": "string", + "name": "unit", + "format": { + "maxLength": 100, + "minLength": 1 + } + } + ], + "cls": "SignalConfiguration_read" + }, + "identifiers": [ + "signalId" + ] + } + ] + } + } + } + }, + { + "isError": true, + "body": { + "json": { + "schema": { + "type": "@MgmtErrorFormat" + } + } + } + } + ] + } + } + ], + "outputs": [ + { + "type": "object", + "ref": "$Instance", + "clientFlatten": true + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.xml new file mode 100644 index 000000000..bd38ed143 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vZ2V0c2lnbmFscmVjb21tZW5kYXRpb25z/2026-05-01-preview.xml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.json new file mode 100644 index 000000000..001817942 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.json @@ -0,0 +1,579 @@ +{ + "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" + } + } + } + } + ] + } + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.xml new file mode 100644 index 000000000..c2b63c7c9 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vZW50aXRpZXMve30vaW5nZXN0aGVhbHRocmVwb3J0/2026-05-01-preview.xml @@ -0,0 +1,180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.json new file mode 100644 index 000000000..b9b3ca5fc --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.json @@ -0,0 +1,610 @@ +{ + "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" + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.xml new file mode 100644 index 000000000..f5f916c01 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnM=/2026-05-01-preview.xml @@ -0,0 +1,216 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.json new file mode 100644 index 000000000..a6b54c30a --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.json @@ -0,0 +1,3611 @@ +{ + "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 + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml new file mode 100644 index 000000000..e9ca7af88 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vc2lnbmFsZGVmaW5pdGlvbnMve30=/2026-05-01-preview.xml @@ -0,0 +1,1202 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.json new file mode 100644 index 000000000..a24a0fb57 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.json @@ -0,0 +1,359 @@ +{ + "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" + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.xml new file mode 100644 index 000000000..9351a7643 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcw==/2026-05-01-preview.xml @@ -0,0 +1,127 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.json new file mode 100644 index 000000000..20589ed9f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.json @@ -0,0 +1,1497 @@ +{ + "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 + } + ] + } + ] + } + ] +} diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml new file mode 100644 index 000000000..375719d45 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jbG91ZGhlYWx0aC9oZWFsdGhtb2RlbHMve30vcmVsYXRpb25zaGlwcy97fQ==/2026-05-01-preview.xml @@ -0,0 +1,532 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+