1+ {
2+ "$schema" : " https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#" ,
3+ "contentVersion" : " 1.0.0.0" ,
4+ "parameters" : {
5+ "resourceGroupName" : {
6+ "type" : " string" ,
7+ "defaultValue" : " rg-telemetrystash-develop" ,
8+ "metadata" : {
9+ "_parameterType" : " resourceGroup" ,
10+ "description" : " Name of the resource group for the resource. It is recommended to put resources under same resource group for better tracking."
11+ }
12+ },
13+ "resourceGroupLocation" : {
14+ "type" : " string" ,
15+ "defaultValue" : " swedencentral" ,
16+ "metadata" : {
17+ "_parameterType" : " location" ,
18+ "description" : " Location of the resource group. Resource groups could have different location than resources."
19+ }
20+ },
21+ "resourceLocation" : {
22+ "type" : " string" ,
23+ "defaultValue" : " [parameters('resourceGroupLocation')]" ,
24+ "metadata" : {
25+ "_parameterType" : " location" ,
26+ "description" : " Location of the resource. By default use resource group's location, unless the resource provider is not supported there."
27+ }
28+ }
29+ },
30+ "resources" : [
31+ {
32+ "type" : " Microsoft.Resources/resourceGroups" ,
33+ "name" : " [parameters('resourceGroupName')]" ,
34+ "location" : " [parameters('resourceGroupLocation')]" ,
35+ "apiVersion" : " 2019-10-01"
36+ },
37+ {
38+ "type" : " Microsoft.Resources/deployments" ,
39+ "name" : " [concat(parameters('resourceGroupName'), 'Deployment', uniqueString(concat('stfunctsdevelop', subscription().subscriptionId)))]" ,
40+ "resourceGroup" : " [parameters('resourceGroupName')]" ,
41+ "apiVersion" : " 2019-10-01" ,
42+ "dependsOn" : [
43+ " [parameters('resourceGroupName')]"
44+ ],
45+ "properties" : {
46+ "mode" : " Incremental" ,
47+ "template" : {
48+ "$schema" : " https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#" ,
49+ "contentVersion" : " 1.0.0.0" ,
50+ "resources" : [
51+ {
52+ "sku" : {
53+ "name" : " Standard_LRS" ,
54+ "tier" : " Standard"
55+ },
56+ "kind" : " StorageV2" ,
57+ "name" : " stfunctsdevelop" ,
58+ "type" : " Microsoft.Storage/storageAccounts" ,
59+ "location" : " [parameters('resourceLocation')]" ,
60+ "apiVersion" : " 2017-10-01"
61+ }
62+ ]
63+ }
64+ }
65+ }
66+ ],
67+ "metadata" : {
68+ "_dependencyType" : " storage.azure"
69+ }
70+ }
0 commit comments