azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

in azure-cli 2.2.0, when add '--output table' option, encounter an error. It doesn't exist in old version 2.0.*

Open caiwan-msft opened this issue 6 years ago • 4 comments

azure-cli : 2.2.0

When run command:
az aks get-upgrades --resource-group --name --output table It reports an error: Table output unavailable. Use the --query option to specify an appropriate query. Use --debug for more info.

Please refer to the screenshot as below: azurecli_error

caiwan-msft avatar Apr 02 '20 06:04 caiwan-msft

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm.

ghost avatar Apr 02 '20 06:04 ghost

aks

yonzhan avatar Apr 02 '20 06:04 yonzhan

I'm not able to reproduce this on 2.3.1

➜  ~ az aks get-upgrades -g contosofin-rg -n contosofinaks --output table
Name     ResourceGroup    MasterVersion    Upgrades
-------  ---------------  ---------------  -----------------------
default  contosofin-rg    1.16.1           1.16.7, 1.17.3(preview)

Could you try an upgrade and repro?

jluk avatar Apr 02 '20 17:04 jluk

Hello! Please try again with the latest Azure CLI version. Feel free to reopen an issue if it still doesn't work. https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest

Jen7714 avatar May 29 '20 17:05 Jen7714