-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproperties.json
75 lines (75 loc) · 2.27 KB
/
properties.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
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "2017.09.01.0",
"parameters": {
"licenseType": {
"type": "string",
"defaultValue": "",
"allowedValues": [
"",
"Windows_Client",
"Windows_Server"
]
},
"availabilitySet": {
"type": "object",
"defaultValue": { },
"metadata": {
"description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability."
}
},
"hardwareProfile": {
"type": "object",
"metadata": {
"description": "Specifies the hardware settings for the virtual machine."
}
},
"storageProfile": {
"type": "object",
"metadata": {
"description": "Specifies the storage settings for the virtual machine disks."
}
},
"osProfile": {
"type": "object",
"metadata": {
"description": "Specifies the operating system settings for the virtual machine."
}
},
"networkProfile": {
"type": "object",
"metadata": {
"description": "Specifies the network interfaces of the virtual machine."
}
},
"diagnosticsProfile": {
"type": "object",
"defaultValue": { },
"metadata": {
"description": "Specifies the boot diagnostic settings state."
}
}
},
"variables": {
"comments": {
"defintition": "https://docs.microsoft.com/en-us/rest/api/compute/virtualmachines/virtualmachines-create-or-update#props"
},
"properties": {
"licenseType": "[if(empty(parameters('licenseType')),json('null'),parameters('licenseType'))]",
"availabilitySet": "[parameters('availabilitySet')]",
"hardwareProfile": "[parameters('hardwareProfile')]",
"storageProfile": "[parameters('storageProfile')]",
"osProfile": "[parameters('osProfile')]",
"networkProfile": "[parameters('networkProfile')]",
"diagnosticsProfile": "[parameters('diagnosticsProfile')]"
}
},
"resources": [
],
"outputs": {
"properties": {
"type": "object",
"value": "[variables('properties')]"
}
}
}