From 2d75ca929c9d06cbf7a10e58f1448a2baebfc6dd Mon Sep 17 00:00:00 2001 From: Eran Gonen Date: Thu, 17 Sep 2020 16:33:17 +0300 Subject: [PATCH] Fixed ActionRule's polymorphism via discriminator --- .../2019-05-05-preview/ActionRules.json | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/ActionRules.json b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/ActionRules.json index 25123080680b..a441d6e0b967 100644 --- a/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/ActionRules.json +++ b/specification/alertsmanagement/resource-manager/Microsoft.AlertsManagement/preview/2019-05-05-preview/ActionRules.json @@ -850,15 +850,15 @@ "$ref": "#/definitions/ActionRuleProperties" }, { - "type": "object" - } - ], - "properties": { - "suppressionConfig": { - "description": "suppression configuration for the action rule", - "$ref": "#/definitions/SuppressionConfig" + "type": "object", + "properties": { + "suppressionConfig": { + "description": "suppression configuration for the action rule", + "$ref": "#/definitions/SuppressionConfig" + } + } } - } + ] }, "ActionGroup": { "title": "Action Group based Action Rule", @@ -871,15 +871,15 @@ "$ref": "#/definitions/ActionRuleProperties" }, { - "type": "object" - } - ], - "properties": { - "actionGroupId": { - "type": "string", - "description": "Action group to trigger if action rule matches" + "type": "object", + "properties": { + "actionGroupId": { + "type": "string", + "description": "Action group to trigger if action rule matches" + } + } } - } + ] }, "Diagnostics": { "title": "Diagnostics based Action Rule",