Skip to content

Commit 46b454e

Browse files
royreinRoy Reinhorn
authored andcommitted
Fix Flatten In AutomationRules Modles (Azure#17840)
* Fix * operation Co-authored-by: Roy Reinhorn <roreinho@microsoft.com>
1 parent 8608b46 commit 46b454e

File tree

1 file changed

+5
-5
lines changed
  • specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview

1 file changed

+5
-5
lines changed

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-10-01-preview/AutomationRules.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@
226226
"manualTrigger"
227227
],
228228
"description": "Triggers playbook on a specific incident",
229-
"operationId": "AutomationRules_ManualTriggerPlaybook",
229+
"operationId": "Incidents_RunPlaybook",
230230
"consumes": [
231231
"application/json"
232232
],
@@ -366,11 +366,11 @@
366366
"properties": {
367367
"actionConfiguration": {
368368
"type": "object",
369-
"x-ms-client-flatten": true,
370369
"$ref": "#/definitions/IncidentPropertiesAction"
371370
}
372371
},
373-
"x-ms-discriminator-value": "ModifyProperties"
372+
"x-ms-discriminator-value": "ModifyProperties",
373+
"x-ms-client-flatten": true
374374
},
375375
"AutomationRuleProperties": {
376376
"description": "Automation rule properties",
@@ -786,10 +786,10 @@
786786
"properties": {
787787
"actionConfiguration": {
788788
"type": "object",
789-
"x-ms-client-flatten": true,
790789
"$ref": "#/definitions/PlaybookActionProperties"
791790
}
792791
},
792+
"x-ms-client-flatten": true,
793793
"x-ms-discriminator-value": "RunPlaybook"
794794
},
795795
"AutomationRulesList": {
@@ -927,10 +927,10 @@
927927
"properties": {
928928
"conditionProperties": {
929929
"type": "object",
930-
"x-ms-client-flatten": true,
931930
"$ref": "#/definitions/AutomationRulePropertyValuesCondition"
932931
}
933932
},
933+
"x-ms-client-flatten": true,
934934
"x-ms-discriminator-value": "Property"
935935
},
936936
"triggersOn": {

0 commit comments

Comments
 (0)