I am struggling to execute az cli commands related to resource groups.
I have set the correct subscription.
I can list the resource group with the command 'az group list'.
But I get erros messages when referring to the resource group in a command where mysql is involved, for example: like
'az mysql server show --resource-group HHDevelopment --name hh-dev-test'
When I login to Azure portal, I can access the mysql server and the databases without any problem.
What should I do to get it working on the Azure Command Line Interface?
C:>az mysql server show --resource-group HHDevelopment --name hh-dev-test
The Resource 'Microsoft.DBforMySQL/servers/hh-dev-test' under resource group 'HHDevelopment' was not found.
解决方案What's the output of:
az resource list --resource-group HHDevelopment
hth
Marcin