Skip to content

Commit 64a78db

Browse files
author
SDKAuto
committed
CodeGen from PR 25564 in Azure/azure-rest-api-specs
Merge 83735df29776ac9e6eb7253cb5e71c0716d236ae into d4ceb3d2a889b7e1eff831dbd35f70266b6fe3f6
1 parent fc93737 commit 64a78db

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

schemas/2023-05-01/Microsoft.Batch.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,6 +1367,7 @@
13671367
},
13681368
"resizeTimeout": {
13691369
"type": "string",
1370+
"default": "PT15M",
13701371
"format": "duration",
13711372
"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)."
13721373
},
@@ -1415,6 +1416,7 @@
14151416
},
14161417
"version": {
14171418
"type": "string",
1419+
"default": "latest",
14181420
"description": "A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'."
14191421
}
14201422
}
@@ -2024,7 +2026,8 @@
20242026
"taskSlotsPerNode": {
20252027
"oneOf": [
20262028
{
2027-
"type": "integer"
2029+
"type": "integer",
2030+
"default": "1"
20282031
},
20292032
{
20302033
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -2187,13 +2190,14 @@
21872190
"maxTaskRetryCount": {
21882191
"oneOf": [
21892192
{
2190-
"type": "integer"
2193+
"type": "integer",
2194+
"default": "0"
21912195
},
21922196
{
21932197
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
21942198
}
21952199
],
2196-
"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."
2200+
"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."
21972201
},
21982202
"resourceFiles": {
21992203
"oneOf": [

0 commit comments

Comments
 (0)