/
constants.go
331 lines (283 loc) · 11.8 KB
/
constants.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
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
//go:build go1.18
// +build go1.18
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// DO NOT EDIT.
package armmobilenetwork
const (
moduleName = "armmobilenetwork"
moduleVersion = "v0.6.0"
)
// BillingSKU - The SKU of the packet core control plane resource. The SKU list may change over time when a new SKU gets added
// or an exiting SKU gets removed.
type BillingSKU string
const (
// BillingSKUEdgeSite2GBPS - Edge site 2Gbps plan
BillingSKUEdgeSite2GBPS BillingSKU = "EdgeSite2GBPS"
// BillingSKUEdgeSite3GBPS - Edge site 3Gbps plan
BillingSKUEdgeSite3GBPS BillingSKU = "EdgeSite3GBPS"
// BillingSKUEdgeSite4GBPS - Edge site 4Gbps plan
BillingSKUEdgeSite4GBPS BillingSKU = "EdgeSite4GBPS"
// BillingSKUEvaluationPackage - Evaluation package plan
BillingSKUEvaluationPackage BillingSKU = "EvaluationPackage"
// BillingSKUFlagshipStarterPackage - Flagship starter package plan
BillingSKUFlagshipStarterPackage BillingSKU = "FlagshipStarterPackage"
// BillingSKULargePackage - Large package plan
BillingSKULargePackage BillingSKU = "LargePackage"
// BillingSKUMediumPackage - Medium package plan
BillingSKUMediumPackage BillingSKU = "MediumPackage"
)
// PossibleBillingSKUValues returns the possible values for the BillingSKU const type.
func PossibleBillingSKUValues() []BillingSKU {
return []BillingSKU{
BillingSKUEdgeSite2GBPS,
BillingSKUEdgeSite3GBPS,
BillingSKUEdgeSite4GBPS,
BillingSKUEvaluationPackage,
BillingSKUFlagshipStarterPackage,
BillingSKULargePackage,
BillingSKUMediumPackage,
}
}
// CoreNetworkType - The core network technology generation (5G core or EPC / 4G core).
type CoreNetworkType string
const (
// CoreNetworkTypeEPC - EPC / 4G core
CoreNetworkTypeEPC CoreNetworkType = "EPC"
// CoreNetworkTypeFiveGC - 5G core
CoreNetworkTypeFiveGC CoreNetworkType = "5GC"
)
// PossibleCoreNetworkTypeValues returns the possible values for the CoreNetworkType const type.
func PossibleCoreNetworkTypeValues() []CoreNetworkType {
return []CoreNetworkType{
CoreNetworkTypeEPC,
CoreNetworkTypeFiveGC,
}
}
// CreatedByType - The type of identity that created the resource.
type CreatedByType string
const (
CreatedByTypeApplication CreatedByType = "Application"
CreatedByTypeKey CreatedByType = "Key"
CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
CreatedByTypeUser CreatedByType = "User"
)
// PossibleCreatedByTypeValues returns the possible values for the CreatedByType const type.
func PossibleCreatedByTypeValues() []CreatedByType {
return []CreatedByType{
CreatedByTypeApplication,
CreatedByTypeKey,
CreatedByTypeManagedIdentity,
CreatedByTypeUser,
}
}
// ManagedServiceIdentityType - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
type ManagedServiceIdentityType string
const (
ManagedServiceIdentityTypeNone ManagedServiceIdentityType = "None"
ManagedServiceIdentityTypeSystemAssigned ManagedServiceIdentityType = "SystemAssigned"
ManagedServiceIdentityTypeSystemAssignedUserAssigned ManagedServiceIdentityType = "SystemAssigned,UserAssigned"
ManagedServiceIdentityTypeUserAssigned ManagedServiceIdentityType = "UserAssigned"
)
// PossibleManagedServiceIdentityTypeValues returns the possible values for the ManagedServiceIdentityType const type.
func PossibleManagedServiceIdentityTypeValues() []ManagedServiceIdentityType {
return []ManagedServiceIdentityType{
ManagedServiceIdentityTypeNone,
ManagedServiceIdentityTypeSystemAssigned,
ManagedServiceIdentityTypeSystemAssignedUserAssigned,
ManagedServiceIdentityTypeUserAssigned,
}
}
// NaptEnabled - Whether network address and port translation is enabled.
type NaptEnabled string
const (
// NaptEnabledDisabled - NAPT is disabled
NaptEnabledDisabled NaptEnabled = "Disabled"
// NaptEnabledEnabled - NAPT is enabled
NaptEnabledEnabled NaptEnabled = "Enabled"
)
// PossibleNaptEnabledValues returns the possible values for the NaptEnabled const type.
func PossibleNaptEnabledValues() []NaptEnabled {
return []NaptEnabled{
NaptEnabledDisabled,
NaptEnabledEnabled,
}
}
// PduSessionType - PDU session type (IPv4/IPv6).
type PduSessionType string
const (
PduSessionTypeIPv4 PduSessionType = "IPv4"
PduSessionTypeIPv6 PduSessionType = "IPv6"
)
// PossiblePduSessionTypeValues returns the possible values for the PduSessionType const type.
func PossiblePduSessionTypeValues() []PduSessionType {
return []PduSessionType{
PduSessionTypeIPv4,
PduSessionTypeIPv6,
}
}
// PlatformType - The platform type where packet core is deployed. The contents of this enum can change.
type PlatformType string
const (
// PlatformTypeAKSHCI - If this option is chosen, you must set one of "azureStackEdgeDevice", "connectedCluster" or "customLocation".
// If multiple are set then "customLocation" will take precedence over "connectedCluster" which takes precedence over "azureStackEdgeDevice".
PlatformTypeAKSHCI PlatformType = "AKS-HCI"
// PlatformTypeBaseVM - If this option is chosen, you must set one of "connectedCluster" or "customLocation". If multiple
// are set then "customLocation" will take precedence over "connectedCluster".
PlatformTypeBaseVM PlatformType = "BaseVM"
)
// PossiblePlatformTypeValues returns the possible values for the PlatformType const type.
func PossiblePlatformTypeValues() []PlatformType {
return []PlatformType{
PlatformTypeAKSHCI,
PlatformTypeBaseVM,
}
}
// PreemptionCapability - Preemption capability.
type PreemptionCapability string
const (
// PreemptionCapabilityMayPreempt - May preempt
PreemptionCapabilityMayPreempt PreemptionCapability = "MayPreempt"
// PreemptionCapabilityNotPreempt - Cannot preempt
PreemptionCapabilityNotPreempt PreemptionCapability = "NotPreempt"
)
// PossiblePreemptionCapabilityValues returns the possible values for the PreemptionCapability const type.
func PossiblePreemptionCapabilityValues() []PreemptionCapability {
return []PreemptionCapability{
PreemptionCapabilityMayPreempt,
PreemptionCapabilityNotPreempt,
}
}
// PreemptionVulnerability - Preemption vulnerability.
type PreemptionVulnerability string
const (
// PreemptionVulnerabilityNotPreemptable - Cannot be preempted
PreemptionVulnerabilityNotPreemptable PreemptionVulnerability = "NotPreemptable"
// PreemptionVulnerabilityPreemptable - May be preempted
PreemptionVulnerabilityPreemptable PreemptionVulnerability = "Preemptable"
)
// PossiblePreemptionVulnerabilityValues returns the possible values for the PreemptionVulnerability const type.
func PossiblePreemptionVulnerabilityValues() []PreemptionVulnerability {
return []PreemptionVulnerability{
PreemptionVulnerabilityNotPreemptable,
PreemptionVulnerabilityPreemptable,
}
}
// ProvisioningState - The current provisioning state.
type ProvisioningState string
const (
ProvisioningStateAccepted ProvisioningState = "Accepted"
ProvisioningStateCanceled ProvisioningState = "Canceled"
ProvisioningStateDeleted ProvisioningState = "Deleted"
ProvisioningStateDeleting ProvisioningState = "Deleting"
ProvisioningStateFailed ProvisioningState = "Failed"
ProvisioningStateSucceeded ProvisioningState = "Succeeded"
ProvisioningStateUnknown ProvisioningState = "Unknown"
)
// PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.
func PossibleProvisioningStateValues() []ProvisioningState {
return []ProvisioningState{
ProvisioningStateAccepted,
ProvisioningStateCanceled,
ProvisioningStateDeleted,
ProvisioningStateDeleting,
ProvisioningStateFailed,
ProvisioningStateSucceeded,
ProvisioningStateUnknown,
}
}
// RecommendedVersion - Indicates whether this is the recommended version to use for new packet core control plane deployments.
type RecommendedVersion string
const (
// RecommendedVersionNotRecommended - This is not the recommended version to use for new packet core control plane deployments.
RecommendedVersionNotRecommended RecommendedVersion = "NotRecommended"
// RecommendedVersionRecommended - This is the recommended version to use for new packet core control plane deployments.
RecommendedVersionRecommended RecommendedVersion = "Recommended"
)
// PossibleRecommendedVersionValues returns the possible values for the RecommendedVersion const type.
func PossibleRecommendedVersionValues() []RecommendedVersion {
return []RecommendedVersion{
RecommendedVersionNotRecommended,
RecommendedVersionRecommended,
}
}
// SdfDirection - Service data flow direction.
type SdfDirection string
const (
// SdfDirectionBidirectional - Traffic flowing both to and from the UE.
SdfDirectionBidirectional SdfDirection = "Bidirectional"
// SdfDirectionDownlink - Traffic flowing from the data network to the UE.
SdfDirectionDownlink SdfDirection = "Downlink"
// SdfDirectionUplink - Traffic flowing from the UE to the data network.
SdfDirectionUplink SdfDirection = "Uplink"
)
// PossibleSdfDirectionValues returns the possible values for the SdfDirection const type.
func PossibleSdfDirectionValues() []SdfDirection {
return []SdfDirection{
SdfDirectionBidirectional,
SdfDirectionDownlink,
SdfDirectionUplink,
}
}
// SimState - The state of the SIM resource.
type SimState string
const (
// SimStateDisabled - The SIM is disabled because not all configuration required for enabling is present.
SimStateDisabled SimState = "Disabled"
// SimStateEnabled - The SIM is enabled.
SimStateEnabled SimState = "Enabled"
// SimStateInvalid - The SIM cannot be enabled because some of the associated configuration is invalid.
SimStateInvalid SimState = "Invalid"
)
// PossibleSimStateValues returns the possible values for the SimState const type.
func PossibleSimStateValues() []SimState {
return []SimState{
SimStateDisabled,
SimStateEnabled,
SimStateInvalid,
}
}
// TrafficControlPermission - Traffic control permission.
type TrafficControlPermission string
const (
// TrafficControlPermissionBlocked - Traffic matching this rule is not allowed to flow.
TrafficControlPermissionBlocked TrafficControlPermission = "Blocked"
// TrafficControlPermissionEnabled - Traffic matching this rule is allowed to flow.
TrafficControlPermissionEnabled TrafficControlPermission = "Enabled"
)
// PossibleTrafficControlPermissionValues returns the possible values for the TrafficControlPermission const type.
func PossibleTrafficControlPermissionValues() []TrafficControlPermission {
return []TrafficControlPermission{
TrafficControlPermissionBlocked,
TrafficControlPermissionEnabled,
}
}
// VersionState - The state of this packet core control plane version.
type VersionState string
const (
// VersionStateActive - This version is active and suitable for production use.
VersionStateActive VersionState = "Active"
// VersionStateDeprecated - This version is deprecated and is no longer supported.
VersionStateDeprecated VersionState = "Deprecated"
// VersionStatePreview - This version is a preview and is not suitable for production use.
VersionStatePreview VersionState = "Preview"
// VersionStateUnknown - The state of this version is unknown.
VersionStateUnknown VersionState = "Unknown"
// VersionStateValidating - This version is currently being validated.
VersionStateValidating VersionState = "Validating"
// VersionStateValidationFailed - This version failed validation.
VersionStateValidationFailed VersionState = "ValidationFailed"
)
// PossibleVersionStateValues returns the possible values for the VersionState const type.
func PossibleVersionStateValues() []VersionState {
return []VersionState{
VersionStateActive,
VersionStateDeprecated,
VersionStatePreview,
VersionStateUnknown,
VersionStateValidating,
VersionStateValidationFailed,
}
}