az cli-translator arm
Note
This reference is part of the cli-translator extension for the Azure CLI (version 2.13.0 or higher). The extension will automatically install the first time you run an az cli-translator arm command. Learn more about extensions.
Command group 'cli-translator' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Translate ARM template to CLI scripts(Currently only support Compute, Network and Storage).
Commands
Name | Description | Type | Status |
---|---|---|---|
az cli-translator arm translate |
Translate ARM template to CLI scripts(Currently only support Compute, Network and Storage). |
Extension | Experimental |
az cli-translator arm translate
Command group 'cli-translator' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Translate ARM template to CLI scripts(Currently only support Compute, Network and Storage).
az cli-translator arm translate --parameters
--resource-group
--template
[--target-subscription]
Examples
Translate ARM template.json and parameters.json to CLI scripts
az cli-translator arm translate --target-subscription 00000000-0000-0000-0000-000000000000 --resource-group groupName --template /path/to/local/template --parameters /path/to/local/parameters
Required Parameters
The local path or url of parameters.json file.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The local path or url of template.json file.
Optional Parameters
The target subscription id. If omit, the current subscription id will be used.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI