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