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// HealthProbeEnabled enumerates the values for health probe enabled.
251type HealthProbeEnabled string
252
253const (
254	// HealthProbeEnabledDisabled ...
255	HealthProbeEnabledDisabled HealthProbeEnabled = "Disabled"
256	// HealthProbeEnabledEnabled ...
257	HealthProbeEnabledEnabled HealthProbeEnabled = "Enabled"
258)
259
260// PossibleHealthProbeEnabledValues returns an array of possible values for the HealthProbeEnabled const type.
261func PossibleHealthProbeEnabledValues() []HealthProbeEnabled {
262	return []HealthProbeEnabled{HealthProbeEnabledDisabled, HealthProbeEnabledEnabled}
263}
264
265// HealthProbeMethod enumerates the values for health probe method.
266type HealthProbeMethod string
267
268const (
269	// GET ...
270	GET HealthProbeMethod = "GET"
271	// HEAD ...
272	HEAD HealthProbeMethod = "HEAD"
273)
274
275// PossibleHealthProbeMethodValues returns an array of possible values for the HealthProbeMethod const type.
276func PossibleHealthProbeMethodValues() []HealthProbeMethod {
277	return []HealthProbeMethod{GET, HEAD}
278}
279
280// LatencyScorecardAggregationInterval enumerates the values for latency scorecard aggregation interval.
281type LatencyScorecardAggregationInterval string
282
283const (
284	// LatencyScorecardAggregationIntervalDaily ...
285	LatencyScorecardAggregationIntervalDaily LatencyScorecardAggregationInterval = "Daily"
286	// LatencyScorecardAggregationIntervalMonthly ...
287	LatencyScorecardAggregationIntervalMonthly LatencyScorecardAggregationInterval = "Monthly"
288	// LatencyScorecardAggregationIntervalWeekly ...
289	LatencyScorecardAggregationIntervalWeekly LatencyScorecardAggregationInterval = "Weekly"
290)
291
292// PossibleLatencyScorecardAggregationIntervalValues returns an array of possible values for the LatencyScorecardAggregationInterval const type.
293func PossibleLatencyScorecardAggregationIntervalValues() []LatencyScorecardAggregationInterval {
294	return []LatencyScorecardAggregationInterval{LatencyScorecardAggregationIntervalDaily, LatencyScorecardAggregationIntervalMonthly, LatencyScorecardAggregationIntervalWeekly}
295}
296
297// ManagedRuleEnabledState enumerates the values for managed rule enabled state.
298type ManagedRuleEnabledState string
299
300const (
301	// ManagedRuleEnabledStateDisabled ...
302	ManagedRuleEnabledStateDisabled ManagedRuleEnabledState = "Disabled"
303	// ManagedRuleEnabledStateEnabled ...
304	ManagedRuleEnabledStateEnabled ManagedRuleEnabledState = "Enabled"
305)
306
307// PossibleManagedRuleEnabledStateValues returns an array of possible values for the ManagedRuleEnabledState const type.
308func PossibleManagedRuleEnabledStateValues() []ManagedRuleEnabledState {
309	return []ManagedRuleEnabledState{ManagedRuleEnabledStateDisabled, ManagedRuleEnabledStateEnabled}
310}
311
312// ManagedRuleExclusionMatchVariable enumerates the values for managed rule exclusion match variable.
313type ManagedRuleExclusionMatchVariable string
314
315const (
316	// QueryStringArgNames ...
317	QueryStringArgNames ManagedRuleExclusionMatchVariable = "QueryStringArgNames"
318	// RequestBodyPostArgNames ...
319	RequestBodyPostArgNames ManagedRuleExclusionMatchVariable = "RequestBodyPostArgNames"
320	// RequestCookieNames ...
321	RequestCookieNames ManagedRuleExclusionMatchVariable = "RequestCookieNames"
322	// RequestHeaderNames ...
323	RequestHeaderNames ManagedRuleExclusionMatchVariable = "RequestHeaderNames"
324)
325
326// PossibleManagedRuleExclusionMatchVariableValues returns an array of possible values for the ManagedRuleExclusionMatchVariable const type.
327func PossibleManagedRuleExclusionMatchVariableValues() []ManagedRuleExclusionMatchVariable {
328	return []ManagedRuleExclusionMatchVariable{QueryStringArgNames, RequestBodyPostArgNames, RequestCookieNames, RequestHeaderNames}
329}
330
331// ManagedRuleExclusionSelectorMatchOperator enumerates the values for managed rule exclusion selector match
332// operator.
333type ManagedRuleExclusionSelectorMatchOperator string
334
335const (
336	// Contains ...
337	Contains ManagedRuleExclusionSelectorMatchOperator = "Contains"
338	// EndsWith ...
339	EndsWith ManagedRuleExclusionSelectorMatchOperator = "EndsWith"
340	// Equals ...
341	Equals ManagedRuleExclusionSelectorMatchOperator = "Equals"
342	// EqualsAny ...
343	EqualsAny ManagedRuleExclusionSelectorMatchOperator = "EqualsAny"
344	// StartsWith ...
345	StartsWith ManagedRuleExclusionSelectorMatchOperator = "StartsWith"
346)
347
348// PossibleManagedRuleExclusionSelectorMatchOperatorValues returns an array of possible values for the ManagedRuleExclusionSelectorMatchOperator const type.
349func PossibleManagedRuleExclusionSelectorMatchOperatorValues() []ManagedRuleExclusionSelectorMatchOperator {
350	return []ManagedRuleExclusionSelectorMatchOperator{Contains, EndsWith, Equals, EqualsAny, StartsWith}
351}
352
353// MatchVariable enumerates the values for match variable.
354type MatchVariable string
355
356const (
357	// Cookies ...
358	Cookies MatchVariable = "Cookies"
359	// PostArgs ...
360	PostArgs MatchVariable = "PostArgs"
361	// QueryString ...
362	QueryString MatchVariable = "QueryString"
363	// RemoteAddr ...
364	RemoteAddr MatchVariable = "RemoteAddr"
365	// RequestBody ...
366	RequestBody MatchVariable = "RequestBody"
367	// RequestHeader ...
368	RequestHeader MatchVariable = "RequestHeader"
369	// RequestMethod ...
370	RequestMethod MatchVariable = "RequestMethod"
371	// RequestURI ...
372	RequestURI MatchVariable = "RequestUri"
373	// SocketAddr ...
374	SocketAddr MatchVariable = "SocketAddr"
375)
376
377// PossibleMatchVariableValues returns an array of possible values for the MatchVariable const type.
378func PossibleMatchVariableValues() []MatchVariable {
379	return []MatchVariable{Cookies, PostArgs, QueryString, RemoteAddr, RequestBody, RequestHeader, RequestMethod, RequestURI, SocketAddr}
380}
381
382// MinimumTLSVersion enumerates the values for minimum tls version.
383type MinimumTLSVersion string
384
385const (
386	// OneFullStopTwo ...
387	OneFullStopTwo MinimumTLSVersion = "1.2"
388	// OneFullStopZero ...
389	OneFullStopZero MinimumTLSVersion = "1.0"
390)
391
392// PossibleMinimumTLSVersionValues returns an array of possible values for the MinimumTLSVersion const type.
393func PossibleMinimumTLSVersionValues() []MinimumTLSVersion {
394	return []MinimumTLSVersion{OneFullStopTwo, OneFullStopZero}
395}
396
397// NetworkExperimentResourceState enumerates the values for network experiment resource state.
398type NetworkExperimentResourceState string
399
400const (
401	// NetworkExperimentResourceStateCreating ...
402	NetworkExperimentResourceStateCreating NetworkExperimentResourceState = "Creating"
403	// NetworkExperimentResourceStateDeleting ...
404	NetworkExperimentResourceStateDeleting NetworkExperimentResourceState = "Deleting"
405	// NetworkExperimentResourceStateDisabled ...
406	NetworkExperimentResourceStateDisabled NetworkExperimentResourceState = "Disabled"
407	// NetworkExperimentResourceStateDisabling ...
408	NetworkExperimentResourceStateDisabling NetworkExperimentResourceState = "Disabling"
409	// NetworkExperimentResourceStateEnabled ...
410	NetworkExperimentResourceStateEnabled NetworkExperimentResourceState = "Enabled"
411	// NetworkExperimentResourceStateEnabling ...
412	NetworkExperimentResourceStateEnabling NetworkExperimentResourceState = "Enabling"
413)
414
415// PossibleNetworkExperimentResourceStateValues returns an array of possible values for the NetworkExperimentResourceState const type.
416func PossibleNetworkExperimentResourceStateValues() []NetworkExperimentResourceState {
417	return []NetworkExperimentResourceState{NetworkExperimentResourceStateCreating, NetworkExperimentResourceStateDeleting, NetworkExperimentResourceStateDisabled, NetworkExperimentResourceStateDisabling, NetworkExperimentResourceStateEnabled, NetworkExperimentResourceStateEnabling}
418}
419
420// NetworkOperationStatus enumerates the values for network operation status.
421type NetworkOperationStatus string
422
423const (
424	// Failed ...
425	Failed NetworkOperationStatus = "Failed"
426	// InProgress ...
427	InProgress NetworkOperationStatus = "InProgress"
428	// Succeeded ...
429	Succeeded NetworkOperationStatus = "Succeeded"
430)
431
432// PossibleNetworkOperationStatusValues returns an array of possible values for the NetworkOperationStatus const type.
433func PossibleNetworkOperationStatusValues() []NetworkOperationStatus {
434	return []NetworkOperationStatus{Failed, InProgress, Succeeded}
435}
436
437// OdataType enumerates the values for odata type.
438type OdataType string
439
440const (
441	// OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorForwardingConfiguration ...
442	OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorForwardingConfiguration OdataType = "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration"
443	// OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorRedirectConfiguration ...
444	OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorRedirectConfiguration OdataType = "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration"
445	// OdataTypeRouteConfiguration ...
446	OdataTypeRouteConfiguration OdataType = "RouteConfiguration"
447)
448
449// PossibleOdataTypeValues returns an array of possible values for the OdataType const type.
450func PossibleOdataTypeValues() []OdataType {
451	return []OdataType{OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorForwardingConfiguration, OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorRedirectConfiguration, OdataTypeRouteConfiguration}
452}
453
454// Operator enumerates the values for operator.
455type Operator string
456
457const (
458	// OperatorAny ...
459	OperatorAny Operator = "Any"
460	// OperatorBeginsWith ...
461	OperatorBeginsWith Operator = "BeginsWith"
462	// OperatorContains ...
463	OperatorContains Operator = "Contains"
464	// OperatorEndsWith ...
465	OperatorEndsWith Operator = "EndsWith"
466	// OperatorEqual ...
467	OperatorEqual Operator = "Equal"
468	// OperatorGeoMatch ...
469	OperatorGeoMatch Operator = "GeoMatch"
470	// OperatorGreaterThan ...
471	OperatorGreaterThan Operator = "GreaterThan"
472	// OperatorGreaterThanOrEqual ...
473	OperatorGreaterThanOrEqual Operator = "GreaterThanOrEqual"
474	// OperatorIPMatch ...
475	OperatorIPMatch Operator = "IPMatch"
476	// OperatorLessThan ...
477	OperatorLessThan Operator = "LessThan"
478	// OperatorLessThanOrEqual ...
479	OperatorLessThanOrEqual Operator = "LessThanOrEqual"
480	// OperatorRegEx ...
481	OperatorRegEx Operator = "RegEx"
482)
483
484// PossibleOperatorValues returns an array of possible values for the Operator const type.
485func PossibleOperatorValues() []Operator {
486	return []Operator{OperatorAny, OperatorBeginsWith, OperatorContains, OperatorEndsWith, OperatorEqual, OperatorGeoMatch, OperatorGreaterThan, OperatorGreaterThanOrEqual, OperatorIPMatch, OperatorLessThan, OperatorLessThanOrEqual, OperatorRegEx}
487}
488
489// PolicyEnabledState enumerates the values for policy enabled state.
490type PolicyEnabledState string
491
492const (
493	// PolicyEnabledStateDisabled ...
494	PolicyEnabledStateDisabled PolicyEnabledState = "Disabled"
495	// PolicyEnabledStateEnabled ...
496	PolicyEnabledStateEnabled PolicyEnabledState = "Enabled"
497)
498
499// PossiblePolicyEnabledStateValues returns an array of possible values for the PolicyEnabledState const type.
500func PossiblePolicyEnabledStateValues() []PolicyEnabledState {
501	return []PolicyEnabledState{PolicyEnabledStateDisabled, PolicyEnabledStateEnabled}
502}
503
504// PolicyMode enumerates the values for policy mode.
505type PolicyMode string
506
507const (
508	// Detection ...
509	Detection PolicyMode = "Detection"
510	// Prevention ...
511	Prevention PolicyMode = "Prevention"
512)
513
514// PossiblePolicyModeValues returns an array of possible values for the PolicyMode const type.
515func PossiblePolicyModeValues() []PolicyMode {
516	return []PolicyMode{Detection, Prevention}
517}
518
519// PolicyResourceState enumerates the values for policy resource state.
520type PolicyResourceState string
521
522const (
523	// PolicyResourceStateCreating ...
524	PolicyResourceStateCreating PolicyResourceState = "Creating"
525	// PolicyResourceStateDeleting ...
526	PolicyResourceStateDeleting PolicyResourceState = "Deleting"
527	// PolicyResourceStateDisabled ...
528	PolicyResourceStateDisabled PolicyResourceState = "Disabled"
529	// PolicyResourceStateDisabling ...
530	PolicyResourceStateDisabling PolicyResourceState = "Disabling"
531	// PolicyResourceStateEnabled ...
532	PolicyResourceStateEnabled PolicyResourceState = "Enabled"
533	// PolicyResourceStateEnabling ...
534	PolicyResourceStateEnabling PolicyResourceState = "Enabling"
535)
536
537// PossiblePolicyResourceStateValues returns an array of possible values for the PolicyResourceState const type.
538func PossiblePolicyResourceStateValues() []PolicyResourceState {
539	return []PolicyResourceState{PolicyResourceStateCreating, PolicyResourceStateDeleting, PolicyResourceStateDisabled, PolicyResourceStateDisabling, PolicyResourceStateEnabled, PolicyResourceStateEnabling}
540}
541
542// Protocol enumerates the values for protocol.
543type Protocol string
544
545const (
546	// HTTP ...
547	HTTP Protocol = "Http"
548	// HTTPS ...
549	HTTPS Protocol = "Https"
550)
551
552// PossibleProtocolValues returns an array of possible values for the Protocol const type.
553func PossibleProtocolValues() []Protocol {
554	return []Protocol{HTTP, HTTPS}
555}
556
557// Query enumerates the values for query.
558type Query string
559
560const (
561	// StripAll ...
562	StripAll Query = "StripAll"
563	// StripNone ...
564	StripNone Query = "StripNone"
565)
566
567// PossibleQueryValues returns an array of possible values for the Query const type.
568func PossibleQueryValues() []Query {
569	return []Query{StripAll, StripNone}
570}
571
572// RedirectProtocol enumerates the values for redirect protocol.
573type RedirectProtocol string
574
575const (
576	// RedirectProtocolHTTPOnly ...
577	RedirectProtocolHTTPOnly RedirectProtocol = "HttpOnly"
578	// RedirectProtocolHTTPSOnly ...
579	RedirectProtocolHTTPSOnly RedirectProtocol = "HttpsOnly"
580	// RedirectProtocolMatchRequest ...
581	RedirectProtocolMatchRequest RedirectProtocol = "MatchRequest"
582)
583
584// PossibleRedirectProtocolValues returns an array of possible values for the RedirectProtocol const type.
585func PossibleRedirectProtocolValues() []RedirectProtocol {
586	return []RedirectProtocol{RedirectProtocolHTTPOnly, RedirectProtocolHTTPSOnly, RedirectProtocolMatchRequest}
587}
588
589// RedirectType enumerates the values for redirect type.
590type RedirectType string
591
592const (
593	// Found ...
594	Found RedirectType = "Found"
595	// Moved ...
596	Moved RedirectType = "Moved"
597	// PermanentRedirect ...
598	PermanentRedirect RedirectType = "PermanentRedirect"
599	// TemporaryRedirect ...
600	TemporaryRedirect RedirectType = "TemporaryRedirect"
601)
602
603// PossibleRedirectTypeValues returns an array of possible values for the RedirectType const type.
604func PossibleRedirectTypeValues() []RedirectType {
605	return []RedirectType{Found, Moved, PermanentRedirect, TemporaryRedirect}
606}
607
608// ResourceState enumerates the values for resource state.
609type ResourceState string
610
611const (
612	// ResourceStateCreating ...
613	ResourceStateCreating ResourceState = "Creating"
614	// ResourceStateDeleting ...
615	ResourceStateDeleting ResourceState = "Deleting"
616	// ResourceStateDisabled ...
617	ResourceStateDisabled ResourceState = "Disabled"
618	// ResourceStateDisabling ...
619	ResourceStateDisabling ResourceState = "Disabling"
620	// ResourceStateEnabled ...
621	ResourceStateEnabled ResourceState = "Enabled"
622	// ResourceStateEnabling ...
623	ResourceStateEnabling ResourceState = "Enabling"
624)
625
626// PossibleResourceStateValues returns an array of possible values for the ResourceState const type.
627func PossibleResourceStateValues() []ResourceState {
628	return []ResourceState{ResourceStateCreating, ResourceStateDeleting, ResourceStateDisabled, ResourceStateDisabling, ResourceStateEnabled, ResourceStateEnabling}
629}
630
631// ResourceType enumerates the values for resource type.
632type ResourceType string
633
634const (
635	// MicrosoftNetworkfrontDoors ...
636	MicrosoftNetworkfrontDoors ResourceType = "Microsoft.Network/frontDoors"
637	// MicrosoftNetworkfrontDoorsfrontendEndpoints ...
638	MicrosoftNetworkfrontDoorsfrontendEndpoints ResourceType = "Microsoft.Network/frontDoors/frontendEndpoints"
639)
640
641// PossibleResourceTypeValues returns an array of possible values for the ResourceType const type.
642func PossibleResourceTypeValues() []ResourceType {
643	return []ResourceType{MicrosoftNetworkfrontDoors, MicrosoftNetworkfrontDoorsfrontendEndpoints}
644}
645
646// RoutingRuleEnabledState enumerates the values for routing rule enabled state.
647type RoutingRuleEnabledState string
648
649const (
650	// RoutingRuleEnabledStateDisabled ...
651	RoutingRuleEnabledStateDisabled RoutingRuleEnabledState = "Disabled"
652	// RoutingRuleEnabledStateEnabled ...
653	RoutingRuleEnabledStateEnabled RoutingRuleEnabledState = "Enabled"
654)
655
656// PossibleRoutingRuleEnabledStateValues returns an array of possible values for the RoutingRuleEnabledState const type.
657func PossibleRoutingRuleEnabledStateValues() []RoutingRuleEnabledState {
658	return []RoutingRuleEnabledState{RoutingRuleEnabledStateDisabled, RoutingRuleEnabledStateEnabled}
659}
660
661// RuleType enumerates the values for rule type.
662type RuleType string
663
664const (
665	// MatchRule ...
666	MatchRule RuleType = "MatchRule"
667	// RateLimitRule ...
668	RateLimitRule RuleType = "RateLimitRule"
669)
670
671// PossibleRuleTypeValues returns an array of possible values for the RuleType const type.
672func PossibleRuleTypeValues() []RuleType {
673	return []RuleType{MatchRule, RateLimitRule}
674}
675
676// SessionAffinityEnabledState enumerates the values for session affinity enabled state.
677type SessionAffinityEnabledState string
678
679const (
680	// SessionAffinityEnabledStateDisabled ...
681	SessionAffinityEnabledStateDisabled SessionAffinityEnabledState = "Disabled"
682	// SessionAffinityEnabledStateEnabled ...
683	SessionAffinityEnabledStateEnabled SessionAffinityEnabledState = "Enabled"
684)
685
686// PossibleSessionAffinityEnabledStateValues returns an array of possible values for the SessionAffinityEnabledState const type.
687func PossibleSessionAffinityEnabledStateValues() []SessionAffinityEnabledState {
688	return []SessionAffinityEnabledState{SessionAffinityEnabledStateDisabled, SessionAffinityEnabledStateEnabled}
689}
690
691// State enumerates the values for state.
692type State string
693
694const (
695	// StateDisabled ...
696	StateDisabled State = "Disabled"
697	// StateEnabled ...
698	StateEnabled State = "Enabled"
699)
700
701// PossibleStateValues returns an array of possible values for the State const type.
702func PossibleStateValues() []State {
703	return []State{StateDisabled, StateEnabled}
704}
705
706// TimeseriesAggregationInterval enumerates the values for timeseries aggregation interval.
707type TimeseriesAggregationInterval string
708
709const (
710	// TimeseriesAggregationIntervalDaily ...
711	TimeseriesAggregationIntervalDaily TimeseriesAggregationInterval = "Daily"
712	// TimeseriesAggregationIntervalHourly ...
713	TimeseriesAggregationIntervalHourly TimeseriesAggregationInterval = "Hourly"
714)
715
716// PossibleTimeseriesAggregationIntervalValues returns an array of possible values for the TimeseriesAggregationInterval const type.
717func PossibleTimeseriesAggregationIntervalValues() []TimeseriesAggregationInterval {
718	return []TimeseriesAggregationInterval{TimeseriesAggregationIntervalDaily, TimeseriesAggregationIntervalHourly}
719}
720
721// TimeseriesType enumerates the values for timeseries type.
722type TimeseriesType string
723
724const (
725	// LatencyP50 ...
726	LatencyP50 TimeseriesType = "LatencyP50"
727	// LatencyP75 ...
728	LatencyP75 TimeseriesType = "LatencyP75"
729	// LatencyP95 ...
730	LatencyP95 TimeseriesType = "LatencyP95"
731	// MeasurementCounts ...
732	MeasurementCounts TimeseriesType = "MeasurementCounts"
733)
734
735// PossibleTimeseriesTypeValues returns an array of possible values for the TimeseriesType const type.
736func PossibleTimeseriesTypeValues() []TimeseriesType {
737	return []TimeseriesType{LatencyP50, LatencyP75, LatencyP95, MeasurementCounts}
738}
739
740// TransformType enumerates the values for transform type.
741type TransformType string
742
743const (
744	// Lowercase ...
745	Lowercase TransformType = "Lowercase"
746	// RemoveNulls ...
747	RemoveNulls TransformType = "RemoveNulls"
748	// Trim ...
749	Trim TransformType = "Trim"
750	// Uppercase ...
751	Uppercase TransformType = "Uppercase"
752	// URLDecode ...
753	URLDecode TransformType = "UrlDecode"
754	// URLEncode ...
755	URLEncode TransformType = "UrlEncode"
756)
757
758// PossibleTransformTypeValues returns an array of possible values for the TransformType const type.
759func PossibleTransformTypeValues() []TransformType {
760	return []TransformType{Lowercase, RemoveNulls, Trim, Uppercase, URLDecode, URLEncode}
761}
762