...
1 package dtl
2
3
4
5
6
7
8
9
10 type CostPropertyType string
11
12 const (
13
14 Projected CostPropertyType = "Projected"
15
16 Reported CostPropertyType = "Reported"
17
18 Unavailable CostPropertyType = "Unavailable"
19 )
20
21
22 func PossibleCostPropertyTypeValues() []CostPropertyType {
23 return []CostPropertyType{Projected, Reported, Unavailable}
24 }
25
26
27 type CustomImageOsType string
28
29 const (
30
31 Linux CustomImageOsType = "Linux"
32
33 None CustomImageOsType = "None"
34
35 Windows CustomImageOsType = "Windows"
36 )
37
38
39 func PossibleCustomImageOsTypeValues() []CustomImageOsType {
40 return []CustomImageOsType{Linux, None, Windows}
41 }
42
43
44 type EnableStatus string
45
46 const (
47
48 Disabled EnableStatus = "Disabled"
49
50 Enabled EnableStatus = "Enabled"
51 )
52
53
54 func PossibleEnableStatusValues() []EnableStatus {
55 return []EnableStatus{Disabled, Enabled}
56 }
57
58
59 type LabStorageType string
60
61 const (
62
63 Premium LabStorageType = "Premium"
64
65 Standard LabStorageType = "Standard"
66 )
67
68
69 func PossibleLabStorageTypeValues() []LabStorageType {
70 return []LabStorageType{Premium, Standard}
71 }
72
73
74 type LinuxOsState string
75
76 const (
77
78 DeprovisionApplied LinuxOsState = "DeprovisionApplied"
79
80 DeprovisionRequested LinuxOsState = "DeprovisionRequested"
81
82 NonDeprovisioned LinuxOsState = "NonDeprovisioned"
83 )
84
85
86 func PossibleLinuxOsStateValues() []LinuxOsState {
87 return []LinuxOsState{DeprovisionApplied, DeprovisionRequested, NonDeprovisioned}
88 }
89
90
91 type PolicyEvaluatorType string
92
93 const (
94
95 AllowedValuesPolicy PolicyEvaluatorType = "AllowedValuesPolicy"
96
97 MaxValuePolicy PolicyEvaluatorType = "MaxValuePolicy"
98 )
99
100
101 func PossiblePolicyEvaluatorTypeValues() []PolicyEvaluatorType {
102 return []PolicyEvaluatorType{AllowedValuesPolicy, MaxValuePolicy}
103 }
104
105
106 type PolicyFactName string
107
108 const (
109
110 PolicyFactNameGalleryImage PolicyFactName = "GalleryImage"
111
112 PolicyFactNameLabVMCount PolicyFactName = "LabVmCount"
113
114 PolicyFactNameLabVMSize PolicyFactName = "LabVmSize"
115
116 PolicyFactNameUserOwnedLabVMCount PolicyFactName = "UserOwnedLabVmCount"
117
118 PolicyFactNameUserOwnedLabVMCountInSubnet PolicyFactName = "UserOwnedLabVmCountInSubnet"
119 )
120
121
122 func PossiblePolicyFactNameValues() []PolicyFactName {
123 return []PolicyFactName{PolicyFactNameGalleryImage, PolicyFactNameLabVMCount, PolicyFactNameLabVMSize, PolicyFactNameUserOwnedLabVMCount, PolicyFactNameUserOwnedLabVMCountInSubnet}
124 }
125
126
127 type PolicyStatus string
128
129 const (
130
131 PolicyStatusDisabled PolicyStatus = "Disabled"
132
133 PolicyStatusEnabled PolicyStatus = "Enabled"
134 )
135
136
137 func PossiblePolicyStatusValues() []PolicyStatus {
138 return []PolicyStatus{PolicyStatusDisabled, PolicyStatusEnabled}
139 }
140
141
142 type SourceControlType string
143
144 const (
145
146 GitHub SourceControlType = "GitHub"
147
148 VsoGit SourceControlType = "VsoGit"
149 )
150
151
152 func PossibleSourceControlTypeValues() []SourceControlType {
153 return []SourceControlType{GitHub, VsoGit}
154 }
155
156
157 type SubscriptionNotificationState string
158
159 const (
160
161 Deleted SubscriptionNotificationState = "Deleted"
162
163 NotDefined SubscriptionNotificationState = "NotDefined"
164
165 Registered SubscriptionNotificationState = "Registered"
166
167 Suspended SubscriptionNotificationState = "Suspended"
168
169 Unregistered SubscriptionNotificationState = "Unregistered"
170
171 Warned SubscriptionNotificationState = "Warned"
172 )
173
174
175 func PossibleSubscriptionNotificationStateValues() []SubscriptionNotificationState {
176 return []SubscriptionNotificationState{Deleted, NotDefined, Registered, Suspended, Unregistered, Warned}
177 }
178
179
180 type TaskType string
181
182 const (
183
184 LabBillingTask TaskType = "LabBillingTask"
185
186 LabVmsShutdownTask TaskType = "LabVmsShutdownTask"
187
188 LabVmsStartupTask TaskType = "LabVmsStartupTask"
189 )
190
191
192 func PossibleTaskTypeValues() []TaskType {
193 return []TaskType{LabBillingTask, LabVmsShutdownTask, LabVmsStartupTask}
194 }
195
196
197 type UsagePermissionType string
198
199 const (
200
201 Allow UsagePermissionType = "Allow"
202
203 Default UsagePermissionType = "Default"
204
205 Deny UsagePermissionType = "Deny"
206 )
207
208
209 func PossibleUsagePermissionTypeValues() []UsagePermissionType {
210 return []UsagePermissionType{Allow, Default, Deny}
211 }
212
213
214 type WindowsOsState string
215
216 const (
217
218 NonSysprepped WindowsOsState = "NonSysprepped"
219
220 SysprepApplied WindowsOsState = "SysprepApplied"
221
222 SysprepRequested WindowsOsState = "SysprepRequested"
223 )
224
225
226 func PossibleWindowsOsStateValues() []WindowsOsState {
227 return []WindowsOsState{NonSysprepped, SysprepApplied, SysprepRequested}
228 }
229
View as plain text