forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenums.go
278 lines (238 loc) · 11.9 KB
/
enums.go
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
package hybridnetwork
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// DeviceType enumerates the values for device type.
type DeviceType string
const (
// DeviceTypeDevicePropertiesFormat ...
DeviceTypeDevicePropertiesFormat DeviceType = "DevicePropertiesFormat"
)
// PossibleDeviceTypeValues returns an array of possible values for the DeviceType const type.
func PossibleDeviceTypeValues() []DeviceType {
return []DeviceType{DeviceTypeDevicePropertiesFormat}
}
// IPAllocationMethod enumerates the values for ip allocation method.
type IPAllocationMethod string
const (
// Dynamic ...
Dynamic IPAllocationMethod = "Dynamic"
// Static ...
Static IPAllocationMethod = "Static"
// Unknown ...
Unknown IPAllocationMethod = "Unknown"
)
// PossibleIPAllocationMethodValues returns an array of possible values for the IPAllocationMethod const type.
func PossibleIPAllocationMethodValues() []IPAllocationMethod {
return []IPAllocationMethod{Dynamic, Static, Unknown}
}
// IPVersion enumerates the values for ip version.
type IPVersion string
const (
// IPVersionIPv4 ...
IPVersionIPv4 IPVersion = "IPv4"
// IPVersionUnknown ...
IPVersionUnknown IPVersion = "Unknown"
)
// PossibleIPVersionValues returns an array of possible values for the IPVersion const type.
func PossibleIPVersionValues() []IPVersion {
return []IPVersion{IPVersionIPv4, IPVersionUnknown}
}
// OperatingSystemTypes enumerates the values for operating system types.
type OperatingSystemTypes string
const (
// OperatingSystemTypesLinux ...
OperatingSystemTypesLinux OperatingSystemTypes = "Linux"
// OperatingSystemTypesUnknown ...
OperatingSystemTypesUnknown OperatingSystemTypes = "Unknown"
// OperatingSystemTypesWindows ...
OperatingSystemTypesWindows OperatingSystemTypes = "Windows"
)
// PossibleOperatingSystemTypesValues returns an array of possible values for the OperatingSystemTypes const type.
func PossibleOperatingSystemTypesValues() []OperatingSystemTypes {
return []OperatingSystemTypes{OperatingSystemTypesLinux, OperatingSystemTypesUnknown, OperatingSystemTypesWindows}
}
// ProvisioningState enumerates the values for provisioning state.
type ProvisioningState string
const (
// ProvisioningStateAccepted ...
ProvisioningStateAccepted ProvisioningState = "Accepted"
// ProvisioningStateCanceled ...
ProvisioningStateCanceled ProvisioningState = "Canceled"
// ProvisioningStateDeleted ...
ProvisioningStateDeleted ProvisioningState = "Deleted"
// ProvisioningStateDeleting ...
ProvisioningStateDeleting ProvisioningState = "Deleting"
// ProvisioningStateFailed ...
ProvisioningStateFailed ProvisioningState = "Failed"
// ProvisioningStateSucceeded ...
ProvisioningStateSucceeded ProvisioningState = "Succeeded"
// ProvisioningStateUnknown ...
ProvisioningStateUnknown ProvisioningState = "Unknown"
)
// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
func PossibleProvisioningStateValues() []ProvisioningState {
return []ProvisioningState{ProvisioningStateAccepted, ProvisioningStateCanceled, ProvisioningStateDeleted, ProvisioningStateDeleting, ProvisioningStateFailed, ProvisioningStateSucceeded, ProvisioningStateUnknown}
}
// SkuDeploymentMode enumerates the values for sku deployment mode.
type SkuDeploymentMode string
const (
// SkuDeploymentModeAzure ...
SkuDeploymentModeAzure SkuDeploymentMode = "Azure"
// SkuDeploymentModePrivateEdgeZone ...
SkuDeploymentModePrivateEdgeZone SkuDeploymentMode = "PrivateEdgeZone"
// SkuDeploymentModeUnknown ...
SkuDeploymentModeUnknown SkuDeploymentMode = "Unknown"
)
// PossibleSkuDeploymentModeValues returns an array of possible values for the SkuDeploymentMode const type.
func PossibleSkuDeploymentModeValues() []SkuDeploymentMode {
return []SkuDeploymentMode{SkuDeploymentModeAzure, SkuDeploymentModePrivateEdgeZone, SkuDeploymentModeUnknown}
}
// SkuType enumerates the values for sku type.
type SkuType string
const (
// SkuTypeEvolvedPacketCore ...
SkuTypeEvolvedPacketCore SkuType = "EvolvedPacketCore"
// SkuTypeSDWAN ...
SkuTypeSDWAN SkuType = "SDWAN"
// SkuTypeUnknown ...
SkuTypeUnknown SkuType = "Unknown"
)
// PossibleSkuTypeValues returns an array of possible values for the SkuType const type.
func PossibleSkuTypeValues() []SkuType {
return []SkuType{SkuTypeEvolvedPacketCore, SkuTypeSDWAN, SkuTypeUnknown}
}
// Status enumerates the values for status.
type Status string
const (
// StatusNotRegistered ...
StatusNotRegistered Status = "NotRegistered"
// StatusRegistered ...
StatusRegistered Status = "Registered"
// StatusUnknown ...
StatusUnknown Status = "Unknown"
)
// PossibleStatusValues returns an array of possible values for the Status const type.
func PossibleStatusValues() []Status {
return []Status{StatusNotRegistered, StatusRegistered, StatusUnknown}
}
// VendorProvisioningState enumerates the values for vendor provisioning state.
type VendorProvisioningState string
const (
// VendorProvisioningStateDeprovisioned ...
VendorProvisioningStateDeprovisioned VendorProvisioningState = "Deprovisioned"
// VendorProvisioningStateNotProvisioned ...
VendorProvisioningStateNotProvisioned VendorProvisioningState = "NotProvisioned"
// VendorProvisioningStateProvisioned ...
VendorProvisioningStateProvisioned VendorProvisioningState = "Provisioned"
// VendorProvisioningStateProvisioning ...
VendorProvisioningStateProvisioning VendorProvisioningState = "Provisioning"
// VendorProvisioningStateUnknown ...
VendorProvisioningStateUnknown VendorProvisioningState = "Unknown"
// VendorProvisioningStateUserDataValidationFailed ...
VendorProvisioningStateUserDataValidationFailed VendorProvisioningState = "UserDataValidationFailed"
)
// PossibleVendorProvisioningStateValues returns an array of possible values for the VendorProvisioningState const type.
func PossibleVendorProvisioningStateValues() []VendorProvisioningState {
return []VendorProvisioningState{VendorProvisioningStateDeprovisioned, VendorProvisioningStateNotProvisioned, VendorProvisioningStateProvisioned, VendorProvisioningStateProvisioning, VendorProvisioningStateUnknown, VendorProvisioningStateUserDataValidationFailed}
}
// VHDType enumerates the values for vhd type.
type VHDType string
const (
// VHDTypeUnknown ...
VHDTypeUnknown VHDType = "Unknown"
// VHDTypeVHD ...
VHDTypeVHD VHDType = "VHD"
// VHDTypeVHDX ...
VHDTypeVHDX VHDType = "VHDX"
)
// PossibleVHDTypeValues returns an array of possible values for the VHDType const type.
func PossibleVHDTypeValues() []VHDType {
return []VHDType{VHDTypeUnknown, VHDTypeVHD, VHDTypeVHDX}
}
// VirtualMachineSizeTypes enumerates the values for virtual machine size types.
type VirtualMachineSizeTypes string
const (
// VirtualMachineSizeTypesStandardD11V2 ...
VirtualMachineSizeTypesStandardD11V2 VirtualMachineSizeTypes = "Standard_D11_v2"
// VirtualMachineSizeTypesStandardD12V2 ...
VirtualMachineSizeTypesStandardD12V2 VirtualMachineSizeTypes = "Standard_D12_v2"
// VirtualMachineSizeTypesStandardD13V2 ...
VirtualMachineSizeTypesStandardD13V2 VirtualMachineSizeTypes = "Standard_D13_v2"
// VirtualMachineSizeTypesStandardD1V2 ...
VirtualMachineSizeTypesStandardD1V2 VirtualMachineSizeTypes = "Standard_D1_v2"
// VirtualMachineSizeTypesStandardD2V2 ...
VirtualMachineSizeTypesStandardD2V2 VirtualMachineSizeTypes = "Standard_D2_v2"
// VirtualMachineSizeTypesStandardD3V2 ...
VirtualMachineSizeTypesStandardD3V2 VirtualMachineSizeTypes = "Standard_D3_v2"
// VirtualMachineSizeTypesStandardD4V2 ...
VirtualMachineSizeTypesStandardD4V2 VirtualMachineSizeTypes = "Standard_D4_v2"
// VirtualMachineSizeTypesStandardD5V2 ...
VirtualMachineSizeTypesStandardD5V2 VirtualMachineSizeTypes = "Standard_D5_v2"
// VirtualMachineSizeTypesStandardDS11V2 ...
VirtualMachineSizeTypesStandardDS11V2 VirtualMachineSizeTypes = "Standard_DS11_v2"
// VirtualMachineSizeTypesStandardDS12V2 ...
VirtualMachineSizeTypesStandardDS12V2 VirtualMachineSizeTypes = "Standard_DS12_v2"
// VirtualMachineSizeTypesStandardDS13V2 ...
VirtualMachineSizeTypesStandardDS13V2 VirtualMachineSizeTypes = "Standard_DS13_v2"
// VirtualMachineSizeTypesStandardDS1V2 ...
VirtualMachineSizeTypesStandardDS1V2 VirtualMachineSizeTypes = "Standard_DS1_v2"
// VirtualMachineSizeTypesStandardDS2V2 ...
VirtualMachineSizeTypesStandardDS2V2 VirtualMachineSizeTypes = "Standard_DS2_v2"
// VirtualMachineSizeTypesStandardDS3V2 ...
VirtualMachineSizeTypesStandardDS3V2 VirtualMachineSizeTypes = "Standard_DS3_v2"
// VirtualMachineSizeTypesStandardDS4V2 ...
VirtualMachineSizeTypesStandardDS4V2 VirtualMachineSizeTypes = "Standard_DS4_v2"
// VirtualMachineSizeTypesStandardDS5V2 ...
VirtualMachineSizeTypesStandardDS5V2 VirtualMachineSizeTypes = "Standard_DS5_v2"
// VirtualMachineSizeTypesUnknown ...
VirtualMachineSizeTypesUnknown VirtualMachineSizeTypes = "Unknown"
)
// PossibleVirtualMachineSizeTypesValues returns an array of possible values for the VirtualMachineSizeTypes const type.
func PossibleVirtualMachineSizeTypesValues() []VirtualMachineSizeTypes {
return []VirtualMachineSizeTypes{VirtualMachineSizeTypesStandardD11V2, VirtualMachineSizeTypesStandardD12V2, VirtualMachineSizeTypesStandardD13V2, VirtualMachineSizeTypesStandardD1V2, VirtualMachineSizeTypesStandardD2V2, VirtualMachineSizeTypesStandardD3V2, VirtualMachineSizeTypesStandardD4V2, VirtualMachineSizeTypesStandardD5V2, VirtualMachineSizeTypesStandardDS11V2, VirtualMachineSizeTypesStandardDS12V2, VirtualMachineSizeTypesStandardDS13V2, VirtualMachineSizeTypesStandardDS1V2, VirtualMachineSizeTypesStandardDS2V2, VirtualMachineSizeTypesStandardDS3V2, VirtualMachineSizeTypesStandardDS4V2, VirtualMachineSizeTypesStandardDS5V2, VirtualMachineSizeTypesUnknown}
}
// VirtualNetworkFunctionRoleConfigurationType enumerates the values for virtual network function role
// configuration type.
type VirtualNetworkFunctionRoleConfigurationType string
const (
// VirtualNetworkFunctionRoleConfigurationTypeUnknown ...
VirtualNetworkFunctionRoleConfigurationTypeUnknown VirtualNetworkFunctionRoleConfigurationType = "Unknown"
// VirtualNetworkFunctionRoleConfigurationTypeVirtualMachine ...
VirtualNetworkFunctionRoleConfigurationTypeVirtualMachine VirtualNetworkFunctionRoleConfigurationType = "VirtualMachine"
)
// PossibleVirtualNetworkFunctionRoleConfigurationTypeValues returns an array of possible values for the VirtualNetworkFunctionRoleConfigurationType const type.
func PossibleVirtualNetworkFunctionRoleConfigurationTypeValues() []VirtualNetworkFunctionRoleConfigurationType {
return []VirtualNetworkFunctionRoleConfigurationType{VirtualNetworkFunctionRoleConfigurationTypeUnknown, VirtualNetworkFunctionRoleConfigurationTypeVirtualMachine}
}
// VMSwitchType enumerates the values for vm switch type.
type VMSwitchType string
const (
// VMSwitchTypeInternal ...
VMSwitchTypeInternal VMSwitchType = "Internal"
// VMSwitchTypeLan ...
VMSwitchTypeLan VMSwitchType = "Lan"
// VMSwitchTypeManagement ...
VMSwitchTypeManagement VMSwitchType = "Management"
// VMSwitchTypeUnknown ...
VMSwitchTypeUnknown VMSwitchType = "Unknown"
// VMSwitchTypeWan ...
VMSwitchTypeWan VMSwitchType = "Wan"
)
// PossibleVMSwitchTypeValues returns an array of possible values for the VMSwitchType const type.
func PossibleVMSwitchTypeValues() []VMSwitchType {
return []VMSwitchType{VMSwitchTypeInternal, VMSwitchTypeLan, VMSwitchTypeManagement, VMSwitchTypeUnknown, VMSwitchTypeWan}
}