forked from ArcusIT/Azure-WindowsVirtualDesktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDeploy_ADDS_DC.json
More file actions
64 lines (64 loc) · 1.87 KB
/
Copy pathDeploy_ADDS_DC.json
File metadata and controls
64 lines (64 loc) · 1.87 KB
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
61
62
63
64
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"vmName": {
"type": "string",
"metadata": {
"description": "Name for the Virtual Machine"
}
},
"domainName": {
"type": "string",
"metadata": {
"description": "Name for the ADDS"
}
},
"Username": {
"type": "string",
"metadata": {
"description": "Name of administrator DOMAINNAME\\username"
}
},
"Password": {
"type": "securestring",
"minLength": 12
}
},
"variables": {
},
"resources": [
{
"apiVersion": "2020-12-01",
"type": "Microsoft.Compute/virtualMachines/extensions",
"name": "[concat(parameters('vmName'),'/Microsoft.Powershell.DSC')]",
"location": "[resourceGroup().location]",
"properties": {
"publisher": "Microsoft.Powershell",
"type": "DSC",
"typeHandlerVersion": "2.26",
"autoUpgradeMinorVersion": true,
"forceUpdateTag": "1.1",
"settings": {
"modulesUrl": "https://github.com/ArcusIT/Azure-WindowsVirtualDesktop/blob/main/Deploy_ADDS.zip?raw=true",
"wmfVersion": "latest",
"ConfigurationFunction": "Deploy_ADDS.ps1\\ADDomain_AddDomainControllerToDomain_Config",
"Properties": {
"domainName": "[parameters('domainName')]",
"Credential": {
"UserName": "[parameters('Username')]",
"Password": "PrivateSettingsRef:Password"
}
}
},
"protectedSettings": {
"Items": {
"Password": "[parameters('Password')]"
}
}
}
}
],
"outputs": {
}
}