You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a pool that is configured with a JSON file. It works fine if I upload the JSON file in the create pool GUI interface except that I have to type to pool id by hand. However if I use the same file with Azure CLI I get an error saying I need to provide an id. My file matches the format described here
Also the documentation here says that you should call az batch pool <your-batch-pool-configuration>.json to use a JSON file to configure a new Batch pool resource but that is incorrect and gives a "not recognized" error.
Steps to Reproduce
az login
az batch account login -g <group> -n <name>
az batch pool create --json-file template_add_pool.json
But this file is not accepted in the GUI Add (JSON editor) method of creating a pool. This is very confusing and makes everything much harder to use. Also it is not at all clear from the documentation which structure should be used where or why.
Problem Description
I am trying to create a pool that is configured with a JSON file. It works fine if I upload the JSON file in the create pool GUI interface except that I have to type to pool id by hand. However if I use the same file with Azure CLI I get an error saying I need to provide an id. My file matches the format described here
Also the documentation here says that you should call
az batch pool <your-batch-pool-configuration>.json
to use a JSON file to configure a new Batch pool resource but that is incorrect and gives a "not recognized" error.Steps to Reproduce
Json file
Expected Results
A pool is created
Actual Results
ERROR: Parameter 'PoolAddParameter.id' can not be None.
If I try to supply the id outside the Json with
--id "cli_id_test"
I get:The text was updated successfully, but these errors were encountered: