From 60869048945409b0b438403cb0f0b8cf10d33ff4 Mon Sep 17 00:00:00 2001 From: ac923 Date: Wed, 13 Sep 2023 14:23:59 -0400 Subject: [PATCH] adding queue settings to Oct 2023 stable api version (#25765) * adding queue settings to Oct 2023 stable api version * update new line --------- Co-authored-by: Aaheli Chattopadhyay --- .../stable/2023-10-01/mfe.json | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2023-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2023-10-01/mfe.json index 63a3850fe155..0381d1acaa06 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2023-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2023-10-01/mfe.json @@ -9279,6 +9279,15 @@ ], "x-nullable": true }, + "queueSettings": { + "description": "Queue settings for the job", + "$ref": "#/definitions/QueueSettings", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, "resources": { "description": "Compute Resource configuration for the job.", "default": "{}", @@ -10650,6 +10659,15 @@ ], "x-nullable": true }, + "queueSettings": { + "description": "Queue settings for the job", + "$ref": "#/definitions/QueueSettings", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, "resources": { "description": "Compute Resource configuration for the job.", "default": "{}", @@ -13937,6 +13955,39 @@ }, "additionalProperties": false }, + "JobTier": { + "description": "Enum to determine the job tier.", + "enum": [ + "Null", + "Spot", + "Basic", + "Standard", + "Premium" + ], + "type": "string", + "x-ms-enum": { + "name": "JobTier", + "modelAsString": true, + "values": [ + { + "value": "Null" + }, + { + "value": "Spot" + }, + { + "value": "Basic" + }, + { + "value": "Standard" + }, + { + "value": "Premium" + } + ] + }, + "additionalProperties": false + }, "JobType": { "description": "Enum to determine the type of job.", "enum": [ @@ -15373,6 +15424,31 @@ "x-ms-discriminator-value": "PyTorch", "additionalProperties": false }, + "QueueSettings": { + "type": "object", + "properties": { + "jobTier": { + "description": "Controls the compute job tier", + "default": "Null", + "$ref": "#/definitions/JobTier", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "priority": { + "format": "int32", + "description": "Controls the priority of the job on a compute.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, "RandomSamplingAlgorithm": { "description": "Defines a Sampling Algorithm that generates values randomly", "type": "object", @@ -16614,6 +16690,15 @@ ], "x-nullable": true }, + "queueSettings": { + "description": "Queue settings for the job", + "$ref": "#/definitions/QueueSettings", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, "samplingAlgorithm": { "description": "[Required] The hyperparameter sampling algorithm", "$ref": "#/definitions/SamplingAlgorithm"