Quick Tips
AZ CLI output format
To specify the format of the output for an AZ CLI commannd, add the --output
parameter, and one of the value below:
Format | Description |
---|---|
json | JSON string. Default format |
jsonc | Colorized JSON string |
table | ASCII table with keys as column headings |
tsv | Tab-separated values, with no keys |
yaml | YAML, a human-readable alternative to JSON |
yamlc | Colorized YAML |
none | No output other than errors and warnings |
To permatently set the output format, enter the following command:
powershell
az config set core.output=yamlc