|
4881 | 4881 | }, |
4882 | 4882 | "triggerType": { |
4883 | 4883 | "description": "[Required] The schedule trigger type.", |
4884 | | - "$ref": "#/definitions/TriggerType" |
| 4884 | + "$ref": "./mfe.json#/definitions/TriggerType" |
4885 | 4885 | }, |
4886 | 4886 | "recurrence": { |
4887 | 4887 | "description": "Required if triggerType is Recurrence.", |
4888 | | - "$ref": "#/definitions/Recurrence" |
| 4888 | + "$ref": "./mfe.json#/definitions/RecurrenceTrigger" |
4889 | 4889 | }, |
4890 | 4890 | "cron": { |
4891 | 4891 | "description": "Required if triggerType is Cron.", |
4892 | | - "$ref": "#/definitions/Cron" |
| 4892 | + "$ref": "./mfe.json#/definitions/CronTrigger" |
4893 | 4893 | }, |
4894 | 4894 | "schedule": { |
4895 | 4895 | "description": "[Deprecated] Not used any more.", |
|
4972 | 4972 | "modelAsString": true |
4973 | 4973 | } |
4974 | 4974 | }, |
4975 | | - "TriggerType": { |
4976 | | - "type": "string", |
4977 | | - "description": "The schedule trigger type.", |
4978 | | - "enum": [ |
4979 | | - "Recurrence", |
4980 | | - "Cron" |
4981 | | - ], |
4982 | | - "x-ms-enum": { |
4983 | | - "name": "TriggerType", |
4984 | | - "modelAsString": true |
4985 | | - } |
4986 | | - }, |
4987 | | - "Recurrence": { |
4988 | | - "type": "object", |
4989 | | - "description": "The workflow trigger recurrence for ComputeStartStop schedule type.", |
4990 | | - "properties": { |
4991 | | - "frequency": { |
4992 | | - "description": "[Required] The frequency to trigger schedule.", |
4993 | | - "$ref": "#/definitions/RecurrenceFrequency" |
4994 | | - }, |
4995 | | - "interval": { |
4996 | | - "description": "[Required] Specifies schedule interval in conjunction with frequency", |
4997 | | - "type": "integer", |
4998 | | - "format": "int32" |
4999 | | - }, |
5000 | | - "startTime": { |
5001 | | - "description": "The start time in yyyy-MM-ddTHH:mm:ss format.", |
5002 | | - "type": "string", |
5003 | | - "x-nullable": true |
5004 | | - }, |
5005 | | - "timeZone": { |
5006 | | - "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", |
5007 | | - "default": "UTC", |
5008 | | - "type": "string" |
5009 | | - }, |
5010 | | - "schedule": { |
5011 | | - "description": "[Required] The recurrence schedule.", |
5012 | | - "$ref": "#/definitions/RecurrenceSchedule" |
5013 | | - } |
5014 | | - } |
5015 | | - }, |
5016 | | - "RecurrenceFrequency": { |
5017 | | - "type": "string", |
5018 | | - "description": "Enum to describe the frequency of a recurrence schedule", |
5019 | | - "enum": [ |
5020 | | - "Minute", |
5021 | | - "Hour", |
5022 | | - "Day", |
5023 | | - "Week", |
5024 | | - "Month" |
5025 | | - ], |
5026 | | - "x-ms-enum": { |
5027 | | - "name": "RecurrenceFrequency", |
5028 | | - "modelAsString": true |
5029 | | - }, |
5030 | | - "additionalProperties": false |
5031 | | - }, |
5032 | | - "RecurrenceSchedule": { |
5033 | | - "type": "object", |
5034 | | - "properties": { |
5035 | | - "minutes": { |
5036 | | - "description": "[Required] List of minutes for the schedule.", |
5037 | | - "type": "array", |
5038 | | - "items": { |
5039 | | - "type": "integer", |
5040 | | - "format": "int32" |
5041 | | - } |
5042 | | - }, |
5043 | | - "hours": { |
5044 | | - "description": "[Required] List of hours for the schedule.", |
5045 | | - "type": "array", |
5046 | | - "items": { |
5047 | | - "type": "integer", |
5048 | | - "format": "int32" |
5049 | | - } |
5050 | | - }, |
5051 | | - "weekDays": { |
5052 | | - "description": "List of days for the schedule.", |
5053 | | - "type": "array", |
5054 | | - "items": { |
5055 | | - "type": "string", |
5056 | | - "enum": [ |
5057 | | - "Sunday", |
5058 | | - "Monday", |
5059 | | - "Tuesday", |
5060 | | - "Wednesday", |
5061 | | - "Thursday", |
5062 | | - "Friday", |
5063 | | - "Saturday" |
5064 | | - ], |
5065 | | - "x-ms-enum": { |
5066 | | - "name": "DaysOfWeek", |
5067 | | - "modelAsString": false |
5068 | | - } |
5069 | | - }, |
5070 | | - "x-nullable": true |
5071 | | - } |
5072 | | - }, |
5073 | | - "additionalProperties": false |
5074 | | - }, |
5075 | | - "Cron": { |
5076 | | - "type": "object", |
5077 | | - "description": "The workflow trigger cron for ComputeStartStop schedule type.", |
5078 | | - "properties": { |
5079 | | - "startTime": { |
5080 | | - "description": "The start time in yyyy-MM-ddTHH:mm:ss format.", |
5081 | | - "type": "string", |
5082 | | - "x-nullable": true |
5083 | | - }, |
5084 | | - "timeZone": { |
5085 | | - "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", |
5086 | | - "type": "string", |
5087 | | - "default": "UTC" |
5088 | | - }, |
5089 | | - "expression": { |
5090 | | - "description": "[Required] Specifies cron expression of schedule.\r\nThe expression should follow NCronTab format.", |
5091 | | - "type": "string" |
5092 | | - } |
5093 | | - } |
5094 | | - }, |
5095 | 4975 | "ComputeInstanceDataMount": { |
5096 | 4976 | "type": "object", |
5097 | 4977 | "description": "Defines an Aml Instance DataMount.", |
|
0 commit comments