1package peering
2
3// Copyright (c) Microsoft Corporation. All rights reserved.
4// Licensed under the MIT License. See License.txt in the project root for license information.
5//
6// Code generated by Microsoft (R) AutoRest Code Generator.
7// Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
9// ConnectionState enumerates the values for connection state.
10type ConnectionState string
11
12const (
13	// Active ...
14	Active ConnectionState = "Active"
15	// Approved ...
16	Approved ConnectionState = "Approved"
17	// None ...
18	None ConnectionState = "None"
19	// PendingApproval ...
20	PendingApproval ConnectionState = "PendingApproval"
21	// ProvisioningCompleted ...
22	ProvisioningCompleted ConnectionState = "ProvisioningCompleted"
23	// ProvisioningFailed ...
24	ProvisioningFailed ConnectionState = "ProvisioningFailed"
25	// ProvisioningStarted ...
26	ProvisioningStarted ConnectionState = "ProvisioningStarted"
27	// Validating ...
28	Validating ConnectionState = "Validating"
29)
30
31// PossibleConnectionStateValues returns an array of possible values for the ConnectionState const type.
32func PossibleConnectionStateValues() []ConnectionState {
33	return []ConnectionState{Active, Approved, None, PendingApproval, ProvisioningCompleted, ProvisioningFailed, ProvisioningStarted, Validating}
34}
35
36// DirectPeeringType enumerates the values for direct peering type.
37type DirectPeeringType string
38
39const (
40	// Cdn ...
41	Cdn DirectPeeringType = "Cdn"
42	// Edge ...
43	Edge DirectPeeringType = "Edge"
44	// Internal ...
45	Internal DirectPeeringType = "Internal"
46	// Ix ...
47	Ix DirectPeeringType = "Ix"
48	// IxRs ...
49	IxRs DirectPeeringType = "IxRs"
50	// Transit ...
51	Transit DirectPeeringType = "Transit"
52)
53
54// PossibleDirectPeeringTypeValues returns an array of possible values for the DirectPeeringType const type.
55func PossibleDirectPeeringTypeValues() []DirectPeeringType {
56	return []DirectPeeringType{Cdn, Edge, Internal, Ix, IxRs, Transit}
57}
58
59// Family enumerates the values for family.
60type Family string
61
62const (
63	// Direct ...
64	Direct Family = "Direct"
65	// Exchange ...
66	Exchange Family = "Exchange"
67)
68
69// PossibleFamilyValues returns an array of possible values for the Family const type.
70func PossibleFamilyValues() []Family {
71	return []Family{Direct, Exchange}
72}
73
74// Kind enumerates the values for kind.
75type Kind string
76
77const (
78	// KindDirect ...
79	KindDirect Kind = "Direct"
80	// KindExchange ...
81	KindExchange Kind = "Exchange"
82)
83
84// PossibleKindValues returns an array of possible values for the Kind const type.
85func PossibleKindValues() []Kind {
86	return []Kind{KindDirect, KindExchange}
87}
88
89// LearnedType enumerates the values for learned type.
90type LearnedType string
91
92const (
93	// LearnedTypeNone ...
94	LearnedTypeNone LearnedType = "None"
95	// LearnedTypeViaServiceProvider ...
96	LearnedTypeViaServiceProvider LearnedType = "ViaServiceProvider"
97	// LearnedTypeViaSession ...
98	LearnedTypeViaSession LearnedType = "ViaSession"
99)
100
101// PossibleLearnedTypeValues returns an array of possible values for the LearnedType const type.
102func PossibleLearnedTypeValues() []LearnedType {
103	return []LearnedType{LearnedTypeNone, LearnedTypeViaServiceProvider, LearnedTypeViaSession}
104}
105
106// PrefixValidationState enumerates the values for prefix validation state.
107type PrefixValidationState string
108
109const (
110	// PrefixValidationStateFailed ...
111	PrefixValidationStateFailed PrefixValidationState = "Failed"
112	// PrefixValidationStateInvalid ...
113	PrefixValidationStateInvalid PrefixValidationState = "Invalid"
114	// PrefixValidationStateNone ...
115	PrefixValidationStateNone PrefixValidationState = "None"
116	// PrefixValidationStatePending ...
117	PrefixValidationStatePending PrefixValidationState = "Pending"
118	// PrefixValidationStateUnknown ...
119	PrefixValidationStateUnknown PrefixValidationState = "Unknown"
120	// PrefixValidationStateVerified ...
121	PrefixValidationStateVerified PrefixValidationState = "Verified"
122	// PrefixValidationStateWarning ...
123	PrefixValidationStateWarning PrefixValidationState = "Warning"
124)
125
126// PossiblePrefixValidationStateValues returns an array of possible values for the PrefixValidationState const type.
127func PossiblePrefixValidationStateValues() []PrefixValidationState {
128	return []PrefixValidationState{PrefixValidationStateFailed, PrefixValidationStateInvalid, PrefixValidationStateNone, PrefixValidationStatePending, PrefixValidationStateUnknown, PrefixValidationStateVerified, PrefixValidationStateWarning}
129}
130
131// ProvisioningState enumerates the values for provisioning state.
132type ProvisioningState string
133
134const (
135	// Deleting ...
136	Deleting ProvisioningState = "Deleting"
137	// Failed ...
138	Failed ProvisioningState = "Failed"
139	// Succeeded ...
140	Succeeded ProvisioningState = "Succeeded"
141	// Updating ...
142	Updating ProvisioningState = "Updating"
143)
144
145// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
146func PossibleProvisioningStateValues() []ProvisioningState {
147	return []ProvisioningState{Deleting, Failed, Succeeded, Updating}
148}
149
150// Role enumerates the values for role.
151type Role string
152
153const (
154	// RoleEscalation ...
155	RoleEscalation Role = "Escalation"
156	// RoleNoc ...
157	RoleNoc Role = "Noc"
158	// RoleOther ...
159	RoleOther Role = "Other"
160	// RolePolicy ...
161	RolePolicy Role = "Policy"
162	// RoleService ...
163	RoleService Role = "Service"
164	// RoleTechnical ...
165	RoleTechnical Role = "Technical"
166)
167
168// PossibleRoleValues returns an array of possible values for the Role const type.
169func PossibleRoleValues() []Role {
170	return []Role{RoleEscalation, RoleNoc, RoleOther, RolePolicy, RoleService, RoleTechnical}
171}
172
173// SessionAddressProvider enumerates the values for session address provider.
174type SessionAddressProvider string
175
176const (
177	// Microsoft ...
178	Microsoft SessionAddressProvider = "Microsoft"
179	// Peer ...
180	Peer SessionAddressProvider = "Peer"
181)
182
183// PossibleSessionAddressProviderValues returns an array of possible values for the SessionAddressProvider const type.
184func PossibleSessionAddressProviderValues() []SessionAddressProvider {
185	return []SessionAddressProvider{Microsoft, Peer}
186}
187
188// SessionStateV4 enumerates the values for session state v4.
189type SessionStateV4 string
190
191const (
192	// SessionStateV4Active ...
193	SessionStateV4Active SessionStateV4 = "Active"
194	// SessionStateV4Connect ...
195	SessionStateV4Connect SessionStateV4 = "Connect"
196	// SessionStateV4Established ...
197	SessionStateV4Established SessionStateV4 = "Established"
198	// SessionStateV4Idle ...
199	SessionStateV4Idle SessionStateV4 = "Idle"
200	// SessionStateV4None ...
201	SessionStateV4None SessionStateV4 = "None"
202	// SessionStateV4OpenConfirm ...
203	SessionStateV4OpenConfirm SessionStateV4 = "OpenConfirm"
204	// SessionStateV4OpenReceived ...
205	SessionStateV4OpenReceived SessionStateV4 = "OpenReceived"
206	// SessionStateV4OpenSent ...
207	SessionStateV4OpenSent SessionStateV4 = "OpenSent"
208	// SessionStateV4PendingAdd ...
209	SessionStateV4PendingAdd SessionStateV4 = "PendingAdd"
210	// SessionStateV4PendingRemove ...
211	SessionStateV4PendingRemove SessionStateV4 = "PendingRemove"
212	// SessionStateV4PendingUpdate ...
213	SessionStateV4PendingUpdate SessionStateV4 = "PendingUpdate"
214)
215
216// PossibleSessionStateV4Values returns an array of possible values for the SessionStateV4 const type.
217func PossibleSessionStateV4Values() []SessionStateV4 {
218	return []SessionStateV4{SessionStateV4Active, SessionStateV4Connect, SessionStateV4Established, SessionStateV4Idle, SessionStateV4None, SessionStateV4OpenConfirm, SessionStateV4OpenReceived, SessionStateV4OpenSent, SessionStateV4PendingAdd, SessionStateV4PendingRemove, SessionStateV4PendingUpdate}
219}
220
221// SessionStateV6 enumerates the values for session state v6.
222type SessionStateV6 string
223
224const (
225	// SessionStateV6Active ...
226	SessionStateV6Active SessionStateV6 = "Active"
227	// SessionStateV6Connect ...
228	SessionStateV6Connect SessionStateV6 = "Connect"
229	// SessionStateV6Established ...
230	SessionStateV6Established SessionStateV6 = "Established"
231	// SessionStateV6Idle ...
232	SessionStateV6Idle SessionStateV6 = "Idle"
233	// SessionStateV6None ...
234	SessionStateV6None SessionStateV6 = "None"
235	// SessionStateV6OpenConfirm ...
236	SessionStateV6OpenConfirm SessionStateV6 = "OpenConfirm"
237	// SessionStateV6OpenReceived ...
238	SessionStateV6OpenReceived SessionStateV6 = "OpenReceived"
239	// SessionStateV6OpenSent ...
240	SessionStateV6OpenSent SessionStateV6 = "OpenSent"
241	// SessionStateV6PendingAdd ...
242	SessionStateV6PendingAdd SessionStateV6 = "PendingAdd"
243	// SessionStateV6PendingRemove ...
244	SessionStateV6PendingRemove SessionStateV6 = "PendingRemove"
245	// SessionStateV6PendingUpdate ...
246	SessionStateV6PendingUpdate SessionStateV6 = "PendingUpdate"
247)
248
249// PossibleSessionStateV6Values returns an array of possible values for the SessionStateV6 const type.
250func PossibleSessionStateV6Values() []SessionStateV6 {
251	return []SessionStateV6{SessionStateV6Active, SessionStateV6Connect, SessionStateV6Established, SessionStateV6Idle, SessionStateV6None, SessionStateV6OpenConfirm, SessionStateV6OpenReceived, SessionStateV6OpenSent, SessionStateV6PendingAdd, SessionStateV6PendingRemove, SessionStateV6PendingUpdate}
252}
253
254// Size enumerates the values for size.
255type Size string
256
257const (
258	// Free ...
259	Free Size = "Free"
260	// Metered ...
261	Metered Size = "Metered"
262	// Unlimited ...
263	Unlimited Size = "Unlimited"
264)
265
266// PossibleSizeValues returns an array of possible values for the Size const type.
267func PossibleSizeValues() []Size {
268	return []Size{Free, Metered, Unlimited}
269}
270
271// Tier enumerates the values for tier.
272type Tier string
273
274const (
275	// Basic ...
276	Basic Tier = "Basic"
277	// Premium ...
278	Premium Tier = "Premium"
279)
280
281// PossibleTierValues returns an array of possible values for the Tier const type.
282func PossibleTierValues() []Tier {
283	return []Tier{Basic, Premium}
284}
285
286// ValidationState enumerates the values for validation state.
287type ValidationState string
288
289const (
290	// ValidationStateApproved ...
291	ValidationStateApproved ValidationState = "Approved"
292	// ValidationStateFailed ...
293	ValidationStateFailed ValidationState = "Failed"
294	// ValidationStateNone ...
295	ValidationStateNone ValidationState = "None"
296	// ValidationStatePending ...
297	ValidationStatePending ValidationState = "Pending"
298)
299
300// PossibleValidationStateValues returns an array of possible values for the ValidationState const type.
301func PossibleValidationStateValues() []ValidationState {
302	return []ValidationState{ValidationStateApproved, ValidationStateFailed, ValidationStateNone, ValidationStatePending}
303}
304