mirror of
https://github.com/planetmint/planetmint.git
synced 2025-03-30 15:08:31 +00:00
50 lines
1.5 KiB
JSON
50 lines
1.5 KiB
JSON
{
|
|
"$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
|
|
"contentVersion": "1.0.0.0",
|
|
"parameters": {
|
|
"sku": {
|
|
"type": "String"
|
|
},
|
|
"workspaceName": {
|
|
"type": "String"
|
|
},
|
|
"solutionType": {
|
|
"type": "String"
|
|
}
|
|
},
|
|
"resources": [
|
|
{
|
|
"apiVersion": "2015-03-20",
|
|
"type": "Microsoft.OperationalInsights/workspaces",
|
|
"name": "[parameters('workspaceName')]",
|
|
"location": "[resourceGroup().location]",
|
|
"properties": {
|
|
"sku": {
|
|
"name": "[parameters('sku')]"
|
|
}
|
|
},
|
|
"resources": [
|
|
{
|
|
"apiVersion": "2015-11-01-preview",
|
|
"location": "[resourceGroup().location]",
|
|
"name": "[Concat(parameters('solutionType'), '(', parameters('workspaceName'), ')')]",
|
|
"type": "Microsoft.OperationsManagement/solutions",
|
|
"id": "[Concat(resourceGroup().id, '/providers/Microsoft.OperationsManagement/solutions/', parameters('solutionType'), '(', parameters('workspaceName'), ')')]",
|
|
"dependsOn": [
|
|
"[concat('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName'))]"
|
|
],
|
|
"properties": {
|
|
"workspaceResourceId": "[resourceId('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName'))]"
|
|
},
|
|
"plan": {
|
|
"publisher": "Microsoft",
|
|
"product": "[Concat('OMSGallery/', parameters('solutionType'))]",
|
|
"name": "[Concat(parameters('solutionType'), '(', parameters('workspaceName'), ')')]",
|
|
"promotionCode": ""
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|