Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Stable Oct GA] Bring Back Scheduled Shutdown MLC models #23069

Merged
merged 1 commit into from
Mar 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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.",
Expand Down Expand Up @@ -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.",
Expand Down