CmdID

CmdID / az / az batch / az batch task

az batch task create

Create Batch tasks. Azure CLI reference

14 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

14 in the Azure CLI reference
--account-endpointBatch service endpoint.
--account-keyThe Batch account key.
--account-nameThe Batch account name.
--affinity-idRequired.
--application-package-referencesThe space-separated list of IDs specifying the application packages to be installed.
--command-lineThe command line of the task.
--environment-settingsA list of environment variable settings for the task.
--job-idThe ID of the job containing the task.
--json-fileThe file containing the task(s) to create in JSON(formatted to match REST API request body).
--max-task-retry-countThe maximum number of times the Task may be retried.
--max-wall-clock-timeIf this is not specified, there is no time limit on how long the Task may run.
--resource-filesA list of files that the Batch service will download to the compute node before running the command line.
--retention-timeThe default is 7 days, i.e. the Task directory will be retained for 7 days unless the Compute Node is removed or the Job is deleted.
--task-idThe ID of the task.