1package cdn 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// AfdCertificateType enumerates the values for afd certificate type. 40type AfdCertificateType string 41 42const ( 43 // AfdCertificateTypeCustomerCertificate ... 44 AfdCertificateTypeCustomerCertificate AfdCertificateType = "CustomerCertificate" 45 // AfdCertificateTypeManagedCertificate ... 46 AfdCertificateTypeManagedCertificate AfdCertificateType = "ManagedCertificate" 47) 48 49// PossibleAfdCertificateTypeValues returns an array of possible values for the AfdCertificateType const type. 50func PossibleAfdCertificateTypeValues() []AfdCertificateType { 51 return []AfdCertificateType{AfdCertificateTypeCustomerCertificate, AfdCertificateTypeManagedCertificate} 52} 53 54// AFDEndpointProtocols enumerates the values for afd endpoint protocols. 55type AFDEndpointProtocols string 56 57const ( 58 // HTTP ... 59 HTTP AFDEndpointProtocols = "Http" 60 // HTTPS ... 61 HTTPS AFDEndpointProtocols = "Https" 62) 63 64// PossibleAFDEndpointProtocolsValues returns an array of possible values for the AFDEndpointProtocols const type. 65func PossibleAFDEndpointProtocolsValues() []AFDEndpointProtocols { 66 return []AFDEndpointProtocols{HTTP, HTTPS} 67} 68 69// AfdMinimumTLSVersion enumerates the values for afd minimum tls version. 70type AfdMinimumTLSVersion string 71 72const ( 73 // TLS10 ... 74 TLS10 AfdMinimumTLSVersion = "TLS10" 75 // TLS12 ... 76 TLS12 AfdMinimumTLSVersion = "TLS12" 77) 78 79// PossibleAfdMinimumTLSVersionValues returns an array of possible values for the AfdMinimumTLSVersion const type. 80func PossibleAfdMinimumTLSVersionValues() []AfdMinimumTLSVersion { 81 return []AfdMinimumTLSVersion{TLS10, TLS12} 82} 83 84// AfdProvisioningState enumerates the values for afd provisioning state. 85type AfdProvisioningState string 86 87const ( 88 // Creating ... 89 Creating AfdProvisioningState = "Creating" 90 // Deleting ... 91 Deleting AfdProvisioningState = "Deleting" 92 // Failed ... 93 Failed AfdProvisioningState = "Failed" 94 // Succeeded ... 95 Succeeded AfdProvisioningState = "Succeeded" 96 // Updating ... 97 Updating AfdProvisioningState = "Updating" 98) 99 100// PossibleAfdProvisioningStateValues returns an array of possible values for the AfdProvisioningState const type. 101func PossibleAfdProvisioningStateValues() []AfdProvisioningState { 102 return []AfdProvisioningState{Creating, Deleting, Failed, Succeeded, Updating} 103} 104 105// AfdQueryStringCachingBehavior enumerates the values for afd query string caching behavior. 106type AfdQueryStringCachingBehavior string 107 108const ( 109 // IgnoreQueryString ... 110 IgnoreQueryString AfdQueryStringCachingBehavior = "IgnoreQueryString" 111 // NotSet ... 112 NotSet AfdQueryStringCachingBehavior = "NotSet" 113 // UseQueryString ... 114 UseQueryString AfdQueryStringCachingBehavior = "UseQueryString" 115) 116 117// PossibleAfdQueryStringCachingBehaviorValues returns an array of possible values for the AfdQueryStringCachingBehavior const type. 118func PossibleAfdQueryStringCachingBehaviorValues() []AfdQueryStringCachingBehavior { 119 return []AfdQueryStringCachingBehavior{IgnoreQueryString, NotSet, UseQueryString} 120} 121 122// Algorithm enumerates the values for algorithm. 123type Algorithm string 124 125const ( 126 // SHA256 ... 127 SHA256 Algorithm = "SHA256" 128) 129 130// PossibleAlgorithmValues returns an array of possible values for the Algorithm const type. 131func PossibleAlgorithmValues() []Algorithm { 132 return []Algorithm{SHA256} 133} 134 135// CacheBehavior enumerates the values for cache behavior. 136type CacheBehavior string 137 138const ( 139 // BypassCache ... 140 BypassCache CacheBehavior = "BypassCache" 141 // Override ... 142 Override CacheBehavior = "Override" 143 // SetIfMissing ... 144 SetIfMissing CacheBehavior = "SetIfMissing" 145) 146 147// PossibleCacheBehaviorValues returns an array of possible values for the CacheBehavior const type. 148func PossibleCacheBehaviorValues() []CacheBehavior { 149 return []CacheBehavior{BypassCache, Override, SetIfMissing} 150} 151 152// CertificateSource enumerates the values for certificate source. 153type CertificateSource string 154 155const ( 156 // CertificateSourceAzureKeyVault ... 157 CertificateSourceAzureKeyVault CertificateSource = "AzureKeyVault" 158 // CertificateSourceCdn ... 159 CertificateSourceCdn CertificateSource = "Cdn" 160 // CertificateSourceCustomDomainHTTPSParameters ... 161 CertificateSourceCustomDomainHTTPSParameters CertificateSource = "CustomDomainHttpsParameters" 162) 163 164// PossibleCertificateSourceValues returns an array of possible values for the CertificateSource const type. 165func PossibleCertificateSourceValues() []CertificateSource { 166 return []CertificateSource{CertificateSourceAzureKeyVault, CertificateSourceCdn, CertificateSourceCustomDomainHTTPSParameters} 167} 168 169// CertificateType enumerates the values for certificate type. 170type CertificateType string 171 172const ( 173 // Dedicated ... 174 Dedicated CertificateType = "Dedicated" 175 // Shared ... 176 Shared CertificateType = "Shared" 177) 178 179// PossibleCertificateTypeValues returns an array of possible values for the CertificateType const type. 180func PossibleCertificateTypeValues() []CertificateType { 181 return []CertificateType{Dedicated, Shared} 182} 183 184// CookiesOperator enumerates the values for cookies operator. 185type CookiesOperator string 186 187const ( 188 // Any ... 189 Any CookiesOperator = "Any" 190 // BeginsWith ... 191 BeginsWith CookiesOperator = "BeginsWith" 192 // Contains ... 193 Contains CookiesOperator = "Contains" 194 // EndsWith ... 195 EndsWith CookiesOperator = "EndsWith" 196 // Equal ... 197 Equal CookiesOperator = "Equal" 198 // GreaterThan ... 199 GreaterThan CookiesOperator = "GreaterThan" 200 // GreaterThanOrEqual ... 201 GreaterThanOrEqual CookiesOperator = "GreaterThanOrEqual" 202 // LessThan ... 203 LessThan CookiesOperator = "LessThan" 204 // LessThanOrEqual ... 205 LessThanOrEqual CookiesOperator = "LessThanOrEqual" 206 // RegEx ... 207 RegEx CookiesOperator = "RegEx" 208) 209 210// PossibleCookiesOperatorValues returns an array of possible values for the CookiesOperator const type. 211func PossibleCookiesOperatorValues() []CookiesOperator { 212 return []CookiesOperator{Any, BeginsWith, Contains, EndsWith, Equal, GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual, RegEx} 213} 214 215// CustomDomainResourceState enumerates the values for custom domain resource state. 216type CustomDomainResourceState string 217 218const ( 219 // CustomDomainResourceStateActive ... 220 CustomDomainResourceStateActive CustomDomainResourceState = "Active" 221 // CustomDomainResourceStateCreating ... 222 CustomDomainResourceStateCreating CustomDomainResourceState = "Creating" 223 // CustomDomainResourceStateDeleting ... 224 CustomDomainResourceStateDeleting CustomDomainResourceState = "Deleting" 225) 226 227// PossibleCustomDomainResourceStateValues returns an array of possible values for the CustomDomainResourceState const type. 228func PossibleCustomDomainResourceStateValues() []CustomDomainResourceState { 229 return []CustomDomainResourceState{CustomDomainResourceStateActive, CustomDomainResourceStateCreating, CustomDomainResourceStateDeleting} 230} 231 232// CustomHTTPSProvisioningState enumerates the values for custom https provisioning state. 233type CustomHTTPSProvisioningState string 234 235const ( 236 // CustomHTTPSProvisioningStateDisabled ... 237 CustomHTTPSProvisioningStateDisabled CustomHTTPSProvisioningState = "Disabled" 238 // CustomHTTPSProvisioningStateDisabling ... 239 CustomHTTPSProvisioningStateDisabling CustomHTTPSProvisioningState = "Disabling" 240 // CustomHTTPSProvisioningStateEnabled ... 241 CustomHTTPSProvisioningStateEnabled CustomHTTPSProvisioningState = "Enabled" 242 // CustomHTTPSProvisioningStateEnabling ... 243 CustomHTTPSProvisioningStateEnabling CustomHTTPSProvisioningState = "Enabling" 244 // CustomHTTPSProvisioningStateFailed ... 245 CustomHTTPSProvisioningStateFailed CustomHTTPSProvisioningState = "Failed" 246) 247 248// PossibleCustomHTTPSProvisioningStateValues returns an array of possible values for the CustomHTTPSProvisioningState const type. 249func PossibleCustomHTTPSProvisioningStateValues() []CustomHTTPSProvisioningState { 250 return []CustomHTTPSProvisioningState{CustomHTTPSProvisioningStateDisabled, CustomHTTPSProvisioningStateDisabling, CustomHTTPSProvisioningStateEnabled, CustomHTTPSProvisioningStateEnabling, CustomHTTPSProvisioningStateFailed} 251} 252 253// CustomHTTPSProvisioningSubstate enumerates the values for custom https provisioning substate. 254type CustomHTTPSProvisioningSubstate string 255 256const ( 257 // CertificateDeleted ... 258 CertificateDeleted CustomHTTPSProvisioningSubstate = "CertificateDeleted" 259 // CertificateDeployed ... 260 CertificateDeployed CustomHTTPSProvisioningSubstate = "CertificateDeployed" 261 // DeletingCertificate ... 262 DeletingCertificate CustomHTTPSProvisioningSubstate = "DeletingCertificate" 263 // DeployingCertificate ... 264 DeployingCertificate CustomHTTPSProvisioningSubstate = "DeployingCertificate" 265 // DomainControlValidationRequestApproved ... 266 DomainControlValidationRequestApproved CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestApproved" 267 // DomainControlValidationRequestRejected ... 268 DomainControlValidationRequestRejected CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestRejected" 269 // DomainControlValidationRequestTimedOut ... 270 DomainControlValidationRequestTimedOut CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestTimedOut" 271 // IssuingCertificate ... 272 IssuingCertificate CustomHTTPSProvisioningSubstate = "IssuingCertificate" 273 // PendingDomainControlValidationREquestApproval ... 274 PendingDomainControlValidationREquestApproval CustomHTTPSProvisioningSubstate = "PendingDomainControlValidationREquestApproval" 275 // SubmittingDomainControlValidationRequest ... 276 SubmittingDomainControlValidationRequest CustomHTTPSProvisioningSubstate = "SubmittingDomainControlValidationRequest" 277) 278 279// PossibleCustomHTTPSProvisioningSubstateValues returns an array of possible values for the CustomHTTPSProvisioningSubstate const type. 280func PossibleCustomHTTPSProvisioningSubstateValues() []CustomHTTPSProvisioningSubstate { 281 return []CustomHTTPSProvisioningSubstate{CertificateDeleted, CertificateDeployed, DeletingCertificate, DeployingCertificate, DomainControlValidationRequestApproved, DomainControlValidationRequestRejected, DomainControlValidationRequestTimedOut, IssuingCertificate, PendingDomainControlValidationREquestApproval, SubmittingDomainControlValidationRequest} 282} 283 284// CustomRuleEnabledState enumerates the values for custom rule enabled state. 285type CustomRuleEnabledState string 286 287const ( 288 // Disabled ... 289 Disabled CustomRuleEnabledState = "Disabled" 290 // Enabled ... 291 Enabled CustomRuleEnabledState = "Enabled" 292) 293 294// PossibleCustomRuleEnabledStateValues returns an array of possible values for the CustomRuleEnabledState const type. 295func PossibleCustomRuleEnabledStateValues() []CustomRuleEnabledState { 296 return []CustomRuleEnabledState{Disabled, Enabled} 297} 298 299// DeploymentStatus enumerates the values for deployment status. 300type DeploymentStatus string 301 302const ( 303 // DeploymentStatusFailed ... 304 DeploymentStatusFailed DeploymentStatus = "Failed" 305 // DeploymentStatusInProgress ... 306 DeploymentStatusInProgress DeploymentStatus = "InProgress" 307 // DeploymentStatusNotStarted ... 308 DeploymentStatusNotStarted DeploymentStatus = "NotStarted" 309 // DeploymentStatusSucceeded ... 310 DeploymentStatusSucceeded DeploymentStatus = "Succeeded" 311) 312 313// PossibleDeploymentStatusValues returns an array of possible values for the DeploymentStatus const type. 314func PossibleDeploymentStatusValues() []DeploymentStatus { 315 return []DeploymentStatus{DeploymentStatusFailed, DeploymentStatusInProgress, DeploymentStatusNotStarted, DeploymentStatusSucceeded} 316} 317 318// DestinationProtocol enumerates the values for destination protocol. 319type DestinationProtocol string 320 321const ( 322 // DestinationProtocolHTTP ... 323 DestinationProtocolHTTP DestinationProtocol = "Http" 324 // DestinationProtocolHTTPS ... 325 DestinationProtocolHTTPS DestinationProtocol = "Https" 326 // DestinationProtocolMatchRequest ... 327 DestinationProtocolMatchRequest DestinationProtocol = "MatchRequest" 328) 329 330// PossibleDestinationProtocolValues returns an array of possible values for the DestinationProtocol const type. 331func PossibleDestinationProtocolValues() []DestinationProtocol { 332 return []DestinationProtocol{DestinationProtocolHTTP, DestinationProtocolHTTPS, DestinationProtocolMatchRequest} 333} 334 335// DomainValidationState enumerates the values for domain validation state. 336type DomainValidationState string 337 338const ( 339 // Approved ... 340 Approved DomainValidationState = "Approved" 341 // Pending ... 342 Pending DomainValidationState = "Pending" 343 // PendingRevalidation ... 344 PendingRevalidation DomainValidationState = "PendingRevalidation" 345 // Submitting ... 346 Submitting DomainValidationState = "Submitting" 347 // TimedOut ... 348 TimedOut DomainValidationState = "TimedOut" 349 // Unknown ... 350 Unknown DomainValidationState = "Unknown" 351) 352 353// PossibleDomainValidationStateValues returns an array of possible values for the DomainValidationState const type. 354func PossibleDomainValidationStateValues() []DomainValidationState { 355 return []DomainValidationState{Approved, Pending, PendingRevalidation, Submitting, TimedOut, Unknown} 356} 357 358// EnabledState enumerates the values for enabled state. 359type EnabledState string 360 361const ( 362 // EnabledStateDisabled ... 363 EnabledStateDisabled EnabledState = "Disabled" 364 // EnabledStateEnabled ... 365 EnabledStateEnabled EnabledState = "Enabled" 366) 367 368// PossibleEnabledStateValues returns an array of possible values for the EnabledState const type. 369func PossibleEnabledStateValues() []EnabledState { 370 return []EnabledState{EnabledStateDisabled, EnabledStateEnabled} 371} 372 373// EndpointResourceState enumerates the values for endpoint resource state. 374type EndpointResourceState string 375 376const ( 377 // EndpointResourceStateCreating ... 378 EndpointResourceStateCreating EndpointResourceState = "Creating" 379 // EndpointResourceStateDeleting ... 380 EndpointResourceStateDeleting EndpointResourceState = "Deleting" 381 // EndpointResourceStateRunning ... 382 EndpointResourceStateRunning EndpointResourceState = "Running" 383 // EndpointResourceStateStarting ... 384 EndpointResourceStateStarting EndpointResourceState = "Starting" 385 // EndpointResourceStateStopped ... 386 EndpointResourceStateStopped EndpointResourceState = "Stopped" 387 // EndpointResourceStateStopping ... 388 EndpointResourceStateStopping EndpointResourceState = "Stopping" 389) 390 391// PossibleEndpointResourceStateValues returns an array of possible values for the EndpointResourceState const type. 392func PossibleEndpointResourceStateValues() []EndpointResourceState { 393 return []EndpointResourceState{EndpointResourceStateCreating, EndpointResourceStateDeleting, EndpointResourceStateRunning, EndpointResourceStateStarting, EndpointResourceStateStopped, EndpointResourceStateStopping} 394} 395 396// ForwardingProtocol enumerates the values for forwarding protocol. 397type ForwardingProtocol string 398 399const ( 400 // HTTPOnly ... 401 HTTPOnly ForwardingProtocol = "HttpOnly" 402 // HTTPSOnly ... 403 HTTPSOnly ForwardingProtocol = "HttpsOnly" 404 // MatchRequest ... 405 MatchRequest ForwardingProtocol = "MatchRequest" 406) 407 408// PossibleForwardingProtocolValues returns an array of possible values for the ForwardingProtocol const type. 409func PossibleForwardingProtocolValues() []ForwardingProtocol { 410 return []ForwardingProtocol{HTTPOnly, HTTPSOnly, MatchRequest} 411} 412 413// GeoFilterActions enumerates the values for geo filter actions. 414type GeoFilterActions string 415 416const ( 417 // GeoFilterActionsAllow ... 418 GeoFilterActionsAllow GeoFilterActions = "Allow" 419 // GeoFilterActionsBlock ... 420 GeoFilterActionsBlock GeoFilterActions = "Block" 421) 422 423// PossibleGeoFilterActionsValues returns an array of possible values for the GeoFilterActions const type. 424func PossibleGeoFilterActionsValues() []GeoFilterActions { 425 return []GeoFilterActions{GeoFilterActionsAllow, GeoFilterActionsBlock} 426} 427 428// Granularity enumerates the values for granularity. 429type Granularity string 430 431const ( 432 // P1D ... 433 P1D Granularity = "P1D" 434 // PT1H ... 435 PT1H Granularity = "PT1H" 436 // PT5M ... 437 PT5M Granularity = "PT5M" 438) 439 440// PossibleGranularityValues returns an array of possible values for the Granularity const type. 441func PossibleGranularityValues() []Granularity { 442 return []Granularity{P1D, PT1H, PT5M} 443} 444 445// Granularity1 enumerates the values for granularity 1. 446type Granularity1 string 447 448const ( 449 // Granularity1P1D ... 450 Granularity1P1D Granularity1 = "P1D" 451 // Granularity1PT1H ... 452 Granularity1PT1H Granularity1 = "PT1H" 453 // Granularity1PT5M ... 454 Granularity1PT5M Granularity1 = "PT5M" 455) 456 457// PossibleGranularity1Values returns an array of possible values for the Granularity1 const type. 458func PossibleGranularity1Values() []Granularity1 { 459 return []Granularity1{Granularity1P1D, Granularity1PT1H, Granularity1PT5M} 460} 461 462// HeaderAction enumerates the values for header action. 463type HeaderAction string 464 465const ( 466 // Append ... 467 Append HeaderAction = "Append" 468 // Delete ... 469 Delete HeaderAction = "Delete" 470 // Overwrite ... 471 Overwrite HeaderAction = "Overwrite" 472) 473 474// PossibleHeaderActionValues returns an array of possible values for the HeaderAction const type. 475func PossibleHeaderActionValues() []HeaderAction { 476 return []HeaderAction{Append, Delete, Overwrite} 477} 478 479// HealthProbeRequestType enumerates the values for health probe request type. 480type HealthProbeRequestType string 481 482const ( 483 // HealthProbeRequestTypeGET ... 484 HealthProbeRequestTypeGET HealthProbeRequestType = "GET" 485 // HealthProbeRequestTypeHEAD ... 486 HealthProbeRequestTypeHEAD HealthProbeRequestType = "HEAD" 487 // HealthProbeRequestTypeNotSet ... 488 HealthProbeRequestTypeNotSet HealthProbeRequestType = "NotSet" 489) 490 491// PossibleHealthProbeRequestTypeValues returns an array of possible values for the HealthProbeRequestType const type. 492func PossibleHealthProbeRequestTypeValues() []HealthProbeRequestType { 493 return []HealthProbeRequestType{HealthProbeRequestTypeGET, HealthProbeRequestTypeHEAD, HealthProbeRequestTypeNotSet} 494} 495 496// HTTPSRedirect enumerates the values for https redirect. 497type HTTPSRedirect string 498 499const ( 500 // HTTPSRedirectDisabled ... 501 HTTPSRedirectDisabled HTTPSRedirect = "Disabled" 502 // HTTPSRedirectEnabled ... 503 HTTPSRedirectEnabled HTTPSRedirect = "Enabled" 504) 505 506// PossibleHTTPSRedirectValues returns an array of possible values for the HTTPSRedirect const type. 507func PossibleHTTPSRedirectValues() []HTTPSRedirect { 508 return []HTTPSRedirect{HTTPSRedirectDisabled, HTTPSRedirectEnabled} 509} 510 511// IdentityType enumerates the values for identity type. 512type IdentityType string 513 514const ( 515 // Application ... 516 Application IdentityType = "application" 517 // Key ... 518 Key IdentityType = "key" 519 // ManagedIdentity ... 520 ManagedIdentity IdentityType = "managedIdentity" 521 // User ... 522 User IdentityType = "user" 523) 524 525// PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type. 526func PossibleIdentityTypeValues() []IdentityType { 527 return []IdentityType{Application, Key, ManagedIdentity, User} 528} 529 530// LinkToDefaultDomain enumerates the values for link to default domain. 531type LinkToDefaultDomain string 532 533const ( 534 // LinkToDefaultDomainDisabled ... 535 LinkToDefaultDomainDisabled LinkToDefaultDomain = "Disabled" 536 // LinkToDefaultDomainEnabled ... 537 LinkToDefaultDomainEnabled LinkToDefaultDomain = "Enabled" 538) 539 540// PossibleLinkToDefaultDomainValues returns an array of possible values for the LinkToDefaultDomain const type. 541func PossibleLinkToDefaultDomainValues() []LinkToDefaultDomain { 542 return []LinkToDefaultDomain{LinkToDefaultDomainDisabled, LinkToDefaultDomainEnabled} 543} 544 545// ManagedRuleEnabledState enumerates the values for managed rule enabled state. 546type ManagedRuleEnabledState string 547 548const ( 549 // ManagedRuleEnabledStateDisabled ... 550 ManagedRuleEnabledStateDisabled ManagedRuleEnabledState = "Disabled" 551 // ManagedRuleEnabledStateEnabled ... 552 ManagedRuleEnabledStateEnabled ManagedRuleEnabledState = "Enabled" 553) 554 555// PossibleManagedRuleEnabledStateValues returns an array of possible values for the ManagedRuleEnabledState const type. 556func PossibleManagedRuleEnabledStateValues() []ManagedRuleEnabledState { 557 return []ManagedRuleEnabledState{ManagedRuleEnabledStateDisabled, ManagedRuleEnabledStateEnabled} 558} 559 560// MatchProcessingBehavior enumerates the values for match processing behavior. 561type MatchProcessingBehavior string 562 563const ( 564 // Continue ... 565 Continue MatchProcessingBehavior = "Continue" 566 // Stop ... 567 Stop MatchProcessingBehavior = "Stop" 568) 569 570// PossibleMatchProcessingBehaviorValues returns an array of possible values for the MatchProcessingBehavior const type. 571func PossibleMatchProcessingBehaviorValues() []MatchProcessingBehavior { 572 return []MatchProcessingBehavior{Continue, Stop} 573} 574 575// MatchVariable enumerates the values for match variable. 576type MatchVariable string 577 578const ( 579 // Cookies ... 580 Cookies MatchVariable = "Cookies" 581 // PostArgs ... 582 PostArgs MatchVariable = "PostArgs" 583 // QueryString ... 584 QueryString MatchVariable = "QueryString" 585 // RemoteAddr ... 586 RemoteAddr MatchVariable = "RemoteAddr" 587 // RequestBody ... 588 RequestBody MatchVariable = "RequestBody" 589 // RequestHeader ... 590 RequestHeader MatchVariable = "RequestHeader" 591 // RequestMethod ... 592 RequestMethod MatchVariable = "RequestMethod" 593 // RequestURI ... 594 RequestURI MatchVariable = "RequestUri" 595 // SocketAddr ... 596 SocketAddr MatchVariable = "SocketAddr" 597) 598 599// PossibleMatchVariableValues returns an array of possible values for the MatchVariable const type. 600func PossibleMatchVariableValues() []MatchVariable { 601 return []MatchVariable{Cookies, PostArgs, QueryString, RemoteAddr, RequestBody, RequestHeader, RequestMethod, RequestURI, SocketAddr} 602} 603 604// MinimumTLSVersion enumerates the values for minimum tls version. 605type MinimumTLSVersion string 606 607const ( 608 // MinimumTLSVersionNone ... 609 MinimumTLSVersionNone MinimumTLSVersion = "None" 610 // MinimumTLSVersionTLS10 ... 611 MinimumTLSVersionTLS10 MinimumTLSVersion = "TLS10" 612 // MinimumTLSVersionTLS12 ... 613 MinimumTLSVersionTLS12 MinimumTLSVersion = "TLS12" 614) 615 616// PossibleMinimumTLSVersionValues returns an array of possible values for the MinimumTLSVersion const type. 617func PossibleMinimumTLSVersionValues() []MinimumTLSVersion { 618 return []MinimumTLSVersion{MinimumTLSVersionNone, MinimumTLSVersionTLS10, MinimumTLSVersionTLS12} 619} 620 621// Name enumerates the values for name. 622type Name string 623 624const ( 625 // NameCookies ... 626 NameCookies Name = "Cookies" 627 // NameDeliveryRuleCondition ... 628 NameDeliveryRuleCondition Name = "DeliveryRuleCondition" 629 // NameHTTPVersion ... 630 NameHTTPVersion Name = "HttpVersion" 631 // NameIsDevice ... 632 NameIsDevice Name = "IsDevice" 633 // NamePostArgs ... 634 NamePostArgs Name = "PostArgs" 635 // NameQueryString ... 636 NameQueryString Name = "QueryString" 637 // NameRemoteAddress ... 638 NameRemoteAddress Name = "RemoteAddress" 639 // NameRequestBody ... 640 NameRequestBody Name = "RequestBody" 641 // NameRequestHeader ... 642 NameRequestHeader Name = "RequestHeader" 643 // NameRequestMethod ... 644 NameRequestMethod Name = "RequestMethod" 645 // NameRequestScheme ... 646 NameRequestScheme Name = "RequestScheme" 647 // NameRequestURI ... 648 NameRequestURI Name = "RequestUri" 649 // NameURLFileExtension ... 650 NameURLFileExtension Name = "UrlFileExtension" 651 // NameURLFileName ... 652 NameURLFileName Name = "UrlFileName" 653 // NameURLPath ... 654 NameURLPath Name = "UrlPath" 655) 656 657// PossibleNameValues returns an array of possible values for the Name const type. 658func PossibleNameValues() []Name { 659 return []Name{NameCookies, NameDeliveryRuleCondition, NameHTTPVersion, NameIsDevice, NamePostArgs, NameQueryString, NameRemoteAddress, NameRequestBody, NameRequestHeader, NameRequestMethod, NameRequestScheme, NameRequestURI, NameURLFileExtension, NameURLFileName, NameURLPath} 660} 661 662// NameBasicDeliveryRuleAction enumerates the values for name basic delivery rule action. 663type NameBasicDeliveryRuleAction string 664 665const ( 666 // NameCacheExpiration ... 667 NameCacheExpiration NameBasicDeliveryRuleAction = "CacheExpiration" 668 // NameCacheKeyQueryString ... 669 NameCacheKeyQueryString NameBasicDeliveryRuleAction = "CacheKeyQueryString" 670 // NameDeliveryRuleAction ... 671 NameDeliveryRuleAction NameBasicDeliveryRuleAction = "DeliveryRuleAction" 672 // NameModifyRequestHeader ... 673 NameModifyRequestHeader NameBasicDeliveryRuleAction = "ModifyRequestHeader" 674 // NameModifyResponseHeader ... 675 NameModifyResponseHeader NameBasicDeliveryRuleAction = "ModifyResponseHeader" 676 // NameOriginGroupOverride ... 677 NameOriginGroupOverride NameBasicDeliveryRuleAction = "OriginGroupOverride" 678 // NameURLRedirect ... 679 NameURLRedirect NameBasicDeliveryRuleAction = "UrlRedirect" 680 // NameURLRewrite ... 681 NameURLRewrite NameBasicDeliveryRuleAction = "UrlRewrite" 682 // NameURLSigning ... 683 NameURLSigning NameBasicDeliveryRuleAction = "UrlSigning" 684) 685 686// PossibleNameBasicDeliveryRuleActionValues returns an array of possible values for the NameBasicDeliveryRuleAction const type. 687func PossibleNameBasicDeliveryRuleActionValues() []NameBasicDeliveryRuleAction { 688 return []NameBasicDeliveryRuleAction{NameCacheExpiration, NameCacheKeyQueryString, NameDeliveryRuleAction, NameModifyRequestHeader, NameModifyResponseHeader, NameOriginGroupOverride, NameURLRedirect, NameURLRewrite, NameURLSigning} 689} 690 691// Operator enumerates the values for operator. 692type Operator string 693 694const ( 695 // OperatorAny ... 696 OperatorAny Operator = "Any" 697 // OperatorBeginsWith ... 698 OperatorBeginsWith Operator = "BeginsWith" 699 // OperatorContains ... 700 OperatorContains Operator = "Contains" 701 // OperatorEndsWith ... 702 OperatorEndsWith Operator = "EndsWith" 703 // OperatorEqual ... 704 OperatorEqual Operator = "Equal" 705 // OperatorGeoMatch ... 706 OperatorGeoMatch Operator = "GeoMatch" 707 // OperatorGreaterThan ... 708 OperatorGreaterThan Operator = "GreaterThan" 709 // OperatorGreaterThanOrEqual ... 710 OperatorGreaterThanOrEqual Operator = "GreaterThanOrEqual" 711 // OperatorIPMatch ... 712 OperatorIPMatch Operator = "IPMatch" 713 // OperatorLessThan ... 714 OperatorLessThan Operator = "LessThan" 715 // OperatorLessThanOrEqual ... 716 OperatorLessThanOrEqual Operator = "LessThanOrEqual" 717 // OperatorRegEx ... 718 OperatorRegEx Operator = "RegEx" 719) 720 721// PossibleOperatorValues returns an array of possible values for the Operator const type. 722func PossibleOperatorValues() []Operator { 723 return []Operator{OperatorAny, OperatorBeginsWith, OperatorContains, OperatorEndsWith, OperatorEqual, OperatorGeoMatch, OperatorGreaterThan, OperatorGreaterThanOrEqual, OperatorIPMatch, OperatorLessThan, OperatorLessThanOrEqual, OperatorRegEx} 724} 725 726// OptimizationType enumerates the values for optimization type. 727type OptimizationType string 728 729const ( 730 // DynamicSiteAcceleration ... 731 DynamicSiteAcceleration OptimizationType = "DynamicSiteAcceleration" 732 // GeneralMediaStreaming ... 733 GeneralMediaStreaming OptimizationType = "GeneralMediaStreaming" 734 // GeneralWebDelivery ... 735 GeneralWebDelivery OptimizationType = "GeneralWebDelivery" 736 // LargeFileDownload ... 737 LargeFileDownload OptimizationType = "LargeFileDownload" 738 // VideoOnDemandMediaStreaming ... 739 VideoOnDemandMediaStreaming OptimizationType = "VideoOnDemandMediaStreaming" 740) 741 742// PossibleOptimizationTypeValues returns an array of possible values for the OptimizationType const type. 743func PossibleOptimizationTypeValues() []OptimizationType { 744 return []OptimizationType{DynamicSiteAcceleration, GeneralMediaStreaming, GeneralWebDelivery, LargeFileDownload, VideoOnDemandMediaStreaming} 745} 746 747// OriginGroupResourceState enumerates the values for origin group resource state. 748type OriginGroupResourceState string 749 750const ( 751 // OriginGroupResourceStateActive ... 752 OriginGroupResourceStateActive OriginGroupResourceState = "Active" 753 // OriginGroupResourceStateCreating ... 754 OriginGroupResourceStateCreating OriginGroupResourceState = "Creating" 755 // OriginGroupResourceStateDeleting ... 756 OriginGroupResourceStateDeleting OriginGroupResourceState = "Deleting" 757) 758 759// PossibleOriginGroupResourceStateValues returns an array of possible values for the OriginGroupResourceState const type. 760func PossibleOriginGroupResourceStateValues() []OriginGroupResourceState { 761 return []OriginGroupResourceState{OriginGroupResourceStateActive, OriginGroupResourceStateCreating, OriginGroupResourceStateDeleting} 762} 763 764// OriginResourceState enumerates the values for origin resource state. 765type OriginResourceState string 766 767const ( 768 // OriginResourceStateActive ... 769 OriginResourceStateActive OriginResourceState = "Active" 770 // OriginResourceStateCreating ... 771 OriginResourceStateCreating OriginResourceState = "Creating" 772 // OriginResourceStateDeleting ... 773 OriginResourceStateDeleting OriginResourceState = "Deleting" 774) 775 776// PossibleOriginResourceStateValues returns an array of possible values for the OriginResourceState const type. 777func PossibleOriginResourceStateValues() []OriginResourceState { 778 return []OriginResourceState{OriginResourceStateActive, OriginResourceStateCreating, OriginResourceStateDeleting} 779} 780 781// ParamIndicator enumerates the values for param indicator. 782type ParamIndicator string 783 784const ( 785 // Expires ... 786 Expires ParamIndicator = "Expires" 787 // KeyID ... 788 KeyID ParamIndicator = "KeyId" 789 // Signature ... 790 Signature ParamIndicator = "Signature" 791) 792 793// PossibleParamIndicatorValues returns an array of possible values for the ParamIndicator const type. 794func PossibleParamIndicatorValues() []ParamIndicator { 795 return []ParamIndicator{Expires, KeyID, Signature} 796} 797 798// PolicyEnabledState enumerates the values for policy enabled state. 799type PolicyEnabledState string 800 801const ( 802 // PolicyEnabledStateDisabled ... 803 PolicyEnabledStateDisabled PolicyEnabledState = "Disabled" 804 // PolicyEnabledStateEnabled ... 805 PolicyEnabledStateEnabled PolicyEnabledState = "Enabled" 806) 807 808// PossiblePolicyEnabledStateValues returns an array of possible values for the PolicyEnabledState const type. 809func PossiblePolicyEnabledStateValues() []PolicyEnabledState { 810 return []PolicyEnabledState{PolicyEnabledStateDisabled, PolicyEnabledStateEnabled} 811} 812 813// PolicyMode enumerates the values for policy mode. 814type PolicyMode string 815 816const ( 817 // Detection ... 818 Detection PolicyMode = "Detection" 819 // Prevention ... 820 Prevention PolicyMode = "Prevention" 821) 822 823// PossiblePolicyModeValues returns an array of possible values for the PolicyMode const type. 824func PossiblePolicyModeValues() []PolicyMode { 825 return []PolicyMode{Detection, Prevention} 826} 827 828// PolicyResourceState enumerates the values for policy resource state. 829type PolicyResourceState string 830 831const ( 832 // PolicyResourceStateCreating ... 833 PolicyResourceStateCreating PolicyResourceState = "Creating" 834 // PolicyResourceStateDeleting ... 835 PolicyResourceStateDeleting PolicyResourceState = "Deleting" 836 // PolicyResourceStateDisabled ... 837 PolicyResourceStateDisabled PolicyResourceState = "Disabled" 838 // PolicyResourceStateDisabling ... 839 PolicyResourceStateDisabling PolicyResourceState = "Disabling" 840 // PolicyResourceStateEnabled ... 841 PolicyResourceStateEnabled PolicyResourceState = "Enabled" 842 // PolicyResourceStateEnabling ... 843 PolicyResourceStateEnabling PolicyResourceState = "Enabling" 844) 845 846// PossiblePolicyResourceStateValues returns an array of possible values for the PolicyResourceState const type. 847func PossiblePolicyResourceStateValues() []PolicyResourceState { 848 return []PolicyResourceState{PolicyResourceStateCreating, PolicyResourceStateDeleting, PolicyResourceStateDisabled, PolicyResourceStateDisabling, PolicyResourceStateEnabled, PolicyResourceStateEnabling} 849} 850 851// PostArgsOperator enumerates the values for post args operator. 852type PostArgsOperator string 853 854const ( 855 // PostArgsOperatorAny ... 856 PostArgsOperatorAny PostArgsOperator = "Any" 857 // PostArgsOperatorBeginsWith ... 858 PostArgsOperatorBeginsWith PostArgsOperator = "BeginsWith" 859 // PostArgsOperatorContains ... 860 PostArgsOperatorContains PostArgsOperator = "Contains" 861 // PostArgsOperatorEndsWith ... 862 PostArgsOperatorEndsWith PostArgsOperator = "EndsWith" 863 // PostArgsOperatorEqual ... 864 PostArgsOperatorEqual PostArgsOperator = "Equal" 865 // PostArgsOperatorGreaterThan ... 866 PostArgsOperatorGreaterThan PostArgsOperator = "GreaterThan" 867 // PostArgsOperatorGreaterThanOrEqual ... 868 PostArgsOperatorGreaterThanOrEqual PostArgsOperator = "GreaterThanOrEqual" 869 // PostArgsOperatorLessThan ... 870 PostArgsOperatorLessThan PostArgsOperator = "LessThan" 871 // PostArgsOperatorLessThanOrEqual ... 872 PostArgsOperatorLessThanOrEqual PostArgsOperator = "LessThanOrEqual" 873 // PostArgsOperatorRegEx ... 874 PostArgsOperatorRegEx PostArgsOperator = "RegEx" 875) 876 877// PossiblePostArgsOperatorValues returns an array of possible values for the PostArgsOperator const type. 878func PossiblePostArgsOperatorValues() []PostArgsOperator { 879 return []PostArgsOperator{PostArgsOperatorAny, PostArgsOperatorBeginsWith, PostArgsOperatorContains, PostArgsOperatorEndsWith, PostArgsOperatorEqual, PostArgsOperatorGreaterThan, PostArgsOperatorGreaterThanOrEqual, PostArgsOperatorLessThan, PostArgsOperatorLessThanOrEqual, PostArgsOperatorRegEx} 880} 881 882// PrivateEndpointStatus enumerates the values for private endpoint status. 883type PrivateEndpointStatus string 884 885const ( 886 // PrivateEndpointStatusApproved ... 887 PrivateEndpointStatusApproved PrivateEndpointStatus = "Approved" 888 // PrivateEndpointStatusDisconnected ... 889 PrivateEndpointStatusDisconnected PrivateEndpointStatus = "Disconnected" 890 // PrivateEndpointStatusPending ... 891 PrivateEndpointStatusPending PrivateEndpointStatus = "Pending" 892 // PrivateEndpointStatusRejected ... 893 PrivateEndpointStatusRejected PrivateEndpointStatus = "Rejected" 894 // PrivateEndpointStatusTimeout ... 895 PrivateEndpointStatusTimeout PrivateEndpointStatus = "Timeout" 896) 897 898// PossiblePrivateEndpointStatusValues returns an array of possible values for the PrivateEndpointStatus const type. 899func PossiblePrivateEndpointStatusValues() []PrivateEndpointStatus { 900 return []PrivateEndpointStatus{PrivateEndpointStatusApproved, PrivateEndpointStatusDisconnected, PrivateEndpointStatusPending, PrivateEndpointStatusRejected, PrivateEndpointStatusTimeout} 901} 902 903// ProbeProtocol enumerates the values for probe protocol. 904type ProbeProtocol string 905 906const ( 907 // ProbeProtocolHTTP ... 908 ProbeProtocolHTTP ProbeProtocol = "Http" 909 // ProbeProtocolHTTPS ... 910 ProbeProtocolHTTPS ProbeProtocol = "Https" 911 // ProbeProtocolNotSet ... 912 ProbeProtocolNotSet ProbeProtocol = "NotSet" 913) 914 915// PossibleProbeProtocolValues returns an array of possible values for the ProbeProtocol const type. 916func PossibleProbeProtocolValues() []ProbeProtocol { 917 return []ProbeProtocol{ProbeProtocolHTTP, ProbeProtocolHTTPS, ProbeProtocolNotSet} 918} 919 920// ProfileResourceState enumerates the values for profile resource state. 921type ProfileResourceState string 922 923const ( 924 // ProfileResourceStateActive ... 925 ProfileResourceStateActive ProfileResourceState = "Active" 926 // ProfileResourceStateCreating ... 927 ProfileResourceStateCreating ProfileResourceState = "Creating" 928 // ProfileResourceStateDeleting ... 929 ProfileResourceStateDeleting ProfileResourceState = "Deleting" 930 // ProfileResourceStateDisabled ... 931 ProfileResourceStateDisabled ProfileResourceState = "Disabled" 932) 933 934// PossibleProfileResourceStateValues returns an array of possible values for the ProfileResourceState const type. 935func PossibleProfileResourceStateValues() []ProfileResourceState { 936 return []ProfileResourceState{ProfileResourceStateActive, ProfileResourceStateCreating, ProfileResourceStateDeleting, ProfileResourceStateDisabled} 937} 938 939// ProtocolType enumerates the values for protocol type. 940type ProtocolType string 941 942const ( 943 // IPBased ... 944 IPBased ProtocolType = "IPBased" 945 // ServerNameIndication ... 946 ServerNameIndication ProtocolType = "ServerNameIndication" 947) 948 949// PossibleProtocolTypeValues returns an array of possible values for the ProtocolType const type. 950func PossibleProtocolTypeValues() []ProtocolType { 951 return []ProtocolType{IPBased, ServerNameIndication} 952} 953 954// ProvisioningState enumerates the values for provisioning state. 955type ProvisioningState string 956 957const ( 958 // ProvisioningStateCreating ... 959 ProvisioningStateCreating ProvisioningState = "Creating" 960 // ProvisioningStateFailed ... 961 ProvisioningStateFailed ProvisioningState = "Failed" 962 // ProvisioningStateSucceeded ... 963 ProvisioningStateSucceeded ProvisioningState = "Succeeded" 964) 965 966// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type. 967func PossibleProvisioningStateValues() []ProvisioningState { 968 return []ProvisioningState{ProvisioningStateCreating, ProvisioningStateFailed, ProvisioningStateSucceeded} 969} 970 971// QueryStringBehavior enumerates the values for query string behavior. 972type QueryStringBehavior string 973 974const ( 975 // Exclude ... 976 Exclude QueryStringBehavior = "Exclude" 977 // ExcludeAll ... 978 ExcludeAll QueryStringBehavior = "ExcludeAll" 979 // Include ... 980 Include QueryStringBehavior = "Include" 981 // IncludeAll ... 982 IncludeAll QueryStringBehavior = "IncludeAll" 983) 984 985// PossibleQueryStringBehaviorValues returns an array of possible values for the QueryStringBehavior const type. 986func PossibleQueryStringBehaviorValues() []QueryStringBehavior { 987 return []QueryStringBehavior{Exclude, ExcludeAll, Include, IncludeAll} 988} 989 990// QueryStringCachingBehavior enumerates the values for query string caching behavior. 991type QueryStringCachingBehavior string 992 993const ( 994 // QueryStringCachingBehaviorBypassCaching ... 995 QueryStringCachingBehaviorBypassCaching QueryStringCachingBehavior = "BypassCaching" 996 // QueryStringCachingBehaviorIgnoreQueryString ... 997 QueryStringCachingBehaviorIgnoreQueryString QueryStringCachingBehavior = "IgnoreQueryString" 998 // QueryStringCachingBehaviorNotSet ... 999 QueryStringCachingBehaviorNotSet QueryStringCachingBehavior = "NotSet" 1000 // QueryStringCachingBehaviorUseQueryString ... 1001 QueryStringCachingBehaviorUseQueryString QueryStringCachingBehavior = "UseQueryString" 1002) 1003 1004// PossibleQueryStringCachingBehaviorValues returns an array of possible values for the QueryStringCachingBehavior const type. 1005func PossibleQueryStringCachingBehaviorValues() []QueryStringCachingBehavior { 1006 return []QueryStringCachingBehavior{QueryStringCachingBehaviorBypassCaching, QueryStringCachingBehaviorIgnoreQueryString, QueryStringCachingBehaviorNotSet, QueryStringCachingBehaviorUseQueryString} 1007} 1008 1009// QueryStringOperator enumerates the values for query string operator. 1010type QueryStringOperator string 1011 1012const ( 1013 // QueryStringOperatorAny ... 1014 QueryStringOperatorAny QueryStringOperator = "Any" 1015 // QueryStringOperatorBeginsWith ... 1016 QueryStringOperatorBeginsWith QueryStringOperator = "BeginsWith" 1017 // QueryStringOperatorContains ... 1018 QueryStringOperatorContains QueryStringOperator = "Contains" 1019 // QueryStringOperatorEndsWith ... 1020 QueryStringOperatorEndsWith QueryStringOperator = "EndsWith" 1021 // QueryStringOperatorEqual ... 1022 QueryStringOperatorEqual QueryStringOperator = "Equal" 1023 // QueryStringOperatorGreaterThan ... 1024 QueryStringOperatorGreaterThan QueryStringOperator = "GreaterThan" 1025 // QueryStringOperatorGreaterThanOrEqual ... 1026 QueryStringOperatorGreaterThanOrEqual QueryStringOperator = "GreaterThanOrEqual" 1027 // QueryStringOperatorLessThan ... 1028 QueryStringOperatorLessThan QueryStringOperator = "LessThan" 1029 // QueryStringOperatorLessThanOrEqual ... 1030 QueryStringOperatorLessThanOrEqual QueryStringOperator = "LessThanOrEqual" 1031 // QueryStringOperatorRegEx ... 1032 QueryStringOperatorRegEx QueryStringOperator = "RegEx" 1033) 1034 1035// PossibleQueryStringOperatorValues returns an array of possible values for the QueryStringOperator const type. 1036func PossibleQueryStringOperatorValues() []QueryStringOperator { 1037 return []QueryStringOperator{QueryStringOperatorAny, QueryStringOperatorBeginsWith, QueryStringOperatorContains, QueryStringOperatorEndsWith, QueryStringOperatorEqual, QueryStringOperatorGreaterThan, QueryStringOperatorGreaterThanOrEqual, QueryStringOperatorLessThan, QueryStringOperatorLessThanOrEqual, QueryStringOperatorRegEx} 1038} 1039 1040// RedirectType enumerates the values for redirect type. 1041type RedirectType string 1042 1043const ( 1044 // Found ... 1045 Found RedirectType = "Found" 1046 // Moved ... 1047 Moved RedirectType = "Moved" 1048 // PermanentRedirect ... 1049 PermanentRedirect RedirectType = "PermanentRedirect" 1050 // TemporaryRedirect ... 1051 TemporaryRedirect RedirectType = "TemporaryRedirect" 1052) 1053 1054// PossibleRedirectTypeValues returns an array of possible values for the RedirectType const type. 1055func PossibleRedirectTypeValues() []RedirectType { 1056 return []RedirectType{Found, Moved, PermanentRedirect, TemporaryRedirect} 1057} 1058 1059// RemoteAddressOperator enumerates the values for remote address operator. 1060type RemoteAddressOperator string 1061 1062const ( 1063 // RemoteAddressOperatorAny ... 1064 RemoteAddressOperatorAny RemoteAddressOperator = "Any" 1065 // RemoteAddressOperatorGeoMatch ... 1066 RemoteAddressOperatorGeoMatch RemoteAddressOperator = "GeoMatch" 1067 // RemoteAddressOperatorIPMatch ... 1068 RemoteAddressOperatorIPMatch RemoteAddressOperator = "IPMatch" 1069) 1070 1071// PossibleRemoteAddressOperatorValues returns an array of possible values for the RemoteAddressOperator const type. 1072func PossibleRemoteAddressOperatorValues() []RemoteAddressOperator { 1073 return []RemoteAddressOperator{RemoteAddressOperatorAny, RemoteAddressOperatorGeoMatch, RemoteAddressOperatorIPMatch} 1074} 1075 1076// RequestBodyOperator enumerates the values for request body operator. 1077type RequestBodyOperator string 1078 1079const ( 1080 // RequestBodyOperatorAny ... 1081 RequestBodyOperatorAny RequestBodyOperator = "Any" 1082 // RequestBodyOperatorBeginsWith ... 1083 RequestBodyOperatorBeginsWith RequestBodyOperator = "BeginsWith" 1084 // RequestBodyOperatorContains ... 1085 RequestBodyOperatorContains RequestBodyOperator = "Contains" 1086 // RequestBodyOperatorEndsWith ... 1087 RequestBodyOperatorEndsWith RequestBodyOperator = "EndsWith" 1088 // RequestBodyOperatorEqual ... 1089 RequestBodyOperatorEqual RequestBodyOperator = "Equal" 1090 // RequestBodyOperatorGreaterThan ... 1091 RequestBodyOperatorGreaterThan RequestBodyOperator = "GreaterThan" 1092 // RequestBodyOperatorGreaterThanOrEqual ... 1093 RequestBodyOperatorGreaterThanOrEqual RequestBodyOperator = "GreaterThanOrEqual" 1094 // RequestBodyOperatorLessThan ... 1095 RequestBodyOperatorLessThan RequestBodyOperator = "LessThan" 1096 // RequestBodyOperatorLessThanOrEqual ... 1097 RequestBodyOperatorLessThanOrEqual RequestBodyOperator = "LessThanOrEqual" 1098 // RequestBodyOperatorRegEx ... 1099 RequestBodyOperatorRegEx RequestBodyOperator = "RegEx" 1100) 1101 1102// PossibleRequestBodyOperatorValues returns an array of possible values for the RequestBodyOperator const type. 1103func PossibleRequestBodyOperatorValues() []RequestBodyOperator { 1104 return []RequestBodyOperator{RequestBodyOperatorAny, RequestBodyOperatorBeginsWith, RequestBodyOperatorContains, RequestBodyOperatorEndsWith, RequestBodyOperatorEqual, RequestBodyOperatorGreaterThan, RequestBodyOperatorGreaterThanOrEqual, RequestBodyOperatorLessThan, RequestBodyOperatorLessThanOrEqual, RequestBodyOperatorRegEx} 1105} 1106 1107// RequestHeaderOperator enumerates the values for request header operator. 1108type RequestHeaderOperator string 1109 1110const ( 1111 // RequestHeaderOperatorAny ... 1112 RequestHeaderOperatorAny RequestHeaderOperator = "Any" 1113 // RequestHeaderOperatorBeginsWith ... 1114 RequestHeaderOperatorBeginsWith RequestHeaderOperator = "BeginsWith" 1115 // RequestHeaderOperatorContains ... 1116 RequestHeaderOperatorContains RequestHeaderOperator = "Contains" 1117 // RequestHeaderOperatorEndsWith ... 1118 RequestHeaderOperatorEndsWith RequestHeaderOperator = "EndsWith" 1119 // RequestHeaderOperatorEqual ... 1120 RequestHeaderOperatorEqual RequestHeaderOperator = "Equal" 1121 // RequestHeaderOperatorGreaterThan ... 1122 RequestHeaderOperatorGreaterThan RequestHeaderOperator = "GreaterThan" 1123 // RequestHeaderOperatorGreaterThanOrEqual ... 1124 RequestHeaderOperatorGreaterThanOrEqual RequestHeaderOperator = "GreaterThanOrEqual" 1125 // RequestHeaderOperatorLessThan ... 1126 RequestHeaderOperatorLessThan RequestHeaderOperator = "LessThan" 1127 // RequestHeaderOperatorLessThanOrEqual ... 1128 RequestHeaderOperatorLessThanOrEqual RequestHeaderOperator = "LessThanOrEqual" 1129 // RequestHeaderOperatorRegEx ... 1130 RequestHeaderOperatorRegEx RequestHeaderOperator = "RegEx" 1131) 1132 1133// PossibleRequestHeaderOperatorValues returns an array of possible values for the RequestHeaderOperator const type. 1134func PossibleRequestHeaderOperatorValues() []RequestHeaderOperator { 1135 return []RequestHeaderOperator{RequestHeaderOperatorAny, RequestHeaderOperatorBeginsWith, RequestHeaderOperatorContains, RequestHeaderOperatorEndsWith, RequestHeaderOperatorEqual, RequestHeaderOperatorGreaterThan, RequestHeaderOperatorGreaterThanOrEqual, RequestHeaderOperatorLessThan, RequestHeaderOperatorLessThanOrEqual, RequestHeaderOperatorRegEx} 1136} 1137 1138// RequestURIOperator enumerates the values for request uri operator. 1139type RequestURIOperator string 1140 1141const ( 1142 // RequestURIOperatorAny ... 1143 RequestURIOperatorAny RequestURIOperator = "Any" 1144 // RequestURIOperatorBeginsWith ... 1145 RequestURIOperatorBeginsWith RequestURIOperator = "BeginsWith" 1146 // RequestURIOperatorContains ... 1147 RequestURIOperatorContains RequestURIOperator = "Contains" 1148 // RequestURIOperatorEndsWith ... 1149 RequestURIOperatorEndsWith RequestURIOperator = "EndsWith" 1150 // RequestURIOperatorEqual ... 1151 RequestURIOperatorEqual RequestURIOperator = "Equal" 1152 // RequestURIOperatorGreaterThan ... 1153 RequestURIOperatorGreaterThan RequestURIOperator = "GreaterThan" 1154 // RequestURIOperatorGreaterThanOrEqual ... 1155 RequestURIOperatorGreaterThanOrEqual RequestURIOperator = "GreaterThanOrEqual" 1156 // RequestURIOperatorLessThan ... 1157 RequestURIOperatorLessThan RequestURIOperator = "LessThan" 1158 // RequestURIOperatorLessThanOrEqual ... 1159 RequestURIOperatorLessThanOrEqual RequestURIOperator = "LessThanOrEqual" 1160 // RequestURIOperatorRegEx ... 1161 RequestURIOperatorRegEx RequestURIOperator = "RegEx" 1162) 1163 1164// PossibleRequestURIOperatorValues returns an array of possible values for the RequestURIOperator const type. 1165func PossibleRequestURIOperatorValues() []RequestURIOperator { 1166 return []RequestURIOperator{RequestURIOperatorAny, RequestURIOperatorBeginsWith, RequestURIOperatorContains, RequestURIOperatorEndsWith, RequestURIOperatorEqual, RequestURIOperatorGreaterThan, RequestURIOperatorGreaterThanOrEqual, RequestURIOperatorLessThan, RequestURIOperatorLessThanOrEqual, RequestURIOperatorRegEx} 1167} 1168 1169// ResourceType enumerates the values for resource type. 1170type ResourceType string 1171 1172const ( 1173 // MicrosoftCdnProfilesEndpoints ... 1174 MicrosoftCdnProfilesEndpoints ResourceType = "Microsoft.Cdn/Profiles/Endpoints" 1175) 1176 1177// PossibleResourceTypeValues returns an array of possible values for the ResourceType const type. 1178func PossibleResourceTypeValues() []ResourceType { 1179 return []ResourceType{MicrosoftCdnProfilesEndpoints} 1180} 1181 1182// ResponseBasedDetectedErrorTypes enumerates the values for response based detected error types. 1183type ResponseBasedDetectedErrorTypes string 1184 1185const ( 1186 // None ... 1187 None ResponseBasedDetectedErrorTypes = "None" 1188 // TCPAndHTTPErrors ... 1189 TCPAndHTTPErrors ResponseBasedDetectedErrorTypes = "TcpAndHttpErrors" 1190 // TCPErrorsOnly ... 1191 TCPErrorsOnly ResponseBasedDetectedErrorTypes = "TcpErrorsOnly" 1192) 1193 1194// PossibleResponseBasedDetectedErrorTypesValues returns an array of possible values for the ResponseBasedDetectedErrorTypes const type. 1195func PossibleResponseBasedDetectedErrorTypesValues() []ResponseBasedDetectedErrorTypes { 1196 return []ResponseBasedDetectedErrorTypes{None, TCPAndHTTPErrors, TCPErrorsOnly} 1197} 1198 1199// SharedPrivateLinkResourceStatus enumerates the values for shared private link resource status. 1200type SharedPrivateLinkResourceStatus string 1201 1202const ( 1203 // SharedPrivateLinkResourceStatusApproved ... 1204 SharedPrivateLinkResourceStatusApproved SharedPrivateLinkResourceStatus = "Approved" 1205 // SharedPrivateLinkResourceStatusDisconnected ... 1206 SharedPrivateLinkResourceStatusDisconnected SharedPrivateLinkResourceStatus = "Disconnected" 1207 // SharedPrivateLinkResourceStatusPending ... 1208 SharedPrivateLinkResourceStatusPending SharedPrivateLinkResourceStatus = "Pending" 1209 // SharedPrivateLinkResourceStatusRejected ... 1210 SharedPrivateLinkResourceStatusRejected SharedPrivateLinkResourceStatus = "Rejected" 1211 // SharedPrivateLinkResourceStatusTimeout ... 1212 SharedPrivateLinkResourceStatusTimeout SharedPrivateLinkResourceStatus = "Timeout" 1213) 1214 1215// PossibleSharedPrivateLinkResourceStatusValues returns an array of possible values for the SharedPrivateLinkResourceStatus const type. 1216func PossibleSharedPrivateLinkResourceStatusValues() []SharedPrivateLinkResourceStatus { 1217 return []SharedPrivateLinkResourceStatus{SharedPrivateLinkResourceStatusApproved, SharedPrivateLinkResourceStatusDisconnected, SharedPrivateLinkResourceStatusPending, SharedPrivateLinkResourceStatusRejected, SharedPrivateLinkResourceStatusTimeout} 1218} 1219 1220// SkuName enumerates the values for sku name. 1221type SkuName string 1222 1223const ( 1224 // CustomVerizon ... 1225 CustomVerizon SkuName = "Custom_Verizon" 1226 // PremiumAzureFrontDoor ... 1227 PremiumAzureFrontDoor SkuName = "Premium_AzureFrontDoor" 1228 // PremiumChinaCdn ... 1229 PremiumChinaCdn SkuName = "Premium_ChinaCdn" 1230 // PremiumVerizon ... 1231 PremiumVerizon SkuName = "Premium_Verizon" 1232 // Standard955BandWidthChinaCdn ... 1233 Standard955BandWidthChinaCdn SkuName = "Standard_955BandWidth_ChinaCdn" 1234 // StandardAkamai ... 1235 StandardAkamai SkuName = "Standard_Akamai" 1236 // StandardAvgBandWidthChinaCdn ... 1237 StandardAvgBandWidthChinaCdn SkuName = "Standard_AvgBandWidth_ChinaCdn" 1238 // StandardAzureFrontDoor ... 1239 StandardAzureFrontDoor SkuName = "Standard_AzureFrontDoor" 1240 // StandardChinaCdn ... 1241 StandardChinaCdn SkuName = "Standard_ChinaCdn" 1242 // StandardMicrosoft ... 1243 StandardMicrosoft SkuName = "Standard_Microsoft" 1244 // StandardPlus955BandWidthChinaCdn ... 1245 StandardPlus955BandWidthChinaCdn SkuName = "StandardPlus_955BandWidth_ChinaCdn" 1246 // StandardPlusAvgBandWidthChinaCdn ... 1247 StandardPlusAvgBandWidthChinaCdn SkuName = "StandardPlus_AvgBandWidth_ChinaCdn" 1248 // StandardPlusChinaCdn ... 1249 StandardPlusChinaCdn SkuName = "StandardPlus_ChinaCdn" 1250 // StandardVerizon ... 1251 StandardVerizon SkuName = "Standard_Verizon" 1252) 1253 1254// PossibleSkuNameValues returns an array of possible values for the SkuName const type. 1255func PossibleSkuNameValues() []SkuName { 1256 return []SkuName{CustomVerizon, PremiumAzureFrontDoor, PremiumChinaCdn, PremiumVerizon, Standard955BandWidthChinaCdn, StandardAkamai, StandardAvgBandWidthChinaCdn, StandardAzureFrontDoor, StandardChinaCdn, StandardMicrosoft, StandardPlus955BandWidthChinaCdn, StandardPlusAvgBandWidthChinaCdn, StandardPlusChinaCdn, StandardVerizon} 1257} 1258 1259// Status enumerates the values for status. 1260type Status string 1261 1262const ( 1263 // AccessDenied ... 1264 AccessDenied Status = "AccessDenied" 1265 // CertificateExpired ... 1266 CertificateExpired Status = "CertificateExpired" 1267 // Invalid ... 1268 Invalid Status = "Invalid" 1269 // Valid ... 1270 Valid Status = "Valid" 1271) 1272 1273// PossibleStatusValues returns an array of possible values for the Status const type. 1274func PossibleStatusValues() []Status { 1275 return []Status{AccessDenied, CertificateExpired, Invalid, Valid} 1276} 1277 1278// Transform enumerates the values for transform. 1279type Transform string 1280 1281const ( 1282 // Lowercase ... 1283 Lowercase Transform = "Lowercase" 1284 // Uppercase ... 1285 Uppercase Transform = "Uppercase" 1286) 1287 1288// PossibleTransformValues returns an array of possible values for the Transform const type. 1289func PossibleTransformValues() []Transform { 1290 return []Transform{Lowercase, Uppercase} 1291} 1292 1293// TransformType enumerates the values for transform type. 1294type TransformType string 1295 1296const ( 1297 // TransformTypeLowercase ... 1298 TransformTypeLowercase TransformType = "Lowercase" 1299 // TransformTypeRemoveNulls ... 1300 TransformTypeRemoveNulls TransformType = "RemoveNulls" 1301 // TransformTypeTrim ... 1302 TransformTypeTrim TransformType = "Trim" 1303 // TransformTypeUppercase ... 1304 TransformTypeUppercase TransformType = "Uppercase" 1305 // TransformTypeURLDecode ... 1306 TransformTypeURLDecode TransformType = "UrlDecode" 1307 // TransformTypeURLEncode ... 1308 TransformTypeURLEncode TransformType = "UrlEncode" 1309) 1310 1311// PossibleTransformTypeValues returns an array of possible values for the TransformType const type. 1312func PossibleTransformTypeValues() []TransformType { 1313 return []TransformType{TransformTypeLowercase, TransformTypeRemoveNulls, TransformTypeTrim, TransformTypeUppercase, TransformTypeURLDecode, TransformTypeURLEncode} 1314} 1315 1316// Type enumerates the values for type. 1317type Type string 1318 1319const ( 1320 // TypeSecurityPolicyParameters ... 1321 TypeSecurityPolicyParameters Type = "SecurityPolicyParameters" 1322 // TypeWebApplicationFirewall ... 1323 TypeWebApplicationFirewall Type = "WebApplicationFirewall" 1324) 1325 1326// PossibleTypeValues returns an array of possible values for the Type const type. 1327func PossibleTypeValues() []Type { 1328 return []Type{TypeSecurityPolicyParameters, TypeWebApplicationFirewall} 1329} 1330 1331// TypeBasicSecretParameters enumerates the values for type basic secret parameters. 1332type TypeBasicSecretParameters string 1333 1334const ( 1335 // TypeCustomerCertificate ... 1336 TypeCustomerCertificate TypeBasicSecretParameters = "CustomerCertificate" 1337 // TypeManagedCertificate ... 1338 TypeManagedCertificate TypeBasicSecretParameters = "ManagedCertificate" 1339 // TypeSecretParameters ... 1340 TypeSecretParameters TypeBasicSecretParameters = "SecretParameters" 1341 // TypeURLSigningKey ... 1342 TypeURLSigningKey TypeBasicSecretParameters = "UrlSigningKey" 1343) 1344 1345// PossibleTypeBasicSecretParametersValues returns an array of possible values for the TypeBasicSecretParameters const type. 1346func PossibleTypeBasicSecretParametersValues() []TypeBasicSecretParameters { 1347 return []TypeBasicSecretParameters{TypeCustomerCertificate, TypeManagedCertificate, TypeSecretParameters, TypeURLSigningKey} 1348} 1349 1350// Unit enumerates the values for unit. 1351type Unit string 1352 1353const ( 1354 // BitsPerSecond ... 1355 BitsPerSecond Unit = "bitsPerSecond" 1356 // Bytes ... 1357 Bytes Unit = "bytes" 1358 // Count ... 1359 Count Unit = "count" 1360) 1361 1362// PossibleUnitValues returns an array of possible values for the Unit const type. 1363func PossibleUnitValues() []Unit { 1364 return []Unit{BitsPerSecond, Bytes, Count} 1365} 1366 1367// Unit1 enumerates the values for unit 1. 1368type Unit1 string 1369 1370const ( 1371 // Unit1Count ... 1372 Unit1Count Unit1 = "count" 1373) 1374 1375// PossibleUnit1Values returns an array of possible values for the Unit1 const type. 1376func PossibleUnit1Values() []Unit1 { 1377 return []Unit1{Unit1Count} 1378} 1379 1380// URLFileExtensionOperator enumerates the values for url file extension operator. 1381type URLFileExtensionOperator string 1382 1383const ( 1384 // URLFileExtensionOperatorAny ... 1385 URLFileExtensionOperatorAny URLFileExtensionOperator = "Any" 1386 // URLFileExtensionOperatorBeginsWith ... 1387 URLFileExtensionOperatorBeginsWith URLFileExtensionOperator = "BeginsWith" 1388 // URLFileExtensionOperatorContains ... 1389 URLFileExtensionOperatorContains URLFileExtensionOperator = "Contains" 1390 // URLFileExtensionOperatorEndsWith ... 1391 URLFileExtensionOperatorEndsWith URLFileExtensionOperator = "EndsWith" 1392 // URLFileExtensionOperatorEqual ... 1393 URLFileExtensionOperatorEqual URLFileExtensionOperator = "Equal" 1394 // URLFileExtensionOperatorGreaterThan ... 1395 URLFileExtensionOperatorGreaterThan URLFileExtensionOperator = "GreaterThan" 1396 // URLFileExtensionOperatorGreaterThanOrEqual ... 1397 URLFileExtensionOperatorGreaterThanOrEqual URLFileExtensionOperator = "GreaterThanOrEqual" 1398 // URLFileExtensionOperatorLessThan ... 1399 URLFileExtensionOperatorLessThan URLFileExtensionOperator = "LessThan" 1400 // URLFileExtensionOperatorLessThanOrEqual ... 1401 URLFileExtensionOperatorLessThanOrEqual URLFileExtensionOperator = "LessThanOrEqual" 1402 // URLFileExtensionOperatorRegEx ... 1403 URLFileExtensionOperatorRegEx URLFileExtensionOperator = "RegEx" 1404) 1405 1406// PossibleURLFileExtensionOperatorValues returns an array of possible values for the URLFileExtensionOperator const type. 1407func PossibleURLFileExtensionOperatorValues() []URLFileExtensionOperator { 1408 return []URLFileExtensionOperator{URLFileExtensionOperatorAny, URLFileExtensionOperatorBeginsWith, URLFileExtensionOperatorContains, URLFileExtensionOperatorEndsWith, URLFileExtensionOperatorEqual, URLFileExtensionOperatorGreaterThan, URLFileExtensionOperatorGreaterThanOrEqual, URLFileExtensionOperatorLessThan, URLFileExtensionOperatorLessThanOrEqual, URLFileExtensionOperatorRegEx} 1409} 1410 1411// URLFileNameOperator enumerates the values for url file name operator. 1412type URLFileNameOperator string 1413 1414const ( 1415 // URLFileNameOperatorAny ... 1416 URLFileNameOperatorAny URLFileNameOperator = "Any" 1417 // URLFileNameOperatorBeginsWith ... 1418 URLFileNameOperatorBeginsWith URLFileNameOperator = "BeginsWith" 1419 // URLFileNameOperatorContains ... 1420 URLFileNameOperatorContains URLFileNameOperator = "Contains" 1421 // URLFileNameOperatorEndsWith ... 1422 URLFileNameOperatorEndsWith URLFileNameOperator = "EndsWith" 1423 // URLFileNameOperatorEqual ... 1424 URLFileNameOperatorEqual URLFileNameOperator = "Equal" 1425 // URLFileNameOperatorGreaterThan ... 1426 URLFileNameOperatorGreaterThan URLFileNameOperator = "GreaterThan" 1427 // URLFileNameOperatorGreaterThanOrEqual ... 1428 URLFileNameOperatorGreaterThanOrEqual URLFileNameOperator = "GreaterThanOrEqual" 1429 // URLFileNameOperatorLessThan ... 1430 URLFileNameOperatorLessThan URLFileNameOperator = "LessThan" 1431 // URLFileNameOperatorLessThanOrEqual ... 1432 URLFileNameOperatorLessThanOrEqual URLFileNameOperator = "LessThanOrEqual" 1433 // URLFileNameOperatorRegEx ... 1434 URLFileNameOperatorRegEx URLFileNameOperator = "RegEx" 1435) 1436 1437// PossibleURLFileNameOperatorValues returns an array of possible values for the URLFileNameOperator const type. 1438func PossibleURLFileNameOperatorValues() []URLFileNameOperator { 1439 return []URLFileNameOperator{URLFileNameOperatorAny, URLFileNameOperatorBeginsWith, URLFileNameOperatorContains, URLFileNameOperatorEndsWith, URLFileNameOperatorEqual, URLFileNameOperatorGreaterThan, URLFileNameOperatorGreaterThanOrEqual, URLFileNameOperatorLessThan, URLFileNameOperatorLessThanOrEqual, URLFileNameOperatorRegEx} 1440} 1441 1442// URLPathOperator enumerates the values for url path operator. 1443type URLPathOperator string 1444 1445const ( 1446 // URLPathOperatorAny ... 1447 URLPathOperatorAny URLPathOperator = "Any" 1448 // URLPathOperatorBeginsWith ... 1449 URLPathOperatorBeginsWith URLPathOperator = "BeginsWith" 1450 // URLPathOperatorContains ... 1451 URLPathOperatorContains URLPathOperator = "Contains" 1452 // URLPathOperatorEndsWith ... 1453 URLPathOperatorEndsWith URLPathOperator = "EndsWith" 1454 // URLPathOperatorEqual ... 1455 URLPathOperatorEqual URLPathOperator = "Equal" 1456 // URLPathOperatorGreaterThan ... 1457 URLPathOperatorGreaterThan URLPathOperator = "GreaterThan" 1458 // URLPathOperatorGreaterThanOrEqual ... 1459 URLPathOperatorGreaterThanOrEqual URLPathOperator = "GreaterThanOrEqual" 1460 // URLPathOperatorLessThan ... 1461 URLPathOperatorLessThan URLPathOperator = "LessThan" 1462 // URLPathOperatorLessThanOrEqual ... 1463 URLPathOperatorLessThanOrEqual URLPathOperator = "LessThanOrEqual" 1464 // URLPathOperatorRegEx ... 1465 URLPathOperatorRegEx URLPathOperator = "RegEx" 1466 // URLPathOperatorWildcard ... 1467 URLPathOperatorWildcard URLPathOperator = "Wildcard" 1468) 1469 1470// PossibleURLPathOperatorValues returns an array of possible values for the URLPathOperator const type. 1471func PossibleURLPathOperatorValues() []URLPathOperator { 1472 return []URLPathOperator{URLPathOperatorAny, URLPathOperatorBeginsWith, URLPathOperatorContains, URLPathOperatorEndsWith, URLPathOperatorEqual, URLPathOperatorGreaterThan, URLPathOperatorGreaterThanOrEqual, URLPathOperatorLessThan, URLPathOperatorLessThanOrEqual, URLPathOperatorRegEx, URLPathOperatorWildcard} 1473} 1474 1475// ValidateSecretType enumerates the values for validate secret type. 1476type ValidateSecretType string 1477 1478const ( 1479 // ValidateSecretTypeCustomerCertificate ... 1480 ValidateSecretTypeCustomerCertificate ValidateSecretType = "CustomerCertificate" 1481 // ValidateSecretTypeManagedCertificate ... 1482 ValidateSecretTypeManagedCertificate ValidateSecretType = "ManagedCertificate" 1483 // ValidateSecretTypeURLSigningKey ... 1484 ValidateSecretTypeURLSigningKey ValidateSecretType = "UrlSigningKey" 1485) 1486 1487// PossibleValidateSecretTypeValues returns an array of possible values for the ValidateSecretType const type. 1488func PossibleValidateSecretTypeValues() []ValidateSecretType { 1489 return []ValidateSecretType{ValidateSecretTypeCustomerCertificate, ValidateSecretTypeManagedCertificate, ValidateSecretTypeURLSigningKey} 1490} 1491