1 package dtl
2
3
4
5
6
7
8
9
10 type CostThresholdStatus string
11
12 const (
13
14 Disabled CostThresholdStatus = "Disabled"
15
16 Enabled CostThresholdStatus = "Enabled"
17 )
18
19
20 func PossibleCostThresholdStatusValues() []CostThresholdStatus {
21 return []CostThresholdStatus{Disabled, Enabled}
22 }
23
24
25 type CostType string
26
27 const (
28
29 Projected CostType = "Projected"
30
31 Reported CostType = "Reported"
32
33 Unavailable CostType = "Unavailable"
34 )
35
36
37 func PossibleCostTypeValues() []CostType {
38 return []CostType{Projected, Reported, Unavailable}
39 }
40
41
42 type CustomImageOsType string
43
44 const (
45
46 Linux CustomImageOsType = "Linux"
47
48 None CustomImageOsType = "None"
49
50 Windows CustomImageOsType = "Windows"
51 )
52
53
54 func PossibleCustomImageOsTypeValues() []CustomImageOsType {
55 return []CustomImageOsType{Linux, None, Windows}
56 }
57
58
59 type EnableStatus string
60
61 const (
62
63 EnableStatusDisabled EnableStatus = "Disabled"
64
65 EnableStatusEnabled EnableStatus = "Enabled"
66 )
67
68
69 func PossibleEnableStatusValues() []EnableStatus {
70 return []EnableStatus{EnableStatusDisabled, EnableStatusEnabled}
71 }
72
73
74 type FileUploadOptions string
75
76 const (
77
78 FileUploadOptionsNone FileUploadOptions = "None"
79
80 FileUploadOptionsUploadFilesAndGenerateSasTokens FileUploadOptions = "UploadFilesAndGenerateSasTokens"
81 )
82
83
84 func PossibleFileUploadOptionsValues() []FileUploadOptions {
85 return []FileUploadOptions{FileUploadOptionsNone, FileUploadOptionsUploadFilesAndGenerateSasTokens}
86 }
87
88
89 type HostCachingOptions string
90
91 const (
92
93 HostCachingOptionsNone HostCachingOptions = "None"
94
95 HostCachingOptionsReadOnly HostCachingOptions = "ReadOnly"
96
97 HostCachingOptionsReadWrite HostCachingOptions = "ReadWrite"
98 )
99
100
101 func PossibleHostCachingOptionsValues() []HostCachingOptions {
102 return []HostCachingOptions{HostCachingOptionsNone, HostCachingOptionsReadOnly, HostCachingOptionsReadWrite}
103 }
104
105
106 type HTTPStatusCode string
107
108 const (
109
110 Accepted HTTPStatusCode = "Accepted"
111
112 BadGateway HTTPStatusCode = "BadGateway"
113
114 BadRequest HTTPStatusCode = "BadRequest"
115
116 Conflict HTTPStatusCode = "Conflict"
117
118 Continue HTTPStatusCode = "Continue"
119
120 Created HTTPStatusCode = "Created"
121
122 ExpectationFailed HTTPStatusCode = "ExpectationFailed"
123
124 Forbidden HTTPStatusCode = "Forbidden"
125
126 GatewayTimeout HTTPStatusCode = "GatewayTimeout"
127
128 Gone HTTPStatusCode = "Gone"
129
130 HTTPVersionNotSupported HTTPStatusCode = "HttpVersionNotSupported"
131
132 InternalServerError HTTPStatusCode = "InternalServerError"
133
134 LengthRequired HTTPStatusCode = "LengthRequired"
135
136 MethodNotAllowed HTTPStatusCode = "MethodNotAllowed"
137
138 MovedPermanently HTTPStatusCode = "MovedPermanently"
139
140 MultipleChoices HTTPStatusCode = "MultipleChoices"
141
142 NoContent HTTPStatusCode = "NoContent"
143
144 NonAuthoritativeInformation HTTPStatusCode = "NonAuthoritativeInformation"
145
146 NotAcceptable HTTPStatusCode = "NotAcceptable"
147
148 NotFound HTTPStatusCode = "NotFound"
149
150 NotImplemented HTTPStatusCode = "NotImplemented"
151
152 NotModified HTTPStatusCode = "NotModified"
153
154 OK HTTPStatusCode = "OK"
155
156 PartialContent HTTPStatusCode = "PartialContent"
157
158 PaymentRequired HTTPStatusCode = "PaymentRequired"
159
160 PreconditionFailed HTTPStatusCode = "PreconditionFailed"
161
162 ProxyAuthenticationRequired HTTPStatusCode = "ProxyAuthenticationRequired"
163
164 Redirect HTTPStatusCode = "Redirect"
165
166 RequestedRangeNotSatisfiable HTTPStatusCode = "RequestedRangeNotSatisfiable"
167
168 RequestEntityTooLarge HTTPStatusCode = "RequestEntityTooLarge"
169
170 RequestTimeout HTTPStatusCode = "RequestTimeout"
171
172 RequestURITooLong HTTPStatusCode = "RequestUriTooLong"
173
174 ResetContent HTTPStatusCode = "ResetContent"
175
176 SeeOther HTTPStatusCode = "SeeOther"
177
178 ServiceUnavailable HTTPStatusCode = "ServiceUnavailable"
179
180 SwitchingProtocols HTTPStatusCode = "SwitchingProtocols"
181
182 TemporaryRedirect HTTPStatusCode = "TemporaryRedirect"
183
184 Unauthorized HTTPStatusCode = "Unauthorized"
185
186 UnsupportedMediaType HTTPStatusCode = "UnsupportedMediaType"
187
188 Unused HTTPStatusCode = "Unused"
189
190 UpgradeRequired HTTPStatusCode = "UpgradeRequired"
191
192 UseProxy HTTPStatusCode = "UseProxy"
193 )
194
195
196 func PossibleHTTPStatusCodeValues() []HTTPStatusCode {
197 return []HTTPStatusCode{Accepted, BadGateway, BadRequest, Conflict, Continue, Created, ExpectationFailed, Forbidden, GatewayTimeout, Gone, HTTPVersionNotSupported, InternalServerError, LengthRequired, MethodNotAllowed, MovedPermanently, MultipleChoices, NoContent, NonAuthoritativeInformation, NotAcceptable, NotFound, NotImplemented, NotModified, OK, PartialContent, PaymentRequired, PreconditionFailed, ProxyAuthenticationRequired, Redirect, RequestedRangeNotSatisfiable, RequestEntityTooLarge, RequestTimeout, RequestURITooLong, ResetContent, SeeOther, ServiceUnavailable, SwitchingProtocols, TemporaryRedirect, Unauthorized, UnsupportedMediaType, Unused, UpgradeRequired, UseProxy}
198 }
199
200
201 type LinuxOsState string
202
203 const (
204
205 DeprovisionApplied LinuxOsState = "DeprovisionApplied"
206
207 DeprovisionRequested LinuxOsState = "DeprovisionRequested"
208
209 NonDeprovisioned LinuxOsState = "NonDeprovisioned"
210 )
211
212
213 func PossibleLinuxOsStateValues() []LinuxOsState {
214 return []LinuxOsState{DeprovisionApplied, DeprovisionRequested, NonDeprovisioned}
215 }
216
217
218 type NotificationChannelEventType string
219
220 const (
221
222 AutoShutdown NotificationChannelEventType = "AutoShutdown"
223
224 Cost NotificationChannelEventType = "Cost"
225 )
226
227
228 func PossibleNotificationChannelEventTypeValues() []NotificationChannelEventType {
229 return []NotificationChannelEventType{AutoShutdown, Cost}
230 }
231
232
233 type NotificationStatus string
234
235 const (
236
237 NotificationStatusDisabled NotificationStatus = "Disabled"
238
239 NotificationStatusEnabled NotificationStatus = "Enabled"
240 )
241
242
243 func PossibleNotificationStatusValues() []NotificationStatus {
244 return []NotificationStatus{NotificationStatusDisabled, NotificationStatusEnabled}
245 }
246
247
248 type PolicyEvaluatorType string
249
250 const (
251
252 AllowedValuesPolicy PolicyEvaluatorType = "AllowedValuesPolicy"
253
254 MaxValuePolicy PolicyEvaluatorType = "MaxValuePolicy"
255 )
256
257
258 func PossiblePolicyEvaluatorTypeValues() []PolicyEvaluatorType {
259 return []PolicyEvaluatorType{AllowedValuesPolicy, MaxValuePolicy}
260 }
261
262
263 type PolicyFactName string
264
265 const (
266
267 PolicyFactNameGalleryImage PolicyFactName = "GalleryImage"
268
269 PolicyFactNameLabPremiumVMCount PolicyFactName = "LabPremiumVmCount"
270
271 PolicyFactNameLabTargetCost PolicyFactName = "LabTargetCost"
272
273 PolicyFactNameLabVMCount PolicyFactName = "LabVmCount"
274
275 PolicyFactNameLabVMSize PolicyFactName = "LabVmSize"
276
277 PolicyFactNameUserOwnedLabPremiumVMCount PolicyFactName = "UserOwnedLabPremiumVmCount"
278
279 PolicyFactNameUserOwnedLabVMCount PolicyFactName = "UserOwnedLabVmCount"
280
281 PolicyFactNameUserOwnedLabVMCountInSubnet PolicyFactName = "UserOwnedLabVmCountInSubnet"
282 )
283
284
285 func PossiblePolicyFactNameValues() []PolicyFactName {
286 return []PolicyFactName{PolicyFactNameGalleryImage, PolicyFactNameLabPremiumVMCount, PolicyFactNameLabTargetCost, PolicyFactNameLabVMCount, PolicyFactNameLabVMSize, PolicyFactNameUserOwnedLabPremiumVMCount, PolicyFactNameUserOwnedLabVMCount, PolicyFactNameUserOwnedLabVMCountInSubnet}
287 }
288
289
290 type PolicyStatus string
291
292 const (
293
294 PolicyStatusDisabled PolicyStatus = "Disabled"
295
296 PolicyStatusEnabled PolicyStatus = "Enabled"
297 )
298
299
300 func PossiblePolicyStatusValues() []PolicyStatus {
301 return []PolicyStatus{PolicyStatusDisabled, PolicyStatusEnabled}
302 }
303
304
305 type PremiumDataDisk string
306
307 const (
308
309 PremiumDataDiskDisabled PremiumDataDisk = "Disabled"
310
311 PremiumDataDiskEnabled PremiumDataDisk = "Enabled"
312 )
313
314
315 func PossiblePremiumDataDiskValues() []PremiumDataDisk {
316 return []PremiumDataDisk{PremiumDataDiskDisabled, PremiumDataDiskEnabled}
317 }
318
319
320 type ReportingCycleType string
321
322 const (
323
324 CalendarMonth ReportingCycleType = "CalendarMonth"
325
326 Custom ReportingCycleType = "Custom"
327 )
328
329
330 func PossibleReportingCycleTypeValues() []ReportingCycleType {
331 return []ReportingCycleType{CalendarMonth, Custom}
332 }
333
334
335 type SourceControlType string
336
337 const (
338
339 GitHub SourceControlType = "GitHub"
340
341 VsoGit SourceControlType = "VsoGit"
342 )
343
344
345 func PossibleSourceControlTypeValues() []SourceControlType {
346 return []SourceControlType{GitHub, VsoGit}
347 }
348
349
350 type StorageType string
351
352 const (
353
354 Premium StorageType = "Premium"
355
356 Standard StorageType = "Standard"
357 )
358
359
360 func PossibleStorageTypeValues() []StorageType {
361 return []StorageType{Premium, Standard}
362 }
363
364
365 type TargetCostStatus string
366
367 const (
368
369 TargetCostStatusDisabled TargetCostStatus = "Disabled"
370
371 TargetCostStatusEnabled TargetCostStatus = "Enabled"
372 )
373
374
375 func PossibleTargetCostStatusValues() []TargetCostStatus {
376 return []TargetCostStatus{TargetCostStatusDisabled, TargetCostStatusEnabled}
377 }
378
379
380 type TransportProtocol string
381
382 const (
383
384 TCP TransportProtocol = "Tcp"
385
386 UDP TransportProtocol = "Udp"
387 )
388
389
390 func PossibleTransportProtocolValues() []TransportProtocol {
391 return []TransportProtocol{TCP, UDP}
392 }
393
394
395 type UsagePermissionType string
396
397 const (
398
399 Allow UsagePermissionType = "Allow"
400
401 Default UsagePermissionType = "Default"
402
403 Deny UsagePermissionType = "Deny"
404 )
405
406
407 func PossibleUsagePermissionTypeValues() []UsagePermissionType {
408 return []UsagePermissionType{Allow, Default, Deny}
409 }
410
411
412 type VirtualMachineCreationSource string
413
414 const (
415
416 FromCustomImage VirtualMachineCreationSource = "FromCustomImage"
417
418 FromGalleryImage VirtualMachineCreationSource = "FromGalleryImage"
419 )
420
421
422 func PossibleVirtualMachineCreationSourceValues() []VirtualMachineCreationSource {
423 return []VirtualMachineCreationSource{FromCustomImage, FromGalleryImage}
424 }
425
426
427 type WindowsOsState string
428
429 const (
430
431 NonSysprepped WindowsOsState = "NonSysprepped"
432
433 SysprepApplied WindowsOsState = "SysprepApplied"
434
435 SysprepRequested WindowsOsState = "SysprepRequested"
436 )
437
438
439 func PossibleWindowsOsStateValues() []WindowsOsState {
440 return []WindowsOsState{NonSysprepped, SysprepApplied, SysprepRequested}
441 }
442
View as plain text