Skip to content

Commit

Permalink
Merge pull request #6 from needuv/patch-2
Browse files Browse the repository at this point in the history
Update MLServices with CI Schedule
  • Loading branch information
debuggerXi authored Apr 6, 2022
2 parents 2ac68df + 5d3c7db commit ad068ac
Showing 1 changed file with 208 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3584,6 +3584,10 @@
"description": "The last operation on ComputeInstance.",
"$ref": "#/definitions/ComputeInstanceLastOperation",
"readOnly": true
},
"schedules": {
"description": "The list of schedules to be applied on the compute instance.",
"$ref": "#/definitions/ComputeSchedules"
}
}
},
Expand Down Expand Up @@ -5261,6 +5265,210 @@
}
}
}
},
"ComputeStartStopSchedule": {
"type": "object",
"description": "Compute start stop schedule properties",
"properties": {
"id": {
"description": "Schedule id.",
"readOnly": true,
"type": "string"
},
"provisioningStatus": {
"type": "string",
"enum": [
"Completed",
"Provisioning",
"Failed"
],
"x-ms-enum": {
"name": "provisioningStatus",
"modelAsString": true
},
"readOnly": true,
"description": "The current deployment state of schedule."
},
"status": {
"$ref": "#/definitions/ScheduleStatus"
},
"triggerType": {
"$ref": "#/definitions/TriggerType"
},
"action": {
"$ref": "#/definitions/ComputePowerAction"
},
"recurrence": {
"$ref": "#/definitions/Recurrence"
},
"cron": {
"$ref": "#/definitions/Cron"
}
}
},
"ScheduleStatus": {
"type": "string",
"description": "The schedule status.",
"enum": [
"Enabled",
"Disabled"
],
"x-ms-enum": {
"name": "ScheduleStatus",
"modelAsString": true
}
},
"ScheduleType": {
"type": "string",
"description": "The schedule type.",
"enum": [
"ComputeStartStop"
],
"x-ms-enum": {
"name": "ScheduleType",
"modelAsString": true
}
},
"ComputePowerAction": {
"type": "string",
"description": "The compute power action.",
"enum": [
"Start",
"Stop"
],
"x-ms-enum": {
"name": "ComputePowerAction",
"modelAsString": true
}
},
"TriggerType": {
"type": "string",
"description": "The schedule trigger type.",
"enum": [
"Recurrence",
"Cron"
],
"x-ms-enum": {
"name": "TriggerType",
"modelAsString": true
}
},
"RecurrenceFrequency": {
"type": "string",
"description": "The recurrence frequency.",
"enum": [
"NotSpecified",
"Second",
"Minute",
"Hour",
"Day",
"Week",
"Month",
"Year"
],
"x-ms-enum": {
"name": "RecurrenceFrequency",
"modelAsString": true
}
},
"RecurrenceSchedule": {
"type": "object",
"description": "The recurrence schedule",
"properties": {
"minutes": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"description": "The minutes."
},
"hours": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"description": "The hours."
},
"weekDays": {
"type": "array",
"items": {
"type": "string",
"enum": [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
],
"x-ms-enum": {
"name": "DaysOfWeek",
"modelAsString": false
}
},
"description": "The days of the week."
}
}
},
"Recurrence": {
"type": "object",
"description": "The workflow trigger recurrence for ComputeStartStop schedule type.",
"properties": {
"frequency": {
"$ref": "#/definitions/RecurrenceFrequency"
},
"interval": {
"type": "integer",
"format": "int32",
"description": "The interval."
},
"startTime": {
"type": "string",
"description": "The start time."
},
"timeZone": {
"type": "string",
"description": "The time zone."
},
"schedule": {
"$ref": "#/definitions/RecurrenceSchedule"
}
}
},
"Cron": {
"type": "object",
"description": "The workflow trigger cron for ComputeStartStop schedule type.",
"properties": {
"startTime": {
"type": "string",
"description": "The start time."
},
"timeZone": {
"type": "string",
"description": "The time zone."
},
"expression": {
"type": "string",
"description": "The cron expression."
}
}
},
"ComputeSchedules": {
"type": "object",
"description": "The list of schedules to be applied on the computes",
"properties": {
"computeStartStop": {
"type": "array",
"items": {
"$ref": "#/definitions/ComputeStartStopSchedule"
},
"description": "The list of compute start stop schedules to be applied."
}
}
}
}
}

0 comments on commit ad068ac

Please sign in to comment.