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.",