CmdID / az / az spring / az spring job
az spring job start
Start an execution of the job. Azure CLI extensions reference
1 example 8 options Its page in the Azure CLI extensions reference
Examples
Start an execution of the job
az spring job start -n job-name -s MyAzureSpringAppsInstance -g MyResourceGroupIdentify-nThe name of job running in the specified Azure Spring Apps instance.-sThe name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.-gName of resource group.Options
--argsThe arguments of the job execution.--cpuCPU resource quantity.--envsNon-sensitive properties for environment variables.--memoryMemory resource quantity.--name, -nThe name of job running in the specified Azure Spring Apps instance.--secret-envsSensitive properties for environment variables.--service, -sThe name of Azure Spring Apps instance, you can configure the default service using az configure --defaults spring=<name>.--wait-until-finishedIf true, wait until the job execution is finished.