Configuration
The CLI allows to configure defaults for values with az config
(and az init
).
A configurable value has a section name (for example defaults
or core
) followed by a «normal» name.
Some configurable values include:
core.output | The format of the result returned by az commands. |
defaults.group | Resource group for all commands |
defaults.location | |
defaults.web | Web app name in az webapp commands |
defaults.vm | Name of the virtual machine in az vm commands |
defaults.vmss | Virtual machine scale set in az vmss commands |
defaults.acr | Container registry name for az acr commands |
In a Linux CLI, the default location where the configured values are stored is
~/.azure/config
.