-
Notifications
You must be signed in to change notification settings - Fork 0
/
parameters.libsonnet
118 lines (118 loc) · 2.46 KB
/
parameters.libsonnet
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
name: {
type: 'string'
},
imageReference: {
type: ['string', 'object'],
},
adminUserName: {
type: 'string'
},
location: {
type: 'string'
},
disableOverprovision: {
type: 'boolean',
defaultValue: false,
},
instanceCount: {
type: 'integer',
defaultValue: 2,
},
upgradePolicy: {
type: 'string',
defaultValue: 'manual',
},
adminPassword: {
type: 'string',
defaultValue: null
},
authenticationType: {
type: 'string',
defaultValue: if $.osType == 'Windows' then 'rdp' else 'ssh',
},
vmSku: {
type: 'string',
defaultValue: 'Standard_D1_v2',
},
sshPublicKeys: {
type: 'string',
defaultValue: [],
},
loadBalancer: {
type: ['object', 'string'],
defaultValue: null, // { sku: null },
},
loadBalancerSku: {
type: 'string',
defaultValue: null,
},
virtualNetwork: {
type: [ 'object', 'string' ],
defaultValue: '[new]',
},
backendPoolName: {
type: 'string',
defaultValue: null,
},
natPoolName: {
type: 'string',
defaultValue: null,
},
backendPort: {
type: 'string',
defaultValue: null,
},
publicIpAllocationMethod: {
type: 'string',
defaultValue: 'dynamic',
},
dataDiskSizes: {
type: ['array', 'number' ],
defaultValue: [],
},
osType: {
type: 'string',
defaultValue: null, // error "'osType' is a required parameters",
},
subnet: {
type: [ 'string', 'object' ],
defaultValue: null,
},
customData: {
type: 'string',
defaultValue: null,
},
licenseType: {
type: 'string',
defaultValue: null,
},
singlePlacementGroup: {
type: 'boolean',
defaultValue: $.instanceCount <= 100,
},
publicIpAddress: {
type: [ 'string', 'object' ],
defaultValue: null,
},
publicIpAddressDnsName: {
type: 'string',
defaultValue: null,
},
publicIpAddressPerVm: {
type: 'boolean',
defaultValue: false,
},
zones: {
type: 'array',
defaultValue: [],
},
dataDiskCaching: {
type: 'string',
defaultValue: null,
},
identity: {
type: [ 'array', 'string' ],
defaultValue:null
}
}