There is a command group 'az_batch_pool'. This group of commands could 'manage batch pools'. The group of commands has global parameter '--debug' which means 'Increase logging verbosity to show all debug logs.'. The group of commands has global parameter '--help -h' which means 'Show this help message and exit.'. The group of commands has global parameter '--only-show-errors' which means 'Only show errors, suppressing warnings.'. The group of commands has global parameter '--output -o' which means 'Output format.'. The group of commands has global parameter '--query' which means 'JMESPath query string. See <a href="http://jmespath.org/">http://jmespath.org/</a> for more information and examples.'. The group of commands has global parameter '--subscription' which means 'Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`.'. The group of commands has global parameter '--verbose' which means 'Increase logging verbosity. Use --debug for full debug logs.'. This group contains a child command 'az_batch_pool_create'.The syntax is: az batch pool create [--account-endpoint]
                     [--account-key]
                     [--account-name]
                     [--application-licenses]
                     [--application-package-references]
                     [--auto-scale-formula]
                     [--certificate-references]
                     [--disk-encryption-targets]
                     [--enable-inter-node-communication]
                     [--id]
                     [--image]
                     [--json-file]
                     [--metadata]
                     [--node-agent-sku-id]
                     [--os-family]
                     [--os-version]
                     [--parameters]
                     [--policy]
                     [--resize-timeout]
                     [--resource-group]
                     [--start-task-command-line]
                     [--start-task-resource-files]
                     [--start-task-wait-for-success]
                     [--target-dedicated-nodes]
                     [--target-low-priority-nodes]
                     [--targets]
                     [--task-slots-per-node]
                     [--template]
                     [--vm-size]. The parameter '--account-endpoint' is optional. batch service endpoint. alternatively, set by environment variable: azure_batch_endpoint.. The parameter '--account-key' is optional. the batch account key. alternatively, set by environment variable: azure_batch_access_key.. The parameter '--account-name' is optional. the batch account name. alternatively, set by environment variable: azure_batch_account.. The parameter '--application-licenses' is optional. the list of application licenses must be a subset of available batch service application licenses. if a license is requested which is not supported, pool creation will fail.. The parameter '--application-package-references' is optional. when creating a pool, the package's application id must be fully qualified (/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft.batch/batchaccounts/{accountname}/applications/{applicationname}). changes to package references affect all new nodes joining the pool, but do not affect compute nodes that are already in the pool until they are rebooted or reimaged. there is a maximum of 10 package references on any given pool.. The parameter '--auto-scale-formula' is optional. this property must not be specified if enableautoscale is set to false. it is required if enableautoscale is set to true. 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 'automatically scale compute nodes in an azure batch pool' (https://azure.microsoft.com/documentation/articles/batch-automatic-scaling/).. The parameter '--certificate-references' is optional. for windows nodes, the batch service installs the certificates to the specified certificate store and location. for linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable az_batch_certificates_dir is supplied to the task to query for this location. for certificates with visibility of 'remoteuser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory. warning: this property is deprecated and will be removed after february, 2024. please use the [azure keyvault extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.. The parameter '--disk-encryption-targets' is optional. a space seperated list of diskencryptiontargets. current possible values include osdisk and temporarydisk.. The parameter '--enable-inter-node-communication' is optional. whether the pool permits direct communication between compute nodes. enabling inter-node communication limits the maximum size of the pool due to deployment restrictions on the compute nodes of the pool. this may result in the pool not reaching its desired size. the default value is false.. The parameter '--id' is optional. required. the id can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. the id is case-preserving and case-insensitive (that is, you may not have two pool ids within an account that differ only by case).. The parameter '--image' is optional. os image reference. this can be either 'publisher:offer:sku[:version]' format, or a fully qualified arm image id of the form '/subscriptions/{subscriptionid}/resourcegroups/{resourcegroup}/providers/microsoft.compute/images/{imagename}'. if 'publisher:offer:sku[:version]' format, version is optional and if omitted latest will be used. valid values can be retrieved via 'az batch pool node-agent-skus list'. for example: 'microsoftwindowsserver:windowsserver:2012-r2-datacenter:latest'.. The parameter '--json-file' is optional. the file containing the pool to create in json format, if this parameter is specified, all other parameters are ignored.. The parameter '--metadata' is optional. the batch service does not assign any meaning to metadata; it is solely for the use of user code.. The parameter '--node-agent-sku-id' is optional. the sku of the batch node agent to be provisioned on compute nodes in the pool. the batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the batch service. there are different implementations of the node agent, known as skus, for different operating systems. you must specify a node agent sku which matches the selected image reference. to get the list of supported node agent skus along with their list of verified image references, see the 'list supported node agent skus' operation.. The parameter '--os-family' is optional. the azure guest os family to be installed on the virtual machines in the pool. possible values are: 2 - os family 2, equivalent to windows server 2008 r2 sp1. 3 - os family 3, equivalent to windows server 2012. 4 - os family 4, equivalent to windows server 2012 r2. 5 - os family 5, equivalent to windows server 2016. for more information, see azure guest os releases (https://azure.microsoft.com/documentation/articles/cloud-services-guestos-update-matrix/#releases). allowed values: 2, 3, 4, 5.. The parameter '--os-version' is optional. the default value is * which specifies the latest operating system version for the specified os family.. The parameter '--parameters' is optional. parameter values for a batch pool json template file. can only be used with --template.. The parameter '--policy' is optional. node placement policy type on batch pools. allocation policy used by batch service to provision the nodes. if not specified, batch will use the regional policy.  allowed values: regional, zonal.. The parameter '--resize-timeout' is optional. this timeout applies only to manual scaling; it has no effect when enableautoscale is set to true. the default value is 15 minutes. the minimum value is 5 minutes. if you specify a value less than 5 minutes, the batch service returns an error; if you are calling the rest api directly, the http status code is 400 (bad request).. The parameter '--resource-group' is optional. the resource group of the batch account.. The parameter '--start-task-command-line' is optional. the command line of the start task. the command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. if you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c mycommand" in windows or "/bin/sh -c mycommand" in linux.. The parameter '--start-task-resource-files' is optional. a list of files that the batch service will download to the compute node before running the command line. space separated resource references in filename=httpurl format.. The parameter '--start-task-wait-for-success' is optional. whether the batch service should wait for the start task to complete successfully (that is, to exit with exit code 0) before scheduling any tasks on the compute node. if true and the start task fails on a compute node, the batch service retries the start task up to its maximum retry count (maxtaskretrycount). if the task has still not completed successfully after all retries, then the batch service marks the compute node unusable, and will not schedule tasks to it. this condition can be detected via the node state and scheduling error detail. if false, the batch service will not wait for the start task to complete. in this case, other tasks can start executing on the compute node while the start task is still running; and even if the start task fails, new tasks will continue to be scheduled on the node. the default is false. true if flag present.. The parameter '--target-dedicated-nodes' is optional. the desired number of dedicated compute nodes in the pool. this property must not be specified if enableautoscale is set to true. if enableautoscale is set to false, then you must set either targetdedicatednodes, targetlowprioritynodes, or both.. The parameter '--target-low-priority-nodes' is optional. the desired number of spot/low-priority compute nodes in the pool. this property must not be specified if enableautoscale is set to true. if enableautoscale is set to false, then you must set either targetdedicatednodes, targetlowprioritynodes, or both.. The parameter '--targets' is optional. if omitted, no disks on the compute nodes in the pool will be encrypted. on linux pool, only "temporarydisk" is supported; on windows pool, "osdisk" and "temporarydisk" must be specified. space seperated target disks to be encrypted. values can either be osdisk or temporarydisk.. The parameter '--task-slots-per-node' is optional. the number of task slots that can be used to run concurrent tasks on a single compute node in the pool. the default value is 1. the maximum value is the smaller of 4 times the number of cores of the vmsize of the pool or 256.. The parameter '--template' is optional. a batch pool json template file. if this parameter is specified, all other parameters are ignored.. The parameter '--vm-size' is optional. required. for information about available sizes of virtual machines for cloud services pools (pools created with cloudserviceconfiguration), see sizes for cloud services (https://azure.microsoft.com/documentation/articles/cloud-services-sizes-specs/). batch supports all cloud services vm sizes except extrasmall, a1v2 and a2v2. for information about available vm sizes for pools using images from the virtual machines marketplace (pools created with virtualmachineconfiguration) see sizes for virtual machines (linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or sizes for virtual machines (windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). batch supports all azure vm sizes except standard_a0 and those with premium storage (standard_gs, standard_ds, and standard_dsv2 series).. 