Skip to content

Commit

Permalink
adding queue settings to Oct 2023 stable api version (Azure#25765)
Browse files Browse the repository at this point in the history
* adding queue settings to Oct 2023 stable api version

* update new line

---------

Co-authored-by: Aaheli Chattopadhyay <aahelic@microsoft.com>
  • Loading branch information
2 people authored and Kayla Ames committed Oct 4, 2023
1 parent fa4d1db commit 1a23c32
Showing 1 changed file with 85 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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": "{}",
Expand Down Expand Up @@ -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": "{}",
Expand Down Expand Up @@ -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": [
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 1a23c32

Please sign in to comment.