Skip to content

Commit 46e020f

Browse files
author
msftbot[bot]
authored
2 parents 3942046 + 8b12c10 commit 46e020f

File tree

1 file changed

+49
-1
lines changed

1 file changed

+49
-1
lines changed

schemas/2019-06-01/Microsoft.Automation.json

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1119,6 +1119,54 @@
11191119
},
11201120
"description": "The properties of the create Advanced Schedule."
11211121
},
1122+
"AdvancedScheduleModel": {
1123+
"type": "object",
1124+
"properties": {
1125+
"monthDays": {
1126+
"oneOf": [
1127+
{
1128+
"type": "array",
1129+
"items": {
1130+
"type": "integer"
1131+
}
1132+
},
1133+
{
1134+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1135+
}
1136+
],
1137+
"description": "Days of the month that the job should execute on. Must be between 1 and 31."
1138+
},
1139+
"monthlyOccurrences": {
1140+
"oneOf": [
1141+
{
1142+
"type": "array",
1143+
"items": {
1144+
"$ref": "#/definitions/AdvancedScheduleMonthlyOccurrence"
1145+
}
1146+
},
1147+
{
1148+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1149+
}
1150+
],
1151+
"description": "Occurrences of days within a month."
1152+
},
1153+
"weekDays": {
1154+
"oneOf": [
1155+
{
1156+
"type": "array",
1157+
"items": {
1158+
"type": "string"
1159+
}
1160+
},
1161+
{
1162+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1163+
}
1164+
],
1165+
"description": "Days of the week that the job should execute on."
1166+
}
1167+
},
1168+
"description": "The properties of the create Advanced Schedule."
1169+
},
11221170
"AdvancedScheduleMonthlyOccurrence": {
11231171
"type": "object",
11241172
"properties": {
@@ -3012,7 +3060,7 @@
30123060
"advancedSchedule": {
30133061
"oneOf": [
30143062
{
3015-
"$ref": "#/definitions/AdvancedSchedule"
3063+
"$ref": "#/definitions/AdvancedScheduleModel"
30163064
},
30173065
{
30183066
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"

0 commit comments

Comments
 (0)