Deploy templates in Azure Stack using the command line
Applies to: Azure Stack integrated systems and Azure Stack Development Kit
Use the command line to deploy Azure Resource Manager templates in the Azure Stack Development Kit environment. Azure Resource Manager templates deploy and provision all the resources for your application in a single, coordinated operation.
Before you begin
- Install and connect to Azure Stack with Azure CLI.
- Download the files azuredeploy.json and azuredeploy.parameters.json from the create storage account example template.
Navigate to the folder into which these files were downloaded, and run the following command to deploy the template:
az group create "cliRG" "local" –f azuredeploy.json –d "testDeploy" –e azuredeploy.parameters.json
This command deploys the template to the resource group cliRG in the Azure Stack POC default location.
Validate template deployment
To see this resource group and storage account, use the following commands:
az group list az storage account list
To learn more about deploying templates, see: