forked from Azure/azure-quickstart-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
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 Azure#6451 from bmoore-msft/master
update prereq params
- Loading branch information
Showing
1 changed file
with
165 additions
and
165 deletions.
There are no files selected for viewing
330 changes: 165 additions & 165 deletions
330
101-hdinsight-linux-ssh-publickey-metastore-vnet/prereqs/prereq.azuredeploy.json
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 |
---|---|---|
@@ -1,165 +1,165 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"databaseAdminUsername": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "Username for DB Admin" | ||
} | ||
}, | ||
"databaseAdminPassword": { | ||
"type": "securestring", | ||
"metadata": { | ||
"description": "Password for DB Admin" | ||
} | ||
}, | ||
"location": { | ||
"type": "string", | ||
"defaultValue": "[resourceGroup().location]", | ||
"metadata": { | ||
"description": "Location for all resources." | ||
} | ||
} | ||
}, | ||
"variables": { | ||
"storageAccountName": "[concat('storage', uniqueString(resourceGroup().id))]", | ||
"storageAccountType": "Standard_LRS", | ||
"vNetName": "vNet", | ||
"vNetPrefix": "10.0.0.0/16", | ||
"SubnetName": "Subnet-1", | ||
"SubnetPrefix": "10.0.0.0/24", | ||
"serverName": "[concat('server', uniqueString(resourceGroup().id))]", | ||
"dataBaseName": "DB", | ||
"dataBaseCollation": "SQL_Latin1_General_CP1_CI_AS", | ||
"dataBaseEdition": "Basic", | ||
"dataBaseRequestedServiceObjectiveName": "Basic" | ||
}, | ||
"resources": [ | ||
{ | ||
"name": "[variables('storageAccountName')]", | ||
"type": "Microsoft.Storage/storageAccounts", | ||
"location": "[parameters('location')]", | ||
"apiVersion": "2018-02-01", | ||
"sku": { | ||
"name": "[variables('storageAccountType')]" | ||
}, | ||
"tags": { | ||
"displayName": "storageAccount" | ||
}, | ||
"kind": "Storage" | ||
}, | ||
{ | ||
"name": "[variables('vNetName')]", | ||
"type": "Microsoft.Network/virtualNetworks", | ||
"location": "[parameters('location')]", | ||
"apiVersion": "2018-04-01", | ||
"tags": { | ||
"displayName": "vNet" | ||
}, | ||
"properties": { | ||
"addressSpace": { | ||
"addressPrefixes": [ | ||
"[variables('vNetPrefix')]" | ||
] | ||
}, | ||
"subnets": [ | ||
{ | ||
"name": "[variables('SubnetName')]", | ||
"properties": { | ||
"addressPrefix": "[variables('SubnetPrefix')]" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "[variables('serverName')]", | ||
"type": "Microsoft.Sql/servers", | ||
"location": "[parameters('location')]", | ||
"apiVersion": "2018-06-01-preview", | ||
"tags": { | ||
"displayName": "server" | ||
}, | ||
"properties": { | ||
"administratorLogin": "[parameters('databaseAdminUsername')]", | ||
"administratorLoginPassword": "[parameters('databaseAdminPassword')]" | ||
}, | ||
"resources": [ | ||
{ | ||
"name": "AllowAllWindowsAzureIps", | ||
"type": "firewallrules", | ||
"location": "[parameters('location')]", | ||
"apiVersion": "2018-06-01-preview", | ||
"dependsOn": [ | ||
"[resourceId('Microsoft.Sql/servers', variables('serverName'))]" | ||
], | ||
"properties": { | ||
"startIpAddress": "0.0.0.0", | ||
"endIpAddress": "0.0.0.0" | ||
} | ||
}, | ||
{ | ||
"name": "[variables('dataBaseName')]", | ||
"type": "databases", | ||
"location": "[parameters('location')]", | ||
"apiVersion": "2018-06-01-preview", | ||
"dependsOn": [ | ||
"[resourceId('Microsoft.Sql/servers', variables('serverName'))]" | ||
], | ||
"tags": { | ||
"displayName": "dataBase" | ||
}, | ||
"properties": { | ||
"collation": "[variables('dataBaseCollation')]", | ||
"edition": "[variables('dataBaseEdition')]", | ||
"maxSizeBytes": "1073741824", | ||
"requestedServiceObjectiveName": "[variables('dataBaseRequestedServiceObjectiveName')]" | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"outputs": { | ||
"existingClusterStorageResourceGroup": { | ||
"type": "string", | ||
"value": "[resourceGroup().name]" | ||
}, | ||
"existingClusterStorageAccountName": { | ||
"type": "string", | ||
"value": "[variables('storageAccountName')]" | ||
}, | ||
"existingVirtualNetworkName": { | ||
"type": "string", | ||
"value": "[variables('vNetName')]" | ||
}, | ||
"existingHiveMetastoreServerResourceGroupName": { | ||
"type": "string", | ||
"value": "[resourceGroup().name]" | ||
}, | ||
"existingHiveMetastoreServerName": { | ||
"type": "string", | ||
"value": "[variables('serverName')]" | ||
}, | ||
"existingHiveMetastoreDatabaseName": { | ||
"type": "string", | ||
"value": "[variables('dataBaseName')]" | ||
}, | ||
"existingHiveMetastoreUsername": { | ||
"type": "string", | ||
"value": "[parameters('databaseAdminUsername')]" | ||
}, | ||
"existingHiveMetastorePassword": { | ||
"type": "string", | ||
"value": "[parameters('databaseAdminPassword')]" | ||
}, | ||
"existingVirtualNetworkResourceGroup": { | ||
"type": "string", | ||
"value": "[resourceGroup().name]" | ||
}, | ||
"existingVirtualNetworkSubnetName": { | ||
"type": "string", | ||
"value": "[variables('SubnetName')]" | ||
} | ||
} | ||
} | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"databaseAdminUsername": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "Username for DB Admin" | ||
} | ||
}, | ||
"databaseAdminPassword": { | ||
"type": "securestring", | ||
"metadata": { | ||
"description": "Password for DB Admin" | ||
} | ||
}, | ||
"location": { | ||
"type": "string", | ||
"defaultValue": "[resourceGroup().location]", | ||
"metadata": { | ||
"description": "Location for all resources." | ||
} | ||
} | ||
}, | ||
"variables": { | ||
"storageAccountName": "[concat('storage', uniqueString(resourceGroup().id))]", | ||
"storageAccountType": "Standard_LRS", | ||
"vNetName": "vNet", | ||
"vNetPrefix": "10.0.0.0/16", | ||
"SubnetName": "Subnet-1", | ||
"SubnetPrefix": "10.0.0.0/24", | ||
"serverName": "[concat('server', uniqueString(resourceGroup().id))]", | ||
"dataBaseName": "DB", | ||
"dataBaseCollation": "SQL_Latin1_General_CP1_CI_AS", | ||
"dataBaseEdition": "Basic", | ||
"dataBaseRequestedServiceObjectiveName": "Basic" | ||
}, | ||
"resources": [ | ||
{ | ||
"name": "[variables('storageAccountName')]", | ||
"type": "Microsoft.Storage/storageAccounts", | ||
"location": "[parameters('location')]", | ||
"apiVersion": "2018-02-01", | ||
"sku": { | ||
"name": "[variables('storageAccountType')]" | ||
}, | ||
"tags": { | ||
"displayName": "storageAccount" | ||
}, | ||
"kind": "Storage" | ||
}, | ||
{ | ||
"name": "[variables('vNetName')]", | ||
"type": "Microsoft.Network/virtualNetworks", | ||
"location": "[parameters('location')]", | ||
"apiVersion": "2018-04-01", | ||
"tags": { | ||
"displayName": "vNet" | ||
}, | ||
"properties": { | ||
"addressSpace": { | ||
"addressPrefixes": [ | ||
"[variables('vNetPrefix')]" | ||
] | ||
}, | ||
"subnets": [ | ||
{ | ||
"name": "[variables('SubnetName')]", | ||
"properties": { | ||
"addressPrefix": "[variables('SubnetPrefix')]" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "[variables('serverName')]", | ||
"type": "Microsoft.Sql/servers", | ||
"location": "[parameters('location')]", | ||
"apiVersion": "2018-06-01-preview", | ||
"tags": { | ||
"displayName": "server" | ||
}, | ||
"properties": { | ||
"administratorLogin": "[parameters('databaseAdminUsername')]", | ||
"administratorLoginPassword": "[parameters('databaseAdminPassword')]" | ||
}, | ||
"resources": [ | ||
{ | ||
"name": "AllowAllWindowsAzureIps", | ||
"type": "firewallrules", | ||
"location": "[parameters('location')]", | ||
"apiVersion": "2018-06-01-preview", | ||
"dependsOn": [ | ||
"[resourceId('Microsoft.Sql/servers', variables('serverName'))]" | ||
], | ||
"properties": { | ||
"startIpAddress": "0.0.0.0", | ||
"endIpAddress": "0.0.0.0" | ||
} | ||
}, | ||
{ | ||
"name": "[variables('dataBaseName')]", | ||
"type": "databases", | ||
"location": "[parameters('location')]", | ||
"apiVersion": "2018-06-01-preview", | ||
"dependsOn": [ | ||
"[resourceId('Microsoft.Sql/servers', variables('serverName'))]" | ||
], | ||
"tags": { | ||
"displayName": "dataBase" | ||
}, | ||
"properties": { | ||
"collation": "[variables('dataBaseCollation')]", | ||
"edition": "[variables('dataBaseEdition')]", | ||
"maxSizeBytes": "1073741824", | ||
"requestedServiceObjectiveName": "[variables('dataBaseRequestedServiceObjectiveName')]" | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"outputs": { | ||
"existingClusterStorageResourceGroup": { | ||
"type": "string", | ||
"value": "[resourceGroup().name]" | ||
}, | ||
"existingClusterStorageAccountName": { | ||
"type": "string", | ||
"value": "[variables('storageAccountName')]" | ||
}, | ||
"existingVirtualNetworkName": { | ||
"type": "string", | ||
"value": "[variables('vNetName')]" | ||
}, | ||
"existingHiveMetastoreServerResourceGroupName": { | ||
"type": "string", | ||
"value": "[resourceGroup().name]" | ||
}, | ||
"existingHiveMetastoreServerName": { | ||
"type": "string", | ||
"value": "[variables('serverName')]" | ||
}, | ||
"existingHiveMetastoreDatabaseName": { | ||
"type": "string", | ||
"value": "[variables('dataBaseName')]" | ||
}, | ||
"existingHiveMetastoreUsername": { | ||
"type": "string", | ||
"value": "[parameters('databaseAdminUsername')]" | ||
}, | ||
"existingHiveMetastorePassword": { | ||
"type": "string", | ||
"value": "[parameters('databaseAdminPassword')]" | ||
}, | ||
"existingVirtualNetworkResourceGroup": { | ||
"type": "string", | ||
"value": "[resourceGroup().name]" | ||
}, | ||
"existingVirtualNetworkSubnetName": { | ||
"type": "string", | ||
"value": "[variables('SubnetName')]" | ||
} | ||
} | ||
} |