Skip Navigation

App Configuration

Last updated: 5/11/2021

This template references existing key-value configurations from an existing config store and uses retrieved values to set properties of the resources the template creates.

This Azure Resource Manager template was created by a member of the community and not by Microsoft. Each Resource Manager template is licensed to you under a license agreement by its owner, not Microsoft. Microsoft is not responsible for Resource Manager templates provided and licensed by community members and does not screen for security, compatibility, or performance. Community Resource Manager templates are not supported under any Microsoft support program or service, and are made available AS IS without warranty of any kind.

Parameters

Parameter Name Description
location Specify the locations for all resources.
adminUsername Specify the virtual machine admin user name.
adminPassword Specify the virtual machine admin password.
domainNameLabel Specify the DNS label for the virtual machine public IP address. It must be lowercase. It should match the following regular expression, or it will raise an error: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.
vmSize Specify the size of the VM.
storageAccountName Specify the storage account name.
appConfigStoreResourceGroup Name of the resource group for the app config store.
appConfigStoreName App configuration store name.
vmSkuKey Specify the name of the key in the app config store for the VM windows sku.
diskSizeKey Specify the name of the key in the app config store for the VM disk size

Use the template

PowerShell

New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deployment
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.appconfiguration/app-configuration/azuredeploy.json
Install and configure Azure PowerShell

Command line

az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deployment
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.appconfiguration/app-configuration/azuredeploy.json
Install and Configure the Azure Cross-Platform Command-Line Interface