{ "title": "SignalDefinitions_CreateOrUpdate", "operationId": "SignalDefinitions_CreateOrUpdate", "parameters": { "api-version": "2026-05-01-preview", "subscriptionId": "4980D7D5-4E07-47AD-AD34-E76C6BC9F061", "resourceGroupName": "rgopenapi", "healthModelName": "myHealthModel", "signalDefinitionName": "sig1", "resource": { "properties": { "metricNamespace": "microsoft.compute/virtualMachines", "metricName": "cpuusage", "aggregationType": "None", "dimensionFilter": "node eq '*'", "displayName": "cpu usage", "signalKind": "AzureResourceMetric", "refreshInterval": "PT1M", "tags": { "key4788": "ixfvzsfnpvkkbrce" }, "timeGrain": "PT1M", "dataUnit": "byte", "evaluationRules": { "degradedRule": { "operator": "GreaterThan", "threshold": 70 }, "unhealthyRule": { "operator": "Dynamic", "sensitivity": "Medium", "lookBackWindow": "PT7D" } } } } }, "responses": { "200": { "body": { "properties": { "metricNamespace": "microsoft.compute/virtualMachines", "metricName": "cpuusage", "aggregationType": "None", "dimensionFilter": "node eq '*'", "provisioningState": "Succeeded", "displayName": "cpu usage", "signalKind": "AzureResourceMetric", "refreshInterval": "PT1M", "tags": { "key4788": "ixfvzsfnpvkkbrce" }, "timeGrain": "PT1M", "dataUnit": "byte", "evaluationRules": { "degradedRule": { "operator": "LowerThan", "threshold": 65 }, "unhealthyRule": { "operator": "LowerThan", "threshold": 60 } } }, "id": "/subscriptions/4980D7D5-4E07-47AD-AD34-E76C6BC9F061/resourceGroups/rgopenapi/providers/Microsoft.CloudHealth/healthmodels/myHealthModel/signalDefinitions/sig1", "name": "sig1", "type": "Microsoft.CloudHealth/healthmodels/signalDefinitions", "systemData": { "createdBy": "cbhzxxlvkmufetjjjwtk", "createdByType": "User", "createdAt": "2023-09-18T14:04:09.327Z", "lastModifiedBy": "arz", "lastModifiedByType": "User", "lastModifiedAt": "2023-09-18T14:04:09.328Z" } } }, "201": { "body": { "properties": { "metricNamespace": "microsoft.compute/virtualMachines", "metricName": "cpuusage", "aggregationType": "None", "dimensionFilter": "node eq '*'", "provisioningState": "Succeeded", "displayName": "cpu usage", "signalKind": "AzureResourceMetric", "refreshInterval": "PT1M", "tags": { "key4788": "ixfvzsfnpvkkbrce" }, "timeGrain": "PT1M", "dataUnit": "byte", "evaluationRules": { "degradedRule": { "operator": "LowerThan", "threshold": 65 }, "unhealthyRule": { "operator": "LowerThan", "threshold": 60 } } }, "id": "/subscriptions/4980D7D5-4E07-47AD-AD34-E76C6BC9F061/resourceGroups/rgopenapi/providers/Microsoft.CloudHealth/healthmodels/myHealthModel/signalDefinitions/sig1", "name": "sig1", "type": "Microsoft.CloudHealth/healthmodels/signalDefinitions", "systemData": { "createdBy": "cbhzxxlvkmufetjjjwtk", "createdByType": "User", "createdAt": "2023-09-18T14:04:09.327Z", "lastModifiedBy": "arz", "lastModifiedByType": "User", "lastModifiedAt": "2023-09-18T14:04:09.328Z" } } } } }