Source code for azure.mgmt.sql.models._sql_management_client_enums

# 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 six import with_metaclass
from azure.core import CaseInsensitiveEnumMeta


[docs]class AdministratorName(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): ACTIVE_DIRECTORY = "ActiveDirectory"
[docs]class AdministratorType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Type of the sever administrator. """ ACTIVE_DIRECTORY = "ActiveDirectory"
[docs]class AdvisorStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Gets the status of availability of this advisor to customers. Possible values are 'GA', 'PublicPreview', 'LimitedPublicPreview' and 'PrivatePreview'. """ GA = "GA" PUBLIC_PREVIEW = "PublicPreview" LIMITED_PUBLIC_PREVIEW = "LimitedPublicPreview" PRIVATE_PREVIEW = "PrivatePreview"
[docs]class AggregationFunctionType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): AVG = "avg" MIN = "min" MAX = "max" STDEV = "stdev" SUM = "sum"
[docs]class AuthenticationName(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): DEFAULT = "Default"
[docs]class AutoExecuteStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Gets the auto-execute status (whether to let the system execute the recommendations) of this advisor. Possible values are 'Enabled' and 'Disabled' """ ENABLED = "Enabled" DISABLED = "Disabled" DEFAULT = "Default"
[docs]class AutoExecuteStatusInheritedFrom(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Gets the resource from which current value of auto-execute status is inherited. Auto-execute status can be set on (and inherited from) different levels in the resource hierarchy. Possible values are 'Subscription', 'Server', 'ElasticPool', 'Database' and 'Default' (when status is not explicitly set on any level). """ DEFAULT = "Default" SUBSCRIPTION = "Subscription" SERVER = "Server" ELASTIC_POOL = "ElasticPool" DATABASE = "Database"
[docs]class AutomaticTuningDisabledReason(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Reason description if desired and actual state are different. """ DEFAULT = "Default" DISABLED = "Disabled" AUTO_CONFIGURED = "AutoConfigured" INHERITED_FROM_SERVER = "InheritedFromServer" QUERY_STORE_OFF = "QueryStoreOff" QUERY_STORE_READ_ONLY = "QueryStoreReadOnly" NOT_SUPPORTED = "NotSupported"
[docs]class AutomaticTuningMode(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Automatic tuning desired state. """ INHERIT = "Inherit" CUSTOM = "Custom" AUTO = "Auto" UNSPECIFIED = "Unspecified"
[docs]class AutomaticTuningOptionModeActual(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Automatic tuning option actual state. """ OFF = "Off" ON = "On"
[docs]class AutomaticTuningOptionModeDesired(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Automatic tuning option desired state. """ OFF = "Off" ON = "On" DEFAULT = "Default"
[docs]class AutomaticTuningServerMode(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Automatic tuning desired state. """ CUSTOM = "Custom" AUTO = "Auto" UNSPECIFIED = "Unspecified"
[docs]class AutomaticTuningServerReason(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Reason description if desired and actual state are different. """ DEFAULT = "Default" DISABLED = "Disabled" AUTO_CONFIGURED = "AutoConfigured"
[docs]class BackupStorageRedundancy(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The storage account type used to store backups for this database. """ GEO = "Geo" LOCAL = "Local" ZONE = "Zone" GEO_ZONE = "GeoZone"
[docs]class BlobAuditingPolicyState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required. """ ENABLED = "Enabled" DISABLED = "Disabled"
[docs]class CapabilityGroup(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): SUPPORTED_EDITIONS = "supportedEditions" SUPPORTED_ELASTIC_POOL_EDITIONS = "supportedElasticPoolEditions" SUPPORTED_MANAGED_INSTANCE_VERSIONS = "supportedManagedInstanceVersions" SUPPORTED_INSTANCE_POOL_EDITIONS = "supportedInstancePoolEditions" SUPPORTED_MANAGED_INSTANCE_EDITIONS = "supportedManagedInstanceEditions"
[docs]class CapabilityStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The status of the capability. """ VISIBLE = "Visible" AVAILABLE = "Available" DEFAULT = "Default" DISABLED = "Disabled"
[docs]class CatalogCollationType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Collation of the metadata catalog. """ DATABASE_DEFAULT = "DATABASE_DEFAULT" SQL_LATIN1_GENERAL_CP1_CI_AS = "SQL_Latin1_General_CP1_CI_AS"
[docs]class CheckNameAvailabilityReason(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The reason code explaining why the name is unavailable. Will be undefined if the name is available. """ INVALID = "Invalid" ALREADY_EXISTS = "AlreadyExists"
[docs]class ColumnDataType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The column data type. """ IMAGE = "image" TEXT = "text" UNIQUEIDENTIFIER = "uniqueidentifier" DATE = "date" TIME = "time" DATETIME2 = "datetime2" DATETIMEOFFSET = "datetimeoffset" TINYINT = "tinyint" SMALLINT = "smallint" INT = "int" SMALLDATETIME = "smalldatetime" REAL = "real" MONEY = "money" DATETIME = "datetime" FLOAT = "float" SQL_VARIANT = "sql_variant" NTEXT = "ntext" BIT = "bit" DECIMAL = "decimal" NUMERIC = "numeric" SMALLMONEY = "smallmoney" BIGINT = "bigint" HIERARCHYID = "hierarchyid" GEOMETRY = "geometry" GEOGRAPHY = "geography" VARBINARY = "varbinary" VARCHAR = "varchar" BINARY = "binary" CHAR = "char" TIMESTAMP = "timestamp" NVARCHAR = "nvarchar" NCHAR = "nchar" XML = "xml" SYSNAME = "sysname"
[docs]class ConnectionPolicyName(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): DEFAULT = "default"
[docs]class CreatedByType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The type of identity that created the resource. """ USER = "User" APPLICATION = "Application" MANAGED_IDENTITY = "ManagedIdentity" KEY = "Key"
[docs]class CreateMode(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Specifies the mode of database creation. Default: regular database creation. Copy: creates a database as a copy of an existing database. sourceDatabaseId must be specified as the resource ID of the source database. Secondary: creates a database as a secondary replica of an existing database. sourceDatabaseId must be specified as the resource ID of the existing primary database. PointInTimeRestore: Creates a database by restoring a point in time backup of an existing database. sourceDatabaseId must be specified as the resource ID of the existing database, and restorePointInTime must be specified. Recovery: Creates a database by restoring a geo-replicated backup. sourceDatabaseId must be specified as the recoverable database resource ID to restore. Restore: Creates a database by restoring a backup of a deleted database. sourceDatabaseId must be specified. If sourceDatabaseId is the database's original resource ID, then sourceDatabaseDeletionDate must be specified. Otherwise sourceDatabaseId must be the restorable dropped database resource ID and sourceDatabaseDeletionDate is ignored. restorePointInTime may also be specified to restore from an earlier point in time. RestoreLongTermRetentionBackup: Creates a database by restoring from a long term retention vault. recoveryServicesRecoveryPointResourceId must be specified as the recovery point resource ID. Copy, Secondary, and RestoreLongTermRetentionBackup are not supported for DataWarehouse edition. """ DEFAULT = "Default" COPY = "Copy" SECONDARY = "Secondary" POINT_IN_TIME_RESTORE = "PointInTimeRestore" RESTORE = "Restore" RECOVERY = "Recovery" RESTORE_EXTERNAL_BACKUP = "RestoreExternalBackup" RESTORE_EXTERNAL_BACKUP_SECONDARY = "RestoreExternalBackupSecondary" RESTORE_LONG_TERM_RETENTION_BACKUP = "RestoreLongTermRetentionBackup" ONLINE_SECONDARY = "OnlineSecondary"
[docs]class DatabaseIdentityType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The identity type """ NONE = "None" USER_ASSIGNED = "UserAssigned"
[docs]class DatabaseLicenseType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The license type to apply for this database. ``LicenseIncluded`` if you need a license, or ``BasePrice`` if you have a license and are eligible for the Azure Hybrid Benefit. """ LICENSE_INCLUDED = "LicenseIncluded" BASE_PRICE = "BasePrice"
[docs]class DatabaseReadScale(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The state of read-only routing. If enabled, connections that have application intent set to readonly in their connection string may be routed to a readonly secondary replica in the same region. """ ENABLED = "Enabled" DISABLED = "Disabled"
[docs]class DatabaseState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): ALL = "All" LIVE = "Live" DELETED = "Deleted"
[docs]class DatabaseStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The status of the database. """ ONLINE = "Online" RESTORING = "Restoring" RECOVERY_PENDING = "RecoveryPending" RECOVERING = "Recovering" SUSPECT = "Suspect" OFFLINE = "Offline" STANDBY = "Standby" SHUTDOWN = "Shutdown" EMERGENCY_MODE = "EmergencyMode" AUTO_CLOSED = "AutoClosed" COPYING = "Copying" CREATING = "Creating" INACCESSIBLE = "Inaccessible" OFFLINE_SECONDARY = "OfflineSecondary" PAUSING = "Pausing" PAUSED = "Paused" RESUMING = "Resuming" SCALING = "Scaling" OFFLINE_CHANGING_DW_PERFORMANCE_TIERS = "OfflineChangingDwPerformanceTiers" ONLINE_CHANGING_DW_PERFORMANCE_TIERS = "OnlineChangingDwPerformanceTiers" DISABLED = "Disabled" STOPPING = "Stopping" STOPPED = "Stopped" STARTING = "Starting"
[docs]class DataMaskingFunction(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The masking function that is used for the data masking rule. """ DEFAULT = "Default" CCN = "CCN" EMAIL = "Email" NUMBER = "Number" SSN = "SSN" TEXT = "Text"
[docs]class DataMaskingRuleState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The rule state. Used to delete a rule. To delete an existing rule, specify the schemaName, tableName, columnName, maskingFunction, and specify ruleState as disabled. However, if the rule doesn't already exist, the rule will be created with ruleState set to enabled, regardless of the provided value of ruleState. """ DISABLED = "Disabled" ENABLED = "Enabled"
[docs]class DataMaskingState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The state of the data masking policy. """ DISABLED = "Disabled" ENABLED = "Enabled"
[docs]class DataWarehouseUserActivityName(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): CURRENT = "current"
[docs]class DayOfWeek(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Day of maintenance window. """ SUNDAY = "Sunday" MONDAY = "Monday" TUESDAY = "Tuesday" WEDNESDAY = "Wednesday" THURSDAY = "Thursday" FRIDAY = "Friday" SATURDAY = "Saturday"
[docs]class DiffBackupIntervalInHours(with_metaclass(CaseInsensitiveEnumMeta, int, Enum)): """The differential backup interval in hours. This is how many interval hours between each differential backup will be supported. This is only applicable to live databases but not dropped databases. """ TWELVE = 12 TWENTY_FOUR = 24
[docs]class DnsRefreshConfigurationPropertiesStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The status of the DNS refresh operation. """ SUCCEEDED = "Succeeded" FAILED = "Failed"
[docs]class ElasticPoolLicenseType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The license type to apply for this elastic pool. """ LICENSE_INCLUDED = "LicenseIncluded" BASE_PRICE = "BasePrice"
[docs]class ElasticPoolState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The state of the elastic pool. """ CREATING = "Creating" READY = "Ready" DISABLED = "Disabled"
[docs]class EncryptionProtectorName(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): CURRENT = "current"
[docs]class FailoverGroupReplicationRole(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Local replication role of the failover group instance. """ PRIMARY = "Primary" SECONDARY = "Secondary"
[docs]class GeoBackupPolicyName(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): DEFAULT = "Default"
[docs]class GeoBackupPolicyState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The state of the geo backup policy. """ DISABLED = "Disabled" ENABLED = "Enabled"
[docs]class IdentityType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. """ NONE = "None" SYSTEM_ASSIGNED = "SystemAssigned" USER_ASSIGNED = "UserAssigned" SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned,UserAssigned"
[docs]class ImplementationMethod(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Gets the method in which this recommended action can be manually implemented. e.g., TSql, AzurePowerShell. """ T_SQL = "TSql" AZURE_POWER_SHELL = "AzurePowerShell"
[docs]class InstanceFailoverGroupReplicationRole(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Local replication role of the failover group instance. """ PRIMARY = "Primary" SECONDARY = "Secondary"
[docs]class InstancePoolLicenseType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price). """ LICENSE_INCLUDED = "LicenseIncluded" BASE_PRICE = "BasePrice"
[docs]class IsRetryable(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Gets whether the error could be ignored and recommended action could be retried. Possible values are: Yes/No """ YES = "Yes" NO = "No"
[docs]class JobAgentState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The state of the job agent. """ CREATING = "Creating" READY = "Ready" UPDATING = "Updating" DELETING = "Deleting" DISABLED = "Disabled"
[docs]class JobExecutionLifecycle(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The detailed state of the job execution. """ CREATED = "Created" IN_PROGRESS = "InProgress" WAITING_FOR_CHILD_JOB_EXECUTIONS = "WaitingForChildJobExecutions" WAITING_FOR_RETRY = "WaitingForRetry" SUCCEEDED = "Succeeded" SUCCEEDED_WITH_SKIPPED = "SucceededWithSkipped" FAILED = "Failed" TIMED_OUT = "TimedOut" CANCELED = "Canceled" SKIPPED = "Skipped"
[docs]class JobScheduleType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Schedule interval type """ ONCE = "Once" RECURRING = "Recurring"
[docs]class JobStepActionSource(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The source of the action to execute. """ INLINE = "Inline"
[docs]class JobStepActionType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Type of action being executed by the job step. """ T_SQL = "TSql"
[docs]class JobStepOutputType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The output destination type. """ SQL_DATABASE = "SqlDatabase"
[docs]class JobTargetGroupMembershipType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Whether the target is included or excluded from the group. """ INCLUDE = "Include" EXCLUDE = "Exclude"
[docs]class JobTargetType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The type of the target. """ TARGET_GROUP = "TargetGroup" SQL_DATABASE = "SqlDatabase" SQL_ELASTIC_POOL = "SqlElasticPool" SQL_SHARD_MAP = "SqlShardMap" SQL_SERVER = "SqlServer"
[docs]class LedgerDigestUploadsName(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): CURRENT = "current"
[docs]class LedgerDigestUploadsState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Specifies the state of ledger digest upload. """ ENABLED = "Enabled" DISABLED = "Disabled"
[docs]class LogSizeUnit(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The units that the limit is expressed in. """ MEGABYTES = "Megabytes" GIGABYTES = "Gigabytes" TERABYTES = "Terabytes" PETABYTES = "Petabytes" PERCENT = "Percent"
[docs]class LongTermRetentionPolicyName(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): DEFAULT = "default"
[docs]class ManagedDatabaseCreateMode(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Managed database create mode. PointInTimeRestore: Create a database by restoring a point in time backup of an existing database. SourceDatabaseName, SourceManagedInstanceName and PointInTime must be specified. RestoreExternalBackup: Create a database by restoring from external backup files. Collation, StorageContainerUri and StorageContainerSasToken must be specified. Recovery: Creates a database by restoring a geo-replicated backup. RecoverableDatabaseId must be specified as the recoverable database resource ID to restore. RestoreLongTermRetentionBackup: Create a database by restoring from a long term retention backup (longTermRetentionBackupResourceId required). """ DEFAULT = "Default" RESTORE_EXTERNAL_BACKUP = "RestoreExternalBackup" POINT_IN_TIME_RESTORE = "PointInTimeRestore" RECOVERY = "Recovery" RESTORE_LONG_TERM_RETENTION_BACKUP = "RestoreLongTermRetentionBackup"
[docs]class ManagedDatabaseStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Status of the database. """ ONLINE = "Online" OFFLINE = "Offline" SHUTDOWN = "Shutdown" CREATING = "Creating" INACCESSIBLE = "Inaccessible" RESTORING = "Restoring" UPDATING = "Updating"
[docs]class ManagedInstanceAdministratorType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Type of the managed instance administrator. """ ACTIVE_DIRECTORY = "ActiveDirectory"
[docs]class ManagedInstanceLicenseType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The license type. Possible values are 'LicenseIncluded' (regular price inclusive of a new SQL license) and 'BasePrice' (discounted AHB price for bringing your own SQL licenses). """ LICENSE_INCLUDED = "LicenseIncluded" BASE_PRICE = "BasePrice"
[docs]class ManagedInstanceLongTermRetentionPolicyName(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): DEFAULT = "default"
[docs]class ManagedInstancePropertiesProvisioningState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): CREATING = "Creating" DELETING = "Deleting" UPDATING = "Updating" UNKNOWN = "Unknown" SUCCEEDED = "Succeeded" FAILED = "Failed" ACCEPTED = "Accepted" CREATED = "Created" DELETED = "Deleted" UNRECOGNIZED = "Unrecognized" RUNNING = "Running" CANCELED = "Canceled" NOT_SPECIFIED = "NotSpecified" REGISTERING = "Registering" TIMED_OUT = "TimedOut"
[docs]class ManagedInstanceProxyOverride(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Connection type used for connecting to the instance. """ PROXY = "Proxy" REDIRECT = "Redirect" DEFAULT = "Default"
[docs]class ManagedServerCreateMode(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Specifies the mode of database creation. Default: Regular instance creation. Restore: Creates an instance by restoring a set of backups to specific point in time. RestorePointInTime and SourceManagedInstanceId must be specified. """ DEFAULT = "Default" POINT_IN_TIME_RESTORE = "PointInTimeRestore"
[docs]class ManagedShortTermRetentionPolicyName(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): DEFAULT = "default"
[docs]class ManagementOperationState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The operation state. """ PENDING = "Pending" IN_PROGRESS = "InProgress" SUCCEEDED = "Succeeded" FAILED = "Failed" CANCEL_IN_PROGRESS = "CancelInProgress" CANCELLED = "Cancelled"
[docs]class MaxSizeUnit(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The units that the limit is expressed in. """ MEGABYTES = "Megabytes" GIGABYTES = "Gigabytes" TERABYTES = "Terabytes" PETABYTES = "Petabytes"
[docs]class MetricType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): CPU = "cpu" IO = "io" LOG_IO = "logIo" DURATION = "duration" DTU = "dtu"
[docs]class OperationMode(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Operation Mode. """ POLYBASE_IMPORT = "PolybaseImport"
[docs]class OperationOrigin(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The intended executor of the operation. """ USER = "user" SYSTEM = "system"
[docs]class PauseDelayTimeUnit(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Unit of time that delay is expressed in """ MINUTES = "Minutes"
[docs]class PerformanceLevelUnit(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Unit type used to measure performance level. """ DTU = "DTU" V_CORES = "VCores"
[docs]class PrimaryAggregationType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The primary aggregation type defining how metric values are displayed. """ NONE = "None" AVERAGE = "Average" COUNT = "Count" MINIMUM = "Minimum" MAXIMUM = "Maximum" TOTAL = "Total"
[docs]class PrincipalType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Principal Type of the sever administrator. """ USER = "User" GROUP = "Group" APPLICATION = "Application"
[docs]class PrivateEndpointProvisioningState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """State of the private endpoint connection. """ APPROVING = "Approving" READY = "Ready" DROPPING = "Dropping" FAILED = "Failed" REJECTING = "Rejecting"
[docs]class PrivateLinkServiceConnectionStateActionsRequire(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The actions required for private link service connection. """ NONE = "None"
[docs]class PrivateLinkServiceConnectionStateStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The private link service connection status. """ APPROVED = "Approved" PENDING = "Pending" REJECTED = "Rejected" DISCONNECTED = "Disconnected"
[docs]class ProvisioningState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The ARM provisioning state of the job execution. """ CREATED = "Created" IN_PROGRESS = "InProgress" SUCCEEDED = "Succeeded" FAILED = "Failed" CANCELED = "Canceled"
[docs]class QueryMetricUnitType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The unit of the metric. """ PERCENTAGE = "percentage" KB = "KB" MICROSECONDS = "microseconds" COUNT = "count"
[docs]class QueryTimeGrainType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Interval type (length). """ PT1_H = "PT1H" P1_D = "P1D"
[docs]class ReadOnlyEndpointFailoverPolicy(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Failover policy of the read-only endpoint for the failover group. """ DISABLED = "Disabled" ENABLED = "Enabled"
[docs]class ReadWriteEndpointFailoverPolicy(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. """ MANUAL = "Manual" AUTOMATIC = "Automatic"
[docs]class RecommendedActionCurrentState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Current state the recommended action is in. Some commonly used states are: Active -> recommended action is active and no action has been taken yet. Pending -> recommended action is approved for and is awaiting execution. Executing -> recommended action is being applied on the user database. Verifying -> recommended action was applied and is being verified of its usefulness by the system. Success -> recommended action was applied and improvement found during verification. Pending Revert -> verification found little or no improvement so recommended action is queued for revert or user has manually reverted. Reverting -> changes made while applying recommended action are being reverted on the user database. Reverted -> successfully reverted the changes made by recommended action on user database. Ignored -> user explicitly ignored/discarded the recommended action. """ ACTIVE = "Active" PENDING = "Pending" EXECUTING = "Executing" VERIFYING = "Verifying" PENDING_REVERT = "PendingRevert" REVERT_CANCELLED = "RevertCancelled" REVERTING = "Reverting" REVERTED = "Reverted" IGNORED = "Ignored" EXPIRED = "Expired" MONITORING = "Monitoring" RESOLVED = "Resolved" SUCCESS = "Success" ERROR = "Error"
[docs]class RecommendedActionInitiatedBy(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Gets if approval for applying this recommended action was given by user/system. """ USER = "User" SYSTEM = "System"
[docs]class RecommendedSensitivityLabelUpdateKind(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): ENABLE = "enable" DISABLE = "disable"
[docs]class ReplicationLinkType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Link type (GEO, NAMED). """ GEO = "GEO" NAMED = "NAMED"
[docs]class ReplicationMode(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The replication mode of a distributed availability group. Parameter will be ignored during link creation. """ ASYNC_ENUM = "Async" SYNC = "Sync"
[docs]class ReplicationRole(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Local replication role. """ PRIMARY = "Primary" SECONDARY = "Secondary" NON_READABLE_SECONDARY = "NonReadableSecondary" SOURCE = "Source" COPY = "Copy"
[docs]class ReplicationState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED). """ PENDING = "PENDING" SEEDING = "SEEDING" CATCH_UP = "CATCH_UP" SUSPENDED = "SUSPENDED"
[docs]class ReplicaType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): PRIMARY = "Primary" READABLE_SECONDARY = "ReadableSecondary"
[docs]class RestoreDetailsName(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): DEFAULT = "Default"
[docs]class RestorePointType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The type of restore point """ CONTINUOUS = "CONTINUOUS" DISCRETE = "DISCRETE"
[docs]class SampleName(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The name of the sample schema to apply when creating this database. """ ADVENTURE_WORKS_LT = "AdventureWorksLT" WIDE_WORLD_IMPORTERS_STD = "WideWorldImportersStd" WIDE_WORLD_IMPORTERS_FULL = "WideWorldImportersFull"
[docs]class SecondaryType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The secondary type of the database if it is a secondary. Valid values are Geo and Named. """ GEO = "Geo" NAMED = "Named"
[docs]class SecurityAlertPolicyName(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): DEFAULT = "Default"
[docs]class SecurityAlertPolicyState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. """ NEW = "New" ENABLED = "Enabled" DISABLED = "Disabled"
[docs]class SecurityAlertsPolicyState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. """ ENABLED = "Enabled" DISABLED = "Disabled"
[docs]class SecurityEventType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The type of the security event. """ UNDEFINED = "Undefined" SQL_INJECTION_VULNERABILITY = "SqlInjectionVulnerability" SQL_INJECTION_EXPLOIT = "SqlInjectionExploit"
[docs]class SensitivityLabelRank(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): NONE = "None" LOW = "Low" MEDIUM = "Medium" HIGH = "High" CRITICAL = "Critical"
[docs]class SensitivityLabelSource(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): CURRENT = "current" RECOMMENDED = "recommended"
[docs]class SensitivityLabelUpdateKind(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): SET = "set" REMOVE = "remove"
[docs]class ServerConnectionType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The server connection type. """ DEFAULT = "Default" REDIRECT = "Redirect" PROXY = "Proxy"
[docs]class ServerKeyType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. """ SERVICE_MANAGED = "ServiceManaged" AZURE_KEY_VAULT = "AzureKeyVault"
[docs]class ServerNetworkAccessFlag(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' """ ENABLED = "Enabled" DISABLED = "Disabled"
[docs]class ServerTrustGroupPropertiesTrustScopesItem(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): GLOBAL_TRANSACTIONS = "GlobalTransactions" SERVICE_BROKER = "ServiceBroker"
[docs]class ServerWorkspaceFeature(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Whether or not existing server has a workspace created and if it allows connection from workspace """ CONNECTED = "Connected" DISCONNECTED = "Disconnected"
[docs]class ServiceObjectiveName(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The serviceLevelObjective for SLO usage metric. """ SYSTEM = "System" SYSTEM0 = "System0" SYSTEM1 = "System1" SYSTEM2 = "System2" SYSTEM3 = "System3" SYSTEM4 = "System4" SYSTEM2_L = "System2L" SYSTEM3_L = "System3L" SYSTEM4_L = "System4L" FREE = "Free" BASIC = "Basic" S0 = "S0" S1 = "S1" S2 = "S2" S3 = "S3" S4 = "S4" S6 = "S6" S7 = "S7" S9 = "S9" S12 = "S12" P1 = "P1" P2 = "P2" P3 = "P3" P4 = "P4" P6 = "P6" P11 = "P11" P15 = "P15" PRS1 = "PRS1" PRS2 = "PRS2" PRS4 = "PRS4" PRS6 = "PRS6" DW100 = "DW100" DW200 = "DW200" DW300 = "DW300" DW400 = "DW400" DW500 = "DW500" DW600 = "DW600" DW1000 = "DW1000" DW1200 = "DW1200" DW1000_C = "DW1000c" DW1500 = "DW1500" DW1500_C = "DW1500c" DW2000 = "DW2000" DW2000_C = "DW2000c" DW3000 = "DW3000" DW2500_C = "DW2500c" DW3000_C = "DW3000c" DW6000 = "DW6000" DW5000_C = "DW5000c" DW6000_C = "DW6000c" DW7500_C = "DW7500c" DW10000_C = "DW10000c" DW15000_C = "DW15000c" DW30000_C = "DW30000c" DS100 = "DS100" DS200 = "DS200" DS300 = "DS300" DS400 = "DS400" DS500 = "DS500" DS600 = "DS600" DS1000 = "DS1000" DS1200 = "DS1200" DS1500 = "DS1500" DS2000 = "DS2000" ELASTIC_POOL = "ElasticPool"
[docs]class ServicePrincipalType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Service principal type. """ NONE = "None" SYSTEM_ASSIGNED = "SystemAssigned"
[docs]class ShortTermRetentionPolicyName(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): DEFAULT = "default"
[docs]class SqlAgentConfigurationPropertiesState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The state of Sql Agent. """ ENABLED = "Enabled" DISABLED = "Disabled"
[docs]class StorageCapabilityStorageAccountType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The storage account type for the database's backups. """ GRS = "GRS" LRS = "LRS" ZRS = "ZRS"
[docs]class StorageKeyType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Storage key type. """ SHARED_ACCESS_KEY = "SharedAccessKey" STORAGE_ACCESS_KEY = "StorageAccessKey"
[docs]class SyncAgentState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """State of the sync agent. """ ONLINE = "Online" OFFLINE = "Offline" NEVER_CONNECTED = "NeverConnected"
[docs]class SyncConflictResolutionPolicy(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Conflict resolution policy of the sync group. """ HUB_WIN = "HubWin" MEMBER_WIN = "MemberWin"
[docs]class SyncDirection(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Sync direction of the sync member. """ BIDIRECTIONAL = "Bidirectional" ONE_WAY_MEMBER_TO_HUB = "OneWayMemberToHub" ONE_WAY_HUB_TO_MEMBER = "OneWayHubToMember"
[docs]class SyncGroupLogType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Type of the sync group log. """ ALL = "All" ERROR = "Error" WARNING = "Warning" SUCCESS = "Success"
[docs]class SyncGroupState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Sync state of the sync group. """ NOT_READY = "NotReady" ERROR = "Error" WARNING = "Warning" PROGRESSING = "Progressing" GOOD = "Good"
[docs]class SyncGroupsType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): ALL = "All" ERROR = "Error" WARNING = "Warning" SUCCESS = "Success"
[docs]class SyncMemberDbType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Type of the sync agent linked database. """ AZURE_SQL_DATABASE = "AzureSqlDatabase" SQL_SERVER_DATABASE = "SqlServerDatabase"
[docs]class SyncMemberState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Sync state of the sync member. """ SYNC_IN_PROGRESS = "SyncInProgress" SYNC_SUCCEEDED = "SyncSucceeded" SYNC_FAILED = "SyncFailed" DISABLED_TOMBSTONE_CLEANUP = "DisabledTombstoneCleanup" DISABLED_BACKUP_RESTORE = "DisabledBackupRestore" SYNC_SUCCEEDED_WITH_WARNINGS = "SyncSucceededWithWarnings" SYNC_CANCELLING = "SyncCancelling" SYNC_CANCELLED = "SyncCancelled" UN_PROVISIONED = "UnProvisioned" PROVISIONING = "Provisioning" PROVISIONED = "Provisioned" PROVISION_FAILED = "ProvisionFailed" DE_PROVISIONING = "DeProvisioning" DE_PROVISIONED = "DeProvisioned" DE_PROVISION_FAILED = "DeProvisionFailed" REPROVISIONING = "Reprovisioning" REPROVISION_FAILED = "ReprovisionFailed" UN_REPROVISIONED = "UnReprovisioned"
[docs]class TableTemporalType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The table temporal type. """ NON_TEMPORAL_TABLE = "NonTemporalTable" HISTORY_TABLE = "HistoryTable" SYSTEM_VERSIONED_TEMPORAL_TABLE = "SystemVersionedTemporalTable"
[docs]class TransparentDataEncryptionName(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): CURRENT = "current"
[docs]class TransparentDataEncryptionState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Specifies the state of the transparent data encryption. """ ENABLED = "Enabled" DISABLED = "Disabled"
[docs]class UnitDefinitionType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The unit of the metric. """ COUNT = "Count" BYTES = "Bytes" SECONDS = "Seconds" PERCENT = "Percent" COUNT_PER_SECOND = "CountPerSecond" BYTES_PER_SECOND = "BytesPerSecond"
[docs]class UnitType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The unit of the metric. """ COUNT = "count" BYTES = "bytes" SECONDS = "seconds" PERCENT = "percent" COUNT_PER_SECOND = "countPerSecond" BYTES_PER_SECOND = "bytesPerSecond"
[docs]class UpsertManagedServerOperationStepStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): NOT_STARTED = "NotStarted" IN_PROGRESS = "InProgress" SLOWED_DOWN = "SlowedDown" COMPLETED = "Completed" FAILED = "Failed" CANCELED = "Canceled"
[docs]class VirtualNetworkRuleState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """Virtual Network Rule State """ INITIALIZING = "Initializing" IN_PROGRESS = "InProgress" READY = "Ready" FAILED = "Failed" DELETING = "Deleting" UNKNOWN = "Unknown"
[docs]class VulnerabilityAssessmentName(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): DEFAULT = "default"
[docs]class VulnerabilityAssessmentPolicyBaselineName(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): MASTER = "master" DEFAULT = "default"
[docs]class VulnerabilityAssessmentScanState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The scan status. """ PASSED = "Passed" FAILED = "Failed" FAILED_TO_RUN = "FailedToRun" IN_PROGRESS = "InProgress"
[docs]class VulnerabilityAssessmentScanTriggerType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)): """The scan trigger type. """ ON_DEMAND = "OnDemand" RECURRING = "Recurring"