Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "$schema": "http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#",
- "contentVersion": "0.9.0.0",
- "parameters": {
- "clusterName": {
- "type": "string",
- "metadata": {
- "description": "The name of the HDInsight cluster to create."
- }
- }
- },
- "resources": [
- {
- "apiVersion": "2015-03-01-preview",
- "name": "AZU-HCL-HDINSIGHT-PRD",
- "type": "Microsoft.HDInsight/clusters",
- "location": "westeurope",
- "dependsOn": [
- "Microsoft.Storage/storageAccounts/azustahdinsightprd"
- ],
- "properties": {
- "clusterVersion": "3.4",
- "osType": "Linux",
- "tier": "standard",
- "clusterDefinition": {
- "kind": "spark",
- "configurations": {
- "gateway": {
- "restAuthCredential.isEnabled": true,
- "restAuthCredential.username": "Admin",
- "restAuthCredential.password": "qAGb.B9zAX"
- },
- "core-site": {
- "fs.defaultFS": "wasb://azuconhdinsightprd@azustahdinsightprd.blob.core.windows.net",
- "fs.azure.account.key.azustahdinsightprd.blob.core.windows.net": "[listKeys('Microsoft.Storage/storageAccounts/azustahdinsightprd', '2015-05-01-preview').key1]"
- }
- }
- },
- "computeProfile": {
- "roles": [
- {
- "name": "headnode",
- "minInstanceCount": 1,
- "targetInstanceCount": 2,
- "hardwareProfile": {
- "vmSize": "Standard_D4_V2"
- },
- "osProfile": {
- "linuxOperatingSystemProfile": {
- "username": "SSHAdmin",
- "password": ",Wg&XWwOX5"
- }
- },
- "virtualNetworkProfile": {
- "id": "/subscriptions/<subscriptionid>/resourceGroups/AZU-RSG-HDINSIGHT-PRD/providers/Microsoft.Network/virtualNetworks/AZU-VNW-HDINSIGHT-PRD",
- "subnet": "/subscriptions/<subscriptionid>/resourceGroups/AZU-RSG-HDINSIGHT-PRD/providers/Microsoft.Network/virtualNetworks/AZU-VNW-HDINSIGHT-PRD/subnets/AZU-NET-HDINSIGHT-PRD"
- },
- "scriptActions": []
- },
- {
- "name": "workernode",
- "minInstanceCount": 1,
- "targetInstanceCount": 4,
- "hardwareProfile": {
- "vmSize": "Standard_D4_V2"
- },
- "osProfile": {
- "linuxOperatingSystemProfile": {
- "username": "SSHAdmin",
- "password": ",Wg&XWwOX5"
- }
- },
- "virtualNetworkProfile": {
- "id": "/subscriptions/<subscriptionid>/resourceGroups/AZU-RSG-HDINSIGHT-PRD/providers/Microsoft.Network/virtualNetworks/AZU-VNW-HDINSIGHT-PRD",
- "subnet": "/subscriptions/<subscriptionid>/resourceGroups/AZU-RSG-HDINSIGHT-PRD/providers/Microsoft.Network/virtualNetworks/AZU-VNW-HDINSIGHT-PRD/subnets/AZU-NET-HDINSIGHT-PRD"
- },
- "scriptActions": []
- }
- ]
- }
- }
- },
- {
- "type": "Microsoft.Storage/storageAccounts",
- "name": "azustahdinsightprd",
- "apiVersion": "2015-05-01-preview",
- "location": "westeurope",
- "properties": {
- "accountType": "Standard_LRS"
- }
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement