|
3669 | 3669 | "schedules": {
|
3670 | 3670 | "description": "The list of schedules to be applied on the computes.",
|
3671 | 3671 | "$ref": "#/definitions/ComputeSchedules",
|
3672 |
| - "x-nullable": true, |
3673 |
| - "readOnly": true |
| 3672 | + "x-nullable": true |
3674 | 3673 | },
|
3675 | 3674 | "enableNodePublicIp": {
|
3676 | 3675 | "type": "boolean",
|
|
4891 | 4890 | },
|
4892 | 4891 | "recurrence": {
|
4893 | 4892 | "description": "Required if triggerType is Recurrence.",
|
4894 |
| - "$ref": "./mfe.json#/definitions/RecurrenceTrigger" |
| 4893 | + "$ref": "#/definitions/Recurrence" |
4895 | 4894 | },
|
4896 | 4895 | "cron": {
|
4897 | 4896 | "description": "Required if triggerType is Cron.",
|
4898 |
| - "$ref": "./mfe.json#/definitions/CronTrigger" |
| 4897 | + "$ref": "#/definitions/Cron" |
4899 | 4898 | },
|
4900 | 4899 | "schedule": {
|
4901 | 4900 | "description": "[Deprecated] Not used any more.",
|
|
4978 | 4977 | "modelAsString": true
|
4979 | 4978 | }
|
4980 | 4979 | },
|
| 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 | + }, |
4981 | 5029 | "ComputeInstanceDataMount": {
|
4982 | 5030 | "type": "object",
|
4983 | 5031 | "description": "Defines an Aml Instance DataMount.",
|
|
0 commit comments