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

Removed duplicate definitions and updated with mfe references #20840

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 @@ -4881,15 +4881,15 @@
},
"triggerType": {
"description": "[Required] The schedule trigger type.",
"$ref": "#/definitions/TriggerType"
"$ref": "./mfe.json#/definitions/TriggerType"
},
"recurrence": {
"description": "Required if triggerType is Recurrence.",
"$ref": "#/definitions/Recurrence"
"$ref": "./mfe.json#/definitions/RecurrenceTrigger"
},
"cron": {
"description": "Required if triggerType is Cron.",
"$ref": "#/definitions/Cron"
"$ref": "./mfe.json#/definitions/CronTrigger"
},
"schedule": {
"description": "[Deprecated] Not used any more.",
Expand Down Expand Up @@ -4972,126 +4972,6 @@
"modelAsString": true
}
},
"TriggerType": {
"type": "string",
"description": "The schedule trigger type.",
"enum": [
"Recurrence",
"Cron"
],
"x-ms-enum": {
"name": "TriggerType",
"modelAsString": true
}
},
"Recurrence": {
"type": "object",
"description": "The workflow trigger recurrence for ComputeStartStop schedule type.",
"properties": {
"frequency": {
"description": "[Required] The frequency to trigger schedule.",
"$ref": "#/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": "#/definitions/RecurrenceSchedule"
}
}
},
"RecurrenceFrequency": {
"type": "string",
"description": "Enum to describe the frequency of a recurrence schedule",
"enum": [
"Minute",
"Hour",
"Day",
"Week",
"Month"
],
"x-ms-enum": {
"name": "RecurrenceFrequency",
"modelAsString": true
},
"additionalProperties": false
},
"RecurrenceSchedule": {
"type": "object",
"properties": {
"minutes": {
"description": "[Required] List of minutes for the schedule.",
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
},
"hours": {
"description": "[Required] List of hours for the schedule.",
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
},
"weekDays": {
"description": "List of days for the schedule.",
"type": "array",
"items": {
"type": "string",
"enum": [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
],
"x-ms-enum": {
"name": "DaysOfWeek",
"modelAsString": false
}
},
"x-nullable": true
}
},
"additionalProperties": false
},
"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