diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/machineLearningServices.json index 993a56ad54fc..5b333e7022a7 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/machineLearningServices.json @@ -3669,8 +3669,7 @@ "schedules": { "description": "The list of schedules to be applied on the computes.", "$ref": "#/definitions/ComputeSchedules", - "x-nullable": true, - "readOnly": true + "x-nullable": true }, "enableNodePublicIp": { "type": "boolean", @@ -4891,11 +4890,11 @@ }, "recurrence": { "description": "Required if triggerType is Recurrence.", - "$ref": "./mfe.json#/definitions/RecurrenceTrigger" + "$ref": "#/definitions/Recurrence" }, "cron": { "description": "Required if triggerType is Cron.", - "$ref": "./mfe.json#/definitions/CronTrigger" + "$ref": "#/definitions/Cron" }, "schedule": { "description": "[Deprecated] Not used any more.", @@ -4978,6 +4977,55 @@ "modelAsString": true } }, + "Recurrence": { + "type": "object", + "description": "The workflow trigger recurrence for ComputeStartStop schedule type.", + "properties": { + "frequency": { + "description": "[Required] The frequency to trigger schedule.", + "$ref": "./mfe.json#/definitions/RecurrenceFrequency" + }, + "interval": { + "description": "[Required] Specifies schedule interval in conjunction with frequency", + "type": "integer", + "format": "int32" + }, + "startTime": { + "description": "The start time in yyyy-MM-ddTHH:mm:ss format.", + "type": "string", + "x-nullable": true + }, + "timeZone": { + "description": "Specifies time zone in which the schedule runs.\r\nTimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11", + "default": "UTC", + "type": "string" + }, + "schedule": { + "description": "[Required] The recurrence schedule.", + "$ref": "./mfe.json#/definitions/RecurrenceSchedule" + } + } + }, + "Cron": { + "type": "object", + "description": "The workflow trigger cron for ComputeStartStop schedule type.", + "properties": { + "startTime": { + "description": "The start time in yyyy-MM-ddTHH:mm:ss format.", + "type": "string", + "x-nullable": true + }, + "timeZone": { + "description": "Specifies time zone in which the schedule runs.\r\nTimeZone should follow Windows time zone format. Refer: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11", + "type": "string", + "default": "UTC" + }, + "expression": { + "description": "[Required] Specifies cron expression of schedule.\r\nThe expression should follow NCronTab format.", + "type": "string" + } + } + }, "ComputeInstanceDataMount": { "type": "object", "description": "Defines an Aml Instance DataMount.",