# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from enum import Enum
from azure.core import CaseInsensitiveEnumMeta
[docs]class AlertsState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""AlertsState."""
ENABLED = "Enabled"
DISABLED = "Disabled"
[docs]class AuthType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Specifies the authentication type."""
INVALID = "Invalid"
ACS = "ACS"
AAD = "AAD"
ACCESS_CONTROL_SERVICE = "AccessControlService"
AZURE_ACTIVE_DIRECTORY = "AzureActiveDirectory"
[docs]class BackupStorageVersion(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Backup storage version."""
V1 = "V1"
V2 = "V2"
UNASSIGNED = "Unassigned"
[docs]class BCDRSecurityLevel(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Security levels of Recovery Services Vault for business continuity and disaster recovery."""
POOR = "Poor"
FAIR = "Fair"
GOOD = "Good"
EXCELLENT = "Excellent"
[docs]class CreatedByType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The type of identity that created the resource."""
USER = "User"
APPLICATION = "Application"
MANAGED_IDENTITY = "ManagedIdentity"
KEY = "Key"
[docs]class CrossRegionRestore(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Flag to show if Cross Region Restore is enabled on the Vault or not."""
ENABLED = "Enabled"
DISABLED = "Disabled"
[docs]class CrossSubscriptionRestoreState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""CrossSubscriptionRestoreState."""
ENABLED = "Enabled"
DISABLED = "Disabled"
PERMANENTLY_DISABLED = "PermanentlyDisabled"
[docs]class EnhancedSecurityState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""EnhancedSecurityState."""
INVALID = "Invalid"
ENABLED = "Enabled"
DISABLED = "Disabled"
ALWAYS_ON = "AlwaysON"
[docs]class ImmutabilityState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""ImmutabilityState."""
DISABLED = "Disabled"
UNLOCKED = "Unlocked"
LOCKED = "Locked"
[docs]class InfrastructureEncryptionState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Enabling/Disabling the Double Encryption state."""
ENABLED = "Enabled"
DISABLED = "Disabled"
[docs]class MultiUserAuthorization(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""MUA Settings of vault."""
INVALID = "Invalid"
ENABLED = "Enabled"
DISABLED = "Disabled"
[docs]class PrivateEndpointConnectionStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Gets or sets the status."""
PENDING = "Pending"
APPROVED = "Approved"
REJECTED = "Rejected"
DISCONNECTED = "Disconnected"
[docs]class ProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Gets or sets provisioning state of the private endpoint connection."""
SUCCEEDED = "Succeeded"
DELETING = "Deleting"
FAILED = "Failed"
PENDING = "Pending"
[docs]class PublicNetworkAccess(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""property to enable or disable resource provider inbound network traffic from public clients."""
ENABLED = "Enabled"
DISABLED = "Disabled"
[docs]class ResourceIdentityType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an
implicitly created identity and a set of user-assigned identities. The type 'None' will remove
any identities.
"""
SYSTEM_ASSIGNED = "SystemAssigned"
NONE = "None"
USER_ASSIGNED = "UserAssigned"
SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned, UserAssigned"
[docs]class ResourceMoveState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The State of the Resource after the move operation."""
UNKNOWN = "Unknown"
IN_PROGRESS = "InProgress"
PREPARE_FAILED = "PrepareFailed"
COMMIT_FAILED = "CommitFailed"
PREPARE_TIMEDOUT = "PrepareTimedout"
COMMIT_TIMEDOUT = "CommitTimedout"
MOVE_SUCCEEDED = "MoveSucceeded"
FAILURE = "Failure"
CRITICAL_FAILURE = "CriticalFailure"
PARTIAL_SUCCESS = "PartialSuccess"
[docs]class SecureScoreLevel(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Secure Score of Recovery Services Vault."""
NONE = "None"
MINIMUM = "Minimum"
ADEQUATE = "Adequate"
MAXIMUM = "Maximum"
[docs]class SkuName(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Name of SKU is RS0 (Recovery Services 0th version) and the tier is standard tier. They do not
have affect on backend storage redundancy or any other vault settings. To manage storage
redundancy, use the backupstorageconfig.
"""
STANDARD = "Standard"
RS0 = "RS0"
[docs]class SoftDeleteState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""SoftDeleteState."""
INVALID = "Invalid"
ENABLED = "Enabled"
DISABLED = "Disabled"
ALWAYS_ON = "AlwaysON"
[docs]class StandardTierStorageRedundancy(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The storage redundancy setting of a vault."""
INVALID = "Invalid"
LOCALLY_REDUNDANT = "LocallyRedundant"
GEO_REDUNDANT = "GeoRedundant"
ZONE_REDUNDANT = "ZoneRedundant"
[docs]class TriggerType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The way the vault upgrade was triggered."""
USER_TRIGGERED = "UserTriggered"
FORCED_UPGRADE = "ForcedUpgrade"
[docs]class UsagesUnit(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Unit of the usage."""
COUNT = "Count"
BYTES = "Bytes"
SECONDS = "Seconds"
PERCENT = "Percent"
COUNT_PER_SECOND = "CountPerSecond"
BYTES_PER_SECOND = "BytesPerSecond"
[docs]class VaultPrivateEndpointState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Private endpoint state for backup."""
NONE = "None"
ENABLED = "Enabled"
[docs]class VaultSubResourceType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Subresource type for vault AzureBackup, AzureBackup_secondary or AzureSiteRecovery."""
AZURE_BACKUP = "AzureBackup"
AZURE_BACKUP_SECONDARY = "AzureBackup_secondary"
AZURE_SITE_RECOVERY = "AzureSiteRecovery"
[docs]class VaultUpgradeState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Status of the vault upgrade operation."""
UNKNOWN = "Unknown"
IN_PROGRESS = "InProgress"
UPGRADED = "Upgraded"
FAILED = "Failed"