-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from SolaceDev/master
Feature Bug 71519: Move Solace Azure Quickstart to Azure Quickstart Templates
- Loading branch information
Showing
5 changed files
with
175 additions
and
86 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"workspaceName": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "Unique OMS Workspace Name for Log Analytics." | ||
} | ||
}, | ||
"workspaceRegion": { | ||
"type": "string", | ||
"defaultValue": "East US", | ||
"metadata": { | ||
"description": "OMS Workspace Region for Log Analytics." | ||
}, | ||
"allowedValues": [ | ||
"East US", | ||
"West Europe", | ||
"Southeast Asia", | ||
"Australia Southeast", | ||
"Japan East", | ||
"UK South", | ||
"Central India", | ||
"Canada Central" | ||
] | ||
} | ||
}, | ||
"variables": { | ||
"workspaceTier": "Free", | ||
"containersMarketplaceName": "Containers", | ||
"syslogFacilities": [ "kern", "user", "daemon", "auth", "syslog", "uucp", "authpriv", "ftp", "cron", "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7" ] | ||
}, | ||
"outputs": { | ||
"workspaceId": { | ||
"type": "string", | ||
"value": "[reference(resourceId('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName')), '2015-03-20').customerId]" | ||
}, | ||
"workspaceKey": { | ||
"type": "string", | ||
"value": "[listKeys(resourceId('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName')), '2015-03-20').primarySharedKey]" | ||
} | ||
}, | ||
"resources": [ | ||
{ | ||
"apiVersion": "2015-03-20", | ||
"type": "Microsoft.OperationalInsights/workspaces", | ||
"name": "[parameters('workspaceName')]", | ||
"location": "[parameters('workspaceRegion')]", | ||
"properties": { | ||
"sku": { | ||
"name": "[variables('workspaceTier')]" | ||
} | ||
}, | ||
"resources": [ | ||
{ | ||
"apiVersion": "2015-11-01-preview", | ||
"type": "Microsoft.OperationalInsights/workspaces/datasources", | ||
"name": "[concat(parameters('workspaceName'), '/syslogCollection')]", | ||
"dependsOn": [ | ||
"[concat('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName'))]" | ||
], | ||
"kind": "LinuxSyslogCollection", | ||
"properties": { | ||
"state": "Enabled" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"apiVersion": "2015-11-01-preview", | ||
"type": "Microsoft.OperationalInsights/workspaces/datasources", | ||
"name": "[concat(parameters('workspaceName'), '/syslog', copyindex())]", | ||
"dependsOn": [ | ||
"[concat('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName'))]" | ||
], | ||
"copy": { | ||
"name": "SyslogFacilityLoop", | ||
"count": "[length(variables('syslogFacilities'))]" | ||
}, | ||
"kind": "LinuxSyslog", | ||
"properties": { | ||
"syslogName": "[variables('syslogFacilities')[copyindex()]]", | ||
"syslogSeverities": [ | ||
{ | ||
"severity": "emerg" | ||
}, | ||
{ | ||
"severity": "alert" | ||
}, | ||
{ | ||
"severity": "crit" | ||
}, | ||
{ | ||
"severity": "err" | ||
}, | ||
{ | ||
"severity": "warning" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"apiVersion": "2015-11-01-preview", | ||
"type": "Microsoft.OperationsManagement/solutions", | ||
"name": "[concat(variables('containersMarketplaceName'), '(', parameters('workspaceName'), ')')]", | ||
"location": "[parameters('workspaceRegion')]", | ||
"dependsOn": [ | ||
"[concat('Microsoft.OperationalInsights/workspaces/', parameters('workspaceName'))]" | ||
], | ||
"properties": { | ||
"workspaceResourceId": "[resourceId('Microsoft.OperationalInsights/workspaces', parameters('workspaceName'))]" | ||
}, | ||
"plan": { | ||
"name": "[concat(variables('containersMarketplaceName'), '(', parameters('workspaceName'), ')')]", | ||
"publisher": "Microsoft", | ||
"product": "[concat('OMSGallery/', variables('containersMarketplaceName'))]", | ||
"promotionCode": "" | ||
} | ||
} | ||
] | ||
} |