Open
Description
Type of issue
Code doesn't work
Reference command name
https://learn.microsoft.com/en-us/cli/azure/batch/pool/supported-images?view=azure-cli-latest#az-batch-pool-supported-images-list
az batch pool supported-images list
az : ERROR: Specify batch account in command line or environment variable.
At line:1 char:1
- az batch pool supported-images list
-
+ CategoryInfo : NotSpecified: (ERROR: Specify ...nment variable.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError
Feedback
The az cli command "az batch pool supported-images list only" documentation shows that the command only has optional parameters in order to retrieve all batch account supported images, However the command fails without --account-name and --account-endpoint parameters.
Page URL
https://learn.microsoft.com/en-us/cli/azure/batch/pool/supported-images?view=azure-cli-latest
Content source URL
Author
Document Id
ba8f9748-293e-84da-9a93-37fa1560fe5c