1# coding=utf-8 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# Code generated by Microsoft (R) AutoRest Code Generator. 6# Changes may cause incorrect behavior and will be lost if the code is regenerated. 7# -------------------------------------------------------------------------- 8 9from enum import Enum, EnumMeta 10from six import with_metaclass 11 12class _CaseInsensitiveEnumMeta(EnumMeta): 13 def __getitem__(self, name): 14 return super().__getitem__(name.upper()) 15 16 def __getattr__(cls, name): 17 """Return the enum member matching `name` 18 We use __getattr__ instead of descriptors or inserting into the enum 19 class' __dict__ in order to support `name` and `value` being both 20 properties for enum members (which live in the class' __dict__) and 21 enum members themselves. 22 """ 23 try: 24 return cls._member_map_[name.upper()] 25 except KeyError: 26 raise AttributeError(name) 27 28 29class AccessControlEntryAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 30 """Action object. 31 """ 32 33 PERMIT = "Permit" 34 DENY = "Deny" 35 36class AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 37 38 REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" 39 EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" 40 SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" 41 42class AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 43 44 REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" 45 EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" 46 SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" 47 48class AppServicePlanRestrictions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 49 """App Service plans this offer is restricted to. 50 """ 51 52 NONE = "None" 53 FREE = "Free" 54 SHARED = "Shared" 55 BASIC = "Basic" 56 STANDARD = "Standard" 57 PREMIUM = "Premium" 58 59class AutoHealActionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 60 """Predefined action to be taken. 61 """ 62 63 RECYCLE = "Recycle" 64 LOG_EVENT = "LogEvent" 65 CUSTOM_ACTION = "CustomAction" 66 67class AzureResourceType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 68 """Type of the Azure resource the hostname is assigned to. 69 """ 70 71 WEBSITE = "Website" 72 TRAFFIC_MANAGER = "TrafficManager" 73 74class AzureStorageState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 75 """State of the storage account. 76 """ 77 78 OK = "Ok" 79 INVALID_CREDENTIALS = "InvalidCredentials" 80 INVALID_SHARE = "InvalidShare" 81 82class AzureStorageType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 83 """Type of storage. 84 """ 85 86 AZURE_FILES = "AzureFiles" 87 AZURE_BLOB = "AzureBlob" 88 89class BackupItemStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 90 """Backup status. 91 """ 92 93 IN_PROGRESS = "InProgress" 94 FAILED = "Failed" 95 SUCCEEDED = "Succeeded" 96 TIMED_OUT = "TimedOut" 97 CREATED = "Created" 98 SKIPPED = "Skipped" 99 PARTIALLY_SUCCEEDED = "PartiallySucceeded" 100 DELETE_IN_PROGRESS = "DeleteInProgress" 101 DELETE_FAILED = "DeleteFailed" 102 DELETED = "Deleted" 103 104class BackupRestoreOperationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 105 """Operation type. 106 """ 107 108 DEFAULT = "Default" 109 CLONE = "Clone" 110 RELOCATION = "Relocation" 111 SNAPSHOT = "Snapshot" 112 CLOUD_FS = "CloudFS" 113 114class BuildStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 115 """The status of the static site build. 116 """ 117 118 WAITING_FOR_DEPLOYMENT = "WaitingForDeployment" 119 UPLOADING = "Uploading" 120 DEPLOYING = "Deploying" 121 READY = "Ready" 122 FAILED = "Failed" 123 DELETING = "Deleting" 124 DETACHED = "Detached" 125 126class BuiltInAuthenticationProvider(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 127 """The default authentication provider to use when multiple providers are configured. 128 This setting is only needed if multiple providers are configured and the unauthenticated client 129 action is set to "RedirectToLoginPage". 130 """ 131 132 AZURE_ACTIVE_DIRECTORY = "AzureActiveDirectory" 133 FACEBOOK = "Facebook" 134 GOOGLE = "Google" 135 MICROSOFT_ACCOUNT = "MicrosoftAccount" 136 TWITTER = "Twitter" 137 GITHUB = "Github" 138 139class CertificateOrderActionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 140 """Action type. 141 """ 142 143 CERTIFICATE_ISSUED = "CertificateIssued" 144 CERTIFICATE_ORDER_CANCELED = "CertificateOrderCanceled" 145 CERTIFICATE_ORDER_CREATED = "CertificateOrderCreated" 146 CERTIFICATE_REVOKED = "CertificateRevoked" 147 DOMAIN_VALIDATION_COMPLETE = "DomainValidationComplete" 148 FRAUD_DETECTED = "FraudDetected" 149 ORG_NAME_CHANGE = "OrgNameChange" 150 ORG_VALIDATION_COMPLETE = "OrgValidationComplete" 151 SAN_DROP = "SanDrop" 152 FRAUD_CLEARED = "FraudCleared" 153 CERTIFICATE_EXPIRED = "CertificateExpired" 154 CERTIFICATE_EXPIRATION_WARNING = "CertificateExpirationWarning" 155 FRAUD_DOCUMENTATION_REQUIRED = "FraudDocumentationRequired" 156 UNKNOWN = "Unknown" 157 158class CertificateOrderStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 159 """Current order status. 160 """ 161 162 PENDINGISSUANCE = "Pendingissuance" 163 ISSUED = "Issued" 164 REVOKED = "Revoked" 165 CANCELED = "Canceled" 166 DENIED = "Denied" 167 PENDINGREVOCATION = "Pendingrevocation" 168 PENDING_REKEY = "PendingRekey" 169 UNUSED = "Unused" 170 EXPIRED = "Expired" 171 NOT_SUBMITTED = "NotSubmitted" 172 173class CertificateProductType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 174 """Certificate product type. 175 """ 176 177 STANDARD_DOMAIN_VALIDATED_SSL = "StandardDomainValidatedSsl" 178 STANDARD_DOMAIN_VALIDATED_WILD_CARD_SSL = "StandardDomainValidatedWildCardSsl" 179 180class Channels(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 181 """List of channels that this recommendation can apply. 182 """ 183 184 NOTIFICATION = "Notification" 185 API = "Api" 186 EMAIL = "Email" 187 WEBHOOK = "Webhook" 188 ALL = "All" 189 190class CheckNameResourceTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 191 """Resource type used for verification. 192 """ 193 194 SITE = "Site" 195 SLOT = "Slot" 196 HOSTING_ENVIRONMENT = "HostingEnvironment" 197 PUBLISHING_USER = "PublishingUser" 198 MICROSOFT_WEB_SITES = "Microsoft.Web/sites" 199 MICROSOFT_WEB_SITES_SLOTS = "Microsoft.Web/sites/slots" 200 MICROSOFT_WEB_HOSTING_ENVIRONMENTS = "Microsoft.Web/hostingEnvironments" 201 MICROSOFT_WEB_PUBLISHING_USERS = "Microsoft.Web/publishingUsers" 202 203class ClientCertMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 204 """This composes with ClientCertEnabled setting. 205 206 207 * ClientCertEnabled: false means ClientCert is ignored. 208 * ClientCertEnabled: true and ClientCertMode: Required means ClientCert is required. 209 * ClientCertEnabled: true and ClientCertMode: Optional means ClientCert is optional or 210 accepted. 211 """ 212 213 REQUIRED = "Required" 214 OPTIONAL = "Optional" 215 216class CloneAbilityResult(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 217 """Name of app. 218 """ 219 220 CLONEABLE = "Cloneable" 221 PARTIALLY_CLONEABLE = "PartiallyCloneable" 222 NOT_CLONEABLE = "NotCloneable" 223 224class ComputeModeOptions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 225 """Shared/dedicated workers. 226 """ 227 228 SHARED = "Shared" 229 DEDICATED = "Dedicated" 230 DYNAMIC = "Dynamic" 231 232class ConnectionStringType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 233 """Type of database. 234 """ 235 236 MY_SQL = "MySql" 237 SQL_SERVER = "SQLServer" 238 SQL_AZURE = "SQLAzure" 239 CUSTOM = "Custom" 240 NOTIFICATION_HUB = "NotificationHub" 241 SERVICE_BUS = "ServiceBus" 242 EVENT_HUB = "EventHub" 243 API_HUB = "ApiHub" 244 DOC_DB = "DocDb" 245 REDIS_CACHE = "RedisCache" 246 POSTGRE_SQL = "PostgreSQL" 247 248class ContinuousWebJobStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 249 """Job status. 250 """ 251 252 INITIALIZING = "Initializing" 253 STARTING = "Starting" 254 RUNNING = "Running" 255 PENDING_RESTART = "PendingRestart" 256 STOPPED = "Stopped" 257 258class CookieExpirationConvention(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 259 260 FIXED_TIME = "FixedTime" 261 IDENTITY_PROVIDER_DERIVED = "IdentityProviderDerived" 262 263class CustomHostNameDnsRecordType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 264 """Type of the DNS record. 265 """ 266 267 C_NAME = "CName" 268 A = "A" 269 270class DatabaseType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 271 """Database type (e.g. SqlAzure / MySql). 272 """ 273 274 SQL_AZURE = "SqlAzure" 275 MY_SQL = "MySql" 276 LOCAL_MY_SQL = "LocalMySql" 277 POSTGRE_SQL = "PostgreSql" 278 279class DnsType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 280 """Current DNS type 281 """ 282 283 AZURE_DNS = "AzureDns" 284 DEFAULT_DOMAIN_REGISTRAR_DNS = "DefaultDomainRegistrarDns" 285 286class DnsVerificationTestResult(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 287 """DNS verification test result. 288 """ 289 290 PASSED = "Passed" 291 FAILED = "Failed" 292 SKIPPED = "Skipped" 293 294class DomainPatchResourcePropertiesDomainNotRenewableReasonsItem(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 295 296 REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" 297 EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" 298 SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" 299 300class DomainPropertiesDomainNotRenewableReasonsItem(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 301 302 REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = "RegistrationStatusNotSupportedForRenewal" 303 EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = "ExpirationNotInRenewalTimeRange" 304 SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive" 305 306class DomainStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 307 """Domain registration status. 308 """ 309 310 ACTIVE = "Active" 311 AWAITING = "Awaiting" 312 CANCELLED = "Cancelled" 313 CONFISCATED = "Confiscated" 314 DISABLED = "Disabled" 315 EXCLUDED = "Excluded" 316 EXPIRED = "Expired" 317 FAILED = "Failed" 318 HELD = "Held" 319 LOCKED = "Locked" 320 PARKED = "Parked" 321 PENDING = "Pending" 322 RESERVED = "Reserved" 323 REVERTED = "Reverted" 324 SUSPENDED = "Suspended" 325 TRANSFERRED = "Transferred" 326 UNKNOWN = "Unknown" 327 UNLOCKED = "Unlocked" 328 UNPARKED = "Unparked" 329 UPDATED = "Updated" 330 JSON_CONVERTER_FAILED = "JsonConverterFailed" 331 332class DomainType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 333 """Valid values are Regular domain: Azure will charge the full price of domain registration, 334 SoftDeleted: Purchasing this domain will simply restore it and this operation will not cost 335 anything. 336 """ 337 338 REGULAR = "Regular" 339 SOFT_DELETED = "SoftDeleted" 340 341class Enum4(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 342 343 WINDOWS = "Windows" 344 LINUX = "Linux" 345 WINDOWS_FUNCTIONS = "WindowsFunctions" 346 LINUX_FUNCTIONS = "LinuxFunctions" 347 348class Enum5(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 349 350 WINDOWS = "Windows" 351 LINUX = "Linux" 352 WINDOWS_FUNCTIONS = "WindowsFunctions" 353 LINUX_FUNCTIONS = "LinuxFunctions" 354 355class ForwardProxyConvention(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 356 357 NO_PROXY = "NoProxy" 358 STANDARD = "Standard" 359 CUSTOM = "Custom" 360 361class FrequencyUnit(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 362 """The unit of time for how often the backup should be executed (e.g. for weekly backup, this 363 should be set to Day and FrequencyInterval should be set to 7) 364 """ 365 366 DAY = "Day" 367 HOUR = "Hour" 368 369class FtpsState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 370 """State of FTP / FTPS service 371 """ 372 373 ALL_ALLOWED = "AllAllowed" 374 FTPS_ONLY = "FtpsOnly" 375 DISABLED = "Disabled" 376 377class HostingEnvironmentStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 378 """Current status of the App Service Environment. 379 """ 380 381 PREPARING = "Preparing" 382 READY = "Ready" 383 SCALING = "Scaling" 384 DELETING = "Deleting" 385 386class HostNameType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 387 """Type of the hostname. 388 """ 389 390 VERIFIED = "Verified" 391 MANAGED = "Managed" 392 393class HostType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 394 """Indicates whether the hostname is a standard or repository hostname. 395 """ 396 397 STANDARD = "Standard" 398 REPOSITORY = "Repository" 399 400class InAvailabilityReasonType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 401 """:code:`<code>Invalid</code>` indicates the name provided does not match Azure App Service 402 naming requirements. :code:`<code>AlreadyExists</code>` indicates that the name is already in 403 use and is therefore unavailable. 404 """ 405 406 INVALID = "Invalid" 407 ALREADY_EXISTS = "AlreadyExists" 408 409class IpFilterTag(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 410 """Defines what this IP filter will be used for. This is to support IP filtering on proxies. 411 """ 412 413 DEFAULT = "Default" 414 XFF_PROXY = "XffProxy" 415 SERVICE_TAG = "ServiceTag" 416 417class IssueType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 418 """Represents the type of the Detector 419 """ 420 421 SERVICE_INCIDENT = "ServiceIncident" 422 APP_DEPLOYMENT = "AppDeployment" 423 APP_CRASH = "AppCrash" 424 RUNTIME_ISSUE_DETECTED = "RuntimeIssueDetected" 425 ASE_DEPLOYMENT = "AseDeployment" 426 USER_ISSUE = "UserIssue" 427 PLATFORM_ISSUE = "PlatformIssue" 428 OTHER = "Other" 429 430class KeyVaultSecretStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 431 """Status of the Key Vault secret. 432 """ 433 434 INITIALIZED = "Initialized" 435 WAITING_ON_CERTIFICATE_ORDER = "WaitingOnCertificateOrder" 436 SUCCEEDED = "Succeeded" 437 CERTIFICATE_ORDER_FAILED = "CertificateOrderFailed" 438 OPERATION_NOT_PERMITTED_ON_KEY_VAULT = "OperationNotPermittedOnKeyVault" 439 AZURE_SERVICE_UNAUTHORIZED_TO_ACCESS_KEY_VAULT = "AzureServiceUnauthorizedToAccessKeyVault" 440 KEY_VAULT_DOES_NOT_EXIST = "KeyVaultDoesNotExist" 441 KEY_VAULT_SECRET_DOES_NOT_EXIST = "KeyVaultSecretDoesNotExist" 442 UNKNOWN_ERROR = "UnknownError" 443 EXTERNAL_PRIVATE_KEY = "ExternalPrivateKey" 444 UNKNOWN = "Unknown" 445 446class LoadBalancingMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 447 """Specifies which endpoints to serve internally in the Virtual Network for the App Service 448 Environment. 449 """ 450 451 NONE = "None" 452 WEB = "Web" 453 PUBLISHING = "Publishing" 454 WEB_PUBLISHING = "Web,Publishing" 455 456class LogLevel(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 457 """Log level. 458 """ 459 460 OFF = "Off" 461 VERBOSE = "Verbose" 462 INFORMATION = "Information" 463 WARNING = "Warning" 464 ERROR = "Error" 465 466class ManagedPipelineMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 467 """Managed pipeline mode. 468 """ 469 470 INTEGRATED = "Integrated" 471 CLASSIC = "Classic" 472 473class ManagedServiceIdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 474 """Type of managed service identity. 475 """ 476 477 SYSTEM_ASSIGNED = "SystemAssigned" 478 USER_ASSIGNED = "UserAssigned" 479 SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned, UserAssigned" 480 NONE = "None" 481 482class MSDeployLogEntryType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 483 """Log entry type 484 """ 485 486 MESSAGE = "Message" 487 WARNING = "Warning" 488 ERROR = "Error" 489 490class MSDeployProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 491 """Provisioning state 492 """ 493 494 ACCEPTED = "accepted" 495 RUNNING = "running" 496 SUCCEEDED = "succeeded" 497 FAILED = "failed" 498 CANCELED = "canceled" 499 500class MySqlMigrationType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 501 """The type of migration operation to be done 502 """ 503 504 LOCAL_TO_REMOTE = "LocalToRemote" 505 REMOTE_TO_LOCAL = "RemoteToLocal" 506 507class NotificationLevel(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 508 """Level indicating how critical this recommendation can impact. 509 """ 510 511 CRITICAL = "Critical" 512 WARNING = "Warning" 513 INFORMATION = "Information" 514 NON_URGENT_SUGGESTION = "NonUrgentSuggestion" 515 516class OperationStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 517 """The current status of the operation. 518 """ 519 520 IN_PROGRESS = "InProgress" 521 FAILED = "Failed" 522 SUCCEEDED = "Succeeded" 523 TIMED_OUT = "TimedOut" 524 CREATED = "Created" 525 526class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 527 """Status of certificate order. 528 """ 529 530 SUCCEEDED = "Succeeded" 531 FAILED = "Failed" 532 CANCELED = "Canceled" 533 IN_PROGRESS = "InProgress" 534 DELETING = "Deleting" 535 536class PublicCertificateLocation(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 537 """Public Certificate Location 538 """ 539 540 CURRENT_USER_MY = "CurrentUserMy" 541 LOCAL_MACHINE_MY = "LocalMachineMy" 542 UNKNOWN = "Unknown" 543 544class PublishingProfileFormat(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 545 """Name of the format. Valid values are: 546 FileZilla3 547 WebDeploy -- default 548 Ftp 549 """ 550 551 FILE_ZILLA3 = "FileZilla3" 552 WEB_DEPLOY = "WebDeploy" 553 FTP = "Ftp" 554 555class RedundancyMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 556 """Site redundancy mode 557 """ 558 559 NONE = "None" 560 MANUAL = "Manual" 561 FAILOVER = "Failover" 562 ACTIVE_ACTIVE = "ActiveActive" 563 GEO_REDUNDANT = "GeoRedundant" 564 565class RenderingType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 566 """Rendering Type 567 """ 568 569 NO_GRAPH = "NoGraph" 570 TABLE = "Table" 571 TIME_SERIES = "TimeSeries" 572 TIME_SERIES_PER_INSTANCE = "TimeSeriesPerInstance" 573 574class ResourceScopeType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 575 """Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. 576 """ 577 578 SERVER_FARM = "ServerFarm" 579 SUBSCRIPTION = "Subscription" 580 WEB_SITE = "WebSite" 581 582class RouteType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 583 """The type of route this is: 584 DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918 585 INHERITED - Routes inherited from the real Virtual Network routes 586 STATIC - Static route set on the app only 587 588 These values will be used for syncing an app's routes with those from a Virtual Network. 589 """ 590 591 DEFAULT = "DEFAULT" 592 INHERITED = "INHERITED" 593 STATIC = "STATIC" 594 595class ScmType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 596 """SCM type. 597 """ 598 599 NONE = "None" 600 DROPBOX = "Dropbox" 601 TFS = "Tfs" 602 LOCAL_GIT = "LocalGit" 603 GIT_HUB = "GitHub" 604 CODE_PLEX_GIT = "CodePlexGit" 605 CODE_PLEX_HG = "CodePlexHg" 606 BITBUCKET_GIT = "BitbucketGit" 607 BITBUCKET_HG = "BitbucketHg" 608 EXTERNAL_GIT = "ExternalGit" 609 EXTERNAL_HG = "ExternalHg" 610 ONE_DRIVE = "OneDrive" 611 VSO = "VSO" 612 VSTSRM = "VSTSRM" 613 614class SiteAvailabilityState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 615 """Management information availability state for the app. 616 """ 617 618 NORMAL = "Normal" 619 LIMITED = "Limited" 620 DISASTER_RECOVERY_MODE = "DisasterRecoveryMode" 621 622class SiteExtensionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 623 """Site extension type. 624 """ 625 626 GALLERY = "Gallery" 627 WEB_ROOT = "WebRoot" 628 629class SiteLoadBalancing(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 630 """Site load balancing. 631 """ 632 633 WEIGHTED_ROUND_ROBIN = "WeightedRoundRobin" 634 LEAST_REQUESTS = "LeastRequests" 635 LEAST_RESPONSE_TIME = "LeastResponseTime" 636 WEIGHTED_TOTAL_TRAFFIC = "WeightedTotalTraffic" 637 REQUEST_HASH = "RequestHash" 638 639class SiteRuntimeState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 640 641 READY = "READY" 642 STOPPED = "STOPPED" 643 UNKNOWN = "UNKNOWN" 644 645class SkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 646 647 FREE = "Free" 648 SHARED = "Shared" 649 BASIC = "Basic" 650 STANDARD = "Standard" 651 PREMIUM = "Premium" 652 DYNAMIC = "Dynamic" 653 ISOLATED = "Isolated" 654 PREMIUM_V2 = "PremiumV2" 655 ELASTIC_PREMIUM = "ElasticPremium" 656 ELASTIC_ISOLATED = "ElasticIsolated" 657 658class SolutionType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 659 """Type of Solution 660 """ 661 662 QUICK_SOLUTION = "QuickSolution" 663 DEEP_INVESTIGATION = "DeepInvestigation" 664 BEST_PRACTICES = "BestPractices" 665 666class SslState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 667 """SSL type. 668 """ 669 670 DISABLED = "Disabled" 671 SNI_ENABLED = "SniEnabled" 672 IP_BASED_ENABLED = "IpBasedEnabled" 673 674class StatusOptions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 675 """App Service plan status. 676 """ 677 678 READY = "Ready" 679 PENDING = "Pending" 680 CREATING = "Creating" 681 682class SupportedTlsVersions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 683 """MinTlsVersion: configures the minimum version of TLS required for SSL requests 684 """ 685 686 ONE0 = "1.0" 687 ONE1 = "1.1" 688 ONE2 = "1.2" 689 690class TriggeredWebJobStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 691 """Job status. 692 """ 693 694 SUCCESS = "Success" 695 FAILED = "Failed" 696 ERROR = "Error" 697 698class TriggerTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 699 """The trigger type of the function 700 """ 701 702 HTTP_TRIGGER = "HttpTrigger" 703 UNKNOWN = "Unknown" 704 705class UnauthenticatedClientAction(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 706 """The action to take when an unauthenticated client attempts to access the app. 707 """ 708 709 REDIRECT_TO_LOGIN_PAGE = "RedirectToLoginPage" 710 ALLOW_ANONYMOUS = "AllowAnonymous" 711 712class UnauthenticatedClientActionV2(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 713 714 REDIRECT_TO_LOGIN_PAGE = "RedirectToLoginPage" 715 ALLOW_ANONYMOUS = "AllowAnonymous" 716 RETURN401 = "Return401" 717 RETURN403 = "Return403" 718 719class UsageState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 720 """State indicating whether the app has exceeded its quota usage. Read-only. 721 """ 722 723 NORMAL = "Normal" 724 EXCEEDED = "Exceeded" 725 726class ValidateResourceTypes(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 727 """Resource type used for verification. 728 """ 729 730 SERVER_FARM = "ServerFarm" 731 SITE = "Site" 732 733class WebJobType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 734 """Job type. 735 """ 736 737 CONTINUOUS = "Continuous" 738 TRIGGERED = "Triggered" 739 740class WorkerSizeOptions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): 741 """Size of the machines. 742 """ 743 744 SMALL = "Small" 745 MEDIUM = "Medium" 746 LARGE = "Large" 747 D1 = "D1" 748 D2 = "D2" 749 D3 = "D3" 750 NESTED_SMALL = "NestedSmall" 751 DEFAULT = "Default" 752