Must install the extension in order to use the json template.
To install the extension:
az extension add --name azure-batch-cli-extensions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I try to create task using the job template but the following command no longer supported:
az batch job create --template job.json
This command will prompt for pool id and job id, but instead the command is now "az batch job create --json-file job.json"
However, when we trying to execute the above command, we are getting the following error:
Parameter 'JobAddParameter.id' can not be None.
Wonder where should we define this parameter, is it in the JSON file or on the command itself?
Best regards.
Must install the extension in order to use the json template.
To install the extension:
az extension add --name azure-batch-cli-extensions
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more