Skip to content

Commit

Permalink
[Batch] az batch pool create: Update help message for --json-file
Browse files Browse the repository at this point in the history
… argument (#23284)
  • Loading branch information
wiboris authored Jul 26, 2022
1 parent e38d145 commit 92fe38a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/azure-cli/azure/cli/command_modules/batch/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ def load_arguments(self, _):
c.argument('pool_id', options_list=('--pool-id',), help='The id of an existing pool. All the tasks of the job will run on the specified pool.')

with self.argument_context('batch pool create') as c:
c.argument('json_file', help='The file containing pool create properties parameter specification in JSON(formatted to match REST API request body). If this parameter is specified, all \'Pool Create Properties Parameter Arguments\' are ignored. See https://docs.microsoft.com/en-us/rest/api/batchservice/pool/add?tabs=HTTP#request-body')
c.argument('os_family', arg_type=get_enum_type(['2', '3', '4', '5', '6']))
c.argument('auto_scale_formula', help='A formula for the desired number of compute nodes in the pool. The formula is checked for validity before the pool is created. If the formula is not valid, the Batch service rejects the request with detailed error information. For more information about specifying this formula, see https://azure.microsoft.com/documentation/articles/batch-automatic-scaling/.')
c.extra('disk_encryption_targets',
Expand Down

0 comments on commit 92fe38a

Please sign in to comment.