From a0d051c7736250794b96d21ecf5711a5eeca5c21 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 9 Feb 2022 05:15:31 +0000 Subject: [PATCH] CodeGen from PR 17598 in Azure/azure-rest-api-specs Merge 2347781c120c2f7ffe85de53c204c3ab85d884e2 into abb41537b416b30bfe9fca6df98ad0fc64cfb1d7 --- schemas/2019-06-01/Microsoft.Automation.json | 50 +++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/schemas/2019-06-01/Microsoft.Automation.json b/schemas/2019-06-01/Microsoft.Automation.json index 26b7f651f3..d09b15d79c 100644 --- a/schemas/2019-06-01/Microsoft.Automation.json +++ b/schemas/2019-06-01/Microsoft.Automation.json @@ -1119,6 +1119,54 @@ }, "description": "The properties of the create Advanced Schedule." }, + "AdvancedScheduleModel": { + "type": "object", + "properties": { + "monthDays": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "integer" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Days of the month that the job should execute on. Must be between 1 and 31." + }, + "monthlyOccurrences": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AdvancedScheduleMonthlyOccurrence" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Occurrences of days within a month." + }, + "weekDays": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Days of the week that the job should execute on." + } + }, + "description": "The properties of the create Advanced Schedule." + }, "AdvancedScheduleMonthlyOccurrence": { "type": "object", "properties": { @@ -3012,7 +3060,7 @@ "advancedSchedule": { "oneOf": [ { - "$ref": "#/definitions/AdvancedSchedule" + "$ref": "#/definitions/AdvancedScheduleModel" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"