CmdID / az / az cli-translator / az cli-translator arm
az cli-translator arm translate
Translate ARM template to CLI scripts(Currently only support Compute, Network and Storage) Azure CLI extensions reference
1 example 3 options Its page in the Azure CLI extensions reference
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/parametersIdentify--target-subscriptionThe target subscription id.--resource-groupName of resource group.--templateThe local path or url of template.json file--parametersThe local path or url of parameters.json fileOptions
--parametersThe local path or url of parameters.json file--target-subscriptionThe target subscription id.--templateThe local path or url of template.json file