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