You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/ResourceHealthAlertRules.json
+27-8Lines changed: 27 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -457,7 +457,7 @@
457
457
"namespace": {
458
458
"type": "string",
459
459
"enum": [
460
-
"VmGuestHealth"
460
+
"GuestVmHealth"
461
461
],
462
462
"x-ms-enum": {
463
463
"name": "HealthAlertsNamespace",
@@ -472,17 +472,27 @@
472
472
"description": "The rule criterion that defines the conditions of the alert rule."
473
473
},
474
474
"VmGuestHealthAlertCriterion": {
475
-
"x-ms-discriminator-value": "VmGuestHealth",
475
+
"x-ms-discriminator-value": "GuestVmHealth",
476
476
"type": "object",
477
477
"allOf": [
478
478
{
479
479
"$ref": "#/definitions/HealthAlertCriterion"
480
480
}
481
481
],
482
482
"properties": {
483
-
"healthMonitorName": {
484
-
"type": "string",
485
-
"description": "Name of health monitor on which to define alert"
483
+
"monitorNames": {
484
+
"type": "array",
485
+
"items": {
486
+
"type": "string"
487
+
},
488
+
"description": "Names of health monitor on which to define alert"
489
+
},
490
+
"monitorTypes": {
491
+
"type": "array",
492
+
"items": {
493
+
"type": "string"
494
+
},
495
+
"description": "Names of health monitor type on which to define alert"
486
496
},
487
497
"healthStates": {
488
498
"type": "array",
@@ -493,7 +503,7 @@
493
503
}
494
504
},
495
505
"required": [
496
-
"healthMonitorName"
506
+
"healthStates"
497
507
],
498
508
"description": "Specifies the health alert criteria to alert on."
Copy file name to clipboardExpand all lines: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/createOrUpdateResourceHealthAlertRule.json
Copy file name to clipboardExpand all lines: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/getResourceHealthAlertRule.json
Copy file name to clipboardExpand all lines: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/listResourceHealthAlertRules.json
Copy file name to clipboardExpand all lines: specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2020-08-04-preview/examples/patchResourceHealthAlertRule.json
0 commit comments