Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
50 lines (49 sloc)
1.71 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$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": {} | |
} |