1package frontdoor
2
3// Copyright (c) Microsoft and contributors.  All rights reserved.
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13//
14// See the License for the specific language governing permissions and
15// limitations under the License.
16//
17// Code generated by Microsoft (R) AutoRest Code Generator.
18// Changes may cause incorrect behavior and will be lost if the code is regenerated.
19
20// ActionType enumerates the values for action type.
21type ActionType string
22
23const (
24	// Allow ...
25	Allow ActionType = "Allow"
26	// Block ...
27	Block ActionType = "Block"
28	// Log ...
29	Log ActionType = "Log"
30	// Redirect ...
31	Redirect ActionType = "Redirect"
32)
33
34// PossibleActionTypeValues returns an array of possible values for the ActionType const type.
35func PossibleActionTypeValues() []ActionType {
36	return []ActionType{Allow, Block, Log, Redirect}
37}
38
39// AggregationInterval enumerates the values for aggregation interval.
40type AggregationInterval string
41
42const (
43	// Daily ...
44	Daily AggregationInterval = "Daily"
45	// Hourly ...
46	Hourly AggregationInterval = "Hourly"
47)
48
49// PossibleAggregationIntervalValues returns an array of possible values for the AggregationInterval const type.
50func PossibleAggregationIntervalValues() []AggregationInterval {
51	return []AggregationInterval{Daily, Hourly}
52}
53
54// Availability enumerates the values for availability.
55type Availability string
56
57const (
58	// Available ...
59	Available Availability = "Available"
60	// Unavailable ...
61	Unavailable Availability = "Unavailable"
62)
63
64// PossibleAvailabilityValues returns an array of possible values for the Availability const type.
65func PossibleAvailabilityValues() []Availability {
66	return []Availability{Available, Unavailable}
67}
68
69// BackendEnabledState enumerates the values for backend enabled state.
70type BackendEnabledState string
71
72const (
73	// Disabled ...
74	Disabled BackendEnabledState = "Disabled"
75	// Enabled ...
76	Enabled BackendEnabledState = "Enabled"
77)
78
79// PossibleBackendEnabledStateValues returns an array of possible values for the BackendEnabledState const type.
80func PossibleBackendEnabledStateValues() []BackendEnabledState {
81	return []BackendEnabledState{Disabled, Enabled}
82}
83
84// CertificateSource enumerates the values for certificate source.
85type CertificateSource string
86
87const (
88	// CertificateSourceAzureKeyVault ...
89	CertificateSourceAzureKeyVault CertificateSource = "AzureKeyVault"
90	// CertificateSourceFrontDoor ...
91	CertificateSourceFrontDoor CertificateSource = "FrontDoor"
92)
93
94// PossibleCertificateSourceValues returns an array of possible values for the CertificateSource const type.
95func PossibleCertificateSourceValues() []CertificateSource {
96	return []CertificateSource{CertificateSourceAzureKeyVault, CertificateSourceFrontDoor}
97}
98
99// CertificateType enumerates the values for certificate type.
100type CertificateType string
101
102const (
103	// Dedicated ...
104	Dedicated CertificateType = "Dedicated"
105)
106
107// PossibleCertificateTypeValues returns an array of possible values for the CertificateType const type.
108func PossibleCertificateTypeValues() []CertificateType {
109	return []CertificateType{Dedicated}
110}
111
112// CustomHTTPSProvisioningState enumerates the values for custom https provisioning state.
113type CustomHTTPSProvisioningState string
114
115const (
116	// CustomHTTPSProvisioningStateDisabled ...
117	CustomHTTPSProvisioningStateDisabled CustomHTTPSProvisioningState = "Disabled"
118	// CustomHTTPSProvisioningStateDisabling ...
119	CustomHTTPSProvisioningStateDisabling CustomHTTPSProvisioningState = "Disabling"
120	// CustomHTTPSProvisioningStateEnabled ...
121	CustomHTTPSProvisioningStateEnabled CustomHTTPSProvisioningState = "Enabled"
122	// CustomHTTPSProvisioningStateEnabling ...
123	CustomHTTPSProvisioningStateEnabling CustomHTTPSProvisioningState = "Enabling"
124	// CustomHTTPSProvisioningStateFailed ...
125	CustomHTTPSProvisioningStateFailed CustomHTTPSProvisioningState = "Failed"
126)
127
128// PossibleCustomHTTPSProvisioningStateValues returns an array of possible values for the CustomHTTPSProvisioningState const type.
129func PossibleCustomHTTPSProvisioningStateValues() []CustomHTTPSProvisioningState {
130	return []CustomHTTPSProvisioningState{CustomHTTPSProvisioningStateDisabled, CustomHTTPSProvisioningStateDisabling, CustomHTTPSProvisioningStateEnabled, CustomHTTPSProvisioningStateEnabling, CustomHTTPSProvisioningStateFailed}
131}
132
133// CustomHTTPSProvisioningSubstate enumerates the values for custom https provisioning substate.
134type CustomHTTPSProvisioningSubstate string
135
136const (
137	// CertificateDeleted ...
138	CertificateDeleted CustomHTTPSProvisioningSubstate = "CertificateDeleted"
139	// CertificateDeployed ...
140	CertificateDeployed CustomHTTPSProvisioningSubstate = "CertificateDeployed"
141	// DeletingCertificate ...
142	DeletingCertificate CustomHTTPSProvisioningSubstate = "DeletingCertificate"
143	// DeployingCertificate ...
144	DeployingCertificate CustomHTTPSProvisioningSubstate = "DeployingCertificate"
145	// DomainControlValidationRequestApproved ...
146	DomainControlValidationRequestApproved CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestApproved"
147	// DomainControlValidationRequestRejected ...
148	DomainControlValidationRequestRejected CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestRejected"
149	// DomainControlValidationRequestTimedOut ...
150	DomainControlValidationRequestTimedOut CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestTimedOut"
151	// IssuingCertificate ...
152	IssuingCertificate CustomHTTPSProvisioningSubstate = "IssuingCertificate"
153	// PendingDomainControlValidationREquestApproval ...
154	PendingDomainControlValidationREquestApproval CustomHTTPSProvisioningSubstate = "PendingDomainControlValidationREquestApproval"
155	// SubmittingDomainControlValidationRequest ...
156	SubmittingDomainControlValidationRequest CustomHTTPSProvisioningSubstate = "SubmittingDomainControlValidationRequest"
157)
158
159// PossibleCustomHTTPSProvisioningSubstateValues returns an array of possible values for the CustomHTTPSProvisioningSubstate const type.
160func PossibleCustomHTTPSProvisioningSubstateValues() []CustomHTTPSProvisioningSubstate {
161	return []CustomHTTPSProvisioningSubstate{CertificateDeleted, CertificateDeployed, DeletingCertificate, DeployingCertificate, DomainControlValidationRequestApproved, DomainControlValidationRequestRejected, DomainControlValidationRequestTimedOut, IssuingCertificate, PendingDomainControlValidationREquestApproval, SubmittingDomainControlValidationRequest}
162}
163
164// CustomRuleEnabledState enumerates the values for custom rule enabled state.
165type CustomRuleEnabledState string
166
167const (
168	// CustomRuleEnabledStateDisabled ...
169	CustomRuleEnabledStateDisabled CustomRuleEnabledState = "Disabled"
170	// CustomRuleEnabledStateEnabled ...
171	CustomRuleEnabledStateEnabled CustomRuleEnabledState = "Enabled"
172)
173
174// PossibleCustomRuleEnabledStateValues returns an array of possible values for the CustomRuleEnabledState const type.
175func PossibleCustomRuleEnabledStateValues() []CustomRuleEnabledState {
176	return []CustomRuleEnabledState{CustomRuleEnabledStateDisabled, CustomRuleEnabledStateEnabled}
177}
178
179// DynamicCompressionEnabled enumerates the values for dynamic compression enabled.
180type DynamicCompressionEnabled string
181
182const (
183	// DynamicCompressionEnabledDisabled ...
184	DynamicCompressionEnabledDisabled DynamicCompressionEnabled = "Disabled"
185	// DynamicCompressionEnabledEnabled ...
186	DynamicCompressionEnabledEnabled DynamicCompressionEnabled = "Enabled"
187)
188
189// PossibleDynamicCompressionEnabledValues returns an array of possible values for the DynamicCompressionEnabled const type.
190func PossibleDynamicCompressionEnabledValues() []DynamicCompressionEnabled {
191	return []DynamicCompressionEnabled{DynamicCompressionEnabledDisabled, DynamicCompressionEnabledEnabled}
192}
193
194// EnabledState enumerates the values for enabled state.
195type EnabledState string
196
197const (
198	// EnabledStateDisabled ...
199	EnabledStateDisabled EnabledState = "Disabled"
200	// EnabledStateEnabled ...
201	EnabledStateEnabled EnabledState = "Enabled"
202)
203
204// PossibleEnabledStateValues returns an array of possible values for the EnabledState const type.
205func PossibleEnabledStateValues() []EnabledState {
206	return []EnabledState{EnabledStateDisabled, EnabledStateEnabled}
207}
208
209// EndpointType enumerates the values for endpoint type.
210type EndpointType string
211
212const (
213	// AFD ...
214	AFD EndpointType = "AFD"
215	// ATM ...
216	ATM EndpointType = "ATM"
217	// AzureRegion ...
218	AzureRegion EndpointType = "AzureRegion"
219	// CDN ...
220	CDN EndpointType = "CDN"
221)
222
223// PossibleEndpointTypeValues returns an array of possible values for the EndpointType const type.
224func PossibleEndpointTypeValues() []EndpointType {
225	return []EndpointType{AFD, ATM, AzureRegion, CDN}
226}
227
228// EnforceCertificateNameCheckEnabledState enumerates the values for enforce certificate name check enabled
229// state.
230type EnforceCertificateNameCheckEnabledState string
231
232const (
233	// EnforceCertificateNameCheckEnabledStateDisabled ...
234	EnforceCertificateNameCheckEnabledStateDisabled EnforceCertificateNameCheckEnabledState = "Disabled"
235	// EnforceCertificateNameCheckEnabledStateEnabled ...
236	EnforceCertificateNameCheckEnabledStateEnabled EnforceCertificateNameCheckEnabledState = "Enabled"
237)
238
239// PossibleEnforceCertificateNameCheckEnabledStateValues returns an array of possible values for the EnforceCertificateNameCheckEnabledState const type.
240func PossibleEnforceCertificateNameCheckEnabledStateValues() []EnforceCertificateNameCheckEnabledState {
241	return []EnforceCertificateNameCheckEnabledState{EnforceCertificateNameCheckEnabledStateDisabled, EnforceCertificateNameCheckEnabledStateEnabled}
242}
243
244// ForwardingProtocol enumerates the values for forwarding protocol.
245type ForwardingProtocol string
246
247const (
248	// HTTPOnly ...
249	HTTPOnly ForwardingProtocol = "HttpOnly"
250	// HTTPSOnly ...
251	HTTPSOnly ForwardingProtocol = "HttpsOnly"
252	// MatchRequest ...
253	MatchRequest ForwardingProtocol = "MatchRequest"
254)
255
256// PossibleForwardingProtocolValues returns an array of possible values for the ForwardingProtocol const type.
257func PossibleForwardingProtocolValues() []ForwardingProtocol {
258	return []ForwardingProtocol{HTTPOnly, HTTPSOnly, MatchRequest}
259}
260
261// HeaderActionType enumerates the values for header action type.
262type HeaderActionType string
263
264const (
265	// Append ...
266	Append HeaderActionType = "Append"
267	// Delete ...
268	Delete HeaderActionType = "Delete"
269	// Overwrite ...
270	Overwrite HeaderActionType = "Overwrite"
271)
272
273// PossibleHeaderActionTypeValues returns an array of possible values for the HeaderActionType const type.
274func PossibleHeaderActionTypeValues() []HeaderActionType {
275	return []HeaderActionType{Append, Delete, Overwrite}
276}
277
278// HealthProbeEnabled enumerates the values for health probe enabled.
279type HealthProbeEnabled string
280
281const (
282	// HealthProbeEnabledDisabled ...
283	HealthProbeEnabledDisabled HealthProbeEnabled = "Disabled"
284	// HealthProbeEnabledEnabled ...
285	HealthProbeEnabledEnabled HealthProbeEnabled = "Enabled"
286)
287
288// PossibleHealthProbeEnabledValues returns an array of possible values for the HealthProbeEnabled const type.
289func PossibleHealthProbeEnabledValues() []HealthProbeEnabled {
290	return []HealthProbeEnabled{HealthProbeEnabledDisabled, HealthProbeEnabledEnabled}
291}
292
293// HealthProbeMethod enumerates the values for health probe method.
294type HealthProbeMethod string
295
296const (
297	// GET ...
298	GET HealthProbeMethod = "GET"
299	// HEAD ...
300	HEAD HealthProbeMethod = "HEAD"
301)
302
303// PossibleHealthProbeMethodValues returns an array of possible values for the HealthProbeMethod const type.
304func PossibleHealthProbeMethodValues() []HealthProbeMethod {
305	return []HealthProbeMethod{GET, HEAD}
306}
307
308// LatencyScorecardAggregationInterval enumerates the values for latency scorecard aggregation interval.
309type LatencyScorecardAggregationInterval string
310
311const (
312	// LatencyScorecardAggregationIntervalDaily ...
313	LatencyScorecardAggregationIntervalDaily LatencyScorecardAggregationInterval = "Daily"
314	// LatencyScorecardAggregationIntervalMonthly ...
315	LatencyScorecardAggregationIntervalMonthly LatencyScorecardAggregationInterval = "Monthly"
316	// LatencyScorecardAggregationIntervalWeekly ...
317	LatencyScorecardAggregationIntervalWeekly LatencyScorecardAggregationInterval = "Weekly"
318)
319
320// PossibleLatencyScorecardAggregationIntervalValues returns an array of possible values for the LatencyScorecardAggregationInterval const type.
321func PossibleLatencyScorecardAggregationIntervalValues() []LatencyScorecardAggregationInterval {
322	return []LatencyScorecardAggregationInterval{LatencyScorecardAggregationIntervalDaily, LatencyScorecardAggregationIntervalMonthly, LatencyScorecardAggregationIntervalWeekly}
323}
324
325// ManagedRuleEnabledState enumerates the values for managed rule enabled state.
326type ManagedRuleEnabledState string
327
328const (
329	// ManagedRuleEnabledStateDisabled ...
330	ManagedRuleEnabledStateDisabled ManagedRuleEnabledState = "Disabled"
331	// ManagedRuleEnabledStateEnabled ...
332	ManagedRuleEnabledStateEnabled ManagedRuleEnabledState = "Enabled"
333)
334
335// PossibleManagedRuleEnabledStateValues returns an array of possible values for the ManagedRuleEnabledState const type.
336func PossibleManagedRuleEnabledStateValues() []ManagedRuleEnabledState {
337	return []ManagedRuleEnabledState{ManagedRuleEnabledStateDisabled, ManagedRuleEnabledStateEnabled}
338}
339
340// ManagedRuleExclusionMatchVariable enumerates the values for managed rule exclusion match variable.
341type ManagedRuleExclusionMatchVariable string
342
343const (
344	// QueryStringArgNames ...
345	QueryStringArgNames ManagedRuleExclusionMatchVariable = "QueryStringArgNames"
346	// RequestBodyPostArgNames ...
347	RequestBodyPostArgNames ManagedRuleExclusionMatchVariable = "RequestBodyPostArgNames"
348	// RequestCookieNames ...
349	RequestCookieNames ManagedRuleExclusionMatchVariable = "RequestCookieNames"
350	// RequestHeaderNames ...
351	RequestHeaderNames ManagedRuleExclusionMatchVariable = "RequestHeaderNames"
352)
353
354// PossibleManagedRuleExclusionMatchVariableValues returns an array of possible values for the ManagedRuleExclusionMatchVariable const type.
355func PossibleManagedRuleExclusionMatchVariableValues() []ManagedRuleExclusionMatchVariable {
356	return []ManagedRuleExclusionMatchVariable{QueryStringArgNames, RequestBodyPostArgNames, RequestCookieNames, RequestHeaderNames}
357}
358
359// ManagedRuleExclusionSelectorMatchOperator enumerates the values for managed rule exclusion selector match
360// operator.
361type ManagedRuleExclusionSelectorMatchOperator string
362
363const (
364	// Contains ...
365	Contains ManagedRuleExclusionSelectorMatchOperator = "Contains"
366	// EndsWith ...
367	EndsWith ManagedRuleExclusionSelectorMatchOperator = "EndsWith"
368	// Equals ...
369	Equals ManagedRuleExclusionSelectorMatchOperator = "Equals"
370	// EqualsAny ...
371	EqualsAny ManagedRuleExclusionSelectorMatchOperator = "EqualsAny"
372	// StartsWith ...
373	StartsWith ManagedRuleExclusionSelectorMatchOperator = "StartsWith"
374)
375
376// PossibleManagedRuleExclusionSelectorMatchOperatorValues returns an array of possible values for the ManagedRuleExclusionSelectorMatchOperator const type.
377func PossibleManagedRuleExclusionSelectorMatchOperatorValues() []ManagedRuleExclusionSelectorMatchOperator {
378	return []ManagedRuleExclusionSelectorMatchOperator{Contains, EndsWith, Equals, EqualsAny, StartsWith}
379}
380
381// MatchProcessingBehavior enumerates the values for match processing behavior.
382type MatchProcessingBehavior string
383
384const (
385	// Continue ...
386	Continue MatchProcessingBehavior = "Continue"
387	// Stop ...
388	Stop MatchProcessingBehavior = "Stop"
389)
390
391// PossibleMatchProcessingBehaviorValues returns an array of possible values for the MatchProcessingBehavior const type.
392func PossibleMatchProcessingBehaviorValues() []MatchProcessingBehavior {
393	return []MatchProcessingBehavior{Continue, Stop}
394}
395
396// MatchVariable enumerates the values for match variable.
397type MatchVariable string
398
399const (
400	// Cookies ...
401	Cookies MatchVariable = "Cookies"
402	// PostArgs ...
403	PostArgs MatchVariable = "PostArgs"
404	// QueryString ...
405	QueryString MatchVariable = "QueryString"
406	// RemoteAddr ...
407	RemoteAddr MatchVariable = "RemoteAddr"
408	// RequestBody ...
409	RequestBody MatchVariable = "RequestBody"
410	// RequestHeader ...
411	RequestHeader MatchVariable = "RequestHeader"
412	// RequestMethod ...
413	RequestMethod MatchVariable = "RequestMethod"
414	// RequestURI ...
415	RequestURI MatchVariable = "RequestUri"
416	// SocketAddr ...
417	SocketAddr MatchVariable = "SocketAddr"
418)
419
420// PossibleMatchVariableValues returns an array of possible values for the MatchVariable const type.
421func PossibleMatchVariableValues() []MatchVariable {
422	return []MatchVariable{Cookies, PostArgs, QueryString, RemoteAddr, RequestBody, RequestHeader, RequestMethod, RequestURI, SocketAddr}
423}
424
425// MinimumTLSVersion enumerates the values for minimum tls version.
426type MinimumTLSVersion string
427
428const (
429	// OneFullStopTwo ...
430	OneFullStopTwo MinimumTLSVersion = "1.2"
431	// OneFullStopZero ...
432	OneFullStopZero MinimumTLSVersion = "1.0"
433)
434
435// PossibleMinimumTLSVersionValues returns an array of possible values for the MinimumTLSVersion const type.
436func PossibleMinimumTLSVersionValues() []MinimumTLSVersion {
437	return []MinimumTLSVersion{OneFullStopTwo, OneFullStopZero}
438}
439
440// NetworkExperimentResourceState enumerates the values for network experiment resource state.
441type NetworkExperimentResourceState string
442
443const (
444	// NetworkExperimentResourceStateCreating ...
445	NetworkExperimentResourceStateCreating NetworkExperimentResourceState = "Creating"
446	// NetworkExperimentResourceStateDeleting ...
447	NetworkExperimentResourceStateDeleting NetworkExperimentResourceState = "Deleting"
448	// NetworkExperimentResourceStateDisabled ...
449	NetworkExperimentResourceStateDisabled NetworkExperimentResourceState = "Disabled"
450	// NetworkExperimentResourceStateDisabling ...
451	NetworkExperimentResourceStateDisabling NetworkExperimentResourceState = "Disabling"
452	// NetworkExperimentResourceStateEnabled ...
453	NetworkExperimentResourceStateEnabled NetworkExperimentResourceState = "Enabled"
454	// NetworkExperimentResourceStateEnabling ...
455	NetworkExperimentResourceStateEnabling NetworkExperimentResourceState = "Enabling"
456)
457
458// PossibleNetworkExperimentResourceStateValues returns an array of possible values for the NetworkExperimentResourceState const type.
459func PossibleNetworkExperimentResourceStateValues() []NetworkExperimentResourceState {
460	return []NetworkExperimentResourceState{NetworkExperimentResourceStateCreating, NetworkExperimentResourceStateDeleting, NetworkExperimentResourceStateDisabled, NetworkExperimentResourceStateDisabling, NetworkExperimentResourceStateEnabled, NetworkExperimentResourceStateEnabling}
461}
462
463// NetworkOperationStatus enumerates the values for network operation status.
464type NetworkOperationStatus string
465
466const (
467	// Failed ...
468	Failed NetworkOperationStatus = "Failed"
469	// InProgress ...
470	InProgress NetworkOperationStatus = "InProgress"
471	// Succeeded ...
472	Succeeded NetworkOperationStatus = "Succeeded"
473)
474
475// PossibleNetworkOperationStatusValues returns an array of possible values for the NetworkOperationStatus const type.
476func PossibleNetworkOperationStatusValues() []NetworkOperationStatus {
477	return []NetworkOperationStatus{Failed, InProgress, Succeeded}
478}
479
480// OdataType enumerates the values for odata type.
481type OdataType string
482
483const (
484	// OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorForwardingConfiguration ...
485	OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorForwardingConfiguration OdataType = "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration"
486	// OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorRedirectConfiguration ...
487	OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorRedirectConfiguration OdataType = "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration"
488	// OdataTypeRouteConfiguration ...
489	OdataTypeRouteConfiguration OdataType = "RouteConfiguration"
490)
491
492// PossibleOdataTypeValues returns an array of possible values for the OdataType const type.
493func PossibleOdataTypeValues() []OdataType {
494	return []OdataType{OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorForwardingConfiguration, OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorRedirectConfiguration, OdataTypeRouteConfiguration}
495}
496
497// Operator enumerates the values for operator.
498type Operator string
499
500const (
501	// OperatorAny ...
502	OperatorAny Operator = "Any"
503	// OperatorBeginsWith ...
504	OperatorBeginsWith Operator = "BeginsWith"
505	// OperatorContains ...
506	OperatorContains Operator = "Contains"
507	// OperatorEndsWith ...
508	OperatorEndsWith Operator = "EndsWith"
509	// OperatorEqual ...
510	OperatorEqual Operator = "Equal"
511	// OperatorGeoMatch ...
512	OperatorGeoMatch Operator = "GeoMatch"
513	// OperatorGreaterThan ...
514	OperatorGreaterThan Operator = "GreaterThan"
515	// OperatorGreaterThanOrEqual ...
516	OperatorGreaterThanOrEqual Operator = "GreaterThanOrEqual"
517	// OperatorIPMatch ...
518	OperatorIPMatch Operator = "IPMatch"
519	// OperatorLessThan ...
520	OperatorLessThan Operator = "LessThan"
521	// OperatorLessThanOrEqual ...
522	OperatorLessThanOrEqual Operator = "LessThanOrEqual"
523	// OperatorRegEx ...
524	OperatorRegEx Operator = "RegEx"
525)
526
527// PossibleOperatorValues returns an array of possible values for the Operator const type.
528func PossibleOperatorValues() []Operator {
529	return []Operator{OperatorAny, OperatorBeginsWith, OperatorContains, OperatorEndsWith, OperatorEqual, OperatorGeoMatch, OperatorGreaterThan, OperatorGreaterThanOrEqual, OperatorIPMatch, OperatorLessThan, OperatorLessThanOrEqual, OperatorRegEx}
530}
531
532// PolicyEnabledState enumerates the values for policy enabled state.
533type PolicyEnabledState string
534
535const (
536	// PolicyEnabledStateDisabled ...
537	PolicyEnabledStateDisabled PolicyEnabledState = "Disabled"
538	// PolicyEnabledStateEnabled ...
539	PolicyEnabledStateEnabled PolicyEnabledState = "Enabled"
540)
541
542// PossiblePolicyEnabledStateValues returns an array of possible values for the PolicyEnabledState const type.
543func PossiblePolicyEnabledStateValues() []PolicyEnabledState {
544	return []PolicyEnabledState{PolicyEnabledStateDisabled, PolicyEnabledStateEnabled}
545}
546
547// PolicyMode enumerates the values for policy mode.
548type PolicyMode string
549
550const (
551	// Detection ...
552	Detection PolicyMode = "Detection"
553	// Prevention ...
554	Prevention PolicyMode = "Prevention"
555)
556
557// PossiblePolicyModeValues returns an array of possible values for the PolicyMode const type.
558func PossiblePolicyModeValues() []PolicyMode {
559	return []PolicyMode{Detection, Prevention}
560}
561
562// PolicyResourceState enumerates the values for policy resource state.
563type PolicyResourceState string
564
565const (
566	// PolicyResourceStateCreating ...
567	PolicyResourceStateCreating PolicyResourceState = "Creating"
568	// PolicyResourceStateDeleting ...
569	PolicyResourceStateDeleting PolicyResourceState = "Deleting"
570	// PolicyResourceStateDisabled ...
571	PolicyResourceStateDisabled PolicyResourceState = "Disabled"
572	// PolicyResourceStateDisabling ...
573	PolicyResourceStateDisabling PolicyResourceState = "Disabling"
574	// PolicyResourceStateEnabled ...
575	PolicyResourceStateEnabled PolicyResourceState = "Enabled"
576	// PolicyResourceStateEnabling ...
577	PolicyResourceStateEnabling PolicyResourceState = "Enabling"
578)
579
580// PossiblePolicyResourceStateValues returns an array of possible values for the PolicyResourceState const type.
581func PossiblePolicyResourceStateValues() []PolicyResourceState {
582	return []PolicyResourceState{PolicyResourceStateCreating, PolicyResourceStateDeleting, PolicyResourceStateDisabled, PolicyResourceStateDisabling, PolicyResourceStateEnabled, PolicyResourceStateEnabling}
583}
584
585// PrivateEndpointStatus enumerates the values for private endpoint status.
586type PrivateEndpointStatus string
587
588const (
589	// Approved ...
590	Approved PrivateEndpointStatus = "Approved"
591	// Disconnected ...
592	Disconnected PrivateEndpointStatus = "Disconnected"
593	// Pending ...
594	Pending PrivateEndpointStatus = "Pending"
595	// Rejected ...
596	Rejected PrivateEndpointStatus = "Rejected"
597	// Timeout ...
598	Timeout PrivateEndpointStatus = "Timeout"
599)
600
601// PossiblePrivateEndpointStatusValues returns an array of possible values for the PrivateEndpointStatus const type.
602func PossiblePrivateEndpointStatusValues() []PrivateEndpointStatus {
603	return []PrivateEndpointStatus{Approved, Disconnected, Pending, Rejected, Timeout}
604}
605
606// Protocol enumerates the values for protocol.
607type Protocol string
608
609const (
610	// HTTP ...
611	HTTP Protocol = "Http"
612	// HTTPS ...
613	HTTPS Protocol = "Https"
614)
615
616// PossibleProtocolValues returns an array of possible values for the Protocol const type.
617func PossibleProtocolValues() []Protocol {
618	return []Protocol{HTTP, HTTPS}
619}
620
621// Query enumerates the values for query.
622type Query string
623
624const (
625	// StripAll ...
626	StripAll Query = "StripAll"
627	// StripAllExcept ...
628	StripAllExcept Query = "StripAllExcept"
629	// StripNone ...
630	StripNone Query = "StripNone"
631	// StripOnly ...
632	StripOnly Query = "StripOnly"
633)
634
635// PossibleQueryValues returns an array of possible values for the Query const type.
636func PossibleQueryValues() []Query {
637	return []Query{StripAll, StripAllExcept, StripNone, StripOnly}
638}
639
640// RedirectProtocol enumerates the values for redirect protocol.
641type RedirectProtocol string
642
643const (
644	// RedirectProtocolHTTPOnly ...
645	RedirectProtocolHTTPOnly RedirectProtocol = "HttpOnly"
646	// RedirectProtocolHTTPSOnly ...
647	RedirectProtocolHTTPSOnly RedirectProtocol = "HttpsOnly"
648	// RedirectProtocolMatchRequest ...
649	RedirectProtocolMatchRequest RedirectProtocol = "MatchRequest"
650)
651
652// PossibleRedirectProtocolValues returns an array of possible values for the RedirectProtocol const type.
653func PossibleRedirectProtocolValues() []RedirectProtocol {
654	return []RedirectProtocol{RedirectProtocolHTTPOnly, RedirectProtocolHTTPSOnly, RedirectProtocolMatchRequest}
655}
656
657// RedirectType enumerates the values for redirect type.
658type RedirectType string
659
660const (
661	// Found ...
662	Found RedirectType = "Found"
663	// Moved ...
664	Moved RedirectType = "Moved"
665	// PermanentRedirect ...
666	PermanentRedirect RedirectType = "PermanentRedirect"
667	// TemporaryRedirect ...
668	TemporaryRedirect RedirectType = "TemporaryRedirect"
669)
670
671// PossibleRedirectTypeValues returns an array of possible values for the RedirectType const type.
672func PossibleRedirectTypeValues() []RedirectType {
673	return []RedirectType{Found, Moved, PermanentRedirect, TemporaryRedirect}
674}
675
676// ResourceState enumerates the values for resource state.
677type ResourceState string
678
679const (
680	// ResourceStateCreating ...
681	ResourceStateCreating ResourceState = "Creating"
682	// ResourceStateDeleting ...
683	ResourceStateDeleting ResourceState = "Deleting"
684	// ResourceStateDisabled ...
685	ResourceStateDisabled ResourceState = "Disabled"
686	// ResourceStateDisabling ...
687	ResourceStateDisabling ResourceState = "Disabling"
688	// ResourceStateEnabled ...
689	ResourceStateEnabled ResourceState = "Enabled"
690	// ResourceStateEnabling ...
691	ResourceStateEnabling ResourceState = "Enabling"
692)
693
694// PossibleResourceStateValues returns an array of possible values for the ResourceState const type.
695func PossibleResourceStateValues() []ResourceState {
696	return []ResourceState{ResourceStateCreating, ResourceStateDeleting, ResourceStateDisabled, ResourceStateDisabling, ResourceStateEnabled, ResourceStateEnabling}
697}
698
699// ResourceType enumerates the values for resource type.
700type ResourceType string
701
702const (
703	// MicrosoftNetworkfrontDoors ...
704	MicrosoftNetworkfrontDoors ResourceType = "Microsoft.Network/frontDoors"
705	// MicrosoftNetworkfrontDoorsfrontendEndpoints ...
706	MicrosoftNetworkfrontDoorsfrontendEndpoints ResourceType = "Microsoft.Network/frontDoors/frontendEndpoints"
707)
708
709// PossibleResourceTypeValues returns an array of possible values for the ResourceType const type.
710func PossibleResourceTypeValues() []ResourceType {
711	return []ResourceType{MicrosoftNetworkfrontDoors, MicrosoftNetworkfrontDoorsfrontendEndpoints}
712}
713
714// RoutingRuleEnabledState enumerates the values for routing rule enabled state.
715type RoutingRuleEnabledState string
716
717const (
718	// RoutingRuleEnabledStateDisabled ...
719	RoutingRuleEnabledStateDisabled RoutingRuleEnabledState = "Disabled"
720	// RoutingRuleEnabledStateEnabled ...
721	RoutingRuleEnabledStateEnabled RoutingRuleEnabledState = "Enabled"
722)
723
724// PossibleRoutingRuleEnabledStateValues returns an array of possible values for the RoutingRuleEnabledState const type.
725func PossibleRoutingRuleEnabledStateValues() []RoutingRuleEnabledState {
726	return []RoutingRuleEnabledState{RoutingRuleEnabledStateDisabled, RoutingRuleEnabledStateEnabled}
727}
728
729// RulesEngineMatchVariable enumerates the values for rules engine match variable.
730type RulesEngineMatchVariable string
731
732const (
733	// RulesEngineMatchVariableIsMobile ...
734	RulesEngineMatchVariableIsMobile RulesEngineMatchVariable = "IsMobile"
735	// RulesEngineMatchVariablePostArgs ...
736	RulesEngineMatchVariablePostArgs RulesEngineMatchVariable = "PostArgs"
737	// RulesEngineMatchVariableQueryString ...
738	RulesEngineMatchVariableQueryString RulesEngineMatchVariable = "QueryString"
739	// RulesEngineMatchVariableRemoteAddr ...
740	RulesEngineMatchVariableRemoteAddr RulesEngineMatchVariable = "RemoteAddr"
741	// RulesEngineMatchVariableRequestBody ...
742	RulesEngineMatchVariableRequestBody RulesEngineMatchVariable = "RequestBody"
743	// RulesEngineMatchVariableRequestFilename ...
744	RulesEngineMatchVariableRequestFilename RulesEngineMatchVariable = "RequestFilename"
745	// RulesEngineMatchVariableRequestFilenameExtension ...
746	RulesEngineMatchVariableRequestFilenameExtension RulesEngineMatchVariable = "RequestFilenameExtension"
747	// RulesEngineMatchVariableRequestHeader ...
748	RulesEngineMatchVariableRequestHeader RulesEngineMatchVariable = "RequestHeader"
749	// RulesEngineMatchVariableRequestMethod ...
750	RulesEngineMatchVariableRequestMethod RulesEngineMatchVariable = "RequestMethod"
751	// RulesEngineMatchVariableRequestPath ...
752	RulesEngineMatchVariableRequestPath RulesEngineMatchVariable = "RequestPath"
753	// RulesEngineMatchVariableRequestScheme ...
754	RulesEngineMatchVariableRequestScheme RulesEngineMatchVariable = "RequestScheme"
755	// RulesEngineMatchVariableRequestURI ...
756	RulesEngineMatchVariableRequestURI RulesEngineMatchVariable = "RequestUri"
757)
758
759// PossibleRulesEngineMatchVariableValues returns an array of possible values for the RulesEngineMatchVariable const type.
760func PossibleRulesEngineMatchVariableValues() []RulesEngineMatchVariable {
761	return []RulesEngineMatchVariable{RulesEngineMatchVariableIsMobile, RulesEngineMatchVariablePostArgs, RulesEngineMatchVariableQueryString, RulesEngineMatchVariableRemoteAddr, RulesEngineMatchVariableRequestBody, RulesEngineMatchVariableRequestFilename, RulesEngineMatchVariableRequestFilenameExtension, RulesEngineMatchVariableRequestHeader, RulesEngineMatchVariableRequestMethod, RulesEngineMatchVariableRequestPath, RulesEngineMatchVariableRequestScheme, RulesEngineMatchVariableRequestURI}
762}
763
764// RulesEngineOperator enumerates the values for rules engine operator.
765type RulesEngineOperator string
766
767const (
768	// RulesEngineOperatorAny ...
769	RulesEngineOperatorAny RulesEngineOperator = "Any"
770	// RulesEngineOperatorBeginsWith ...
771	RulesEngineOperatorBeginsWith RulesEngineOperator = "BeginsWith"
772	// RulesEngineOperatorContains ...
773	RulesEngineOperatorContains RulesEngineOperator = "Contains"
774	// RulesEngineOperatorEndsWith ...
775	RulesEngineOperatorEndsWith RulesEngineOperator = "EndsWith"
776	// RulesEngineOperatorEqual ...
777	RulesEngineOperatorEqual RulesEngineOperator = "Equal"
778	// RulesEngineOperatorGeoMatch ...
779	RulesEngineOperatorGeoMatch RulesEngineOperator = "GeoMatch"
780	// RulesEngineOperatorGreaterThan ...
781	RulesEngineOperatorGreaterThan RulesEngineOperator = "GreaterThan"
782	// RulesEngineOperatorGreaterThanOrEqual ...
783	RulesEngineOperatorGreaterThanOrEqual RulesEngineOperator = "GreaterThanOrEqual"
784	// RulesEngineOperatorIPMatch ...
785	RulesEngineOperatorIPMatch RulesEngineOperator = "IPMatch"
786	// RulesEngineOperatorLessThan ...
787	RulesEngineOperatorLessThan RulesEngineOperator = "LessThan"
788	// RulesEngineOperatorLessThanOrEqual ...
789	RulesEngineOperatorLessThanOrEqual RulesEngineOperator = "LessThanOrEqual"
790)
791
792// PossibleRulesEngineOperatorValues returns an array of possible values for the RulesEngineOperator const type.
793func PossibleRulesEngineOperatorValues() []RulesEngineOperator {
794	return []RulesEngineOperator{RulesEngineOperatorAny, RulesEngineOperatorBeginsWith, RulesEngineOperatorContains, RulesEngineOperatorEndsWith, RulesEngineOperatorEqual, RulesEngineOperatorGeoMatch, RulesEngineOperatorGreaterThan, RulesEngineOperatorGreaterThanOrEqual, RulesEngineOperatorIPMatch, RulesEngineOperatorLessThan, RulesEngineOperatorLessThanOrEqual}
795}
796
797// RuleType enumerates the values for rule type.
798type RuleType string
799
800const (
801	// MatchRule ...
802	MatchRule RuleType = "MatchRule"
803	// RateLimitRule ...
804	RateLimitRule RuleType = "RateLimitRule"
805)
806
807// PossibleRuleTypeValues returns an array of possible values for the RuleType const type.
808func PossibleRuleTypeValues() []RuleType {
809	return []RuleType{MatchRule, RateLimitRule}
810}
811
812// SessionAffinityEnabledState enumerates the values for session affinity enabled state.
813type SessionAffinityEnabledState string
814
815const (
816	// SessionAffinityEnabledStateDisabled ...
817	SessionAffinityEnabledStateDisabled SessionAffinityEnabledState = "Disabled"
818	// SessionAffinityEnabledStateEnabled ...
819	SessionAffinityEnabledStateEnabled SessionAffinityEnabledState = "Enabled"
820)
821
822// PossibleSessionAffinityEnabledStateValues returns an array of possible values for the SessionAffinityEnabledState const type.
823func PossibleSessionAffinityEnabledStateValues() []SessionAffinityEnabledState {
824	return []SessionAffinityEnabledState{SessionAffinityEnabledStateDisabled, SessionAffinityEnabledStateEnabled}
825}
826
827// State enumerates the values for state.
828type State string
829
830const (
831	// StateDisabled ...
832	StateDisabled State = "Disabled"
833	// StateEnabled ...
834	StateEnabled State = "Enabled"
835)
836
837// PossibleStateValues returns an array of possible values for the State const type.
838func PossibleStateValues() []State {
839	return []State{StateDisabled, StateEnabled}
840}
841
842// TimeseriesAggregationInterval enumerates the values for timeseries aggregation interval.
843type TimeseriesAggregationInterval string
844
845const (
846	// TimeseriesAggregationIntervalDaily ...
847	TimeseriesAggregationIntervalDaily TimeseriesAggregationInterval = "Daily"
848	// TimeseriesAggregationIntervalHourly ...
849	TimeseriesAggregationIntervalHourly TimeseriesAggregationInterval = "Hourly"
850)
851
852// PossibleTimeseriesAggregationIntervalValues returns an array of possible values for the TimeseriesAggregationInterval const type.
853func PossibleTimeseriesAggregationIntervalValues() []TimeseriesAggregationInterval {
854	return []TimeseriesAggregationInterval{TimeseriesAggregationIntervalDaily, TimeseriesAggregationIntervalHourly}
855}
856
857// TimeseriesType enumerates the values for timeseries type.
858type TimeseriesType string
859
860const (
861	// LatencyP50 ...
862	LatencyP50 TimeseriesType = "LatencyP50"
863	// LatencyP75 ...
864	LatencyP75 TimeseriesType = "LatencyP75"
865	// LatencyP95 ...
866	LatencyP95 TimeseriesType = "LatencyP95"
867	// MeasurementCounts ...
868	MeasurementCounts TimeseriesType = "MeasurementCounts"
869)
870
871// PossibleTimeseriesTypeValues returns an array of possible values for the TimeseriesType const type.
872func PossibleTimeseriesTypeValues() []TimeseriesType {
873	return []TimeseriesType{LatencyP50, LatencyP75, LatencyP95, MeasurementCounts}
874}
875
876// Transform enumerates the values for transform.
877type Transform string
878
879const (
880	// Lowercase ...
881	Lowercase Transform = "Lowercase"
882	// RemoveNulls ...
883	RemoveNulls Transform = "RemoveNulls"
884	// Trim ...
885	Trim Transform = "Trim"
886	// Uppercase ...
887	Uppercase Transform = "Uppercase"
888	// URLDecode ...
889	URLDecode Transform = "UrlDecode"
890	// URLEncode ...
891	URLEncode Transform = "UrlEncode"
892)
893
894// PossibleTransformValues returns an array of possible values for the Transform const type.
895func PossibleTransformValues() []Transform {
896	return []Transform{Lowercase, RemoveNulls, Trim, Uppercase, URLDecode, URLEncode}
897}
898
899// TransformType enumerates the values for transform type.
900type TransformType string
901
902const (
903	// TransformTypeLowercase ...
904	TransformTypeLowercase TransformType = "Lowercase"
905	// TransformTypeRemoveNulls ...
906	TransformTypeRemoveNulls TransformType = "RemoveNulls"
907	// TransformTypeTrim ...
908	TransformTypeTrim TransformType = "Trim"
909	// TransformTypeUppercase ...
910	TransformTypeUppercase TransformType = "Uppercase"
911	// TransformTypeURLDecode ...
912	TransformTypeURLDecode TransformType = "UrlDecode"
913	// TransformTypeURLEncode ...
914	TransformTypeURLEncode TransformType = "UrlEncode"
915)
916
917// PossibleTransformTypeValues returns an array of possible values for the TransformType const type.
918func PossibleTransformTypeValues() []TransformType {
919	return []TransformType{TransformTypeLowercase, TransformTypeRemoveNulls, TransformTypeTrim, TransformTypeUppercase, TransformTypeURLDecode, TransformTypeURLEncode}
920}
921