Skip to content

Instantly share code, notes, and snippets.

@isaacabraham
Created June 8, 2021 23:32
Show Gist options
  • Save isaacabraham/b3723f4562cfc25ebddf50871e354e8f to your computer and use it in GitHub Desktop.
Save isaacabraham/b3723f4562cfc25ebddf50871e354e8f to your computer and use it in GitHub Desktop.
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"outputs": {},
"parameters": {},
"resources": [
{
"apiVersion": "2020-06-01",
"dependsOn": [
"[resourceId('Microsoft.Insights/components', 'safedeps-ai')]",
"[resourceId('Microsoft.Web/serverfarms', 'safedeps-farm')]"
],
"identity": {
"type": "None"
},
"kind": "app",
"location": "westeurope",
"name": "safedeps",
"properties": {
"httpsOnly": false,
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', 'safedeps-farm')]",
"siteConfig": {
"alwaysOn": false,
"appSettings": [
{
"name": "APPINSIGHTS_INSTRUMENTATIONKEY",
"value": "[reference(resourceId('Microsoft.Insights/components', 'safedeps-ai'), '2014-04-01').InstrumentationKey]"
},
{
"name": "APPINSIGHTS_PROFILERFEATURE_VERSION",
"value": "1.0.0"
},
{
"name": "APPINSIGHTS_SNAPSHOTFEATURE_VERSION",
"value": "1.0.0"
},
{
"name": "ApplicationInsightsAgent_EXTENSION_VERSION",
"value": "~2"
},
{
"name": "DiagnosticServices_EXTENSION_VERSION",
"value": "~3"
},
{
"name": "InstrumentationEngine_EXTENSION_VERSION",
"value": "~1"
},
{
"name": "SnapshotDebugger_EXTENSION_VERSION",
"value": "~1"
},
{
"name": "XDT_MicrosoftApplicationInsights_BaseExtensions",
"value": "~1"
},
{
"name": "XDT_MicrosoftApplicationInsights_Mode",
"value": "recommended"
}
],
"connectionStrings": [],
"metadata": [
{
"name": "CURRENT_STACK",
"value": "dotnetcore"
}
]
}
},
"tags": {},
"type": "Microsoft.Web/sites"
},
{
"apiVersion": "2014-04-01",
"kind": "web",
"location": "westeurope",
"name": "safedeps-ai",
"properties": {
"ApplicationId": "safedeps",
"Application_Type": "web",
"DisableIpMasking": false,
"SamplingPercentage": 100,
"name": "safedeps-ai"
},
"tags": {
"[concat('hidden-link:', resourceGroup().id, '/providers/Microsoft.Web/sites/', 'safedeps')]": "Resource"
},
"type": "Microsoft.Insights/components"
},
{
"apiVersion": "2018-02-01",
"location": "westeurope",
"name": "safedeps-farm",
"properties": {
"name": "safedeps-farm",
"perSiteScaling": false,
"reserved": false
},
"sku": {
"capacity": 1,
"name": "F1",
"size": "0",
"tier": "Free"
},
"tags": {},
"type": "Microsoft.Web/serverfarms"
},
{
"apiVersion": "2020-06-01",
"dependsOn": [
"[resourceId('Microsoft.Web/sites', 'safedeps')]"
],
"location": "westeurope",
"name": "safedeps/Microsoft.AspNetCore.AzureAppServices.SiteExtension",
"type": "Microsoft.Web/sites/siteextensions"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment