Skip to content

Commit 0530e6e

Browse files
committed
Update configuring appSettings
1 parent 38f8d5d commit 0530e6e

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

azuredeploy.json

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -81,27 +81,16 @@
8181
},
8282
"resources": [
8383
{
84-
"apiVersion": "2014-04-01",
84+
"apiVersion": "2015-08-01",
85+
"name": "appsettings",
8586
"type": "config",
86-
"name": "web",
8787
"dependsOn": [
8888
"[concat('Microsoft.Web/Sites/', parameters('siteName'))]"
8989
],
9090
"properties": {
91-
"appSettings": [
92-
{
93-
"name": "apiKey",
94-
"value": "[parameters('NuGetApiKey')]"
95-
},
96-
{
97-
"name": "SCM_SITEEXTENSIONS_FEED_URL",
98-
"value": "http://www.siteextensions.net/api/v2/"
99-
},
100-
{
101-
"name": "APPINSIGHTS_INSTRUMENTATIONKEY",
102-
"value": "[reference(concat('Microsoft.Insights/components/', parameters('siteName'))).InstrumentationKey]"
103-
}
104-
]
91+
"apiKey": "[parameters('NuGetApiKey')]"
92+
"SCM_SITEEXTENSIONS_FEED_URL": "http://www.siteextensions.net/api/v2/"
93+
"APPINSIGHTS_INSTRUMENTATIONKEY": "[reference(concat('Microsoft.Insights/components/', parameters('siteName'))).InstrumentationKey]"
10594
}
10695
},
10796
{
@@ -132,4 +121,4 @@
132121
]
133122
}
134123
]
135-
}
124+
}

0 commit comments

Comments
 (0)