Skip to content

Commit b3150b6

Browse files
author
SDKAuto
committed
CodeGen from PR 25564 in Azure/azure-rest-api-specs
Merge 73f8081a33109306fde7eb576df6030896bc9557 into 5dd1107d5f2be8d600325d795450e1d854fbe7e8
1 parent 4bd5052 commit b3150b6

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)