Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.Batch to add version sta…
Browse files Browse the repository at this point in the history
…ble/2023-05-01 (#25564)

* Updating BatchManagement.json with default values that caused Get responses to contain values that the Put requests did not have, that got identified by S360  https://openapihub.azure-devex-tools.com/amekpis/correctness/detail?errorId=95CCEFF6-39EC-450A-8C82-E94C9382B314 and https://openapihub.azure-devex-tools.com/amekpis/correctness/detail?errorId=D50E2596-9471-40E1-8767-892023E02014
  • Loading branch information
wiboris authored and jnlycklama committed Nov 8, 2023
1 parent 4caefa6 commit 7046a4c
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4177,6 +4177,7 @@
"taskSlotsPerNode": {
"type": "integer",
"format": "int32",
"default": 1,
"title": "The number of task slots that can be used to run concurrent tasks on a single compute node in the pool.",
"description": "The default value is 1. The maximum value is the smaller of 4 times the number of cores of the vmSize of the pool or 256."
},
Expand Down Expand Up @@ -4363,6 +4364,7 @@
"resizeTimeout": {
"type": "string",
"format": "duration",
"default": "PT15M",
"title": "The timeout for allocation of compute nodes to the pool.",
"description": "The default value is 15 minutes. Timeout values use ISO 8601 format. For example, use PT10M for 10 minutes. The minimum value is 5 minutes. If you specify a value less than 5 minutes, the Batch service rejects the request with an error; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request)."
},
Expand Down Expand Up @@ -4922,6 +4924,7 @@
},
"version": {
"type": "string",
"default": "latest",
"title": "The version of the Azure Virtual Machines Marketplace image.",
"description": "A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'."
},
Expand Down Expand Up @@ -4969,6 +4972,7 @@
"properties": {
"nodeFillType": {
"type": "string",
"default": "Spread",
"title": "How tasks should be distributed across compute nodes.",
"enum": [
"Spread",
Expand Down Expand Up @@ -5118,8 +5122,9 @@
"maxTaskRetryCount": {
"type": "integer",
"format": "int32",
"default": 0,
"title": "The maximum number of times the task may be retried.",
"description": "The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit."
"description": "The Batch service retries a task if its exit code is nonzero. Note that this value specifically controls the number of retries. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task. If the maximum retry count is -1, the Batch service retries the task without limit. Default is 0."
},
"waitForSuccess": {
"type": "boolean",
Expand Down Expand Up @@ -5486,6 +5491,7 @@
},
"dynamicVnetAssignmentScope": {
"type": "string",
"default": "none",
"title": "The scope of dynamic vnet assignment.",
"enum": [
"none",
Expand Down

0 comments on commit 7046a4c

Please sign in to comment.