-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreateUiDefinition.json
101 lines (101 loc) · 3.81 KB
/
createUiDefinition.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"$schema": "https://schema.management.azure.com/schemas/0.1.2-preview/CreateUIDefinition.MultiVm.json",
"handler": "Microsoft.Azure.CreateUIDef",
"version": "0.1.2-preview",
"parameters": {
"basics": [{
}],
"steps": [{
"name": "infrastructureSettings",
"label": "Infrastructure Settings",
"subLabel": {
"preValidation": "Configure Infrastructure Settings",
"postValidation": "Done"
},
"bladeTitle": "Horizon Cloud on Azure Prerequisites",
"elements": [{
"name": "virtualNetwork",
"type": "Microsoft.Network.VirtualNetworkCombo",
"label": {
"virtualNetwork": "Virtual network - Create management, primary, and DMZ on the same VNet",
"subnets": "Subnets"
},
"defaultValue": {
"name": "vnet01",
"addressPrefixSize": "/16"
},
"toolTip": {
"virtualNetwork": "",
"subnets": ""
},
"constraints": {
"minAddressPrefixSize": "/16"
},
"options": {
"hideExisting": true
},
"subnets": {
"managementSubnet": {
"label": "Create management subnet - This /27 subnet is for IP addresses needed by the management pod",
"defaultValue": {
"name": "managementSubnet",
"addressPrefixSize": "/27"
},
"toolTip": {
"virtualNetwork": "",
"subnets": ""
},
"constraints": {
"minAddressPrefixSize": "/27",
"minAddressCount": 12,
"requireContiguousAddresses": true
}
},
"desktopSubnet": {
"label": "Create primary subnet - This /27 or more subnet is for the desktops or RDSH/multisession servers along with pod manager and Unified Access Gateways on the same VNet.",
"defaultValue": {
"name": "desktopSubnet",
"addressPrefixSize": "/27"
},
"toolTip": {
"virtualNetwork": "For production environments, a CIDR of /24 to /21 is recommended (256 addresses to 2048 addresses)",
"subnets": ""
},
"constraints": {
"minAddressPrefixSize": "/27",
"minAddressCount": 8,
"requireContiguousAddresses": true
}
},
"dmzSubnet": {
"label": "Create front-end DMZ subnet - This /28 or more subnet is for the Unified Access Gateway to communicate with the external gateway's load balancer.",
"defaultValue": {
"name": "DMZSubnet",
"addressPrefixSize": "/28"
},
"toolTip": {
"virtualNetwork": "",
"subnets": ""
},
"constraints": {
"minAddressPrefixSize": "/28",
"minAddressCount": 8,
"requireContiguousAddresses": true
}
}
},
"visible": true
}]
}],
"outputs": {
"virtualNetwork": "[steps('infrastructureSettings').virtualNetwork.name]",
"virtualAddress": "[steps('infrastructureSettings').virtualNetwork.addressPrefix]",
"managementSubnet": "[steps('infrastructureSettings').virtualNetwork.subnets.managementSubnet.name]",
"managementAddress": "[steps('infrastructureSettings').virtualNetwork.subnets.managementSubnet.addressPrefix]",
"desktopSubnet": "[steps('infrastructureSettings').virtualNetwork.subnets.desktopSubnet.name]",
"desktopAddress": "[steps('infrastructureSettings').virtualNetwork.subnets.desktopSubnet.addressPrefix]",
"dmzSubnet": "[steps('infrastructureSettings').virtualNetwork.subnets.dmzSubnet.name]",
"dmzAddress": "[steps('infrastructureSettings').virtualNetwork.subnets.dmzSubnet.addressPrefix]"
}
}
}