Azure CLI
Installation
You can Install the Azure CLI on any platform, Windows or Linux (including Windows Subsystem for Linux)
Basic commands
Command | Action |
| Check the CLI version |
| Display help information |
| Login to a specific Azure user account (will open a web page in a browser) |
| List all subscriptions you have access |
| Set the current context to a specific subscription |
| Display the current context |
AKS commands
Command | Action |
| Get Kubernetes credentials for a specific cluster |
| Open Kubernetes dashboard (will open a browser) |
Recipes
az webapp config container set --name mywebappresourcename --resource-group myresourcegroup --docker-custom-image-name mycontainerregistry.azurecr.io/repositorytname:imagetag --docker-registry-server-url https://mycontainerregistry.azurecr.io --docker-registry-server-user myacruser --docker-registry-server-password myacrpassword
Last updated