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