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
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.
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
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
https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/docs-ref-autogen/Latest-version/latest/batch/pool/supported-images.yml
Author
@mikefrobbins
Document Id
ba8f9748-293e-84da-9a93-37fa1560fe5c