From 73bd1bbc5408dbd6f4b3fa92284d3dec91e3b331 Mon Sep 17 00:00:00 2001 From: Erik Johnson Date: Mon, 11 Apr 2022 16:30:23 -0500 Subject: [PATCH] Add ScheduleBase types to machineLearningServices.json --- .../2022-05-01/machineLearningServices.json | 62 ++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2022-05-01/machineLearningServices.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2022-05-01/machineLearningServices.json index 66aba388a083..63e8aacf007d 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2022-05-01/machineLearningServices.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2022-05-01/machineLearningServices.json @@ -4807,10 +4807,70 @@ "$ref": "#/definitions/ComputePowerAction" }, "schedule": { - "$ref": "mfe.json#/definitions/ScheduleBase" + "$ref": "#/definitions/ScheduleBase" } } }, + "ScheduleBase": { + "type": "object", + "properties": { + "id": { + "type": "string", + "x-nullable": true + }, + "provisioningStatus": { + "$ref": "#/definitions/ScheduleProvisioningState" + }, + "status": { + "$ref": "#/definitions/ScheduleStatus" + } + }, + "additionalProperties": false + }, + "ScheduleProvisioningState": { + "enum": [ + "Completed", + "Provisioning", + "Failed" + ], + "type": "string", + "x-ms-enum": { + "name": "ScheduleProvisioningState", + "modelAsString": true, + "values": [ + { + "value": "Completed" + }, + { + "value": "Provisioning" + }, + { + "value": "Failed" + } + ] + }, + "additionalProperties": false + }, + "ScheduleStatus": { + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "ScheduleStatus", + "modelAsString": true, + "values": [ + { + "value": "Enabled" + }, + { + "value": "Disabled" + } + ] + }, + "additionalProperties": false + }, "ComputePowerAction": { "type": "string", "description": "The compute power action.",