Skip to content

Commit

Permalink
AutomationRules 2022-01-01-preview: Add constraints (#18099)
Browse files Browse the repository at this point in the history
* add contraints (alinged with the latest stable version)
  • Loading branch information
dosegal authored Mar 7, 2022
1 parent 193b0a7 commit 9e507ac
Showing 1 changed file with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -384,12 +384,15 @@
"properties": {
"displayName": {
"description": "The display name of the automation rule",
"type": "string"
"type": "string",
"maxLength": 500
},
"order": {
"format": "int32",
"description": "The order of execution of the automation rule",
"type": "integer"
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"triggeringLogic": {
"$ref": "#/definitions/AutomationRuleTriggeringLogic"
Expand All @@ -399,7 +402,9 @@
"type": "array",
"items": {
"$ref": "#/definitions/AutomationRuleAction"
}
},
"x-ms-identifiers": [],
"maxItems": 20
},
"lastModifiedTimeUtc": {
"format": "date-time",
Expand Down Expand Up @@ -833,9 +838,13 @@
"conditions": {
"description": "The conditions to evaluate to determine if the automation rule should be triggered on a given object",
"type": "array",
"maxItems": 50,
"items": {
"$ref": "#/definitions/AutomationRuleCondition"
}
},
"x-ms-identifiers": [
"conditionType"
]
}
}
},
Expand Down

0 comments on commit 9e507ac

Please sign in to comment.