Skip to content

Commit 4ede5fd

Browse files
namanag16Naman Agarwal
andauthored
[Stable Oct GA] Bring back Scheduled Shutdown MLC models (#23069)
Co-authored-by: Naman Agarwal <[email protected]>
1 parent 7e5861a commit 4ede5fd

File tree

1 file changed

+52
-4
lines changed

1 file changed

+52
-4
lines changed

specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-10-01/machineLearningServices.json

Lines changed: 52 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3669,8 +3669,7 @@
36693669
"schedules": {
36703670
"description": "The list of schedules to be applied on the computes.",
36713671
"$ref": "#/definitions/ComputeSchedules",
3672-
"x-nullable": true,
3673-
"readOnly": true
3672+
"x-nullable": true
36743673
},
36753674
"enableNodePublicIp": {
36763675
"type": "boolean",
@@ -4891,11 +4890,11 @@
48914890
},
48924891
"recurrence": {
48934892
"description": "Required if triggerType is Recurrence.",
4894-
"$ref": "./mfe.json#/definitions/RecurrenceTrigger"
4893+
"$ref": "#/definitions/Recurrence"
48954894
},
48964895
"cron": {
48974896
"description": "Required if triggerType is Cron.",
4898-
"$ref": "./mfe.json#/definitions/CronTrigger"
4897+
"$ref": "#/definitions/Cron"
48994898
},
49004899
"schedule": {
49014900
"description": "[Deprecated] Not used any more.",
@@ -4978,6 +4977,55 @@
49784977
"modelAsString": true
49794978
}
49804979
},
4980+
"Recurrence": {
4981+
"type": "object",
4982+
"description": "The workflow trigger recurrence for ComputeStartStop schedule type.",
4983+
"properties": {
4984+
"frequency": {
4985+
"description": "[Required] The frequency to trigger schedule.",
4986+
"$ref": "./mfe.json#/definitions/RecurrenceFrequency"
4987+
},
4988+
"interval": {
4989+
"description": "[Required] Specifies schedule interval in conjunction with frequency",
4990+
"type": "integer",
4991+
"format": "int32"
4992+
},
4993+
"startTime": {
4994+
"description": "The start time in yyyy-MM-ddTHH:mm:ss format.",
4995+
"type": "string",
4996+
"x-nullable": true
4997+
},
4998+
"timeZone": {
4999+
"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",
5000+
"default": "UTC",
5001+
"type": "string"
5002+
},
5003+
"schedule": {
5004+
"description": "[Required] The recurrence schedule.",
5005+
"$ref": "./mfe.json#/definitions/RecurrenceSchedule"
5006+
}
5007+
}
5008+
},
5009+
"Cron": {
5010+
"type": "object",
5011+
"description": "The workflow trigger cron for ComputeStartStop schedule type.",
5012+
"properties": {
5013+
"startTime": {
5014+
"description": "The start time in yyyy-MM-ddTHH:mm:ss format.",
5015+
"type": "string",
5016+
"x-nullable": true
5017+
},
5018+
"timeZone": {
5019+
"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",
5020+
"type": "string",
5021+
"default": "UTC"
5022+
},
5023+
"expression": {
5024+
"description": "[Required] Specifies cron expression of schedule.\r\nThe expression should follow NCronTab format.",
5025+
"type": "string"
5026+
}
5027+
}
5028+
},
49815029
"ComputeInstanceDataMount": {
49825030
"type": "object",
49835031
"description": "Defines an Aml Instance DataMount.",

0 commit comments

Comments
 (0)