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// CacheBehavior enumerates the values for cache behavior. 21type CacheBehavior string 22 23const ( 24 // BypassCache ... 25 BypassCache CacheBehavior = "BypassCache" 26 // Override ... 27 Override CacheBehavior = "Override" 28 // SetIfMissing ... 29 SetIfMissing CacheBehavior = "SetIfMissing" 30) 31 32// PossibleCacheBehaviorValues returns an array of possible values for the CacheBehavior const type. 33func PossibleCacheBehaviorValues() []CacheBehavior { 34 return []CacheBehavior{BypassCache, Override, SetIfMissing} 35} 36 37// CertificateSource enumerates the values for certificate source. 38type CertificateSource string 39 40const ( 41 // CertificateSourceAzureKeyVault ... 42 CertificateSourceAzureKeyVault CertificateSource = "AzureKeyVault" 43 // CertificateSourceCdn ... 44 CertificateSourceCdn CertificateSource = "Cdn" 45 // CertificateSourceCustomDomainHTTPSParameters ... 46 CertificateSourceCustomDomainHTTPSParameters CertificateSource = "CustomDomainHttpsParameters" 47) 48 49// PossibleCertificateSourceValues returns an array of possible values for the CertificateSource const type. 50func PossibleCertificateSourceValues() []CertificateSource { 51 return []CertificateSource{CertificateSourceAzureKeyVault, CertificateSourceCdn, CertificateSourceCustomDomainHTTPSParameters} 52} 53 54// CertificateType enumerates the values for certificate type. 55type CertificateType string 56 57const ( 58 // Dedicated ... 59 Dedicated CertificateType = "Dedicated" 60 // Shared ... 61 Shared CertificateType = "Shared" 62) 63 64// PossibleCertificateTypeValues returns an array of possible values for the CertificateType const type. 65func PossibleCertificateTypeValues() []CertificateType { 66 return []CertificateType{Dedicated, Shared} 67} 68 69// CookiesOperator enumerates the values for cookies operator. 70type CookiesOperator string 71 72const ( 73 // Any ... 74 Any CookiesOperator = "Any" 75 // BeginsWith ... 76 BeginsWith CookiesOperator = "BeginsWith" 77 // Contains ... 78 Contains CookiesOperator = "Contains" 79 // EndsWith ... 80 EndsWith CookiesOperator = "EndsWith" 81 // Equal ... 82 Equal CookiesOperator = "Equal" 83 // GreaterThan ... 84 GreaterThan CookiesOperator = "GreaterThan" 85 // GreaterThanOrEqual ... 86 GreaterThanOrEqual CookiesOperator = "GreaterThanOrEqual" 87 // LessThan ... 88 LessThan CookiesOperator = "LessThan" 89 // LessThanOrEqual ... 90 LessThanOrEqual CookiesOperator = "LessThanOrEqual" 91) 92 93// PossibleCookiesOperatorValues returns an array of possible values for the CookiesOperator const type. 94func PossibleCookiesOperatorValues() []CookiesOperator { 95 return []CookiesOperator{Any, BeginsWith, Contains, EndsWith, Equal, GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual} 96} 97 98// CustomDomainResourceState enumerates the values for custom domain resource state. 99type CustomDomainResourceState string 100 101const ( 102 // Active ... 103 Active CustomDomainResourceState = "Active" 104 // Creating ... 105 Creating CustomDomainResourceState = "Creating" 106 // Deleting ... 107 Deleting CustomDomainResourceState = "Deleting" 108) 109 110// PossibleCustomDomainResourceStateValues returns an array of possible values for the CustomDomainResourceState const type. 111func PossibleCustomDomainResourceStateValues() []CustomDomainResourceState { 112 return []CustomDomainResourceState{Active, Creating, Deleting} 113} 114 115// CustomHTTPSProvisioningState enumerates the values for custom https provisioning state. 116type CustomHTTPSProvisioningState string 117 118const ( 119 // Disabled ... 120 Disabled CustomHTTPSProvisioningState = "Disabled" 121 // Disabling ... 122 Disabling CustomHTTPSProvisioningState = "Disabling" 123 // Enabled ... 124 Enabled CustomHTTPSProvisioningState = "Enabled" 125 // Enabling ... 126 Enabling CustomHTTPSProvisioningState = "Enabling" 127 // Failed ... 128 Failed CustomHTTPSProvisioningState = "Failed" 129) 130 131// PossibleCustomHTTPSProvisioningStateValues returns an array of possible values for the CustomHTTPSProvisioningState const type. 132func PossibleCustomHTTPSProvisioningStateValues() []CustomHTTPSProvisioningState { 133 return []CustomHTTPSProvisioningState{Disabled, Disabling, Enabled, Enabling, Failed} 134} 135 136// CustomHTTPSProvisioningSubstate enumerates the values for custom https provisioning substate. 137type CustomHTTPSProvisioningSubstate string 138 139const ( 140 // CertificateDeleted ... 141 CertificateDeleted CustomHTTPSProvisioningSubstate = "CertificateDeleted" 142 // CertificateDeployed ... 143 CertificateDeployed CustomHTTPSProvisioningSubstate = "CertificateDeployed" 144 // DeletingCertificate ... 145 DeletingCertificate CustomHTTPSProvisioningSubstate = "DeletingCertificate" 146 // DeployingCertificate ... 147 DeployingCertificate CustomHTTPSProvisioningSubstate = "DeployingCertificate" 148 // DomainControlValidationRequestApproved ... 149 DomainControlValidationRequestApproved CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestApproved" 150 // DomainControlValidationRequestRejected ... 151 DomainControlValidationRequestRejected CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestRejected" 152 // DomainControlValidationRequestTimedOut ... 153 DomainControlValidationRequestTimedOut CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestTimedOut" 154 // IssuingCertificate ... 155 IssuingCertificate CustomHTTPSProvisioningSubstate = "IssuingCertificate" 156 // PendingDomainControlValidationREquestApproval ... 157 PendingDomainControlValidationREquestApproval CustomHTTPSProvisioningSubstate = "PendingDomainControlValidationREquestApproval" 158 // SubmittingDomainControlValidationRequest ... 159 SubmittingDomainControlValidationRequest CustomHTTPSProvisioningSubstate = "SubmittingDomainControlValidationRequest" 160) 161 162// PossibleCustomHTTPSProvisioningSubstateValues returns an array of possible values for the CustomHTTPSProvisioningSubstate const type. 163func PossibleCustomHTTPSProvisioningSubstateValues() []CustomHTTPSProvisioningSubstate { 164 return []CustomHTTPSProvisioningSubstate{CertificateDeleted, CertificateDeployed, DeletingCertificate, DeployingCertificate, DomainControlValidationRequestApproved, DomainControlValidationRequestRejected, DomainControlValidationRequestTimedOut, IssuingCertificate, PendingDomainControlValidationREquestApproval, SubmittingDomainControlValidationRequest} 165} 166 167// DestinationProtocol enumerates the values for destination protocol. 168type DestinationProtocol string 169 170const ( 171 // HTTP ... 172 HTTP DestinationProtocol = "Http" 173 // HTTPS ... 174 HTTPS DestinationProtocol = "Https" 175 // MatchRequest ... 176 MatchRequest DestinationProtocol = "MatchRequest" 177) 178 179// PossibleDestinationProtocolValues returns an array of possible values for the DestinationProtocol const type. 180func PossibleDestinationProtocolValues() []DestinationProtocol { 181 return []DestinationProtocol{HTTP, HTTPS, MatchRequest} 182} 183 184// EndpointResourceState enumerates the values for endpoint resource state. 185type EndpointResourceState string 186 187const ( 188 // EndpointResourceStateCreating ... 189 EndpointResourceStateCreating EndpointResourceState = "Creating" 190 // EndpointResourceStateDeleting ... 191 EndpointResourceStateDeleting EndpointResourceState = "Deleting" 192 // EndpointResourceStateRunning ... 193 EndpointResourceStateRunning EndpointResourceState = "Running" 194 // EndpointResourceStateStarting ... 195 EndpointResourceStateStarting EndpointResourceState = "Starting" 196 // EndpointResourceStateStopped ... 197 EndpointResourceStateStopped EndpointResourceState = "Stopped" 198 // EndpointResourceStateStopping ... 199 EndpointResourceStateStopping EndpointResourceState = "Stopping" 200) 201 202// PossibleEndpointResourceStateValues returns an array of possible values for the EndpointResourceState const type. 203func PossibleEndpointResourceStateValues() []EndpointResourceState { 204 return []EndpointResourceState{EndpointResourceStateCreating, EndpointResourceStateDeleting, EndpointResourceStateRunning, EndpointResourceStateStarting, EndpointResourceStateStopped, EndpointResourceStateStopping} 205} 206 207// GeoFilterActions enumerates the values for geo filter actions. 208type GeoFilterActions string 209 210const ( 211 // Allow ... 212 Allow GeoFilterActions = "Allow" 213 // Block ... 214 Block GeoFilterActions = "Block" 215) 216 217// PossibleGeoFilterActionsValues returns an array of possible values for the GeoFilterActions const type. 218func PossibleGeoFilterActionsValues() []GeoFilterActions { 219 return []GeoFilterActions{Allow, Block} 220} 221 222// HeaderAction enumerates the values for header action. 223type HeaderAction string 224 225const ( 226 // Append ... 227 Append HeaderAction = "Append" 228 // Delete ... 229 Delete HeaderAction = "Delete" 230 // Overwrite ... 231 Overwrite HeaderAction = "Overwrite" 232) 233 234// PossibleHeaderActionValues returns an array of possible values for the HeaderAction const type. 235func PossibleHeaderActionValues() []HeaderAction { 236 return []HeaderAction{Append, Delete, Overwrite} 237} 238 239// MinimumTLSVersion enumerates the values for minimum tls version. 240type MinimumTLSVersion string 241 242const ( 243 // None ... 244 None MinimumTLSVersion = "None" 245 // TLS10 ... 246 TLS10 MinimumTLSVersion = "TLS10" 247 // TLS12 ... 248 TLS12 MinimumTLSVersion = "TLS12" 249) 250 251// PossibleMinimumTLSVersionValues returns an array of possible values for the MinimumTLSVersion const type. 252func PossibleMinimumTLSVersionValues() []MinimumTLSVersion { 253 return []MinimumTLSVersion{None, TLS10, TLS12} 254} 255 256// Name enumerates the values for name. 257type Name string 258 259const ( 260 // NameCookies ... 261 NameCookies Name = "Cookies" 262 // NameDeliveryRuleCondition ... 263 NameDeliveryRuleCondition Name = "DeliveryRuleCondition" 264 // NameHTTPVersion ... 265 NameHTTPVersion Name = "HttpVersion" 266 // NameIsDevice ... 267 NameIsDevice Name = "IsDevice" 268 // NamePostArgs ... 269 NamePostArgs Name = "PostArgs" 270 // NameQueryString ... 271 NameQueryString Name = "QueryString" 272 // NameRemoteAddress ... 273 NameRemoteAddress Name = "RemoteAddress" 274 // NameRequestBody ... 275 NameRequestBody Name = "RequestBody" 276 // NameRequestHeader ... 277 NameRequestHeader Name = "RequestHeader" 278 // NameRequestMethod ... 279 NameRequestMethod Name = "RequestMethod" 280 // NameRequestScheme ... 281 NameRequestScheme Name = "RequestScheme" 282 // NameRequestURI ... 283 NameRequestURI Name = "RequestUri" 284 // NameURLFileExtension ... 285 NameURLFileExtension Name = "UrlFileExtension" 286 // NameURLFileName ... 287 NameURLFileName Name = "UrlFileName" 288 // NameURLPath ... 289 NameURLPath Name = "UrlPath" 290) 291 292// PossibleNameValues returns an array of possible values for the Name const type. 293func PossibleNameValues() []Name { 294 return []Name{NameCookies, NameDeliveryRuleCondition, NameHTTPVersion, NameIsDevice, NamePostArgs, NameQueryString, NameRemoteAddress, NameRequestBody, NameRequestHeader, NameRequestMethod, NameRequestScheme, NameRequestURI, NameURLFileExtension, NameURLFileName, NameURLPath} 295} 296 297// NameBasicDeliveryRuleAction enumerates the values for name basic delivery rule action. 298type NameBasicDeliveryRuleAction string 299 300const ( 301 // NameCacheExpiration ... 302 NameCacheExpiration NameBasicDeliveryRuleAction = "CacheExpiration" 303 // NameCacheKeyQueryString ... 304 NameCacheKeyQueryString NameBasicDeliveryRuleAction = "CacheKeyQueryString" 305 // NameDeliveryRuleAction ... 306 NameDeliveryRuleAction NameBasicDeliveryRuleAction = "DeliveryRuleAction" 307 // NameModifyRequestHeader ... 308 NameModifyRequestHeader NameBasicDeliveryRuleAction = "ModifyRequestHeader" 309 // NameModifyResponseHeader ... 310 NameModifyResponseHeader NameBasicDeliveryRuleAction = "ModifyResponseHeader" 311 // NameURLRedirect ... 312 NameURLRedirect NameBasicDeliveryRuleAction = "UrlRedirect" 313 // NameURLRewrite ... 314 NameURLRewrite NameBasicDeliveryRuleAction = "UrlRewrite" 315) 316 317// PossibleNameBasicDeliveryRuleActionValues returns an array of possible values for the NameBasicDeliveryRuleAction const type. 318func PossibleNameBasicDeliveryRuleActionValues() []NameBasicDeliveryRuleAction { 319 return []NameBasicDeliveryRuleAction{NameCacheExpiration, NameCacheKeyQueryString, NameDeliveryRuleAction, NameModifyRequestHeader, NameModifyResponseHeader, NameURLRedirect, NameURLRewrite} 320} 321 322// OptimizationType enumerates the values for optimization type. 323type OptimizationType string 324 325const ( 326 // DynamicSiteAcceleration ... 327 DynamicSiteAcceleration OptimizationType = "DynamicSiteAcceleration" 328 // GeneralMediaStreaming ... 329 GeneralMediaStreaming OptimizationType = "GeneralMediaStreaming" 330 // GeneralWebDelivery ... 331 GeneralWebDelivery OptimizationType = "GeneralWebDelivery" 332 // LargeFileDownload ... 333 LargeFileDownload OptimizationType = "LargeFileDownload" 334 // VideoOnDemandMediaStreaming ... 335 VideoOnDemandMediaStreaming OptimizationType = "VideoOnDemandMediaStreaming" 336) 337 338// PossibleOptimizationTypeValues returns an array of possible values for the OptimizationType const type. 339func PossibleOptimizationTypeValues() []OptimizationType { 340 return []OptimizationType{DynamicSiteAcceleration, GeneralMediaStreaming, GeneralWebDelivery, LargeFileDownload, VideoOnDemandMediaStreaming} 341} 342 343// OriginResourceState enumerates the values for origin resource state. 344type OriginResourceState string 345 346const ( 347 // OriginResourceStateActive ... 348 OriginResourceStateActive OriginResourceState = "Active" 349 // OriginResourceStateCreating ... 350 OriginResourceStateCreating OriginResourceState = "Creating" 351 // OriginResourceStateDeleting ... 352 OriginResourceStateDeleting OriginResourceState = "Deleting" 353) 354 355// PossibleOriginResourceStateValues returns an array of possible values for the OriginResourceState const type. 356func PossibleOriginResourceStateValues() []OriginResourceState { 357 return []OriginResourceState{OriginResourceStateActive, OriginResourceStateCreating, OriginResourceStateDeleting} 358} 359 360// PostArgsOperator enumerates the values for post args operator. 361type PostArgsOperator string 362 363const ( 364 // PostArgsOperatorAny ... 365 PostArgsOperatorAny PostArgsOperator = "Any" 366 // PostArgsOperatorBeginsWith ... 367 PostArgsOperatorBeginsWith PostArgsOperator = "BeginsWith" 368 // PostArgsOperatorContains ... 369 PostArgsOperatorContains PostArgsOperator = "Contains" 370 // PostArgsOperatorEndsWith ... 371 PostArgsOperatorEndsWith PostArgsOperator = "EndsWith" 372 // PostArgsOperatorEqual ... 373 PostArgsOperatorEqual PostArgsOperator = "Equal" 374 // PostArgsOperatorGreaterThan ... 375 PostArgsOperatorGreaterThan PostArgsOperator = "GreaterThan" 376 // PostArgsOperatorGreaterThanOrEqual ... 377 PostArgsOperatorGreaterThanOrEqual PostArgsOperator = "GreaterThanOrEqual" 378 // PostArgsOperatorLessThan ... 379 PostArgsOperatorLessThan PostArgsOperator = "LessThan" 380 // PostArgsOperatorLessThanOrEqual ... 381 PostArgsOperatorLessThanOrEqual PostArgsOperator = "LessThanOrEqual" 382) 383 384// PossiblePostArgsOperatorValues returns an array of possible values for the PostArgsOperator const type. 385func PossiblePostArgsOperatorValues() []PostArgsOperator { 386 return []PostArgsOperator{PostArgsOperatorAny, PostArgsOperatorBeginsWith, PostArgsOperatorContains, PostArgsOperatorEndsWith, PostArgsOperatorEqual, PostArgsOperatorGreaterThan, PostArgsOperatorGreaterThanOrEqual, PostArgsOperatorLessThan, PostArgsOperatorLessThanOrEqual} 387} 388 389// ProfileResourceState enumerates the values for profile resource state. 390type ProfileResourceState string 391 392const ( 393 // ProfileResourceStateActive ... 394 ProfileResourceStateActive ProfileResourceState = "Active" 395 // ProfileResourceStateCreating ... 396 ProfileResourceStateCreating ProfileResourceState = "Creating" 397 // ProfileResourceStateDeleting ... 398 ProfileResourceStateDeleting ProfileResourceState = "Deleting" 399 // ProfileResourceStateDisabled ... 400 ProfileResourceStateDisabled ProfileResourceState = "Disabled" 401) 402 403// PossibleProfileResourceStateValues returns an array of possible values for the ProfileResourceState const type. 404func PossibleProfileResourceStateValues() []ProfileResourceState { 405 return []ProfileResourceState{ProfileResourceStateActive, ProfileResourceStateCreating, ProfileResourceStateDeleting, ProfileResourceStateDisabled} 406} 407 408// ProtocolType enumerates the values for protocol type. 409type ProtocolType string 410 411const ( 412 // IPBased ... 413 IPBased ProtocolType = "IPBased" 414 // ServerNameIndication ... 415 ServerNameIndication ProtocolType = "ServerNameIndication" 416) 417 418// PossibleProtocolTypeValues returns an array of possible values for the ProtocolType const type. 419func PossibleProtocolTypeValues() []ProtocolType { 420 return []ProtocolType{IPBased, ServerNameIndication} 421} 422 423// QueryStringBehavior enumerates the values for query string behavior. 424type QueryStringBehavior string 425 426const ( 427 // Exclude ... 428 Exclude QueryStringBehavior = "Exclude" 429 // ExcludeAll ... 430 ExcludeAll QueryStringBehavior = "ExcludeAll" 431 // Include ... 432 Include QueryStringBehavior = "Include" 433 // IncludeAll ... 434 IncludeAll QueryStringBehavior = "IncludeAll" 435) 436 437// PossibleQueryStringBehaviorValues returns an array of possible values for the QueryStringBehavior const type. 438func PossibleQueryStringBehaviorValues() []QueryStringBehavior { 439 return []QueryStringBehavior{Exclude, ExcludeAll, Include, IncludeAll} 440} 441 442// QueryStringCachingBehavior enumerates the values for query string caching behavior. 443type QueryStringCachingBehavior string 444 445const ( 446 // BypassCaching ... 447 BypassCaching QueryStringCachingBehavior = "BypassCaching" 448 // IgnoreQueryString ... 449 IgnoreQueryString QueryStringCachingBehavior = "IgnoreQueryString" 450 // NotSet ... 451 NotSet QueryStringCachingBehavior = "NotSet" 452 // UseQueryString ... 453 UseQueryString QueryStringCachingBehavior = "UseQueryString" 454) 455 456// PossibleQueryStringCachingBehaviorValues returns an array of possible values for the QueryStringCachingBehavior const type. 457func PossibleQueryStringCachingBehaviorValues() []QueryStringCachingBehavior { 458 return []QueryStringCachingBehavior{BypassCaching, IgnoreQueryString, NotSet, UseQueryString} 459} 460 461// QueryStringOperator enumerates the values for query string operator. 462type QueryStringOperator string 463 464const ( 465 // QueryStringOperatorAny ... 466 QueryStringOperatorAny QueryStringOperator = "Any" 467 // QueryStringOperatorBeginsWith ... 468 QueryStringOperatorBeginsWith QueryStringOperator = "BeginsWith" 469 // QueryStringOperatorContains ... 470 QueryStringOperatorContains QueryStringOperator = "Contains" 471 // QueryStringOperatorEndsWith ... 472 QueryStringOperatorEndsWith QueryStringOperator = "EndsWith" 473 // QueryStringOperatorEqual ... 474 QueryStringOperatorEqual QueryStringOperator = "Equal" 475 // QueryStringOperatorGreaterThan ... 476 QueryStringOperatorGreaterThan QueryStringOperator = "GreaterThan" 477 // QueryStringOperatorGreaterThanOrEqual ... 478 QueryStringOperatorGreaterThanOrEqual QueryStringOperator = "GreaterThanOrEqual" 479 // QueryStringOperatorLessThan ... 480 QueryStringOperatorLessThan QueryStringOperator = "LessThan" 481 // QueryStringOperatorLessThanOrEqual ... 482 QueryStringOperatorLessThanOrEqual QueryStringOperator = "LessThanOrEqual" 483) 484 485// PossibleQueryStringOperatorValues returns an array of possible values for the QueryStringOperator const type. 486func PossibleQueryStringOperatorValues() []QueryStringOperator { 487 return []QueryStringOperator{QueryStringOperatorAny, QueryStringOperatorBeginsWith, QueryStringOperatorContains, QueryStringOperatorEndsWith, QueryStringOperatorEqual, QueryStringOperatorGreaterThan, QueryStringOperatorGreaterThanOrEqual, QueryStringOperatorLessThan, QueryStringOperatorLessThanOrEqual} 488} 489 490// RedirectType enumerates the values for redirect type. 491type RedirectType string 492 493const ( 494 // Found ... 495 Found RedirectType = "Found" 496 // Moved ... 497 Moved RedirectType = "Moved" 498 // PermanentRedirect ... 499 PermanentRedirect RedirectType = "PermanentRedirect" 500 // TemporaryRedirect ... 501 TemporaryRedirect RedirectType = "TemporaryRedirect" 502) 503 504// PossibleRedirectTypeValues returns an array of possible values for the RedirectType const type. 505func PossibleRedirectTypeValues() []RedirectType { 506 return []RedirectType{Found, Moved, PermanentRedirect, TemporaryRedirect} 507} 508 509// RemoteAddressOperator enumerates the values for remote address operator. 510type RemoteAddressOperator string 511 512const ( 513 // RemoteAddressOperatorAny ... 514 RemoteAddressOperatorAny RemoteAddressOperator = "Any" 515 // RemoteAddressOperatorGeoMatch ... 516 RemoteAddressOperatorGeoMatch RemoteAddressOperator = "GeoMatch" 517 // RemoteAddressOperatorIPMatch ... 518 RemoteAddressOperatorIPMatch RemoteAddressOperator = "IPMatch" 519) 520 521// PossibleRemoteAddressOperatorValues returns an array of possible values for the RemoteAddressOperator const type. 522func PossibleRemoteAddressOperatorValues() []RemoteAddressOperator { 523 return []RemoteAddressOperator{RemoteAddressOperatorAny, RemoteAddressOperatorGeoMatch, RemoteAddressOperatorIPMatch} 524} 525 526// RequestBodyOperator enumerates the values for request body operator. 527type RequestBodyOperator string 528 529const ( 530 // RequestBodyOperatorAny ... 531 RequestBodyOperatorAny RequestBodyOperator = "Any" 532 // RequestBodyOperatorBeginsWith ... 533 RequestBodyOperatorBeginsWith RequestBodyOperator = "BeginsWith" 534 // RequestBodyOperatorContains ... 535 RequestBodyOperatorContains RequestBodyOperator = "Contains" 536 // RequestBodyOperatorEndsWith ... 537 RequestBodyOperatorEndsWith RequestBodyOperator = "EndsWith" 538 // RequestBodyOperatorEqual ... 539 RequestBodyOperatorEqual RequestBodyOperator = "Equal" 540 // RequestBodyOperatorGreaterThan ... 541 RequestBodyOperatorGreaterThan RequestBodyOperator = "GreaterThan" 542 // RequestBodyOperatorGreaterThanOrEqual ... 543 RequestBodyOperatorGreaterThanOrEqual RequestBodyOperator = "GreaterThanOrEqual" 544 // RequestBodyOperatorLessThan ... 545 RequestBodyOperatorLessThan RequestBodyOperator = "LessThan" 546 // RequestBodyOperatorLessThanOrEqual ... 547 RequestBodyOperatorLessThanOrEqual RequestBodyOperator = "LessThanOrEqual" 548) 549 550// PossibleRequestBodyOperatorValues returns an array of possible values for the RequestBodyOperator const type. 551func PossibleRequestBodyOperatorValues() []RequestBodyOperator { 552 return []RequestBodyOperator{RequestBodyOperatorAny, RequestBodyOperatorBeginsWith, RequestBodyOperatorContains, RequestBodyOperatorEndsWith, RequestBodyOperatorEqual, RequestBodyOperatorGreaterThan, RequestBodyOperatorGreaterThanOrEqual, RequestBodyOperatorLessThan, RequestBodyOperatorLessThanOrEqual} 553} 554 555// RequestHeaderOperator enumerates the values for request header operator. 556type RequestHeaderOperator string 557 558const ( 559 // RequestHeaderOperatorAny ... 560 RequestHeaderOperatorAny RequestHeaderOperator = "Any" 561 // RequestHeaderOperatorBeginsWith ... 562 RequestHeaderOperatorBeginsWith RequestHeaderOperator = "BeginsWith" 563 // RequestHeaderOperatorContains ... 564 RequestHeaderOperatorContains RequestHeaderOperator = "Contains" 565 // RequestHeaderOperatorEndsWith ... 566 RequestHeaderOperatorEndsWith RequestHeaderOperator = "EndsWith" 567 // RequestHeaderOperatorEqual ... 568 RequestHeaderOperatorEqual RequestHeaderOperator = "Equal" 569 // RequestHeaderOperatorGreaterThan ... 570 RequestHeaderOperatorGreaterThan RequestHeaderOperator = "GreaterThan" 571 // RequestHeaderOperatorGreaterThanOrEqual ... 572 RequestHeaderOperatorGreaterThanOrEqual RequestHeaderOperator = "GreaterThanOrEqual" 573 // RequestHeaderOperatorLessThan ... 574 RequestHeaderOperatorLessThan RequestHeaderOperator = "LessThan" 575 // RequestHeaderOperatorLessThanOrEqual ... 576 RequestHeaderOperatorLessThanOrEqual RequestHeaderOperator = "LessThanOrEqual" 577) 578 579// PossibleRequestHeaderOperatorValues returns an array of possible values for the RequestHeaderOperator const type. 580func PossibleRequestHeaderOperatorValues() []RequestHeaderOperator { 581 return []RequestHeaderOperator{RequestHeaderOperatorAny, RequestHeaderOperatorBeginsWith, RequestHeaderOperatorContains, RequestHeaderOperatorEndsWith, RequestHeaderOperatorEqual, RequestHeaderOperatorGreaterThan, RequestHeaderOperatorGreaterThanOrEqual, RequestHeaderOperatorLessThan, RequestHeaderOperatorLessThanOrEqual} 582} 583 584// RequestURIOperator enumerates the values for request uri operator. 585type RequestURIOperator string 586 587const ( 588 // RequestURIOperatorAny ... 589 RequestURIOperatorAny RequestURIOperator = "Any" 590 // RequestURIOperatorBeginsWith ... 591 RequestURIOperatorBeginsWith RequestURIOperator = "BeginsWith" 592 // RequestURIOperatorContains ... 593 RequestURIOperatorContains RequestURIOperator = "Contains" 594 // RequestURIOperatorEndsWith ... 595 RequestURIOperatorEndsWith RequestURIOperator = "EndsWith" 596 // RequestURIOperatorEqual ... 597 RequestURIOperatorEqual RequestURIOperator = "Equal" 598 // RequestURIOperatorGreaterThan ... 599 RequestURIOperatorGreaterThan RequestURIOperator = "GreaterThan" 600 // RequestURIOperatorGreaterThanOrEqual ... 601 RequestURIOperatorGreaterThanOrEqual RequestURIOperator = "GreaterThanOrEqual" 602 // RequestURIOperatorLessThan ... 603 RequestURIOperatorLessThan RequestURIOperator = "LessThan" 604 // RequestURIOperatorLessThanOrEqual ... 605 RequestURIOperatorLessThanOrEqual RequestURIOperator = "LessThanOrEqual" 606) 607 608// PossibleRequestURIOperatorValues returns an array of possible values for the RequestURIOperator const type. 609func PossibleRequestURIOperatorValues() []RequestURIOperator { 610 return []RequestURIOperator{RequestURIOperatorAny, RequestURIOperatorBeginsWith, RequestURIOperatorContains, RequestURIOperatorEndsWith, RequestURIOperatorEqual, RequestURIOperatorGreaterThan, RequestURIOperatorGreaterThanOrEqual, RequestURIOperatorLessThan, RequestURIOperatorLessThanOrEqual} 611} 612 613// ResourceType enumerates the values for resource type. 614type ResourceType string 615 616const ( 617 // MicrosoftCdnProfilesEndpoints ... 618 MicrosoftCdnProfilesEndpoints ResourceType = "Microsoft.Cdn/Profiles/Endpoints" 619) 620 621// PossibleResourceTypeValues returns an array of possible values for the ResourceType const type. 622func PossibleResourceTypeValues() []ResourceType { 623 return []ResourceType{MicrosoftCdnProfilesEndpoints} 624} 625 626// SkuName enumerates the values for sku name. 627type SkuName string 628 629const ( 630 // CustomVerizon ... 631 CustomVerizon SkuName = "Custom_Verizon" 632 // PremiumChinaCdn ... 633 PremiumChinaCdn SkuName = "Premium_ChinaCdn" 634 // PremiumVerizon ... 635 PremiumVerizon SkuName = "Premium_Verizon" 636 // StandardAkamai ... 637 StandardAkamai SkuName = "Standard_Akamai" 638 // StandardChinaCdn ... 639 StandardChinaCdn SkuName = "Standard_ChinaCdn" 640 // StandardMicrosoft ... 641 StandardMicrosoft SkuName = "Standard_Microsoft" 642 // StandardVerizon ... 643 StandardVerizon SkuName = "Standard_Verizon" 644) 645 646// PossibleSkuNameValues returns an array of possible values for the SkuName const type. 647func PossibleSkuNameValues() []SkuName { 648 return []SkuName{CustomVerizon, PremiumChinaCdn, PremiumVerizon, StandardAkamai, StandardChinaCdn, StandardMicrosoft, StandardVerizon} 649} 650 651// Transform enumerates the values for transform. 652type Transform string 653 654const ( 655 // Lowercase ... 656 Lowercase Transform = "Lowercase" 657 // Uppercase ... 658 Uppercase Transform = "Uppercase" 659) 660 661// PossibleTransformValues returns an array of possible values for the Transform const type. 662func PossibleTransformValues() []Transform { 663 return []Transform{Lowercase, Uppercase} 664} 665 666// URLFileExtensionOperator enumerates the values for url file extension operator. 667type URLFileExtensionOperator string 668 669const ( 670 // URLFileExtensionOperatorAny ... 671 URLFileExtensionOperatorAny URLFileExtensionOperator = "Any" 672 // URLFileExtensionOperatorBeginsWith ... 673 URLFileExtensionOperatorBeginsWith URLFileExtensionOperator = "BeginsWith" 674 // URLFileExtensionOperatorContains ... 675 URLFileExtensionOperatorContains URLFileExtensionOperator = "Contains" 676 // URLFileExtensionOperatorEndsWith ... 677 URLFileExtensionOperatorEndsWith URLFileExtensionOperator = "EndsWith" 678 // URLFileExtensionOperatorEqual ... 679 URLFileExtensionOperatorEqual URLFileExtensionOperator = "Equal" 680 // URLFileExtensionOperatorGreaterThan ... 681 URLFileExtensionOperatorGreaterThan URLFileExtensionOperator = "GreaterThan" 682 // URLFileExtensionOperatorGreaterThanOrEqual ... 683 URLFileExtensionOperatorGreaterThanOrEqual URLFileExtensionOperator = "GreaterThanOrEqual" 684 // URLFileExtensionOperatorLessThan ... 685 URLFileExtensionOperatorLessThan URLFileExtensionOperator = "LessThan" 686 // URLFileExtensionOperatorLessThanOrEqual ... 687 URLFileExtensionOperatorLessThanOrEqual URLFileExtensionOperator = "LessThanOrEqual" 688) 689 690// PossibleURLFileExtensionOperatorValues returns an array of possible values for the URLFileExtensionOperator const type. 691func PossibleURLFileExtensionOperatorValues() []URLFileExtensionOperator { 692 return []URLFileExtensionOperator{URLFileExtensionOperatorAny, URLFileExtensionOperatorBeginsWith, URLFileExtensionOperatorContains, URLFileExtensionOperatorEndsWith, URLFileExtensionOperatorEqual, URLFileExtensionOperatorGreaterThan, URLFileExtensionOperatorGreaterThanOrEqual, URLFileExtensionOperatorLessThan, URLFileExtensionOperatorLessThanOrEqual} 693} 694 695// URLFileNameOperator enumerates the values for url file name operator. 696type URLFileNameOperator string 697 698const ( 699 // URLFileNameOperatorAny ... 700 URLFileNameOperatorAny URLFileNameOperator = "Any" 701 // URLFileNameOperatorBeginsWith ... 702 URLFileNameOperatorBeginsWith URLFileNameOperator = "BeginsWith" 703 // URLFileNameOperatorContains ... 704 URLFileNameOperatorContains URLFileNameOperator = "Contains" 705 // URLFileNameOperatorEndsWith ... 706 URLFileNameOperatorEndsWith URLFileNameOperator = "EndsWith" 707 // URLFileNameOperatorEqual ... 708 URLFileNameOperatorEqual URLFileNameOperator = "Equal" 709 // URLFileNameOperatorGreaterThan ... 710 URLFileNameOperatorGreaterThan URLFileNameOperator = "GreaterThan" 711 // URLFileNameOperatorGreaterThanOrEqual ... 712 URLFileNameOperatorGreaterThanOrEqual URLFileNameOperator = "GreaterThanOrEqual" 713 // URLFileNameOperatorLessThan ... 714 URLFileNameOperatorLessThan URLFileNameOperator = "LessThan" 715 // URLFileNameOperatorLessThanOrEqual ... 716 URLFileNameOperatorLessThanOrEqual URLFileNameOperator = "LessThanOrEqual" 717) 718 719// PossibleURLFileNameOperatorValues returns an array of possible values for the URLFileNameOperator const type. 720func PossibleURLFileNameOperatorValues() []URLFileNameOperator { 721 return []URLFileNameOperator{URLFileNameOperatorAny, URLFileNameOperatorBeginsWith, URLFileNameOperatorContains, URLFileNameOperatorEndsWith, URLFileNameOperatorEqual, URLFileNameOperatorGreaterThan, URLFileNameOperatorGreaterThanOrEqual, URLFileNameOperatorLessThan, URLFileNameOperatorLessThanOrEqual} 722} 723 724// URLPathOperator enumerates the values for url path operator. 725type URLPathOperator string 726 727const ( 728 // URLPathOperatorAny ... 729 URLPathOperatorAny URLPathOperator = "Any" 730 // URLPathOperatorBeginsWith ... 731 URLPathOperatorBeginsWith URLPathOperator = "BeginsWith" 732 // URLPathOperatorContains ... 733 URLPathOperatorContains URLPathOperator = "Contains" 734 // URLPathOperatorEndsWith ... 735 URLPathOperatorEndsWith URLPathOperator = "EndsWith" 736 // URLPathOperatorEqual ... 737 URLPathOperatorEqual URLPathOperator = "Equal" 738 // URLPathOperatorGreaterThan ... 739 URLPathOperatorGreaterThan URLPathOperator = "GreaterThan" 740 // URLPathOperatorGreaterThanOrEqual ... 741 URLPathOperatorGreaterThanOrEqual URLPathOperator = "GreaterThanOrEqual" 742 // URLPathOperatorLessThan ... 743 URLPathOperatorLessThan URLPathOperator = "LessThan" 744 // URLPathOperatorLessThanOrEqual ... 745 URLPathOperatorLessThanOrEqual URLPathOperator = "LessThanOrEqual" 746 // URLPathOperatorWildcard ... 747 URLPathOperatorWildcard URLPathOperator = "Wildcard" 748) 749 750// PossibleURLPathOperatorValues returns an array of possible values for the URLPathOperator const type. 751func PossibleURLPathOperatorValues() []URLPathOperator { 752 return []URLPathOperator{URLPathOperatorAny, URLPathOperatorBeginsWith, URLPathOperatorContains, URLPathOperatorEndsWith, URLPathOperatorEqual, URLPathOperatorGreaterThan, URLPathOperatorGreaterThanOrEqual, URLPathOperatorLessThan, URLPathOperatorLessThanOrEqual, URLPathOperatorWildcard} 753} 754