Skip to content

Commit 7046a4c

Browse files
wiborisjnlycklama
authored andcommitted
[Hub Generated] Review request for Microsoft.Batch to add version stable/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
1 parent 4caefa6 commit 7046a4c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

specification/batch/resource-manager/Microsoft.Batch/stable/2023-05-01/BatchManagement.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4177,6 +4177,7 @@
41774177
"taskSlotsPerNode": {
41784178
"type": "integer",
41794179
"format": "int32",
4180+
"default": 1,
41804181
"title": "The number of task slots that can be used to run concurrent tasks on a single compute node in the pool.",
41814182
"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."
41824183
},
@@ -4363,6 +4364,7 @@
43634364
"resizeTimeout": {
43644365
"type": "string",
43654366
"format": "duration",
4367+
"default": "PT15M",
43664368
"title": "The timeout for allocation of compute nodes to the pool.",
43674369
"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)."
43684370
},
@@ -4922,6 +4924,7 @@
49224924
},
49234925
"version": {
49244926
"type": "string",
4927+
"default": "latest",
49254928
"title": "The version of the Azure Virtual Machines Marketplace image.",
49264929
"description": "A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'."
49274930
},
@@ -4969,6 +4972,7 @@
49694972
"properties": {
49704973
"nodeFillType": {
49714974
"type": "string",
4975+
"default": "Spread",
49724976
"title": "How tasks should be distributed across compute nodes.",
49734977
"enum": [
49744978
"Spread",
@@ -5118,8 +5122,9 @@
51185122
"maxTaskRetryCount": {
51195123
"type": "integer",
51205124
"format": "int32",
5125+
"default": 0,
51215126
"title": "The maximum number of times the task may be retried.",
5122-
"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."
5127+
"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."
51235128
},
51245129
"waitForSuccess": {
51255130
"type": "boolean",
@@ -5486,6 +5491,7 @@
54865491
},
54875492
"dynamicVnetAssignmentScope": {
54885493
"type": "string",
5494+
"default": "none",
54895495
"title": "The scope of dynamic vnet assignment.",
54905496
"enum": [
54915497
"none",

0 commit comments

Comments
 (0)