Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding queue settings to Oct 2023 stable api version #25765

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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