Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (49 sloc) 1.71 KB
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"commonAIName": {"type": "string"},
"location": {"type": "string"}
},
"variables": {},
"resources": [
{
"apiVersion": "2015-05-01",
"type": "Microsoft.Insights/components",
"kind": "web",
"name": "[parameters('commonAIName')]",
"location": "[parameters('location')]",
"tags": {
"displayName": "Common Application Insights"
},
"scale": null,
"properties": {
"Application_Type": "web",
"Flow_Type": "Bluefield",
"Request_Source": "rest"
},
"resources": [
{
// See https://github.com/Azure/azure-resource-manager-schemas/blob/master/schemas/2017-10-01/Microsoft.Insights.json for some info on what these properties do
"apiVersion": "2017-10-01",
"name": "[concat(parameters('commonAIName'), '/', 'pricingPlans')]",
"type": "Microsoft.Insights/components/pricingPlans",
"properties": {
"PricingType": "Basic", // Basic seems to be the only option here
"DataVolumeCap": 130, // Cap in GB
"ResetHour": 13, // When does daily cap reset. Not sure of the timezone
"DisableNotificationWhenHitCap": false,
"WarningThreshold": 90, // Percentage of cap filled
"DisableNotificationWhenHitThreshold": false,
"MaxHistoryCap": 1000, // No idea what this is
"IsDreamSpark": false // No idea what this is
},
"dependsOn": [
"[parameters('commonAIName')]"
]
}
]
}
],
"outputs": {}
}
You can’t perform that action at this time.