-
Notifications
You must be signed in to change notification settings - Fork 0
/
SqlServer.json
60 lines (60 loc) · 1.79 KB
/
SqlServer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json",
"contentVersion": "1.0.0.0",
"parameters": {
"newVMName": {
"type": "string",
"defaultValue": "SqlNameInput"
},
"labName": {
"type": "string",
"defaultValue": "SkypeForBusiness"
},
"size": {
"type": "string",
"defaultValue": "Standard_A2"
},
"userName": {
"type": "string",
"defaultValue": "UserNameInput"
},
"password": {
"type": "securestring"
}
},
"variables": {
"vmId": "[resourceId ('Microsoft.DevTestLab/labs/virtualMachines', parameters('labName'), parameters('newVMName'))]",
"vmName": "[concat(parameters('labName'), '/', parameters('newVMName'))]"
},
"resources": [
{
"apiVersion": "2015-05-21-preview",
"type": "Microsoft.DevTestLab/labs/virtualMachines",
"name": "[variables('vmName')]",
"location": "[resourceGroup().location]",
"properties": {
"labVirtualNetworkId": "[resourceId('Microsoft.DevTestLab/labs/virtualnetworks', parameters('labName'), 'dtlskypeforbusiness')]",
"notes": "SQL Server 2014 SP1 Standard on Windows Server 2012 R2",
"galleryImageReference": {
"offer": "SQL2014SP1-WS2012R2",
"publisher": "MicrosoftSQLServer",
"sku": "Standard",
"osType": "Windows",
"version": "latest"
},
"size": "[parameters('size')]",
"userName": "[parameters('userName')]",
"password": "[parameters('password')]",
"isAuthenticationWithSshKey": false,
"labSubnetName": "DtlSkypeForBusinessSubnet",
"disallowPublicIpAddress": false
}
}
],
"outputs": {
"labVMId": {
"type": "string",
"value": "[variables('vmId')]"
}
}
}