/** * This file contains only generated model types and their (de)serializers. * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input. */ /** Result of the request to list SQL operations. */ export interface _OperationListResult { /** Array of results. */ readonly value?: Operation[]; /** Link to retrieve next page of results. */ readonly nextLink?: string; } export declare function _operationListResultDeserializer(item: any): _OperationListResult; export declare function operationArrayDeserializer(result: Array): any[]; /** SQL REST API operation definition. */ export interface Operation { /** The name of the operation being performed on this particular object. */ readonly name?: string; /** The localized display information for this particular operation / action. */ readonly display?: OperationDisplay; /** The intended executor of the operation. */ readonly origin?: OperationOrigin; /** Additional descriptions for the operation. */ readonly properties?: Record; } export declare function operationDeserializer(item: any): Operation; /** Display metadata associated with the operation. */ export interface OperationDisplay { /** The localized friendly form of the resource provider name. */ readonly provider?: string; /** The localized friendly form of the resource type related to this action/operation. */ readonly resource?: string; /** The localized friendly name for the operation. */ readonly operation?: string; /** The localized friendly description for the operation. */ readonly description?: string; } export declare function operationDisplayDeserializer(item: any): OperationDisplay; /** The intended executor of the operation. */ export declare enum KnownOperationOrigin { /** user */ User = "user", /** system */ System = "system" } /** * The intended executor of the operation. \ * {@link KnownOperationOrigin} can be used interchangeably with OperationOrigin, * this enum contains the known values that the service supports. * ### Known values supported by the service * **user**: user \ * **system**: system */ export type OperationOrigin = string; /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */ export interface ErrorResponse { /** The error object. */ error?: ErrorDetail; } export declare function errorResponseDeserializer(item: any): ErrorResponse; /** The error detail. */ export interface ErrorDetail { /** The error code. */ readonly code?: string; /** The error message. */ readonly message?: string; /** The error target. */ readonly target?: string; /** The error details. */ readonly details?: ErrorDetail[]; /** The error additional info. */ readonly additionalInfo?: ErrorAdditionalInfo[]; } export declare function errorDetailDeserializer(item: any): ErrorDetail; export declare function errorDetailArrayDeserializer(result: Array): any[]; export declare function errorAdditionalInfoArrayDeserializer(result: Array): any[]; /** The resource management error additional info. */ export interface ErrorAdditionalInfo { /** The additional info type. */ readonly type?: string; /** The additional info. */ readonly info?: any; } export declare function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo; /** A short term retention policy. */ export interface BackupShortTermRetentionPolicy extends ProxyResource { /** The backup retention period in days. This is how many days Point-in-Time Restore will be supported. */ retentionDays?: number; /** 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. */ diffBackupIntervalInHours?: DiffBackupIntervalInHours; } export declare function backupShortTermRetentionPolicySerializer(item: BackupShortTermRetentionPolicy): any; export declare function backupShortTermRetentionPolicyDeserializer(item: any): BackupShortTermRetentionPolicy; /** Properties of a short term retention policy */ export interface BackupShortTermRetentionPolicyProperties { /** The backup retention period in days. This is how many days Point-in-Time Restore will be supported. */ retentionDays?: number; /** 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. */ diffBackupIntervalInHours?: DiffBackupIntervalInHours; } export declare function backupShortTermRetentionPolicyPropertiesSerializer(item: BackupShortTermRetentionPolicyProperties): any; export declare function backupShortTermRetentionPolicyPropertiesDeserializer(item: any): BackupShortTermRetentionPolicyProperties; /** 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. */ export declare enum KnownDiffBackupIntervalInHours { /** 12 */ Twelve = 12, /** 24 */ TwentyFour = 24 } /** * 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. \ * {@link KnownDiffBackupIntervalInHours} can be used interchangeably with DiffBackupIntervalInHours, * this enum contains the known values that the service supports. * ### Known values supported by the service * **12**: 12 \ * **24**: 24 */ export type DiffBackupIntervalInHours = number; /** Known values of {@link ShortTermRetentionPolicyName} that the service accepts. */ export declare enum KnownShortTermRetentionPolicyName { /** default */ Default = "default" } /** Type of ShortTermRetentionPolicyName */ export type ShortTermRetentionPolicyName = string; /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ export interface ProxyResource extends Resource { } export declare function proxyResourceSerializer(_item: ProxyResource): any; export declare function proxyResourceDeserializer(item: any): ProxyResource; /** Common fields that are returned in the response for all Azure Resource Manager resources */ export interface Resource { /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id?: string; /** The name of the resource */ readonly name?: string; /** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type?: string; /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData?: SystemData; } export declare function resourceSerializer(_item: Resource): any; export declare function resourceDeserializer(item: any): Resource; /** Metadata pertaining to creation and last modification of the resource. */ export interface SystemData { /** The identity that created the resource. */ createdBy?: string; /** The type of identity that created the resource. */ createdByType?: CreatedByType; /** The timestamp of resource creation (UTC). */ createdAt?: Date; /** The identity that last modified the resource. */ lastModifiedBy?: string; /** The type of identity that last modified the resource. */ lastModifiedByType?: CreatedByType; /** The timestamp of resource last modification (UTC) */ lastModifiedAt?: Date; } export declare function systemDataDeserializer(item: any): SystemData; /** The kind of entity that created the resource. */ export declare enum KnownCreatedByType { /** The entity was created by a user. */ User = "User", /** The entity was created by an application. */ Application = "Application", /** The entity was created by a managed identity. */ ManagedIdentity = "ManagedIdentity", /** The entity was created by a key. */ Key = "Key" } /** * The kind of entity that created the resource. \ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **User**: The entity was created by a user. \ * **Application**: The entity was created by an application. \ * **ManagedIdentity**: The entity was created by a managed identity. \ * **Key**: The entity was created by a key. */ export type CreatedByType = string; /** The response of a BackupShortTermRetentionPolicy list operation. */ export interface _BackupShortTermRetentionPolicyListResult { /** The BackupShortTermRetentionPolicy items on this page */ value: BackupShortTermRetentionPolicy[]; /** The link to the next page of items */ nextLink?: string; } export declare function _backupShortTermRetentionPolicyListResultDeserializer(item: any): _BackupShortTermRetentionPolicyListResult; export declare function backupShortTermRetentionPolicyArraySerializer(result: Array): any[]; export declare function backupShortTermRetentionPolicyArrayDeserializer(result: Array): any[]; /** A database column resource. */ export interface DatabaseColumn extends ProxyResource { /** The column data type. */ columnType?: ColumnDataType; /** The table temporal type. */ temporalType?: TableTemporalType; /** Whether or not the column belongs to a memory optimized table. */ memoryOptimized?: boolean; /** Whether or not the column is computed. */ isComputed?: boolean; } export declare function databaseColumnDeserializer(item: any): DatabaseColumn; /** Database column properties. */ export interface DatabaseColumnProperties { /** The column data type. */ columnType?: ColumnDataType; /** The table temporal type. */ temporalType?: TableTemporalType; /** Whether or not the column belongs to a memory optimized table. */ memoryOptimized?: boolean; /** Whether or not the column is computed. */ isComputed?: boolean; } export declare function databaseColumnPropertiesDeserializer(item: any): DatabaseColumnProperties; /** The column data type. */ export declare enum KnownColumnDataType { /** image */ Image = "image", /** text */ Text = "text", /** uniqueidentifier */ Uniqueidentifier = "uniqueidentifier", /** date */ Date = "date", /** time */ Time = "time", /** datetime2 */ Datetime2 = "datetime2", /** datetimeoffset */ Datetimeoffset = "datetimeoffset", /** tinyint */ Tinyint = "tinyint", /** smallint */ Smallint = "smallint", /** int */ Int = "int", /** smalldatetime */ Smalldatetime = "smalldatetime", /** real */ Real = "real", /** money */ Money = "money", /** datetime */ Datetime = "datetime", /** float */ Float = "float", /** sql_variant */ SqlVariant = "sql_variant", /** ntext */ Ntext = "ntext", /** bit */ Bit = "bit", /** decimal */ Decimal = "decimal", /** numeric */ Numeric = "numeric", /** smallmoney */ Smallmoney = "smallmoney", /** bigint */ Bigint = "bigint", /** hierarchyid */ Hierarchyid = "hierarchyid", /** geometry */ Geometry = "geometry", /** geography */ Geography = "geography", /** varbinary */ Varbinary = "varbinary", /** varchar */ Varchar = "varchar", /** binary */ Binary = "binary", /** char */ Char = "char", /** timestamp */ Timestamp = "timestamp", /** nvarchar */ Nvarchar = "nvarchar", /** nchar */ Nchar = "nchar", /** xml */ Xml = "xml", /** sysname */ Sysname = "sysname" } /** * The column data type. \ * {@link KnownColumnDataType} can be used interchangeably with ColumnDataType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **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 */ export type ColumnDataType = string; /** The table temporal type. */ export declare enum KnownTableTemporalType { /** NonTemporalTable */ NonTemporalTable = "NonTemporalTable", /** HistoryTable */ HistoryTable = "HistoryTable", /** SystemVersionedTemporalTable */ SystemVersionedTemporalTable = "SystemVersionedTemporalTable" } /** * The table temporal type. \ * {@link KnownTableTemporalType} can be used interchangeably with TableTemporalType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **NonTemporalTable**: NonTemporalTable \ * **HistoryTable**: HistoryTable \ * **SystemVersionedTemporalTable**: SystemVersionedTemporalTable */ export type TableTemporalType = string; /** The response of a DatabaseColumn list operation. */ export interface _DatabaseColumnListResult { /** The DatabaseColumn items on this page */ value: DatabaseColumn[]; /** The link to the next page of items */ nextLink?: string; } export declare function _databaseColumnListResultDeserializer(item: any): _DatabaseColumnListResult; export declare function databaseColumnArrayDeserializer(result: Array): any[]; /** Database restore points. */ export interface RestorePoint extends ProxyResource { /** Resource location. */ readonly location?: string; /** The type of restore point */ readonly restorePointType?: RestorePointType; /** The earliest time to which this database can be restored */ readonly earliestRestoreDate?: Date; /** The time the backup was taken */ readonly restorePointCreationDate?: Date; /** The label of restore point for backup request by user */ readonly restorePointLabel?: string; } export declare function restorePointDeserializer(item: any): RestorePoint; /** Properties of a database restore point */ export interface RestorePointProperties { /** The type of restore point */ readonly restorePointType?: RestorePointType; /** The earliest time to which this database can be restored */ readonly earliestRestoreDate?: Date; /** The time the backup was taken */ readonly restorePointCreationDate?: Date; /** The label of restore point for backup request by user */ readonly restorePointLabel?: string; } export declare function restorePointPropertiesDeserializer(item: any): RestorePointProperties; /** The type of restore point */ export type RestorePointType = "CONTINUOUS" | "DISCRETE"; /** The response of a RestorePoint list operation. */ export interface _RestorePointListResult { /** The RestorePoint items on this page */ value: RestorePoint[]; /** The link to the next page of items */ nextLink?: string; } export declare function _restorePointListResultDeserializer(item: any): _RestorePointListResult; export declare function restorePointArrayDeserializer(result: Array): any[]; /** Contains the information necessary to perform a create database restore point operation. */ export interface CreateDatabaseRestorePointDefinition { /** The restore point label to apply */ restorePointLabel: string; } export declare function createDatabaseRestorePointDefinitionSerializer(item: CreateDatabaseRestorePointDefinition): any; /** The response of a SensitivityLabel list operation. */ export interface _SensitivityLabelListResult { /** The SensitivityLabel items on this page */ value: SensitivityLabel[]; /** The link to the next page of items */ nextLink?: string; } export declare function _sensitivityLabelListResultDeserializer(item: any): _SensitivityLabelListResult; export declare function sensitivityLabelArraySerializer(result: Array): any[]; export declare function sensitivityLabelArrayDeserializer(result: Array): any[]; /** A sensitivity label. */ export interface SensitivityLabel extends ProxyResource { /** Resource that manages the sensitivity label. */ readonly managedBy?: string; /** The schema name. */ readonly schemaName?: string; /** The table name. */ readonly tableName?: string; /** The column name. */ readonly columnName?: string; /** The label name. */ labelName?: string; /** The label ID. */ labelId?: string; /** The information type. */ informationType?: string; /** The information type ID. */ informationTypeId?: string; /** Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not. */ readonly isDisabled?: boolean; rank?: SensitivityLabelRank; clientClassificationSource?: ClientClassificationSource; } export declare function sensitivityLabelSerializer(item: SensitivityLabel): any; export declare function sensitivityLabelDeserializer(item: any): SensitivityLabel; /** Properties of a sensitivity label. */ export interface SensitivityLabelProperties { /** The schema name. */ readonly schemaName?: string; /** The table name. */ readonly tableName?: string; /** The column name. */ readonly columnName?: string; /** The label name. */ labelName?: string; /** The label ID. */ labelId?: string; /** The information type. */ informationType?: string; /** The information type ID. */ informationTypeId?: string; /** Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not. */ readonly isDisabled?: boolean; rank?: SensitivityLabelRank; clientClassificationSource?: ClientClassificationSource; } export declare function sensitivityLabelPropertiesSerializer(item: SensitivityLabelProperties): any; export declare function sensitivityLabelPropertiesDeserializer(item: any): SensitivityLabelProperties; /** Type of SensitivityLabelRank */ export type SensitivityLabelRank = "None" | "Low" | "Medium" | "High" | "Critical"; /** Known values of {@link ClientClassificationSource} that the service accepts. */ export declare enum KnownClientClassificationSource { /** None */ None = "None", /** Native */ Native = "Native", /** Recommended */ Recommended = "Recommended", /** MIP */ MIP = "MIP" } /** Type of ClientClassificationSource */ export type ClientClassificationSource = string; /** A list of sensitivity label update operations. */ export interface SensitivityLabelUpdateList { operations?: SensitivityLabelUpdate[]; } export declare function sensitivityLabelUpdateListSerializer(item: SensitivityLabelUpdateList): any; export declare function sensitivityLabelUpdateArraySerializer(result: Array): any[]; /** A sensitivity label update operation. */ export interface SensitivityLabelUpdate extends ProxyResource { op?: SensitivityLabelUpdateKind; /** Schema name of the column to update. */ schema?: string; /** Table name of the column to update. */ table?: string; /** Column name to update. */ column?: string; /** The sensitivity label information to apply on a column. */ sensitivityLabel?: SensitivityLabel; } export declare function sensitivityLabelUpdateSerializer(item: SensitivityLabelUpdate): any; /** Properties of an operation executed on a sensitivity label. */ export interface SensitivityLabelUpdateProperties { op: SensitivityLabelUpdateKind; /** Schema name of the column to update. */ schema: string; /** Table name of the column to update. */ table: string; /** Column name to update. */ column: string; /** The sensitivity label information to apply on a column. */ sensitivityLabel?: SensitivityLabel; } export declare function sensitivityLabelUpdatePropertiesSerializer(item: SensitivityLabelUpdateProperties): any; /** Type of SensitivityLabelUpdateKind */ export type SensitivityLabelUpdateKind = "set" | "remove"; /** A database resource. */ export interface Database extends TrackedResource { /** * The database SKU. * * The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands: * * ```azurecli * az sql db list-editions -l -o table * ``` * * ```powershell * Get-AzSqlServerServiceObjective -Location * ``` */ sku?: Sku; /** Kind of database. This is metadata used for the Azure portal experience. */ readonly kind?: string; /** Resource that manages the database. */ readonly managedBy?: string; /** The Azure Active Directory identity of the database. */ identity?: DatabaseIdentity; /** * 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. */ createMode?: CreateMode; /** The collation of the database. */ collation?: string; /** The max size of the database expressed in bytes. */ maxSizeBytes?: number; /** The name of the sample schema to apply when creating this database. */ sampleName?: SampleName; /** The resource identifier of the elastic pool containing this database. */ elasticPoolId?: string; /** The resource identifier of the source database associated with create operation of this database. */ sourceDatabaseId?: string; /** The status of the database. */ readonly status?: DatabaseStatus; /** The ID of the database. */ readonly databaseId?: string; /** The creation date of the database (ISO8601 format). */ readonly creationDate?: Date; /** The current service level objective name of the database. */ readonly currentServiceObjectiveName?: string; /** The requested service level objective name of the database. */ readonly requestedServiceObjectiveName?: string; /** The default secondary region for this database. */ readonly defaultSecondaryLocation?: string; /** Failover Group resource identifier that this database belongs to. */ readonly failoverGroupId?: string; /** Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. */ restorePointInTime?: Date; /** Specifies the time that the database was deleted. */ sourceDatabaseDeletionDate?: Date; /** The resource identifier of the recovery point associated with create operation of this database. */ recoveryServicesRecoveryPointId?: string; /** The resource identifier of the long term retention backup associated with create operation of this database. */ longTermRetentionBackupResourceId?: string; /** The resource identifier of the recoverable database associated with create operation of this database. */ recoverableDatabaseId?: string; /** The resource identifier of the restorable dropped database associated with create operation of this database. */ restorableDroppedDatabaseId?: string; /** Collation of the metadata catalog. */ catalogCollation?: CatalogCollationType; /** Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones. */ zoneRedundant?: boolean; /** 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. */ licenseType?: DatabaseLicenseType; /** The max log size for this database. */ readonly maxLogSizeBytes?: number; /** This records the earliest start date and time that restore is available for this database (ISO8601 format). */ readonly earliestRestoreDate?: Date; /** 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. Not applicable to a Hyperscale database within an elastic pool. */ readScale?: DatabaseReadScale; /** The number of secondary replicas associated with the Business Critical, Premium, or Hyperscale edition database that are used to provide high availability. Not applicable to a Hyperscale database within an elastic pool. */ highAvailabilityReplicaCount?: number; /** The secondary type of the database if it is a secondary. Valid values are Geo, Named and Standby. */ secondaryType?: SecondaryType; /** The name and tier of the SKU. */ readonly currentSku?: Sku; /** Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled */ autoPauseDelay?: number; /** The storage account type used to store backups for this database. */ readonly currentBackupStorageRedundancy?: BackupStorageRedundancy; /** The storage account type to be used to store backups for this database. */ requestedBackupStorageRedundancy?: BackupStorageRedundancy; /** Minimal capacity that database will always have allocated, if not paused */ minCapacity?: number; /** The date when database was paused by user configuration or action(ISO8601 format). Null if the database is ready. */ readonly pausedDate?: Date; /** The date when database was resumed by user action or database login (ISO8601 format). Null if the database is paused. */ readonly resumedDate?: Date; /** Maintenance configuration id assigned to the database. This configuration defines the period when the maintenance updates will occur. */ maintenanceConfigurationId?: string; /** Whether or not this database is a ledger database, which means all tables in the database are ledger tables. Note: the value of this property cannot be changed after the database has been created. */ isLedgerOn?: boolean; /** Infra encryption is enabled for this database. */ readonly isInfraEncryptionEnabled?: boolean; /** The Client id used for cross tenant per database CMK scenario */ federatedClientId?: string; /** The resource ids of the user assigned identities to use */ keys?: Record; /** The azure key vault URI of the database if it's configured with per Database Customer Managed Keys. */ encryptionProtector?: string; /** Type of enclave requested on the database i.e. Default or VBS enclaves. */ preferredEnclaveType?: AlwaysEncryptedEnclaveType; /** Whether or not the database uses free monthly limits. Allowed on one database in a subscription. */ useFreeLimit?: boolean; /** * Specifies the behavior when monthly free limits are exhausted for the free database. * * AutoPause: The database will be auto paused upon exhaustion of free limits for remainder of the month. * * BillForUsage: The database will continue to be online upon exhaustion of free limits and any overage will be billed. */ freeLimitExhaustionBehavior?: FreeLimitExhaustionBehavior; /** * The resource identifier of the source associated with the create operation of this database. * * This property is only supported for DataWarehouse edition and allows to restore across subscriptions. * * When sourceResourceId is specified, sourceDatabaseId, recoverableDatabaseId, restorableDroppedDatabaseId and sourceDatabaseDeletionDate must not be specified and CreateMode must be PointInTimeRestore, Restore or Recover. * * When createMode is PointInTimeRestore, sourceResourceId must be the resource ID of the existing database or existing sql pool, and restorePointInTime must be specified. * * When createMode is Restore, sourceResourceId must be the resource ID of restorable dropped database or restorable dropped sql pool. * * When createMode is Recover, sourceResourceId must be the resource ID of recoverable database or recoverable sql pool. * * When source subscription belongs to a different tenant than target subscription, “x-ms-authorization-auxiliary” header must contain authentication token for the source tenant. For more details about “x-ms-authorization-auxiliary” header see https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/authenticate-multi-tenant */ sourceResourceId?: string; /** * Whether or not customer controlled manual cutover needs to be done during Update Database operation to Hyperscale tier. * * This property is only applicable when scaling database from Business Critical/General Purpose/Premium/Standard tier to Hyperscale tier. * * When manualCutover is specified, the scaling operation will wait for user input to trigger cutover to Hyperscale database. * * To trigger cutover, please provide 'performCutover' parameter when the Scaling operation is in Waiting state. */ manualCutover?: boolean; /** * To trigger customer controlled manual cutover during the wait state while Scaling operation is in progress. * * This property parameter is only applicable for scaling operations that are initiated along with 'manualCutover' parameter. * * This property is only applicable when scaling database from Business Critical/General Purpose/Premium/Standard tier to Hyperscale tier is already in progress. * * When performCutover is specified, the scaling operation will trigger cutover and perform role-change to Hyperscale database. */ performCutover?: boolean; /** Specifies the availability zone the database is pinned to. */ availabilityZone?: AvailabilityZoneType; /** The flag to enable or disable auto rotation of database encryption protector AKV key. */ encryptionProtectorAutoRotation?: boolean; } export declare function databaseSerializer(item: Database): any; export declare function databaseDeserializer(item: any): Database; /** The database's properties. */ export interface DatabaseProperties { /** * 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. */ createMode?: CreateMode; /** The collation of the database. */ collation?: string; /** The max size of the database expressed in bytes. */ maxSizeBytes?: number; /** The name of the sample schema to apply when creating this database. */ sampleName?: SampleName; /** The resource identifier of the elastic pool containing this database. */ elasticPoolId?: string; /** The resource identifier of the source database associated with create operation of this database. */ sourceDatabaseId?: string; /** The status of the database. */ readonly status?: DatabaseStatus; /** The ID of the database. */ readonly databaseId?: string; /** The creation date of the database (ISO8601 format). */ readonly creationDate?: Date; /** The current service level objective name of the database. */ readonly currentServiceObjectiveName?: string; /** The requested service level objective name of the database. */ readonly requestedServiceObjectiveName?: string; /** The default secondary region for this database. */ readonly defaultSecondaryLocation?: string; /** Failover Group resource identifier that this database belongs to. */ readonly failoverGroupId?: string; /** Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. */ restorePointInTime?: Date; /** Specifies the time that the database was deleted. */ sourceDatabaseDeletionDate?: Date; /** The resource identifier of the recovery point associated with create operation of this database. */ recoveryServicesRecoveryPointId?: string; /** The resource identifier of the long term retention backup associated with create operation of this database. */ longTermRetentionBackupResourceId?: string; /** The resource identifier of the recoverable database associated with create operation of this database. */ recoverableDatabaseId?: string; /** The resource identifier of the restorable dropped database associated with create operation of this database. */ restorableDroppedDatabaseId?: string; /** Collation of the metadata catalog. */ catalogCollation?: CatalogCollationType; /** Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones. */ zoneRedundant?: boolean; /** 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. */ licenseType?: DatabaseLicenseType; /** The max log size for this database. */ readonly maxLogSizeBytes?: number; /** This records the earliest start date and time that restore is available for this database (ISO8601 format). */ readonly earliestRestoreDate?: Date; /** 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. Not applicable to a Hyperscale database within an elastic pool. */ readScale?: DatabaseReadScale; /** The number of secondary replicas associated with the Business Critical, Premium, or Hyperscale edition database that are used to provide high availability. Not applicable to a Hyperscale database within an elastic pool. */ highAvailabilityReplicaCount?: number; /** The secondary type of the database if it is a secondary. Valid values are Geo, Named and Standby. */ secondaryType?: SecondaryType; /** The name and tier of the SKU. */ readonly currentSku?: Sku; /** Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled */ autoPauseDelay?: number; /** The storage account type used to store backups for this database. */ readonly currentBackupStorageRedundancy?: BackupStorageRedundancy; /** The storage account type to be used to store backups for this database. */ requestedBackupStorageRedundancy?: BackupStorageRedundancy; /** Minimal capacity that database will always have allocated, if not paused */ minCapacity?: number; /** The date when database was paused by user configuration or action(ISO8601 format). Null if the database is ready. */ readonly pausedDate?: Date; /** The date when database was resumed by user action or database login (ISO8601 format). Null if the database is paused. */ readonly resumedDate?: Date; /** Maintenance configuration id assigned to the database. This configuration defines the period when the maintenance updates will occur. */ maintenanceConfigurationId?: string; /** Whether or not this database is a ledger database, which means all tables in the database are ledger tables. Note: the value of this property cannot be changed after the database has been created. */ isLedgerOn?: boolean; /** Infra encryption is enabled for this database. */ readonly isInfraEncryptionEnabled?: boolean; /** The Client id used for cross tenant per database CMK scenario */ federatedClientId?: string; /** The resource ids of the user assigned identities to use */ keys?: Record; /** The azure key vault URI of the database if it's configured with per Database Customer Managed Keys. */ encryptionProtector?: string; /** Type of enclave requested on the database i.e. Default or VBS enclaves. */ preferredEnclaveType?: AlwaysEncryptedEnclaveType; /** Whether or not the database uses free monthly limits. Allowed on one database in a subscription. */ useFreeLimit?: boolean; /** * Specifies the behavior when monthly free limits are exhausted for the free database. * * AutoPause: The database will be auto paused upon exhaustion of free limits for remainder of the month. * * BillForUsage: The database will continue to be online upon exhaustion of free limits and any overage will be billed. */ freeLimitExhaustionBehavior?: FreeLimitExhaustionBehavior; /** * The resource identifier of the source associated with the create operation of this database. * * This property is only supported for DataWarehouse edition and allows to restore across subscriptions. * * When sourceResourceId is specified, sourceDatabaseId, recoverableDatabaseId, restorableDroppedDatabaseId and sourceDatabaseDeletionDate must not be specified and CreateMode must be PointInTimeRestore, Restore or Recover. * * When createMode is PointInTimeRestore, sourceResourceId must be the resource ID of the existing database or existing sql pool, and restorePointInTime must be specified. * * When createMode is Restore, sourceResourceId must be the resource ID of restorable dropped database or restorable dropped sql pool. * * When createMode is Recover, sourceResourceId must be the resource ID of recoverable database or recoverable sql pool. * * When source subscription belongs to a different tenant than target subscription, “x-ms-authorization-auxiliary” header must contain authentication token for the source tenant. For more details about “x-ms-authorization-auxiliary” header see https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/authenticate-multi-tenant */ sourceResourceId?: string; /** * Whether or not customer controlled manual cutover needs to be done during Update Database operation to Hyperscale tier. * * This property is only applicable when scaling database from Business Critical/General Purpose/Premium/Standard tier to Hyperscale tier. * * When manualCutover is specified, the scaling operation will wait for user input to trigger cutover to Hyperscale database. * * To trigger cutover, please provide 'performCutover' parameter when the Scaling operation is in Waiting state. */ manualCutover?: boolean; /** * To trigger customer controlled manual cutover during the wait state while Scaling operation is in progress. * * This property parameter is only applicable for scaling operations that are initiated along with 'manualCutover' parameter. * * This property is only applicable when scaling database from Business Critical/General Purpose/Premium/Standard tier to Hyperscale tier is already in progress. * * When performCutover is specified, the scaling operation will trigger cutover and perform role-change to Hyperscale database. */ performCutover?: boolean; /** Specifies the availability zone the database is pinned to. */ availabilityZone?: AvailabilityZoneType; /** The flag to enable or disable auto rotation of database encryption protector AKV key. */ encryptionProtectorAutoRotation?: boolean; } export declare function databasePropertiesSerializer(item: DatabaseProperties): any; export declare function databasePropertiesDeserializer(item: any): DatabaseProperties; /** * 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. */ export declare enum KnownCreateMode { /** Default */ Default = "Default", /** Copy */ Copy = "Copy", /** Secondary */ Secondary = "Secondary", /** PointInTimeRestore */ PointInTimeRestore = "PointInTimeRestore", /** Restore */ Restore = "Restore", /** Recovery */ Recovery = "Recovery", /** RestoreExternalBackup */ RestoreExternalBackup = "RestoreExternalBackup", /** RestoreExternalBackupSecondary */ RestoreExternalBackupSecondary = "RestoreExternalBackupSecondary", /** RestoreLongTermRetentionBackup */ RestoreLongTermRetentionBackup = "RestoreLongTermRetentionBackup", /** OnlineSecondary */ OnlineSecondary = "OnlineSecondary" } /** * 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. \ * {@link KnownCreateMode} can be used interchangeably with CreateMode, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Default**: Default \ * **Copy**: Copy \ * **Secondary**: Secondary \ * **PointInTimeRestore**: PointInTimeRestore \ * **Restore**: Restore \ * **Recovery**: Recovery \ * **RestoreExternalBackup**: RestoreExternalBackup \ * **RestoreExternalBackupSecondary**: RestoreExternalBackupSecondary \ * **RestoreLongTermRetentionBackup**: RestoreLongTermRetentionBackup \ * **OnlineSecondary**: OnlineSecondary */ export type CreateMode = string; /** The name of the sample schema to apply when creating this database. */ export declare enum KnownSampleName { /** AdventureWorksLT */ AdventureWorksLT = "AdventureWorksLT", /** WideWorldImportersStd */ WideWorldImportersStd = "WideWorldImportersStd", /** WideWorldImportersFull */ WideWorldImportersFull = "WideWorldImportersFull" } /** * The name of the sample schema to apply when creating this database. \ * {@link KnownSampleName} can be used interchangeably with SampleName, * this enum contains the known values that the service supports. * ### Known values supported by the service * **AdventureWorksLT**: AdventureWorksLT \ * **WideWorldImportersStd**: WideWorldImportersStd \ * **WideWorldImportersFull**: WideWorldImportersFull */ export type SampleName = string; /** The status of the database. */ export declare enum KnownDatabaseStatus { /** Online */ Online = "Online", /** Restoring */ Restoring = "Restoring", /** RecoveryPending */ RecoveryPending = "RecoveryPending", /** Recovering */ Recovering = "Recovering", /** Suspect */ Suspect = "Suspect", /** Offline */ Offline = "Offline", /** Standby */ Standby = "Standby", /** Shutdown */ Shutdown = "Shutdown", /** EmergencyMode */ EmergencyMode = "EmergencyMode", /** AutoClosed */ AutoClosed = "AutoClosed", /** Copying */ Copying = "Copying", /** Creating */ Creating = "Creating", /** Inaccessible */ Inaccessible = "Inaccessible", /** OfflineSecondary */ OfflineSecondary = "OfflineSecondary", /** Pausing */ Pausing = "Pausing", /** Paused */ Paused = "Paused", /** Resuming */ Resuming = "Resuming", /** Scaling */ Scaling = "Scaling", /** OfflineChangingDwPerformanceTiers */ OfflineChangingDwPerformanceTiers = "OfflineChangingDwPerformanceTiers", /** OnlineChangingDwPerformanceTiers */ OnlineChangingDwPerformanceTiers = "OnlineChangingDwPerformanceTiers", /** Disabled */ Disabled = "Disabled", /** Stopping */ Stopping = "Stopping", /** Stopped */ Stopped = "Stopped", /** Starting */ Starting = "Starting" } /** * The status of the database. \ * {@link KnownDatabaseStatus} can be used interchangeably with DatabaseStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Online**: Online \ * **Restoring**: Restoring \ * **RecoveryPending**: RecoveryPending \ * **Recovering**: Recovering \ * **Suspect**: Suspect \ * **Offline**: Offline \ * **Standby**: Standby \ * **Shutdown**: Shutdown \ * **EmergencyMode**: EmergencyMode \ * **AutoClosed**: AutoClosed \ * **Copying**: Copying \ * **Creating**: Creating \ * **Inaccessible**: Inaccessible \ * **OfflineSecondary**: OfflineSecondary \ * **Pausing**: Pausing \ * **Paused**: Paused \ * **Resuming**: Resuming \ * **Scaling**: Scaling \ * **OfflineChangingDwPerformanceTiers**: OfflineChangingDwPerformanceTiers \ * **OnlineChangingDwPerformanceTiers**: OnlineChangingDwPerformanceTiers \ * **Disabled**: Disabled \ * **Stopping**: Stopping \ * **Stopped**: Stopped \ * **Starting**: Starting */ export type DatabaseStatus = string; /** Collation of the metadata catalog. */ export declare enum KnownCatalogCollationType { /** DATABASE_DEFAULT */ DatabaseDefault = "DATABASE_DEFAULT", /** SQL_Latin1_General_CP1_CI_AS */ SQLLatin1GeneralCP1CIAS = "SQL_Latin1_General_CP1_CI_AS" } /** * Collation of the metadata catalog. \ * {@link KnownCatalogCollationType} can be used interchangeably with CatalogCollationType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **DATABASE_DEFAULT**: DATABASE_DEFAULT \ * **SQL_Latin1_General_CP1_CI_AS**: SQL_Latin1_General_CP1_CI_AS */ export type CatalogCollationType = string; /** 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. */ export declare enum KnownDatabaseLicenseType { /** LicenseIncluded */ LicenseIncluded = "LicenseIncluded", /** BasePrice */ BasePrice = "BasePrice" } /** * 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. \ * {@link KnownDatabaseLicenseType} can be used interchangeably with DatabaseLicenseType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **LicenseIncluded**: LicenseIncluded \ * **BasePrice**: BasePrice */ export type DatabaseLicenseType = string; /** 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. Not applicable to a Hyperscale database within an elastic pool. */ export declare enum KnownDatabaseReadScale { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled" } /** * 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. Not applicable to a Hyperscale database within an elastic pool. \ * {@link KnownDatabaseReadScale} can be used interchangeably with DatabaseReadScale, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled**: Enabled \ * **Disabled**: Disabled */ export type DatabaseReadScale = string; /** The secondary type of the database if it is a secondary. Valid values are Geo, Named and Standby. */ export declare enum KnownSecondaryType { /** Geo */ Geo = "Geo", /** Named */ Named = "Named", /** Standby */ Standby = "Standby" } /** * The secondary type of the database if it is a secondary. Valid values are Geo, Named and Standby. \ * {@link KnownSecondaryType} can be used interchangeably with SecondaryType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Geo**: Geo \ * **Named**: Named \ * **Standby**: Standby */ export type SecondaryType = string; /** An ARM Resource SKU. */ export interface Sku { /** The name of the SKU, typically, a letter + Number code, e.g. P3. */ name: string; /** The tier or edition of the particular SKU, e.g. Basic, Premium. */ tier?: string; /** Size of the particular SKU */ size?: string; /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */ family?: string; /** Capacity of the particular SKU. */ capacity?: number; } export declare function skuSerializer(item: Sku): any; export declare function skuDeserializer(item: any): Sku; /** The storage account type used to store backups for this database. */ export declare enum KnownBackupStorageRedundancy { /** Geo */ Geo = "Geo", /** Local */ Local = "Local", /** Zone */ Zone = "Zone", /** GeoZone */ GeoZone = "GeoZone" } /** * The storage account type used to store backups for this database. \ * {@link KnownBackupStorageRedundancy} can be used interchangeably with BackupStorageRedundancy, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Geo**: Geo \ * **Local**: Local \ * **Zone**: Zone \ * **GeoZone**: GeoZone */ export type BackupStorageRedundancy = string; export declare function databaseKeyRecordSerializer(item: Record): Record; export declare function databaseKeyRecordDeserializer(item: Record): Record; /** Database level key used for encryption at rest. */ export interface DatabaseKey { /** The database key type. Only supported value is 'AzureKeyVault'. */ readonly type?: DatabaseKeyType; /** Thumbprint of the database key. */ readonly thumbprint?: string; /** The database key creation date. */ readonly creationDate?: Date; /** Subregion of the server key. */ readonly subregion?: string; /** The database key's version. */ readonly keyVersion?: string; } export declare function databaseKeySerializer(_item: DatabaseKey): any; export declare function databaseKeyDeserializer(item: any): DatabaseKey; /** The database key type. Only supported value is 'AzureKeyVault'. */ export declare enum KnownDatabaseKeyType { /** AzureKeyVault */ AzureKeyVault = "AzureKeyVault" } /** * The database key type. Only supported value is 'AzureKeyVault'. \ * {@link KnownDatabaseKeyType} can be used interchangeably with DatabaseKeyType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **AzureKeyVault**: AzureKeyVault */ export type DatabaseKeyType = string; /** Type of enclave requested on the database i.e. Default or VBS enclaves. */ export declare enum KnownAlwaysEncryptedEnclaveType { /** Default */ Default = "Default", /** VBS */ VBS = "VBS" } /** * Type of enclave requested on the database i.e. Default or VBS enclaves. \ * {@link KnownAlwaysEncryptedEnclaveType} can be used interchangeably with AlwaysEncryptedEnclaveType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Default**: Default \ * **VBS**: VBS */ export type AlwaysEncryptedEnclaveType = string; /** * Specifies the behavior when monthly free limits are exhausted for the free database. * * AutoPause: The database will be auto paused upon exhaustion of free limits for remainder of the month. * * BillForUsage: The database will continue to be online upon exhaustion of free limits and any overage will be billed. */ export declare enum KnownFreeLimitExhaustionBehavior { /** AutoPause */ AutoPause = "AutoPause", /** BillOverUsage */ BillOverUsage = "BillOverUsage" } /** * Specifies the behavior when monthly free limits are exhausted for the free database. * * AutoPause: The database will be auto paused upon exhaustion of free limits for remainder of the month. * * BillForUsage: The database will continue to be online upon exhaustion of free limits and any overage will be billed. \ * {@link KnownFreeLimitExhaustionBehavior} can be used interchangeably with FreeLimitExhaustionBehavior, * this enum contains the known values that the service supports. * ### Known values supported by the service * **AutoPause**: AutoPause \ * **BillOverUsage**: BillOverUsage */ export type FreeLimitExhaustionBehavior = string; /** Specifies the availability zone the database is pinned to. */ export declare enum KnownAvailabilityZoneType { /** NoPreference */ NoPreference = "NoPreference", /** 1 */ One = "1", /** 2 */ Two = "2", /** 3 */ Three = "3" } /** * Specifies the availability zone the database is pinned to. \ * {@link KnownAvailabilityZoneType} can be used interchangeably with AvailabilityZoneType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **NoPreference**: NoPreference \ * **1**: 1 \ * **2**: 2 \ * **3**: 3 */ export type AvailabilityZoneType = string; /** Azure Active Directory identity configuration for a resource. */ export interface DatabaseIdentity { /** The identity type */ type?: DatabaseIdentityType; /** The Azure Active Directory tenant id. */ readonly tenantId?: string; /** The resource ids of the user assigned identities to use */ userAssignedIdentities?: Record; } export declare function databaseIdentitySerializer(item: DatabaseIdentity): any; export declare function databaseIdentityDeserializer(item: any): DatabaseIdentity; /** The identity type */ export declare enum KnownDatabaseIdentityType { /** None */ None = "None", /** UserAssigned */ UserAssigned = "UserAssigned" } /** * The identity type \ * {@link KnownDatabaseIdentityType} can be used interchangeably with DatabaseIdentityType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **None**: None \ * **UserAssigned**: UserAssigned */ export type DatabaseIdentityType = string; export declare function databaseUserIdentityRecordSerializer(item: Record): Record; export declare function databaseUserIdentityRecordDeserializer(item: Record): Record; /** Azure Active Directory identity configuration for a resource. */ export interface DatabaseUserIdentity { /** The Azure Active Directory principal id. */ readonly principalId?: string; /** The Azure Active Directory client id. */ readonly clientId?: string; } export declare function databaseUserIdentitySerializer(_item: DatabaseUserIdentity): any; export declare function databaseUserIdentityDeserializer(item: any): DatabaseUserIdentity; /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ export interface TrackedResource extends Resource { /** Resource tags. */ tags?: Record; /** The geo-location where the resource lives */ location: string; } export declare function trackedResourceSerializer(item: TrackedResource): any; export declare function trackedResourceDeserializer(item: any): TrackedResource; /** A database update resource. */ export interface DatabaseUpdate { /** The name and tier of the SKU. */ sku?: Sku; /** Database identity */ identity?: DatabaseIdentity; /** Resource tags. */ tags?: Record; /** * 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. */ createMode?: CreateMode; /** The collation of the database. */ collation?: string; /** The max size of the database expressed in bytes. */ maxSizeBytes?: number; /** The name of the sample schema to apply when creating this database. */ sampleName?: SampleName; /** The resource identifier of the elastic pool containing this database. */ elasticPoolId?: string; /** The resource identifier of the source database associated with create operation of this database. */ sourceDatabaseId?: string; /** The status of the database. */ readonly status?: DatabaseStatus; /** The ID of the database. */ readonly databaseId?: string; /** The creation date of the database (ISO8601 format). */ readonly creationDate?: Date; /** The current service level objective name of the database. */ readonly currentServiceObjectiveName?: string; /** The requested service level objective name of the database. */ readonly requestedServiceObjectiveName?: string; /** The default secondary region for this database. */ readonly defaultSecondaryLocation?: string; /** Failover Group resource identifier that this database belongs to. */ readonly failoverGroupId?: string; /** Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. */ restorePointInTime?: Date; /** Specifies the time that the database was deleted. */ sourceDatabaseDeletionDate?: Date; /** The resource identifier of the recovery point associated with create operation of this database. */ recoveryServicesRecoveryPointId?: string; /** The resource identifier of the long term retention backup associated with create operation of this database. */ longTermRetentionBackupResourceId?: string; /** The resource identifier of the recoverable database associated with create operation of this database. */ recoverableDatabaseId?: string; /** The resource identifier of the restorable dropped database associated with create operation of this database. */ restorableDroppedDatabaseId?: string; /** Collation of the metadata catalog. */ catalogCollation?: CatalogCollationType; /** Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones. */ zoneRedundant?: boolean; /** 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. */ licenseType?: DatabaseLicenseType; /** The max log size for this database. */ readonly maxLogSizeBytes?: number; /** This records the earliest start date and time that restore is available for this database (ISO8601 format). */ readonly earliestRestoreDate?: Date; /** 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. Not applicable to a Hyperscale database within an elastic pool. */ readScale?: DatabaseReadScale; /** The number of secondary replicas associated with the Business Critical, Premium, or Hyperscale edition database that are used to provide high availability. Not applicable to a Hyperscale database within an elastic pool. */ highAvailabilityReplicaCount?: number; /** The secondary type of the database if it is a secondary. Valid values are Geo, Named and Standby. */ secondaryType?: SecondaryType; /** The name and tier of the SKU. */ readonly currentSku?: Sku; /** Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled */ autoPauseDelay?: number; /** The storage account type used to store backups for this database. */ readonly currentBackupStorageRedundancy?: BackupStorageRedundancy; /** The storage account type to be used to store backups for this database. */ requestedBackupStorageRedundancy?: BackupStorageRedundancy; /** Minimal capacity that database will always have allocated, if not paused */ minCapacity?: number; /** The date when database was paused by user configuration or action(ISO8601 format). Null if the database is ready. */ readonly pausedDate?: Date; /** The date when database was resumed by user action or database login (ISO8601 format). Null if the database is paused. */ readonly resumedDate?: Date; /** Maintenance configuration id assigned to the database. This configuration defines the period when the maintenance updates will occur. */ maintenanceConfigurationId?: string; /** Whether or not this database is a ledger database, which means all tables in the database are ledger tables. Note: the value of this property cannot be changed after the database has been created. */ isLedgerOn?: boolean; /** Infra encryption is enabled for this database. */ readonly isInfraEncryptionEnabled?: boolean; /** The Client id used for cross tenant per database CMK scenario */ federatedClientId?: string; /** The resource ids of the user assigned identities to use */ keys?: Record; /** The azure key vault URI of the database if it's configured with per Database Customer Managed Keys. */ encryptionProtector?: string; /** Type of enclave requested on the database i.e. Default or VBS enclaves. */ preferredEnclaveType?: AlwaysEncryptedEnclaveType; /** Whether or not the database uses free monthly limits. Allowed on one database in a subscription. */ useFreeLimit?: boolean; /** * Specifies the behavior when monthly free limits are exhausted for the free database. * * AutoPause: The database will be auto paused upon exhaustion of free limits for remainder of the month. * * BillForUsage: The database will continue to be online upon exhaustion of free limits and any overage will be billed. */ freeLimitExhaustionBehavior?: FreeLimitExhaustionBehavior; /** * Whether or not customer controlled manual cutover needs to be done during Update Database operation to Hyperscale tier. * * This property is only applicable when scaling database from Business Critical/General Purpose/Premium/Standard tier to Hyperscale tier. * * When manualCutover is specified, the scaling operation will wait for user input to trigger cutover to Hyperscale database. * * To trigger cutover, please provide 'performCutover' parameter when the Scaling operation is in Waiting state. */ manualCutover?: boolean; /** * To trigger customer controlled manual cutover during the wait state while Scaling operation is in progress. * * This property parameter is only applicable for scaling operations that are initiated along with 'manualCutover' parameter. * * This property is only applicable when scaling database from Business Critical/General Purpose/Premium/Standard tier to Hyperscale tier is already in progress. * * When performCutover is specified, the scaling operation will trigger cutover and perform role-change to Hyperscale database. */ performCutover?: boolean; /** The flag to enable or disable auto rotation of database encryption protector AKV key. */ encryptionProtectorAutoRotation?: boolean; } export declare function databaseUpdateSerializer(item: DatabaseUpdate): any; /** A database update properties. */ export interface DatabaseUpdateProperties { /** * 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. */ createMode?: CreateMode; /** The collation of the database. */ collation?: string; /** The max size of the database expressed in bytes. */ maxSizeBytes?: number; /** The name of the sample schema to apply when creating this database. */ sampleName?: SampleName; /** The resource identifier of the elastic pool containing this database. */ elasticPoolId?: string; /** The resource identifier of the source database associated with create operation of this database. */ sourceDatabaseId?: string; /** The status of the database. */ readonly status?: DatabaseStatus; /** The ID of the database. */ readonly databaseId?: string; /** The creation date of the database (ISO8601 format). */ readonly creationDate?: Date; /** The current service level objective name of the database. */ readonly currentServiceObjectiveName?: string; /** The requested service level objective name of the database. */ readonly requestedServiceObjectiveName?: string; /** The default secondary region for this database. */ readonly defaultSecondaryLocation?: string; /** Failover Group resource identifier that this database belongs to. */ readonly failoverGroupId?: string; /** Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. */ restorePointInTime?: Date; /** Specifies the time that the database was deleted. */ sourceDatabaseDeletionDate?: Date; /** The resource identifier of the recovery point associated with create operation of this database. */ recoveryServicesRecoveryPointId?: string; /** The resource identifier of the long term retention backup associated with create operation of this database. */ longTermRetentionBackupResourceId?: string; /** The resource identifier of the recoverable database associated with create operation of this database. */ recoverableDatabaseId?: string; /** The resource identifier of the restorable dropped database associated with create operation of this database. */ restorableDroppedDatabaseId?: string; /** Collation of the metadata catalog. */ catalogCollation?: CatalogCollationType; /** Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones. */ zoneRedundant?: boolean; /** 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. */ licenseType?: DatabaseLicenseType; /** The max log size for this database. */ readonly maxLogSizeBytes?: number; /** This records the earliest start date and time that restore is available for this database (ISO8601 format). */ readonly earliestRestoreDate?: Date; /** 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. Not applicable to a Hyperscale database within an elastic pool. */ readScale?: DatabaseReadScale; /** The number of secondary replicas associated with the Business Critical, Premium, or Hyperscale edition database that are used to provide high availability. Not applicable to a Hyperscale database within an elastic pool. */ highAvailabilityReplicaCount?: number; /** The secondary type of the database if it is a secondary. Valid values are Geo, Named and Standby. */ secondaryType?: SecondaryType; /** The name and tier of the SKU. */ readonly currentSku?: Sku; /** Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled */ autoPauseDelay?: number; /** The storage account type used to store backups for this database. */ readonly currentBackupStorageRedundancy?: BackupStorageRedundancy; /** The storage account type to be used to store backups for this database. */ requestedBackupStorageRedundancy?: BackupStorageRedundancy; /** Minimal capacity that database will always have allocated, if not paused */ minCapacity?: number; /** The date when database was paused by user configuration or action(ISO8601 format). Null if the database is ready. */ readonly pausedDate?: Date; /** The date when database was resumed by user action or database login (ISO8601 format). Null if the database is paused. */ readonly resumedDate?: Date; /** Maintenance configuration id assigned to the database. This configuration defines the period when the maintenance updates will occur. */ maintenanceConfigurationId?: string; /** Whether or not this database is a ledger database, which means all tables in the database are ledger tables. Note: the value of this property cannot be changed after the database has been created. */ isLedgerOn?: boolean; /** Infra encryption is enabled for this database. */ readonly isInfraEncryptionEnabled?: boolean; /** The Client id used for cross tenant per database CMK scenario */ federatedClientId?: string; /** The resource ids of the user assigned identities to use */ keys?: Record; /** The azure key vault URI of the database if it's configured with per Database Customer Managed Keys. */ encryptionProtector?: string; /** Type of enclave requested on the database i.e. Default or VBS enclaves. */ preferredEnclaveType?: AlwaysEncryptedEnclaveType; /** Whether or not the database uses free monthly limits. Allowed on one database in a subscription. */ useFreeLimit?: boolean; /** * Specifies the behavior when monthly free limits are exhausted for the free database. * * AutoPause: The database will be auto paused upon exhaustion of free limits for remainder of the month. * * BillForUsage: The database will continue to be online upon exhaustion of free limits and any overage will be billed. */ freeLimitExhaustionBehavior?: FreeLimitExhaustionBehavior; /** * Whether or not customer controlled manual cutover needs to be done during Update Database operation to Hyperscale tier. * * This property is only applicable when scaling database from Business Critical/General Purpose/Premium/Standard tier to Hyperscale tier. * * When manualCutover is specified, the scaling operation will wait for user input to trigger cutover to Hyperscale database. * * To trigger cutover, please provide 'performCutover' parameter when the Scaling operation is in Waiting state. */ manualCutover?: boolean; /** * To trigger customer controlled manual cutover during the wait state while Scaling operation is in progress. * * This property parameter is only applicable for scaling operations that are initiated along with 'manualCutover' parameter. * * This property is only applicable when scaling database from Business Critical/General Purpose/Premium/Standard tier to Hyperscale tier is already in progress. * * When performCutover is specified, the scaling operation will trigger cutover and perform role-change to Hyperscale database. */ performCutover?: boolean; /** The flag to enable or disable auto rotation of database encryption protector AKV key. */ encryptionProtectorAutoRotation?: boolean; } export declare function databaseUpdatePropertiesSerializer(item: DatabaseUpdateProperties): any; /** The response of a Database list operation. */ export interface _DatabaseListResult { /** The Database items on this page */ value: Database[]; /** The link to the next page of items */ nextLink?: string; } export declare function _databaseListResultDeserializer(item: any): _DatabaseListResult; export declare function databaseArraySerializer(result: Array): any[]; export declare function databaseArrayDeserializer(result: Array): any[]; /** Contains the information necessary to perform export database operation. */ export interface ExportDatabaseDefinition { /** Storage key type: StorageAccessKey, SharedAccessKey, or ManagedIdentity. */ storageKeyType: StorageKeyType; /** Storage key for the storage account. If StorageKeyType is ManagedIdentity, this field should specify the Managed Identity's resource ID. */ storageKey: string; /** Storage Uri. */ storageUri: string; /** Administrator login name. If AuthenticationType is ManagedIdentity, this field should specify the Managed Identity's resource ID. */ administratorLogin: string; /** Administrator login password. If AuthenticationType is ManagedIdentity, this field should not be specified. */ administratorLoginPassword?: string; /** Type of credentials provided for access to the target SQL server: SQL, ADPassword or ManagedIdentity. */ authenticationType?: string; /** Optional resource information to enable network isolation for request. */ networkIsolation?: NetworkIsolationSettings; } export declare function exportDatabaseDefinitionSerializer(item: ExportDatabaseDefinition): any; /** Storage key type: StorageAccessKey, SharedAccessKey or ManagedIdentity. */ export declare enum KnownStorageKeyType { /** SharedAccessKey */ SharedAccessKey = "SharedAccessKey", /** StorageAccessKey */ StorageAccessKey = "StorageAccessKey", /** ManagedIdentity */ ManagedIdentity = "ManagedIdentity" } /** * Storage key type: StorageAccessKey, SharedAccessKey or ManagedIdentity. \ * {@link KnownStorageKeyType} can be used interchangeably with StorageKeyType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **SharedAccessKey**: SharedAccessKey \ * **StorageAccessKey**: StorageAccessKey \ * **ManagedIdentity**: ManagedIdentity */ export type StorageKeyType = string; /** Contains the ARM resources for which to create private endpoint connection. */ export interface NetworkIsolationSettings { /** The resource id for the storage account used to store BACPAC file. If set, private endpoint connection will be created for the storage account. Must match storage account used for StorageUri parameter. */ storageAccountResourceId?: string; /** The resource id for the SQL server which is the target of this request. If set, private endpoint connection will be created for the SQL server. Must match server which is target of the operation. */ sqlServerResourceId?: string; } export declare function networkIsolationSettingsSerializer(item: NetworkIsolationSettings): any; /** An ImportExport operation result resource. */ export interface ImportExportOperationResult extends ProxyResource { /** Request Id. */ readonly requestId?: string; /** Request type. */ readonly requestType?: string; /** Queued time. */ readonly queuedTime?: string; /** Last modified time. */ readonly lastModifiedTime?: string; /** Blob Uri. */ readonly blobUri?: string; /** Server name. */ readonly serverName?: string; /** Database name. */ readonly databaseName?: string; /** Operation status. */ readonly status?: string; /** Error message. */ readonly errorMessage?: string; /** Gets the status of private endpoints associated with this request. */ readonly privateEndpointConnections?: PrivateEndpointConnectionRequestStatus[]; } export declare function importExportOperationResultDeserializer(item: any): ImportExportOperationResult; /** Contains the operation result properties for import/export operation. */ export interface ImportExportOperationResultProperties { /** Request Id. */ readonly requestId?: string; /** Request type. */ readonly requestType?: string; /** Queued time. */ readonly queuedTime?: string; /** Last modified time. */ readonly lastModifiedTime?: string; /** Blob Uri. */ readonly blobUri?: string; /** Server name. */ readonly serverName?: string; /** Database name. */ readonly databaseName?: string; /** Operation status. */ readonly status?: string; /** Error message. */ readonly errorMessage?: string; /** Gets the status of private endpoints associated with this request. */ readonly privateEndpointConnections?: PrivateEndpointConnectionRequestStatus[]; } export declare function importExportOperationResultPropertiesDeserializer(item: any): ImportExportOperationResultProperties; export declare function privateEndpointConnectionRequestStatusArrayDeserializer(result: Array): any[]; /** Contains the private endpoint connection requests status. */ export interface PrivateEndpointConnectionRequestStatus { /** Resource id for which the private endpoint is created. */ readonly privateLinkServiceId?: string; /** The connection name for the private endpoint. */ readonly privateEndpointConnectionName?: string; /** Status of this private endpoint connection. */ readonly status?: string; } export declare function privateEndpointConnectionRequestStatusDeserializer(item: any): PrivateEndpointConnectionRequestStatus; /** Contains the information necessary to perform import operation for existing database. */ export interface ImportExistingDatabaseDefinition { /** Storage key type: StorageAccessKey, SharedAccessKey, or ManagedIdentity. */ storageKeyType: StorageKeyType; /** Storage key for the storage account. If StorageKeyType is ManagedIdentity, this field should specify the Managed Identity's resource ID. */ storageKey: string; /** Storage Uri. */ storageUri: string; /** Administrator login name. If AuthenticationType is ManagedIdentity, this field should specify the Managed Identity's resource ID. */ administratorLogin: string; /** Administrator login password. If AuthenticationType is ManagedIdentity, this field should not be specified. */ administratorLoginPassword?: string; /** Type of credentials provided for access to the target SQL server: SQL, ADPassword or ManagedIdentity. */ authenticationType?: string; /** Optional resource information to enable network isolation for request. */ networkIsolation?: NetworkIsolationSettings; } export declare function importExistingDatabaseDefinitionSerializer(item: ImportExistingDatabaseDefinition): any; /** Contains the information necessary to perform a resource move (rename). */ export interface ResourceMoveDefinition { /** The target ID for the resource */ id: string; } export declare function resourceMoveDefinitionSerializer(item: ResourceMoveDefinition): any; /** A server firewall rule. */ export interface FirewallRule extends ProxyResourceWithWritableName { /** The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' for all Azure-internal IP addresses. */ startIpAddress?: string; /** The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value '0.0.0.0' for all Azure-internal IP addresses. */ endIpAddress?: string; } export declare function firewallRuleSerializer(item: FirewallRule): any; export declare function firewallRuleDeserializer(item: any): FirewallRule; /** The properties of a server firewall rule. */ export interface ServerFirewallRuleProperties { /** The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' for all Azure-internal IP addresses. */ startIpAddress?: string; /** The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value '0.0.0.0' for all Azure-internal IP addresses. */ endIpAddress?: string; } export declare function serverFirewallRulePropertiesSerializer(item: ServerFirewallRuleProperties): any; export declare function serverFirewallRulePropertiesDeserializer(item: any): ServerFirewallRuleProperties; /** ARM proxy resource. */ export interface ProxyResourceWithWritableName extends ResourceWithWritableName { } export declare function proxyResourceWithWritableNameSerializer(item: ProxyResourceWithWritableName): any; export declare function proxyResourceWithWritableNameDeserializer(item: any): ProxyResourceWithWritableName; /** ARM resource. */ export interface ResourceWithWritableName { /** Resource ID. */ readonly id?: string; /** Resource name. */ name?: string; /** Resource type. */ readonly type?: string; } export declare function resourceWithWritableNameSerializer(item: ResourceWithWritableName): any; export declare function resourceWithWritableNameDeserializer(item: any): ResourceWithWritableName; /** The response of a FirewallRule list operation. */ export interface _FirewallRuleListResult { /** The FirewallRule items on this page */ value: FirewallRule[]; /** The link to the next page of items */ nextLink?: string; } export declare function _firewallRuleListResultDeserializer(item: any): _FirewallRuleListResult; export declare function firewallRuleArraySerializer(result: Array): any[]; export declare function firewallRuleArrayDeserializer(result: Array): any[]; /** A list of server firewall rules. */ export interface FirewallRuleList { values?: FirewallRule[]; } export declare function firewallRuleListSerializer(item: FirewallRuleList): any; /** A replication link. */ export interface ReplicationLink extends ProxyResource { /** Resource partner server. */ readonly partnerServer?: string; /** Resource partner database. */ readonly partnerDatabase?: string; /** Resource partner database Id. */ readonly partnerDatabaseId?: string; /** Resource partner location. */ readonly partnerLocation?: string; /** Local replication role. */ readonly role?: ReplicationRole; /** Partner replication role. */ readonly partnerRole?: ReplicationRole; /** Replication mode. */ readonly replicationMode?: string; /** Time at which the link was created. */ readonly startTime?: Date; /** Seeding completion percentage for the link. */ readonly percentComplete?: number; /** Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED). */ readonly replicationState?: ReplicationState; /** Whether the user is currently allowed to terminate the link. */ readonly isTerminationAllowed?: boolean; /** Link type (GEO, NAMED, STANDBY). Update operation does not support NAMED. */ linkType?: ReplicationLinkType; } export declare function replicationLinkSerializer(item: ReplicationLink): any; export declare function replicationLinkDeserializer(item: any): ReplicationLink; /** Properties of a replication link. */ export interface ReplicationLinkProperties { /** Resource partner server. */ readonly partnerServer?: string; /** Resource partner database. */ readonly partnerDatabase?: string; /** Resource partner database Id. */ readonly partnerDatabaseId?: string; /** Resource partner location. */ readonly partnerLocation?: string; /** Local replication role. */ readonly role?: ReplicationRole; /** Partner replication role. */ readonly partnerRole?: ReplicationRole; /** Replication mode. */ readonly replicationMode?: string; /** Time at which the link was created. */ readonly startTime?: Date; /** Seeding completion percentage for the link. */ readonly percentComplete?: number; /** Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED). */ readonly replicationState?: ReplicationState; /** Whether the user is currently allowed to terminate the link. */ readonly isTerminationAllowed?: boolean; /** Link type (GEO, NAMED, STANDBY). Update operation does not support NAMED. */ linkType?: ReplicationLinkType; } export declare function replicationLinkPropertiesSerializer(item: ReplicationLinkProperties): any; export declare function replicationLinkPropertiesDeserializer(item: any): ReplicationLinkProperties; /** Local replication role. */ export type ReplicationRole = "Primary" | "Secondary" | "NonReadableSecondary" | "Source" | "Copy"; /** Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED). */ export declare enum KnownReplicationState { /** PENDING */ Pending = "PENDING", /** SEEDING */ Seeding = "SEEDING", /** CATCH_UP */ CatchUP = "CATCH_UP", /** SUSPENDED */ Suspended = "SUSPENDED" } /** * Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED). \ * {@link KnownReplicationState} can be used interchangeably with ReplicationState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **PENDING**: PENDING \ * **SEEDING**: SEEDING \ * **CATCH_UP**: CATCH_UP \ * **SUSPENDED**: SUSPENDED */ export type ReplicationState = string; /** Link type (GEO, NAMED, STANDBY). Update operation does not support NAMED. */ export declare enum KnownReplicationLinkType { /** GEO */ GEO = "GEO", /** NAMED */ Named = "NAMED", /** STANDBY */ Standby = "STANDBY" } /** * Link type (GEO, NAMED, STANDBY). Update operation does not support NAMED. \ * {@link KnownReplicationLinkType} can be used interchangeably with ReplicationLinkType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **GEO**: GEO \ * **NAMED**: NAMED \ * **STANDBY**: STANDBY */ export type ReplicationLinkType = string; /** A replication link update request. */ export interface ReplicationLinkUpdate extends ProxyResource { /** Link type (GEO, NAMED, STANDBY). Update operation does not support NAMED. */ linkType?: ReplicationLinkType; } export declare function replicationLinkUpdateSerializer(item: ReplicationLinkUpdate): any; /** Properties of a replication link update. */ export interface ReplicationLinkUpdateProperties { /** Link type (GEO, NAMED, STANDBY). Update operation does not support NAMED. */ linkType?: ReplicationLinkType; } export declare function replicationLinkUpdatePropertiesSerializer(item: ReplicationLinkUpdateProperties): any; /** The response of a ReplicationLink list operation. */ export interface _ReplicationLinkListResult { /** The ReplicationLink items on this page */ value: ReplicationLink[]; /** The link to the next page of items */ nextLink?: string; } export declare function _replicationLinkListResultDeserializer(item: any): _ReplicationLinkListResult; export declare function replicationLinkArraySerializer(result: Array): any[]; export declare function replicationLinkArrayDeserializer(result: Array): any[]; /** An Azure SQL Database server. */ export interface Server extends TrackedResource { /** The Azure Active Directory identity of the server. */ identity?: ResourceIdentity; /** Kind of sql server. This is metadata used for the Azure portal experience. */ readonly kind?: string; /** Administrator username for the server. Once created it cannot be changed. */ administratorLogin?: string; /** The administrator login password (required for server creation). */ administratorLoginPassword?: string; /** The version of the server. */ version?: string; /** The state of the server. */ readonly state?: string; /** The fully qualified domain name of the server. */ readonly fullyQualifiedDomainName?: string; /** List of private endpoint connections on a server */ readonly privateEndpointConnections?: ServerPrivateEndpointConnection[]; /** Minimal TLS version. Allowed values: 'None', 1.0', '1.1', '1.2', '1.3' */ minimalTlsVersion?: MinimalTlsVersion; /** Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' or 'SecuredByPerimeter' */ publicNetworkAccess?: ServerPublicNetworkAccessFlag; /** Whether or not existing server has a workspace created and if it allows connection from workspace */ readonly workspaceFeature?: ServerWorkspaceFeature; /** The resource id of a user assigned identity to be used by default. */ primaryUserAssignedIdentityId?: string; /** The Client id used for cross tenant CMK scenario */ federatedClientId?: string; /** A CMK URI of the key to use for encryption. */ keyId?: string; /** The Azure Active Directory administrator can be utilized during server creation and for server updates, except for the azureADOnlyAuthentication property. To update the azureADOnlyAuthentication property, individual API must be used. */ administrators?: ServerExternalAdministrator; /** Whether or not to restrict outbound network access for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' */ restrictOutboundNetworkAccess?: ServerNetworkAccessFlag; /** Whether or not to enable IPv6 support for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' */ isIPv6Enabled?: ServerNetworkAccessFlag; /** Status of external governance. */ readonly externalGovernanceStatus?: ExternalGovernanceStatus; /** Number of days this server will stay soft-deleted. */ retentionDays?: number; /** Create mode for server, only valid values for this are Normal and Restore. */ createMode?: ServerCreateMode; } export declare function serverSerializer(item: Server): any; export declare function serverDeserializer(item: any): Server; /** The properties of a server. */ export interface ServerProperties { /** Administrator username for the server. Once created it cannot be changed. */ administratorLogin?: string; /** The administrator login password (required for server creation). */ administratorLoginPassword?: string; /** The version of the server. */ version?: string; /** The state of the server. */ readonly state?: string; /** The fully qualified domain name of the server. */ readonly fullyQualifiedDomainName?: string; /** List of private endpoint connections on a server */ readonly privateEndpointConnections?: ServerPrivateEndpointConnection[]; /** Minimal TLS version. Allowed values: 'None', 1.0', '1.1', '1.2', '1.3' */ minimalTlsVersion?: MinimalTlsVersion; /** Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' or 'SecuredByPerimeter' */ publicNetworkAccess?: ServerPublicNetworkAccessFlag; /** Whether or not existing server has a workspace created and if it allows connection from workspace */ readonly workspaceFeature?: ServerWorkspaceFeature; /** The resource id of a user assigned identity to be used by default. */ primaryUserAssignedIdentityId?: string; /** The Client id used for cross tenant CMK scenario */ federatedClientId?: string; /** A CMK URI of the key to use for encryption. */ keyId?: string; /** The Azure Active Directory administrator can be utilized during server creation and for server updates, except for the azureADOnlyAuthentication property. To update the azureADOnlyAuthentication property, individual API must be used. */ administrators?: ServerExternalAdministrator; /** Whether or not to restrict outbound network access for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' */ restrictOutboundNetworkAccess?: ServerNetworkAccessFlag; /** Whether or not to enable IPv6 support for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' */ isIPv6Enabled?: ServerNetworkAccessFlag; /** Status of external governance. */ readonly externalGovernanceStatus?: ExternalGovernanceStatus; /** Number of days this server will stay soft-deleted. */ retentionDays?: number; /** Create mode for server, only valid values for this are Normal and Restore. */ createMode?: ServerCreateMode; } export declare function serverPropertiesSerializer(item: ServerProperties): any; export declare function serverPropertiesDeserializer(item: any): ServerProperties; export declare function serverPrivateEndpointConnectionArrayDeserializer(result: Array): any[]; /** A private endpoint connection under a server */ export interface ServerPrivateEndpointConnection { /** Resource ID. */ readonly id?: string; /** Private endpoint connection properties */ readonly properties?: PrivateEndpointConnectionProperties; } export declare function serverPrivateEndpointConnectionDeserializer(item: any): ServerPrivateEndpointConnection; /** Properties of a private endpoint connection. */ export interface PrivateEndpointConnectionProperties { /** Private endpoint which the connection belongs to. */ privateEndpoint?: PrivateEndpointProperty; /** Group IDs. */ readonly groupIds?: string[]; /** Connection state of the private endpoint connection. */ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty; /** State of the private endpoint connection. */ readonly provisioningState?: PrivateEndpointProvisioningState; } export declare function privateEndpointConnectionPropertiesSerializer(item: PrivateEndpointConnectionProperties): any; export declare function privateEndpointConnectionPropertiesDeserializer(item: any): PrivateEndpointConnectionProperties; /** model interface PrivateEndpointProperty */ export interface PrivateEndpointProperty { /** Resource id of the private endpoint. */ id?: string; } export declare function privateEndpointPropertySerializer(item: PrivateEndpointProperty): any; export declare function privateEndpointPropertyDeserializer(item: any): PrivateEndpointProperty; /** model interface PrivateLinkServiceConnectionStateProperty */ export interface PrivateLinkServiceConnectionStateProperty { /** The private link service connection status. */ status: PrivateLinkServiceConnectionStateStatus; /** The private link service connection description. */ description: string; /** The actions required for private link service connection. */ readonly actionsRequired?: PrivateLinkServiceConnectionStateActionsRequire; } export declare function privateLinkServiceConnectionStatePropertySerializer(item: PrivateLinkServiceConnectionStateProperty): any; export declare function privateLinkServiceConnectionStatePropertyDeserializer(item: any): PrivateLinkServiceConnectionStateProperty; /** The private link service connection status. */ export declare enum KnownPrivateLinkServiceConnectionStateStatus { /** Approved */ Approved = "Approved", /** Pending */ Pending = "Pending", /** Rejected */ Rejected = "Rejected", /** Disconnected */ Disconnected = "Disconnected" } /** * The private link service connection status. \ * {@link KnownPrivateLinkServiceConnectionStateStatus} can be used interchangeably with PrivateLinkServiceConnectionStateStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Approved**: Approved \ * **Pending**: Pending \ * **Rejected**: Rejected \ * **Disconnected**: Disconnected */ export type PrivateLinkServiceConnectionStateStatus = string; /** The actions required for private link service connection. */ export declare enum KnownPrivateLinkServiceConnectionStateActionsRequire { /** None */ None = "None" } /** * The actions required for private link service connection. \ * {@link KnownPrivateLinkServiceConnectionStateActionsRequire} can be used interchangeably with PrivateLinkServiceConnectionStateActionsRequire, * this enum contains the known values that the service supports. * ### Known values supported by the service * **None**: None */ export type PrivateLinkServiceConnectionStateActionsRequire = string; /** State of the private endpoint connection. */ export declare enum KnownPrivateEndpointProvisioningState { /** Approving */ Approving = "Approving", /** Ready */ Ready = "Ready", /** Dropping */ Dropping = "Dropping", /** Failed */ Failed = "Failed", /** Rejecting */ Rejecting = "Rejecting" } /** * State of the private endpoint connection. \ * {@link KnownPrivateEndpointProvisioningState} can be used interchangeably with PrivateEndpointProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Approving**: Approving \ * **Ready**: Ready \ * **Dropping**: Dropping \ * **Failed**: Failed \ * **Rejecting**: Rejecting */ export type PrivateEndpointProvisioningState = string; /** Minimal TLS version. Allowed values: 'None', 1.0', '1.1', '1.2', '1.3' */ export declare enum KnownMinimalTlsVersion { /** None */ None = "None", /** 1.0 */ MinimalTlsVersion10 = "1.0", /** 1.1 */ MinimalTlsVersion11 = "1.1", /** 1.2 */ MinimalTlsVersion12 = "1.2", /** 1.3 */ MinimalTlsVersion13 = "1.3" } /** * Minimal TLS version. Allowed values: 'None', 1.0', '1.1', '1.2', '1.3' \ * {@link KnownMinimalTlsVersion} can be used interchangeably with MinimalTlsVersion, * this enum contains the known values that the service supports. * ### Known values supported by the service * **None**: None \ * **1.0**: 1.0 \ * **1.1**: 1.1 \ * **1.2**: 1.2 \ * **1.3**: 1.3 */ export type MinimalTlsVersion = string; /** Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' or 'SecuredByPerimeter' */ export declare enum KnownServerPublicNetworkAccessFlag { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled", /** SecuredByPerimeter */ SecuredByPerimeter = "SecuredByPerimeter" } /** * Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' or 'SecuredByPerimeter' \ * {@link KnownServerPublicNetworkAccessFlag} can be used interchangeably with ServerPublicNetworkAccessFlag, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled**: Enabled \ * **Disabled**: Disabled \ * **SecuredByPerimeter**: SecuredByPerimeter */ export type ServerPublicNetworkAccessFlag = string; /** Whether or not existing server has a workspace created and if it allows connection from workspace */ export declare enum KnownServerWorkspaceFeature { /** Connected */ Connected = "Connected", /** Disconnected */ Disconnected = "Disconnected" } /** * Whether or not existing server has a workspace created and if it allows connection from workspace \ * {@link KnownServerWorkspaceFeature} can be used interchangeably with ServerWorkspaceFeature, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Connected**: Connected \ * **Disconnected**: Disconnected */ export type ServerWorkspaceFeature = string; /** Properties of a active directory administrator. */ export interface ServerExternalAdministrator { /** Type of the sever administrator. */ administratorType?: AdministratorType; /** Principal Type of the sever administrator. */ principalType?: PrincipalType; /** Login name of the server administrator. */ login?: string; /** SID (object ID) of the server administrator. */ sid?: string; /** Tenant ID of the administrator. */ tenantId?: string; /** Azure Active Directory only Authentication enabled. */ azureADOnlyAuthentication?: boolean; } export declare function serverExternalAdministratorSerializer(item: ServerExternalAdministrator): any; export declare function serverExternalAdministratorDeserializer(item: any): ServerExternalAdministrator; /** Type of the sever administrator. */ export declare enum KnownAdministratorType { /** ActiveDirectory */ ActiveDirectory = "ActiveDirectory" } /** * Type of the sever administrator. \ * {@link KnownAdministratorType} can be used interchangeably with AdministratorType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **ActiveDirectory**: ActiveDirectory */ export type AdministratorType = string; /** Principal Type of the sever administrator. */ export declare enum KnownPrincipalType { /** User */ User = "User", /** Group */ Group = "Group", /** Application */ Application = "Application" } /** * Principal Type of the sever administrator. \ * {@link KnownPrincipalType} can be used interchangeably with PrincipalType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **User**: User \ * **Group**: Group \ * **Application**: Application */ export type PrincipalType = string; /** Whether or not to restrict outbound network access for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' */ export declare enum KnownServerNetworkAccessFlag { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled" } /** * Whether or not to restrict outbound network access for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' \ * {@link KnownServerNetworkAccessFlag} can be used interchangeably with ServerNetworkAccessFlag, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled**: Enabled \ * **Disabled**: Disabled */ export type ServerNetworkAccessFlag = string; /** Status of external governance. */ export declare enum KnownExternalGovernanceStatus { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled" } /** * Status of external governance. \ * {@link KnownExternalGovernanceStatus} can be used interchangeably with ExternalGovernanceStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled**: Enabled \ * **Disabled**: Disabled */ export type ExternalGovernanceStatus = string; /** Create mode for server, only valid values for this are Normal and Restore. */ export declare enum KnownServerCreateMode { /** Normal */ Normal = "Normal", /** Restore */ Restore = "Restore" } /** * Create mode for server, only valid values for this are Normal and Restore. \ * {@link KnownServerCreateMode} can be used interchangeably with ServerCreateMode, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Normal**: Normal \ * **Restore**: Restore */ export type ServerCreateMode = string; /** Azure Active Directory identity configuration for a resource. */ export interface ResourceIdentity { /** The resource ids of the user assigned identities to use */ userAssignedIdentities?: Record; /** The Azure Active Directory principal id. */ readonly principalId?: string; /** The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. */ type?: IdentityType; /** The Azure Active Directory tenant id. */ readonly tenantId?: string; } export declare function resourceIdentitySerializer(item: ResourceIdentity): any; export declare function resourceIdentityDeserializer(item: any): ResourceIdentity; export declare function userIdentityRecordSerializer(item: Record): Record; export declare function userIdentityRecordDeserializer(item: Record): Record; /** Azure Active Directory identity configuration for a resource. */ export interface UserIdentity { /** The Azure Active Directory principal id. */ readonly principalId?: string; /** The Azure Active Directory client id. */ readonly clientId?: string; } export declare function userIdentitySerializer(_item: UserIdentity): any; export declare function userIdentityDeserializer(item: any): UserIdentity; /** The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. */ export declare enum KnownIdentityType { /** None */ None = "None", /** SystemAssigned */ SystemAssigned = "SystemAssigned", /** UserAssigned */ UserAssigned = "UserAssigned", /** SystemAssigned,UserAssigned */ SystemAssignedUserAssigned = "SystemAssigned,UserAssigned" } /** * The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. \ * {@link KnownIdentityType} can be used interchangeably with IdentityType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **None**: None \ * **SystemAssigned**: SystemAssigned \ * **UserAssigned**: UserAssigned \ * **SystemAssigned,UserAssigned**: SystemAssigned,UserAssigned */ export type IdentityType = string; /** An update request for an Azure SQL Database server. */ export interface ServerUpdate { /** Server identity */ identity?: ResourceIdentity; /** Resource tags. */ tags?: Record; /** Administrator username for the server. Once created it cannot be changed. */ administratorLogin?: string; /** The administrator login password (required for server creation). */ administratorLoginPassword?: string; /** The version of the server. */ version?: string; /** The state of the server. */ readonly state?: string; /** The fully qualified domain name of the server. */ readonly fullyQualifiedDomainName?: string; /** List of private endpoint connections on a server */ readonly privateEndpointConnections?: ServerPrivateEndpointConnection[]; /** Minimal TLS version. Allowed values: 'None', 1.0', '1.1', '1.2', '1.3' */ minimalTlsVersion?: MinimalTlsVersion; /** Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' or 'SecuredByPerimeter' */ publicNetworkAccess?: ServerPublicNetworkAccessFlag; /** Whether or not existing server has a workspace created and if it allows connection from workspace */ readonly workspaceFeature?: ServerWorkspaceFeature; /** The resource id of a user assigned identity to be used by default. */ primaryUserAssignedIdentityId?: string; /** The Client id used for cross tenant CMK scenario */ federatedClientId?: string; /** A CMK URI of the key to use for encryption. */ keyId?: string; /** The Azure Active Directory administrator can be utilized during server creation and for server updates, except for the azureADOnlyAuthentication property. To update the azureADOnlyAuthentication property, individual API must be used. */ administrators?: ServerExternalAdministrator; /** Whether or not to restrict outbound network access for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' */ restrictOutboundNetworkAccess?: ServerNetworkAccessFlag; /** Whether or not to enable IPv6 support for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' */ isIPv6Enabled?: ServerNetworkAccessFlag; /** Status of external governance. */ readonly externalGovernanceStatus?: ExternalGovernanceStatus; /** Number of days this server will stay soft-deleted. */ retentionDays?: number; /** Create mode for server, only valid values for this are Normal and Restore. */ createMode?: ServerCreateMode; } export declare function serverUpdateSerializer(item: ServerUpdate): any; /** The response of a Server list operation. */ export interface _ServerListResult { /** The Server items on this page */ value: Server[]; /** The link to the next page of items */ nextLink?: string; } export declare function _serverListResultDeserializer(item: any): _ServerListResult; export declare function serverArraySerializer(result: Array): any[]; export declare function serverArrayDeserializer(result: Array): any[]; /** Contains the information necessary to perform import operation for new database. */ export interface ImportNewDatabaseDefinition { /** Name of the import database. */ databaseName?: string; /** Edition of the import database. */ edition?: string; /** Service level objective name of the import database. */ serviceObjectiveName?: string; /** Max size in bytes for the import database. */ maxSizeBytes?: string; /** Storage key type: StorageAccessKey, SharedAccessKey, or ManagedIdentity. */ storageKeyType: StorageKeyType; /** Storage key for the storage account. If StorageKeyType is ManagedIdentity, this field should specify the Managed Identity's resource ID. */ storageKey: string; /** Storage Uri. */ storageUri: string; /** Administrator login name. If AuthenticationType is ManagedIdentity, this field should specify the Managed Identity's resource ID. */ administratorLogin: string; /** Administrator login password. If AuthenticationType is ManagedIdentity, this field should not be specified. */ administratorLoginPassword?: string; /** Type of credentials provided for access to the target SQL server: SQL, ADPassword or ManagedIdentity. */ authenticationType?: string; /** Optional resource information to enable network isolation for request. */ networkIsolation?: NetworkIsolationSettings; } export declare function importNewDatabaseDefinitionSerializer(item: ImportNewDatabaseDefinition): any; /** An RefreshExternalGovernanceStatus operation result resource. */ export interface RefreshExternalGovernanceStatusOperationResult extends ProxyResource { /** Request Id. */ readonly requestId?: string; /** Request type. */ readonly requestType?: string; /** Queued time. */ readonly queuedTime?: string; /** Server name. */ readonly serverName?: string; /** Operation status. */ readonly status?: string; /** Error message. */ readonly errorMessage?: string; } export declare function refreshExternalGovernanceStatusOperationResultDeserializer(item: any): RefreshExternalGovernanceStatusOperationResult; /** Contains the operation result properties for refresh external governance status operation. */ export interface RefreshExternalGovernanceStatusOperationResultProperties { /** Request Id. */ readonly requestId?: string; /** Request type. */ readonly requestType?: string; /** Queued time. */ readonly queuedTime?: string; /** Server name. */ readonly serverName?: string; /** Operation status. */ readonly status?: string; /** Error message. */ readonly errorMessage?: string; } export declare function refreshExternalGovernanceStatusOperationResultPropertiesDeserializer(item: any): RefreshExternalGovernanceStatusOperationResultProperties; /** A request to check whether the specified name for a resource is available. */ export interface CheckNameAvailabilityRequest { name: string; type: CheckNameAvailabilityResourceType; } export declare function checkNameAvailabilityRequestSerializer(item: CheckNameAvailabilityRequest): any; /** Type of CheckNameAvailabilityResourceType */ export type CheckNameAvailabilityResourceType = "Microsoft.Sql/servers"; /** The result of a name availability check. */ export interface CheckNameAvailabilityResponse { /** The name whose availability was checked. */ readonly name?: string; /** True if the name is available, otherwise false. */ readonly available?: boolean; /** The reason code explaining why the name is unavailable. Will be undefined if the name is available. */ readonly reason?: CheckNameAvailabilityReason; /** A message explaining why the name is unavailable. Will be undefined if the name is available. */ readonly message?: string; } export declare function checkNameAvailabilityResponseDeserializer(item: any): CheckNameAvailabilityResponse; /** The reason code explaining why the name is unavailable. Will be undefined if the name is available. */ export type CheckNameAvailabilityReason = "Invalid" | "AlreadyExists"; /** A server blob auditing policy. */ export interface ServerBlobAuditingPolicy extends ProxyResource { /** * Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure Monitor. * In order to send the events to Azure Monitor, specify 'State' as 'Enabled', 'IsAzureMonitorTargetEnabled' as true and 'IsDevopsAuditEnabled' as true * * When using REST API to configure auditing, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on the master database should also be created. * * Diagnostic Settings URI format: * PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview * * For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) */ isDevopsAuditEnabled?: boolean; /** Specifies the number of days to keep in the audit logs in the storage account. */ retentionDays?: number; /** * Specifies the Actions-Groups and Actions to audit. * * The recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins: * * BATCH_COMPLETED_GROUP, * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, * FAILED_DATABASE_AUTHENTICATION_GROUP. * * This above combination is also the set that is configured by default when enabling auditing from the Azure portal. * * The supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records): * * APPLICATION_ROLE_CHANGE_PASSWORD_GROUP * BACKUP_RESTORE_GROUP * DATABASE_LOGOUT_GROUP * DATABASE_OBJECT_CHANGE_GROUP * DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP * DATABASE_OBJECT_PERMISSION_CHANGE_GROUP * DATABASE_OPERATION_GROUP * DATABASE_PERMISSION_CHANGE_GROUP * DATABASE_PRINCIPAL_CHANGE_GROUP * DATABASE_PRINCIPAL_IMPERSONATION_GROUP * DATABASE_ROLE_MEMBER_CHANGE_GROUP * FAILED_DATABASE_AUTHENTICATION_GROUP * SCHEMA_OBJECT_ACCESS_GROUP * SCHEMA_OBJECT_CHANGE_GROUP * SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP * SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP * USER_CHANGE_PASSWORD_GROUP * BATCH_STARTED_GROUP * BATCH_COMPLETED_GROUP * DBCC_GROUP * DATABASE_OWNERSHIP_CHANGE_GROUP * DATABASE_CHANGE_GROUP * LEDGER_OPERATION_GROUP * * These are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs. * * For more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). * * For Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are: * SELECT * UPDATE * INSERT * DELETE * EXECUTE * RECEIVE * REFERENCES * * The general form for defining an action to be audited is: * {action} ON {object} BY {principal} * * Note that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively. * * For example: * SELECT on dbo.myTable by public * SELECT on DATABASE::myDatabase by public * SELECT on SCHEMA::mySchema by public * * For more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) */ auditActionsAndGroups?: string[]; /** Specifies whether storageAccountAccessKey value is the storage's secondary key. */ isStorageSecondaryKeyInUse?: boolean; /** * Specifies whether audit events are sent to Azure Monitor. * In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true. * * When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created. * Note that for server level audit you should use the 'master' database as {databaseName}. * * Diagnostic Settings URI format: * PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview * * For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) */ isAzureMonitorTargetEnabled?: boolean; /** * Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be processed. * The default minimum value is 1000 (1 second). The maximum is 2,147,483,647. */ queueDelayMs?: number; /** Specifies whether Managed Identity is used to access blob storage */ isManagedIdentityInUse?: boolean; /** Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required. */ state?: BlobAuditingPolicyState; /** Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. */ storageEndpoint?: string; /** * Specifies the identifier key of the auditing storage account. * If state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage. * Prerequisites for using managed identity authentication: * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity. * For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) */ storageAccountAccessKey?: string; /** Specifies the blob storage subscription Id. */ storageAccountSubscriptionId?: string; } export declare function serverBlobAuditingPolicySerializer(item: ServerBlobAuditingPolicy): any; export declare function serverBlobAuditingPolicyDeserializer(item: any): ServerBlobAuditingPolicy; /** Properties of a server blob auditing policy. */ export interface ServerBlobAuditingPolicyProperties { /** * Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure Monitor. * In order to send the events to Azure Monitor, specify 'State' as 'Enabled', 'IsAzureMonitorTargetEnabled' as true and 'IsDevopsAuditEnabled' as true * * When using REST API to configure auditing, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on the master database should also be created. * * Diagnostic Settings URI format: * PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview * * For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) */ isDevopsAuditEnabled?: boolean; /** Specifies the number of days to keep in the audit logs in the storage account. */ retentionDays?: number; /** * Specifies the Actions-Groups and Actions to audit. * * The recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins: * * BATCH_COMPLETED_GROUP, * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, * FAILED_DATABASE_AUTHENTICATION_GROUP. * * This above combination is also the set that is configured by default when enabling auditing from the Azure portal. * * The supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records): * * APPLICATION_ROLE_CHANGE_PASSWORD_GROUP * BACKUP_RESTORE_GROUP * DATABASE_LOGOUT_GROUP * DATABASE_OBJECT_CHANGE_GROUP * DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP * DATABASE_OBJECT_PERMISSION_CHANGE_GROUP * DATABASE_OPERATION_GROUP * DATABASE_PERMISSION_CHANGE_GROUP * DATABASE_PRINCIPAL_CHANGE_GROUP * DATABASE_PRINCIPAL_IMPERSONATION_GROUP * DATABASE_ROLE_MEMBER_CHANGE_GROUP * FAILED_DATABASE_AUTHENTICATION_GROUP * SCHEMA_OBJECT_ACCESS_GROUP * SCHEMA_OBJECT_CHANGE_GROUP * SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP * SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP * USER_CHANGE_PASSWORD_GROUP * BATCH_STARTED_GROUP * BATCH_COMPLETED_GROUP * DBCC_GROUP * DATABASE_OWNERSHIP_CHANGE_GROUP * DATABASE_CHANGE_GROUP * LEDGER_OPERATION_GROUP * * These are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs. * * For more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). * * For Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are: * SELECT * UPDATE * INSERT * DELETE * EXECUTE * RECEIVE * REFERENCES * * The general form for defining an action to be audited is: * {action} ON {object} BY {principal} * * Note that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively. * * For example: * SELECT on dbo.myTable by public * SELECT on DATABASE::myDatabase by public * SELECT on SCHEMA::mySchema by public * * For more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) */ auditActionsAndGroups?: string[]; /** Specifies whether storageAccountAccessKey value is the storage's secondary key. */ isStorageSecondaryKeyInUse?: boolean; /** * Specifies whether audit events are sent to Azure Monitor. * In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true. * * When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created. * Note that for server level audit you should use the 'master' database as {databaseName}. * * Diagnostic Settings URI format: * PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview * * For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) */ isAzureMonitorTargetEnabled?: boolean; /** * Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be processed. * The default minimum value is 1000 (1 second). The maximum is 2,147,483,647. */ queueDelayMs?: number; /** Specifies whether Managed Identity is used to access blob storage */ isManagedIdentityInUse?: boolean; /** Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required. */ state: BlobAuditingPolicyState; /** Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. */ storageEndpoint?: string; /** * Specifies the identifier key of the auditing storage account. * If state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage. * Prerequisites for using managed identity authentication: * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity. * For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) */ storageAccountAccessKey?: string; /** Specifies the blob storage subscription Id. */ storageAccountSubscriptionId?: string; } export declare function serverBlobAuditingPolicyPropertiesSerializer(item: ServerBlobAuditingPolicyProperties): any; export declare function serverBlobAuditingPolicyPropertiesDeserializer(item: any): ServerBlobAuditingPolicyProperties; /** Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required. */ export type BlobAuditingPolicyState = "Enabled" | "Disabled"; /** The response of a ServerBlobAuditingPolicy list operation. */ export interface _ServerBlobAuditingPolicyListResult { /** The ServerBlobAuditingPolicy items on this page */ value: ServerBlobAuditingPolicy[]; /** The link to the next page of items */ nextLink?: string; } export declare function _serverBlobAuditingPolicyListResultDeserializer(item: any): _ServerBlobAuditingPolicyListResult; export declare function serverBlobAuditingPolicyArraySerializer(result: Array): any[]; export declare function serverBlobAuditingPolicyArrayDeserializer(result: Array): any[]; /** A database blob auditing policy. */ export interface DatabaseBlobAuditingPolicy extends ProxyResource { /** Resource kind. */ readonly kind?: string; /** Specifies the number of days to keep in the audit logs in the storage account. */ retentionDays?: number; /** * Specifies the Actions-Groups and Actions to audit. * * The recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins: * * BATCH_COMPLETED_GROUP, * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, * FAILED_DATABASE_AUTHENTICATION_GROUP. * * This above combination is also the set that is configured by default when enabling auditing from the Azure portal. * * The supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records): * * APPLICATION_ROLE_CHANGE_PASSWORD_GROUP * BACKUP_RESTORE_GROUP * DATABASE_LOGOUT_GROUP * DATABASE_OBJECT_CHANGE_GROUP * DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP * DATABASE_OBJECT_PERMISSION_CHANGE_GROUP * DATABASE_OPERATION_GROUP * DATABASE_PERMISSION_CHANGE_GROUP * DATABASE_PRINCIPAL_CHANGE_GROUP * DATABASE_PRINCIPAL_IMPERSONATION_GROUP * DATABASE_ROLE_MEMBER_CHANGE_GROUP * FAILED_DATABASE_AUTHENTICATION_GROUP * SCHEMA_OBJECT_ACCESS_GROUP * SCHEMA_OBJECT_CHANGE_GROUP * SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP * SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP * USER_CHANGE_PASSWORD_GROUP * BATCH_STARTED_GROUP * BATCH_COMPLETED_GROUP * DBCC_GROUP * DATABASE_OWNERSHIP_CHANGE_GROUP * DATABASE_CHANGE_GROUP * LEDGER_OPERATION_GROUP * * These are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs. * * For more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). * * For Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are: * SELECT * UPDATE * INSERT * DELETE * EXECUTE * RECEIVE * REFERENCES * * The general form for defining an action to be audited is: * {action} ON {object} BY {principal} * * Note that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively. * * For example: * SELECT on dbo.myTable by public * SELECT on DATABASE::myDatabase by public * SELECT on SCHEMA::mySchema by public * * For more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) */ auditActionsAndGroups?: string[]; /** Specifies whether storageAccountAccessKey value is the storage's secondary key. */ isStorageSecondaryKeyInUse?: boolean; /** * Specifies whether audit events are sent to Azure Monitor. * In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true. * * When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created. * Note that for server level audit you should use the 'master' database as {databaseName}. * * Diagnostic Settings URI format: * PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview * * For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) */ isAzureMonitorTargetEnabled?: boolean; /** * Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be processed. * The default minimum value is 1000 (1 second). The maximum is 2,147,483,647. */ queueDelayMs?: number; /** Specifies whether Managed Identity is used to access blob storage */ isManagedIdentityInUse?: boolean; /** Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required. */ state?: BlobAuditingPolicyState; /** Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. */ storageEndpoint?: string; /** * Specifies the identifier key of the auditing storage account. * If state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage. * Prerequisites for using managed identity authentication: * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity. * For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) */ storageAccountAccessKey?: string; /** Specifies the blob storage subscription Id. */ storageAccountSubscriptionId?: string; } export declare function databaseBlobAuditingPolicySerializer(item: DatabaseBlobAuditingPolicy): any; export declare function databaseBlobAuditingPolicyDeserializer(item: any): DatabaseBlobAuditingPolicy; /** Properties of a database blob auditing policy. */ export interface DatabaseBlobAuditingPolicyProperties { /** Specifies the number of days to keep in the audit logs in the storage account. */ retentionDays?: number; /** * Specifies the Actions-Groups and Actions to audit. * * The recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins: * * BATCH_COMPLETED_GROUP, * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, * FAILED_DATABASE_AUTHENTICATION_GROUP. * * This above combination is also the set that is configured by default when enabling auditing from the Azure portal. * * The supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records): * * APPLICATION_ROLE_CHANGE_PASSWORD_GROUP * BACKUP_RESTORE_GROUP * DATABASE_LOGOUT_GROUP * DATABASE_OBJECT_CHANGE_GROUP * DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP * DATABASE_OBJECT_PERMISSION_CHANGE_GROUP * DATABASE_OPERATION_GROUP * DATABASE_PERMISSION_CHANGE_GROUP * DATABASE_PRINCIPAL_CHANGE_GROUP * DATABASE_PRINCIPAL_IMPERSONATION_GROUP * DATABASE_ROLE_MEMBER_CHANGE_GROUP * FAILED_DATABASE_AUTHENTICATION_GROUP * SCHEMA_OBJECT_ACCESS_GROUP * SCHEMA_OBJECT_CHANGE_GROUP * SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP * SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP * USER_CHANGE_PASSWORD_GROUP * BATCH_STARTED_GROUP * BATCH_COMPLETED_GROUP * DBCC_GROUP * DATABASE_OWNERSHIP_CHANGE_GROUP * DATABASE_CHANGE_GROUP * LEDGER_OPERATION_GROUP * * These are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs. * * For more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). * * For Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are: * SELECT * UPDATE * INSERT * DELETE * EXECUTE * RECEIVE * REFERENCES * * The general form for defining an action to be audited is: * {action} ON {object} BY {principal} * * Note that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively. * * For example: * SELECT on dbo.myTable by public * SELECT on DATABASE::myDatabase by public * SELECT on SCHEMA::mySchema by public * * For more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) */ auditActionsAndGroups?: string[]; /** Specifies whether storageAccountAccessKey value is the storage's secondary key. */ isStorageSecondaryKeyInUse?: boolean; /** * Specifies whether audit events are sent to Azure Monitor. * In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true. * * When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created. * Note that for server level audit you should use the 'master' database as {databaseName}. * * Diagnostic Settings URI format: * PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview * * For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) */ isAzureMonitorTargetEnabled?: boolean; /** * Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be processed. * The default minimum value is 1000 (1 second). The maximum is 2,147,483,647. */ queueDelayMs?: number; /** Specifies whether Managed Identity is used to access blob storage */ isManagedIdentityInUse?: boolean; /** Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required. */ state: BlobAuditingPolicyState; /** Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. */ storageEndpoint?: string; /** * Specifies the identifier key of the auditing storage account. * If state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage. * Prerequisites for using managed identity authentication: * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity. * For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) */ storageAccountAccessKey?: string; /** Specifies the blob storage subscription Id. */ storageAccountSubscriptionId?: string; } export declare function databaseBlobAuditingPolicyPropertiesSerializer(item: DatabaseBlobAuditingPolicyProperties): any; export declare function databaseBlobAuditingPolicyPropertiesDeserializer(item: any): DatabaseBlobAuditingPolicyProperties; /** The response of a DatabaseBlobAuditingPolicy list operation. */ export interface _DatabaseBlobAuditingPolicyListResult { /** The DatabaseBlobAuditingPolicy items on this page */ value: DatabaseBlobAuditingPolicy[]; /** The link to the next page of items */ nextLink?: string; } export declare function _databaseBlobAuditingPolicyListResultDeserializer(item: any): _DatabaseBlobAuditingPolicyListResult; export declare function databaseBlobAuditingPolicyArraySerializer(result: Array): any[]; export declare function databaseBlobAuditingPolicyArrayDeserializer(result: Array): any[]; /** An extended database blob auditing policy. */ export interface ExtendedDatabaseBlobAuditingPolicy extends ProxyResource { /** Specifies condition of where clause when creating an audit. */ predicateExpression?: string; /** Specifies the number of days to keep in the audit logs in the storage account. */ retentionDays?: number; /** * Specifies the Actions-Groups and Actions to audit. * * The recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins: * * BATCH_COMPLETED_GROUP, * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, * FAILED_DATABASE_AUTHENTICATION_GROUP. * * This above combination is also the set that is configured by default when enabling auditing from the Azure portal. * * The supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records): * * APPLICATION_ROLE_CHANGE_PASSWORD_GROUP * BACKUP_RESTORE_GROUP * DATABASE_LOGOUT_GROUP * DATABASE_OBJECT_CHANGE_GROUP * DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP * DATABASE_OBJECT_PERMISSION_CHANGE_GROUP * DATABASE_OPERATION_GROUP * DATABASE_PERMISSION_CHANGE_GROUP * DATABASE_PRINCIPAL_CHANGE_GROUP * DATABASE_PRINCIPAL_IMPERSONATION_GROUP * DATABASE_ROLE_MEMBER_CHANGE_GROUP * FAILED_DATABASE_AUTHENTICATION_GROUP * SCHEMA_OBJECT_ACCESS_GROUP * SCHEMA_OBJECT_CHANGE_GROUP * SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP * SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP * USER_CHANGE_PASSWORD_GROUP * BATCH_STARTED_GROUP * BATCH_COMPLETED_GROUP * DBCC_GROUP * DATABASE_OWNERSHIP_CHANGE_GROUP * DATABASE_CHANGE_GROUP * LEDGER_OPERATION_GROUP * * These are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs. * * For more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). * * For Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are: * SELECT * UPDATE * INSERT * DELETE * EXECUTE * RECEIVE * REFERENCES * * The general form for defining an action to be audited is: * {action} ON {object} BY {principal} * * Note that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively. * * For example: * SELECT on dbo.myTable by public * SELECT on DATABASE::myDatabase by public * SELECT on SCHEMA::mySchema by public * * For more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) */ auditActionsAndGroups?: string[]; /** Specifies whether storageAccountAccessKey value is the storage's secondary key. */ isStorageSecondaryKeyInUse?: boolean; /** * Specifies whether audit events are sent to Azure Monitor. * In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true. * * When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created. * Note that for server level audit you should use the 'master' database as {databaseName}. * * Diagnostic Settings URI format: * PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview * * For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) */ isAzureMonitorTargetEnabled?: boolean; /** * Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be processed. * The default minimum value is 1000 (1 second). The maximum is 2,147,483,647. */ queueDelayMs?: number; /** Specifies whether Managed Identity is used to access blob storage */ isManagedIdentityInUse?: boolean; /** Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required. */ state?: BlobAuditingPolicyState; /** Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. */ storageEndpoint?: string; /** * Specifies the identifier key of the auditing storage account. * If state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage. * Prerequisites for using managed identity authentication: * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity. * For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) */ storageAccountAccessKey?: string; /** Specifies the blob storage subscription Id. */ storageAccountSubscriptionId?: string; } export declare function extendedDatabaseBlobAuditingPolicySerializer(item: ExtendedDatabaseBlobAuditingPolicy): any; export declare function extendedDatabaseBlobAuditingPolicyDeserializer(item: any): ExtendedDatabaseBlobAuditingPolicy; /** Properties of an extended database blob auditing policy. */ export interface ExtendedDatabaseBlobAuditingPolicyProperties { /** Specifies condition of where clause when creating an audit. */ predicateExpression?: string; /** Specifies the number of days to keep in the audit logs in the storage account. */ retentionDays?: number; /** * Specifies the Actions-Groups and Actions to audit. * * The recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins: * * BATCH_COMPLETED_GROUP, * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, * FAILED_DATABASE_AUTHENTICATION_GROUP. * * This above combination is also the set that is configured by default when enabling auditing from the Azure portal. * * The supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records): * * APPLICATION_ROLE_CHANGE_PASSWORD_GROUP * BACKUP_RESTORE_GROUP * DATABASE_LOGOUT_GROUP * DATABASE_OBJECT_CHANGE_GROUP * DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP * DATABASE_OBJECT_PERMISSION_CHANGE_GROUP * DATABASE_OPERATION_GROUP * DATABASE_PERMISSION_CHANGE_GROUP * DATABASE_PRINCIPAL_CHANGE_GROUP * DATABASE_PRINCIPAL_IMPERSONATION_GROUP * DATABASE_ROLE_MEMBER_CHANGE_GROUP * FAILED_DATABASE_AUTHENTICATION_GROUP * SCHEMA_OBJECT_ACCESS_GROUP * SCHEMA_OBJECT_CHANGE_GROUP * SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP * SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP * USER_CHANGE_PASSWORD_GROUP * BATCH_STARTED_GROUP * BATCH_COMPLETED_GROUP * DBCC_GROUP * DATABASE_OWNERSHIP_CHANGE_GROUP * DATABASE_CHANGE_GROUP * LEDGER_OPERATION_GROUP * * These are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs. * * For more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). * * For Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are: * SELECT * UPDATE * INSERT * DELETE * EXECUTE * RECEIVE * REFERENCES * * The general form for defining an action to be audited is: * {action} ON {object} BY {principal} * * Note that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively. * * For example: * SELECT on dbo.myTable by public * SELECT on DATABASE::myDatabase by public * SELECT on SCHEMA::mySchema by public * * For more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) */ auditActionsAndGroups?: string[]; /** Specifies whether storageAccountAccessKey value is the storage's secondary key. */ isStorageSecondaryKeyInUse?: boolean; /** * Specifies whether audit events are sent to Azure Monitor. * In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true. * * When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created. * Note that for server level audit you should use the 'master' database as {databaseName}. * * Diagnostic Settings URI format: * PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview * * For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) */ isAzureMonitorTargetEnabled?: boolean; /** * Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be processed. * The default minimum value is 1000 (1 second). The maximum is 2,147,483,647. */ queueDelayMs?: number; /** Specifies whether Managed Identity is used to access blob storage */ isManagedIdentityInUse?: boolean; /** Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required. */ state: BlobAuditingPolicyState; /** Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. */ storageEndpoint?: string; /** * Specifies the identifier key of the auditing storage account. * If state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage. * Prerequisites for using managed identity authentication: * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity. * For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) */ storageAccountAccessKey?: string; /** Specifies the blob storage subscription Id. */ storageAccountSubscriptionId?: string; } export declare function extendedDatabaseBlobAuditingPolicyPropertiesSerializer(item: ExtendedDatabaseBlobAuditingPolicyProperties): any; export declare function extendedDatabaseBlobAuditingPolicyPropertiesDeserializer(item: any): ExtendedDatabaseBlobAuditingPolicyProperties; /** The response of a ExtendedDatabaseBlobAuditingPolicy list operation. */ export interface _ExtendedDatabaseBlobAuditingPolicyListResult { /** The ExtendedDatabaseBlobAuditingPolicy items on this page */ value: ExtendedDatabaseBlobAuditingPolicy[]; /** The link to the next page of items */ nextLink?: string; } export declare function _extendedDatabaseBlobAuditingPolicyListResultDeserializer(item: any): _ExtendedDatabaseBlobAuditingPolicyListResult; export declare function extendedDatabaseBlobAuditingPolicyArraySerializer(result: Array): any[]; export declare function extendedDatabaseBlobAuditingPolicyArrayDeserializer(result: Array): any[]; /** An extended server blob auditing policy. */ export interface ExtendedServerBlobAuditingPolicy extends ProxyResource { /** * Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure Monitor. * In order to send the events to Azure Monitor, specify 'State' as 'Enabled', 'IsAzureMonitorTargetEnabled' as true and 'IsDevopsAuditEnabled' as true * * When using REST API to configure auditing, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on the master database should also be created. * * Diagnostic Settings URI format: * PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview * * For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) */ isDevopsAuditEnabled?: boolean; /** Specifies condition of where clause when creating an audit. */ predicateExpression?: string; /** Specifies the number of days to keep in the audit logs in the storage account. */ retentionDays?: number; /** * Specifies the Actions-Groups and Actions to audit. * * The recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins: * * BATCH_COMPLETED_GROUP, * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, * FAILED_DATABASE_AUTHENTICATION_GROUP. * * This above combination is also the set that is configured by default when enabling auditing from the Azure portal. * * The supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records): * * APPLICATION_ROLE_CHANGE_PASSWORD_GROUP * BACKUP_RESTORE_GROUP * DATABASE_LOGOUT_GROUP * DATABASE_OBJECT_CHANGE_GROUP * DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP * DATABASE_OBJECT_PERMISSION_CHANGE_GROUP * DATABASE_OPERATION_GROUP * DATABASE_PERMISSION_CHANGE_GROUP * DATABASE_PRINCIPAL_CHANGE_GROUP * DATABASE_PRINCIPAL_IMPERSONATION_GROUP * DATABASE_ROLE_MEMBER_CHANGE_GROUP * FAILED_DATABASE_AUTHENTICATION_GROUP * SCHEMA_OBJECT_ACCESS_GROUP * SCHEMA_OBJECT_CHANGE_GROUP * SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP * SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP * USER_CHANGE_PASSWORD_GROUP * BATCH_STARTED_GROUP * BATCH_COMPLETED_GROUP * DBCC_GROUP * DATABASE_OWNERSHIP_CHANGE_GROUP * DATABASE_CHANGE_GROUP * LEDGER_OPERATION_GROUP * * These are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs. * * For more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). * * For Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are: * SELECT * UPDATE * INSERT * DELETE * EXECUTE * RECEIVE * REFERENCES * * The general form for defining an action to be audited is: * {action} ON {object} BY {principal} * * Note that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively. * * For example: * SELECT on dbo.myTable by public * SELECT on DATABASE::myDatabase by public * SELECT on SCHEMA::mySchema by public * * For more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) */ auditActionsAndGroups?: string[]; /** Specifies whether storageAccountAccessKey value is the storage's secondary key. */ isStorageSecondaryKeyInUse?: boolean; /** * Specifies whether audit events are sent to Azure Monitor. * In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true. * * When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created. * Note that for server level audit you should use the 'master' database as {databaseName}. * * Diagnostic Settings URI format: * PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview * * For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) */ isAzureMonitorTargetEnabled?: boolean; /** * Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be processed. * The default minimum value is 1000 (1 second). The maximum is 2,147,483,647. */ queueDelayMs?: number; /** Specifies whether Managed Identity is used to access blob storage */ isManagedIdentityInUse?: boolean; /** Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required. */ state?: BlobAuditingPolicyState; /** Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. */ storageEndpoint?: string; /** * Specifies the identifier key of the auditing storage account. * If state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage. * Prerequisites for using managed identity authentication: * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity. * For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) */ storageAccountAccessKey?: string; /** Specifies the blob storage subscription Id. */ storageAccountSubscriptionId?: string; } export declare function extendedServerBlobAuditingPolicySerializer(item: ExtendedServerBlobAuditingPolicy): any; export declare function extendedServerBlobAuditingPolicyDeserializer(item: any): ExtendedServerBlobAuditingPolicy; /** Properties of an extended server blob auditing policy. */ export interface ExtendedServerBlobAuditingPolicyProperties { /** * Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure Monitor. * In order to send the events to Azure Monitor, specify 'State' as 'Enabled', 'IsAzureMonitorTargetEnabled' as true and 'IsDevopsAuditEnabled' as true * * When using REST API to configure auditing, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on the master database should also be created. * * Diagnostic Settings URI format: * PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview * * For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) */ isDevopsAuditEnabled?: boolean; /** Specifies condition of where clause when creating an audit. */ predicateExpression?: string; /** Specifies the number of days to keep in the audit logs in the storage account. */ retentionDays?: number; /** * Specifies the Actions-Groups and Actions to audit. * * The recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins: * * BATCH_COMPLETED_GROUP, * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP, * FAILED_DATABASE_AUTHENTICATION_GROUP. * * This above combination is also the set that is configured by default when enabling auditing from the Azure portal. * * The supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records): * * APPLICATION_ROLE_CHANGE_PASSWORD_GROUP * BACKUP_RESTORE_GROUP * DATABASE_LOGOUT_GROUP * DATABASE_OBJECT_CHANGE_GROUP * DATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP * DATABASE_OBJECT_PERMISSION_CHANGE_GROUP * DATABASE_OPERATION_GROUP * DATABASE_PERMISSION_CHANGE_GROUP * DATABASE_PRINCIPAL_CHANGE_GROUP * DATABASE_PRINCIPAL_IMPERSONATION_GROUP * DATABASE_ROLE_MEMBER_CHANGE_GROUP * FAILED_DATABASE_AUTHENTICATION_GROUP * SCHEMA_OBJECT_ACCESS_GROUP * SCHEMA_OBJECT_CHANGE_GROUP * SCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP * SCHEMA_OBJECT_PERMISSION_CHANGE_GROUP * SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP * USER_CHANGE_PASSWORD_GROUP * BATCH_STARTED_GROUP * BATCH_COMPLETED_GROUP * DBCC_GROUP * DATABASE_OWNERSHIP_CHANGE_GROUP * DATABASE_CHANGE_GROUP * LEDGER_OPERATION_GROUP * * These are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs. * * For more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups). * * For Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are: * SELECT * UPDATE * INSERT * DELETE * EXECUTE * RECEIVE * REFERENCES * * The general form for defining an action to be audited is: * {action} ON {object} BY {principal} * * Note that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively. * * For example: * SELECT on dbo.myTable by public * SELECT on DATABASE::myDatabase by public * SELECT on SCHEMA::mySchema by public * * For more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions) */ auditActionsAndGroups?: string[]; /** Specifies whether storageAccountAccessKey value is the storage's secondary key. */ isStorageSecondaryKeyInUse?: boolean; /** * Specifies whether audit events are sent to Azure Monitor. * In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true. * * When using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created. * Note that for server level audit you should use the 'master' database as {databaseName}. * * Diagnostic Settings URI format: * PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview * * For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) */ isAzureMonitorTargetEnabled?: boolean; /** * Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be processed. * The default minimum value is 1000 (1 second). The maximum is 2,147,483,647. */ queueDelayMs?: number; /** Specifies whether Managed Identity is used to access blob storage */ isManagedIdentityInUse?: boolean; /** Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required. */ state: BlobAuditingPolicyState; /** Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. */ storageEndpoint?: string; /** * Specifies the identifier key of the auditing storage account. * If state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage. * Prerequisites for using managed identity authentication: * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity. * For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) */ storageAccountAccessKey?: string; /** Specifies the blob storage subscription Id. */ storageAccountSubscriptionId?: string; } export declare function extendedServerBlobAuditingPolicyPropertiesSerializer(item: ExtendedServerBlobAuditingPolicyProperties): any; export declare function extendedServerBlobAuditingPolicyPropertiesDeserializer(item: any): ExtendedServerBlobAuditingPolicyProperties; /** The response of a ExtendedServerBlobAuditingPolicy list operation. */ export interface _ExtendedServerBlobAuditingPolicyListResult { /** The ExtendedServerBlobAuditingPolicy items on this page */ value: ExtendedServerBlobAuditingPolicy[]; /** The link to the next page of items */ nextLink?: string; } export declare function _extendedServerBlobAuditingPolicyListResultDeserializer(item: any): _ExtendedServerBlobAuditingPolicyListResult; export declare function extendedServerBlobAuditingPolicyArraySerializer(result: Array): any[]; export declare function extendedServerBlobAuditingPolicyArrayDeserializer(result: Array): any[]; /** Database, Server or Elastic Pool Advisor. */ export interface Advisor extends ProxyResource { /** Resource kind. */ readonly kind?: string; /** Resource location. */ readonly location?: string; /** Gets the status of availability of this advisor to customers. Possible values are 'GA', 'PublicPreview', 'LimitedPublicPreview' and 'PrivatePreview'. */ readonly advisorStatus?: AdvisorStatus; /** Gets the auto-execute status (whether to let the system execute the recommendations) of this advisor. Possible values are 'Enabled' and 'Disabled' */ autoExecuteStatus?: AutoExecuteStatus; /** 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). */ readonly autoExecuteStatusInheritedFrom?: AutoExecuteStatusInheritedFrom; /** Gets that status of recommendations for this advisor and reason for not having any recommendations. Possible values include, but are not limited to, 'Ok' (Recommendations available),LowActivity (not enough workload to analyze), 'DbSeemsTuned' (Database is doing well), etc. */ readonly recommendationsStatus?: string; /** Gets the time when the current resource was analyzed for recommendations by this advisor. */ readonly lastChecked?: Date; /** Gets the recommended actions for this advisor. */ readonly recommendedActions?: RecommendedAction[]; } export declare function advisorSerializer(item: Advisor): any; export declare function advisorDeserializer(item: any): Advisor; /** Properties for a Database, Server or Elastic Pool Advisor. */ export interface AdvisorProperties { /** Gets the status of availability of this advisor to customers. Possible values are 'GA', 'PublicPreview', 'LimitedPublicPreview' and 'PrivatePreview'. */ readonly advisorStatus?: AdvisorStatus; /** Gets the auto-execute status (whether to let the system execute the recommendations) of this advisor. Possible values are 'Enabled' and 'Disabled' */ autoExecuteStatus: AutoExecuteStatus; /** 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). */ readonly autoExecuteStatusInheritedFrom?: AutoExecuteStatusInheritedFrom; /** Gets that status of recommendations for this advisor and reason for not having any recommendations. Possible values include, but are not limited to, 'Ok' (Recommendations available),LowActivity (not enough workload to analyze), 'DbSeemsTuned' (Database is doing well), etc. */ readonly recommendationsStatus?: string; /** Gets the time when the current resource was analyzed for recommendations by this advisor. */ readonly lastChecked?: Date; /** Gets the recommended actions for this advisor. */ readonly recommendedActions?: RecommendedAction[]; } export declare function advisorPropertiesSerializer(item: AdvisorProperties): any; export declare function advisorPropertiesDeserializer(item: any): AdvisorProperties; /** Gets the status of availability of this advisor to customers. Possible values are 'GA', 'PublicPreview', 'LimitedPublicPreview' and 'PrivatePreview'. */ export type AdvisorStatus = "GA" | "PublicPreview" | "LimitedPublicPreview" | "PrivatePreview"; /** Gets the auto-execute status (whether to let the system execute the recommendations) of this advisor. Possible values are 'Enabled' and 'Disabled' */ export type AutoExecuteStatus = "Enabled" | "Disabled" | "Default"; /** 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). */ export type AutoExecuteStatusInheritedFrom = "Default" | "Subscription" | "Server" | "ElasticPool" | "Database"; export declare function recommendedActionArraySerializer(result: Array): any[]; export declare function recommendedActionArrayDeserializer(result: Array): any[]; /** Database, Server or Elastic Pool Recommended Action. */ export interface RecommendedAction extends ProxyResource { /** Resource kind. */ readonly kind?: string; /** Resource location. */ readonly location?: string; /** Gets the reason for recommending this action. e.g., DuplicateIndex */ readonly recommendationReason?: string; /** Gets the time since when this recommended action is valid. */ readonly validSince?: Date; /** Gets time when this recommended action was last refreshed. */ readonly lastRefresh?: Date; /** Gets the info of the current state the recommended action is in. */ state?: RecommendedActionStateInfo; /** Gets if this recommended action is actionable by user */ readonly isExecutableAction?: boolean; /** Gets if changes applied by this recommended action can be reverted by user */ readonly isRevertableAction?: boolean; /** Gets if this recommended action was suggested some time ago but user chose to ignore this and system added a new recommended action again. */ readonly isArchivedAction?: boolean; /** Gets the time when system started applying this recommended action on the user resource. e.g., index creation start time */ readonly executeActionStartTime?: Date; /** Gets the time taken for applying this recommended action on user resource. e.g., time taken for index creation */ readonly executeActionDuration?: string; /** Gets the time when system started reverting changes of this recommended action on user resource. e.g., time when index drop is executed. */ readonly revertActionStartTime?: Date; /** Gets the time taken for reverting changes of this recommended action on user resource. e.g., time taken for dropping the created index. */ readonly revertActionDuration?: string; /** Gets if approval for applying this recommended action was given by user/system. */ readonly executeActionInitiatedBy?: RecommendedActionInitiatedBy; /** Gets the time when this recommended action was approved for execution. */ readonly executeActionInitiatedTime?: Date; /** Gets if approval for reverting this recommended action was given by user/system. */ readonly revertActionInitiatedBy?: RecommendedActionInitiatedBy; /** Gets the time when this recommended action was approved for revert. */ readonly revertActionInitiatedTime?: Date; /** Gets the impact of this recommended action. Possible values are 1 - Low impact, 2 - Medium Impact and 3 - High Impact */ readonly score?: number; /** Gets the implementation details of this recommended action for user to apply it manually. */ readonly implementationDetails?: RecommendedActionImplementationInfo; /** Gets the error details if and why this recommended action is put to error state. */ readonly errorDetails?: RecommendedActionErrorInfo; /** Gets the estimated impact info for this recommended action e.g., Estimated CPU gain, Estimated Disk Space change */ readonly estimatedImpact?: RecommendedActionImpactRecord[]; /** Gets the observed/actual impact info for this recommended action e.g., Actual CPU gain, Actual Disk Space change */ readonly observedImpact?: RecommendedActionImpactRecord[]; /** Gets the time series info of metrics for this recommended action e.g., CPU consumption time series */ readonly timeSeries?: RecommendedActionMetricInfo[]; /** Gets the linked objects, if any. */ readonly linkedObjects?: string[]; /** Gets additional details specific to this recommended action. */ readonly details?: Record; } export declare function recommendedActionSerializer(item: RecommendedAction): any; export declare function recommendedActionDeserializer(item: any): RecommendedAction; /** Properties for a Database, Server or Elastic Pool Recommended Action. */ export interface RecommendedActionProperties { /** Gets the reason for recommending this action. e.g., DuplicateIndex */ readonly recommendationReason?: string; /** Gets the time since when this recommended action is valid. */ readonly validSince?: Date; /** Gets time when this recommended action was last refreshed. */ readonly lastRefresh?: Date; /** Gets the info of the current state the recommended action is in. */ state: RecommendedActionStateInfo; /** Gets if this recommended action is actionable by user */ readonly isExecutableAction?: boolean; /** Gets if changes applied by this recommended action can be reverted by user */ readonly isRevertableAction?: boolean; /** Gets if this recommended action was suggested some time ago but user chose to ignore this and system added a new recommended action again. */ readonly isArchivedAction?: boolean; /** Gets the time when system started applying this recommended action on the user resource. e.g., index creation start time */ readonly executeActionStartTime?: Date; /** Gets the time taken for applying this recommended action on user resource. e.g., time taken for index creation */ readonly executeActionDuration?: string; /** Gets the time when system started reverting changes of this recommended action on user resource. e.g., time when index drop is executed. */ readonly revertActionStartTime?: Date; /** Gets the time taken for reverting changes of this recommended action on user resource. e.g., time taken for dropping the created index. */ readonly revertActionDuration?: string; /** Gets if approval for applying this recommended action was given by user/system. */ readonly executeActionInitiatedBy?: RecommendedActionInitiatedBy; /** Gets the time when this recommended action was approved for execution. */ readonly executeActionInitiatedTime?: Date; /** Gets if approval for reverting this recommended action was given by user/system. */ readonly revertActionInitiatedBy?: RecommendedActionInitiatedBy; /** Gets the time when this recommended action was approved for revert. */ readonly revertActionInitiatedTime?: Date; /** Gets the impact of this recommended action. Possible values are 1 - Low impact, 2 - Medium Impact and 3 - High Impact */ readonly score?: number; /** Gets the implementation details of this recommended action for user to apply it manually. */ readonly implementationDetails?: RecommendedActionImplementationInfo; /** Gets the error details if and why this recommended action is put to error state. */ readonly errorDetails?: RecommendedActionErrorInfo; /** Gets the estimated impact info for this recommended action e.g., Estimated CPU gain, Estimated Disk Space change */ readonly estimatedImpact?: RecommendedActionImpactRecord[]; /** Gets the observed/actual impact info for this recommended action e.g., Actual CPU gain, Actual Disk Space change */ readonly observedImpact?: RecommendedActionImpactRecord[]; /** Gets the time series info of metrics for this recommended action e.g., CPU consumption time series */ readonly timeSeries?: RecommendedActionMetricInfo[]; /** Gets the linked objects, if any. */ readonly linkedObjects?: string[]; /** Gets additional details specific to this recommended action. */ readonly details?: Record; } export declare function recommendedActionPropertiesSerializer(item: RecommendedActionProperties): any; export declare function recommendedActionPropertiesDeserializer(item: any): RecommendedActionProperties; /** Contains information of current state for an Azure SQL Database, Server or Elastic Pool Recommended Action. */ export interface RecommendedActionStateInfo { /** 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. */ currentValue: RecommendedActionCurrentState; /** Gets who initiated the execution of this recommended action. Possible Value are: User -> When user explicity notified system to apply the recommended action. System -> When auto-execute status of this advisor was set to 'Enabled', in which case the system applied it. */ readonly actionInitiatedBy?: RecommendedActionInitiatedBy; /** Gets the time when the state was last modified */ readonly lastModified?: Date; } export declare function recommendedActionStateInfoSerializer(item: RecommendedActionStateInfo): any; export declare function recommendedActionStateInfoDeserializer(item: any): RecommendedActionStateInfo; /** 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. */ export declare enum KnownRecommendedActionCurrentState { /** Active */ Active = "Active", /** Pending */ Pending = "Pending", /** Executing */ Executing = "Executing", /** Verifying */ Verifying = "Verifying", /** PendingRevert */ PendingRevert = "PendingRevert", /** RevertCancelled */ RevertCancelled = "RevertCancelled", /** Reverting */ Reverting = "Reverting", /** Reverted */ Reverted = "Reverted", /** Ignored */ Ignored = "Ignored", /** Expired */ Expired = "Expired", /** Monitoring */ Monitoring = "Monitoring", /** Resolved */ Resolved = "Resolved", /** Success */ Success = "Success", /** Error */ Error = "Error" } /** * 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. \ * {@link KnownRecommendedActionCurrentState} can be used interchangeably with RecommendedActionCurrentState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Active**: Active \ * **Pending**: Pending \ * **Executing**: Executing \ * **Verifying**: Verifying \ * **PendingRevert**: PendingRevert \ * **RevertCancelled**: RevertCancelled \ * **Reverting**: Reverting \ * **Reverted**: Reverted \ * **Ignored**: Ignored \ * **Expired**: Expired \ * **Monitoring**: Monitoring \ * **Resolved**: Resolved \ * **Success**: Success \ * **Error**: Error */ export type RecommendedActionCurrentState = string; /** Gets if approval for applying this recommended action was given by user/system. */ export type RecommendedActionInitiatedBy = "User" | "System"; /** Contains information for manual implementation for an Azure SQL Database, Server or Elastic Pool Recommended Action. */ export interface RecommendedActionImplementationInfo { /** Gets the method in which this recommended action can be manually implemented. e.g., TSql, AzurePowerShell. */ readonly method?: ImplementationMethod; /** Gets the manual implementation script. e.g., T-SQL script that could be executed on the database. */ readonly script?: string; } export declare function recommendedActionImplementationInfoDeserializer(item: any): RecommendedActionImplementationInfo; /** Gets the method in which this recommended action can be manually implemented. e.g., TSql, AzurePowerShell. */ export type ImplementationMethod = "TSql" | "AzurePowerShell"; /** Contains error information for an Azure SQL Database, Server or Elastic Pool Recommended Action. */ export interface RecommendedActionErrorInfo { /** Gets the reason why the recommended action was put to error state. e.g., DatabaseHasQdsOff, IndexAlreadyExists */ readonly errorCode?: string; /** Gets whether the error could be ignored and recommended action could be retried. Possible values are: Yes/No */ readonly isRetryable?: IsRetryable; } export declare function recommendedActionErrorInfoDeserializer(item: any): RecommendedActionErrorInfo; /** Gets whether the error could be ignored and recommended action could be retried. Possible values are: Yes/No */ export type IsRetryable = "Yes" | "No"; export declare function recommendedActionImpactRecordArrayDeserializer(result: Array): any[]; /** Contains information of estimated or observed impact on various metrics for an Azure SQL Database, Server or Elastic Pool Recommended Action. */ export interface RecommendedActionImpactRecord { /** Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected. */ readonly dimensionName?: string; /** Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected. */ readonly unit?: string; /** Gets the absolute value of this dimension if applicable. e.g., Number of Queries affected */ readonly absoluteValue?: number; /** Gets the absolute change in the value of this dimension. e.g., Absolute Disk space change in Megabytes */ readonly changeValueAbsolute?: number; /** Gets the relative change in the value of this dimension. e.g., Relative Disk space change in Percentage */ readonly changeValueRelative?: number; } export declare function recommendedActionImpactRecordDeserializer(item: any): RecommendedActionImpactRecord; export declare function recommendedActionMetricInfoArrayDeserializer(result: Array): any[]; /** Contains time series of various impacted metrics for an Azure SQL Database, Server or Elastic Pool Recommended Action. */ export interface RecommendedActionMetricInfo { /** Gets the name of the metric. e.g., CPU, Number of Queries. */ readonly metricName?: string; /** Gets the unit in which metric is measured. e.g., DTU, Frequency */ readonly unit?: string; /** Gets the duration of time interval for the value given by this MetricInfo. e.g., PT1H (1 hour) */ readonly timeGrain?: string; /** Gets the start time of time interval given by this MetricInfo. */ readonly startTime?: Date; /** Gets the value of the metric in the time interval given by this MetricInfo. */ readonly value?: number; } export declare function recommendedActionMetricInfoDeserializer(item: any): RecommendedActionMetricInfo; /** A database table resource. */ export interface DatabaseTable extends ProxyResource { /** The table temporal type. */ temporalType?: TableTemporalType; /** Whether or not the table is memory optimized. */ memoryOptimized?: boolean; } export declare function databaseTableDeserializer(item: any): DatabaseTable; /** Database table properties. */ export interface DatabaseTableProperties { /** The table temporal type. */ temporalType?: TableTemporalType; /** Whether or not the table is memory optimized. */ memoryOptimized?: boolean; } export declare function databaseTablePropertiesDeserializer(item: any): DatabaseTableProperties; /** The response of a DatabaseTable list operation. */ export interface _DatabaseTableListResult { /** The DatabaseTable items on this page */ value: DatabaseTable[]; /** The link to the next page of items */ nextLink?: string; } export declare function _databaseTableListResultDeserializer(item: any): _DatabaseTableListResult; export declare function databaseTableArrayDeserializer(result: Array): any[]; /** A database schema resource. */ export interface DatabaseSchema extends ProxyResource { } export declare function databaseSchemaDeserializer(item: any): DatabaseSchema; /** The response of a DatabaseSchema list operation. */ export interface _DatabaseSchemaListResult { /** The DatabaseSchema items on this page */ value: DatabaseSchema[]; /** The link to the next page of items */ nextLink?: string; } export declare function _databaseSchemaListResultDeserializer(item: any): _DatabaseSchemaListResult; export declare function databaseSchemaArrayDeserializer(result: Array): any[]; /** A database security alert policy. */ export interface DatabaseSecurityAlertPolicy extends ProxyResource { /** Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. */ state?: SecurityAlertsPolicyState; /** Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force */ disabledAlerts?: string[]; /** Specifies an array of e-mail addresses to which the alert is sent. */ emailAddresses?: string[]; /** Specifies that the alert is sent to the account administrators. */ emailAccountAdmins?: boolean; /** Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. */ storageEndpoint?: string; /** Specifies the identifier key of the Threat Detection audit storage account. */ storageAccountAccessKey?: string; /** Specifies the number of days to keep in the Threat Detection audit logs. */ retentionDays?: number; /** Specifies the UTC creation time of the policy. */ readonly creationTime?: Date; } export declare function databaseSecurityAlertPolicySerializer(item: DatabaseSecurityAlertPolicy): any; export declare function databaseSecurityAlertPolicyDeserializer(item: any): DatabaseSecurityAlertPolicy; /** Properties of a security alert policy. */ export interface SecurityAlertsPolicyProperties { /** Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. */ state: SecurityAlertsPolicyState; /** Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force */ disabledAlerts?: string[]; /** Specifies an array of e-mail addresses to which the alert is sent. */ emailAddresses?: string[]; /** Specifies that the alert is sent to the account administrators. */ emailAccountAdmins?: boolean; /** Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. */ storageEndpoint?: string; /** Specifies the identifier key of the Threat Detection audit storage account. */ storageAccountAccessKey?: string; /** Specifies the number of days to keep in the Threat Detection audit logs. */ retentionDays?: number; /** Specifies the UTC creation time of the policy. */ readonly creationTime?: Date; } export declare function securityAlertsPolicyPropertiesSerializer(item: SecurityAlertsPolicyProperties): any; export declare function securityAlertsPolicyPropertiesDeserializer(item: any): SecurityAlertsPolicyProperties; /** Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. */ export type SecurityAlertsPolicyState = "Enabled" | "Disabled"; /** Known values of {@link SecurityAlertPolicyName} that the service accepts. */ export declare enum KnownSecurityAlertPolicyName { /** Default */ Default = "Default" } /** Type of SecurityAlertPolicyName */ export type SecurityAlertPolicyName = string; /** A list of the database's security alert policies. */ export interface _DatabaseSecurityAlertListResult { /** Array of results. */ readonly value?: DatabaseSecurityAlertPolicy[]; /** Link to retrieve next page of results. */ readonly nextLink?: string; } export declare function _databaseSecurityAlertListResultDeserializer(item: any): _DatabaseSecurityAlertListResult; export declare function databaseSecurityAlertPolicyArraySerializer(result: Array): any[]; export declare function databaseSecurityAlertPolicyArrayDeserializer(result: Array): any[]; /** A database sql vulnerability assessment baseline set. */ export interface DatabaseSqlVulnerabilityAssessmentBaselineSet extends ProxyResource { /** The baseline set result */ results?: Record; } export declare function databaseSqlVulnerabilityAssessmentBaselineSetDeserializer(item: any): DatabaseSqlVulnerabilityAssessmentBaselineSet; /** Properties of a database Sql Vulnerability Assessment baseline set. */ export interface DatabaseSqlVulnerabilityAssessmentBaselineSetProperties { /** The baseline set result */ results: Record; } export declare function databaseSqlVulnerabilityAssessmentBaselineSetPropertiesDeserializer(item: any): DatabaseSqlVulnerabilityAssessmentBaselineSetProperties; /** Known values of {@link BaselineName} that the service accepts. */ export declare enum KnownBaselineName { /** default */ Default = "default" } /** Type of BaselineName */ export type BaselineName = string; /** The response of a DatabaseSqlVulnerabilityAssessmentBaselineSet list operation. */ export interface _DatabaseSqlVulnerabilityAssessmentBaselineSetListResult { /** The DatabaseSqlVulnerabilityAssessmentBaselineSet items on this page */ value: DatabaseSqlVulnerabilityAssessmentBaselineSet[]; /** The link to the next page of items */ nextLink?: string; } export declare function _databaseSqlVulnerabilityAssessmentBaselineSetListResultDeserializer(item: any): _DatabaseSqlVulnerabilityAssessmentBaselineSetListResult; export declare function databaseSqlVulnerabilityAssessmentBaselineSetArrayDeserializer(result: Array): any[]; /** A SQL Vulnerability Assessment. */ export interface SqlVulnerabilityAssessment extends ProxyResource { /** Specifies the state of the SQL Vulnerability Assessment, whether it is enabled or disabled or a state has not been applied yet on the specific database or server. */ state?: SqlVulnerabilityAssessmentState; } export declare function sqlVulnerabilityAssessmentSerializer(item: SqlVulnerabilityAssessment): any; export declare function sqlVulnerabilityAssessmentDeserializer(item: any): SqlVulnerabilityAssessment; /** model interface SqlVulnerabilityAssessmentPolicyProperties */ export interface SqlVulnerabilityAssessmentPolicyProperties { /** Specifies the state of the SQL Vulnerability Assessment, whether it is enabled or disabled or a state has not been applied yet on the specific database or server. */ state?: SqlVulnerabilityAssessmentState; } export declare function sqlVulnerabilityAssessmentPolicyPropertiesSerializer(item: SqlVulnerabilityAssessmentPolicyProperties): any; export declare function sqlVulnerabilityAssessmentPolicyPropertiesDeserializer(item: any): SqlVulnerabilityAssessmentPolicyProperties; /** Specifies the state of the SQL Vulnerability Assessment, whether it is enabled or disabled or a state has not been applied yet on the specific database or server. */ export type SqlVulnerabilityAssessmentState = "Enabled" | "Disabled"; /** Known values of {@link SqlVulnerabilityAssessmentName} that the service accepts. */ export declare enum KnownSqlVulnerabilityAssessmentName { /** default */ Default = "default" } /** Type of SqlVulnerabilityAssessmentName */ export type SqlVulnerabilityAssessmentName = string; /** The response of a SqlVulnerabilityAssessment list operation. */ export interface _SqlVulnerabilityAssessmentListResult { /** The SqlVulnerabilityAssessment items on this page */ value: SqlVulnerabilityAssessment[]; /** The link to the next page of items */ nextLink?: string; } export declare function _sqlVulnerabilityAssessmentListResultDeserializer(item: any): _SqlVulnerabilityAssessmentListResult; export declare function sqlVulnerabilityAssessmentArraySerializer(result: Array): any[]; export declare function sqlVulnerabilityAssessmentArrayDeserializer(result: Array): any[]; /** A database sql vulnerability assessment rule baseline. */ export interface DatabaseSqlVulnerabilityAssessmentRuleBaseline extends ProxyResource { /** The rule baseline result */ results?: string[][]; } export declare function databaseSqlVulnerabilityAssessmentRuleBaselineDeserializer(item: any): DatabaseSqlVulnerabilityAssessmentRuleBaseline; /** Properties of a database Sql Vulnerability Assessment rule baseline. */ export interface DatabaseSqlVulnerabilityAssessmentRuleBaselineProperties { /** The rule baseline result */ results: string[][]; } export declare function databaseSqlVulnerabilityAssessmentRuleBaselinePropertiesDeserializer(item: any): DatabaseSqlVulnerabilityAssessmentRuleBaselineProperties; /** A database sql vulnerability assessment rule baseline input. */ export interface DatabaseSqlVulnerabilityAssessmentRuleBaselineInput extends ProxyResource { /** The latest scan flag */ latestScan?: boolean; /** The rule baseline result */ results?: string[][]; } export declare function databaseSqlVulnerabilityAssessmentRuleBaselineInputSerializer(item: DatabaseSqlVulnerabilityAssessmentRuleBaselineInput): any; /** Properties of a database Sql Vulnerability Assessment rule baseline. */ export interface DatabaseSqlVulnerabilityAssessmentRuleBaselineInputProperties { /** The latest scan flag */ latestScan: boolean; /** The rule baseline result */ results: string[][]; } export declare function databaseSqlVulnerabilityAssessmentRuleBaselineInputPropertiesSerializer(item: DatabaseSqlVulnerabilityAssessmentRuleBaselineInputProperties): any; /** The response of a DatabaseSqlVulnerabilityAssessmentRuleBaseline list operation. */ export interface _DatabaseSqlVulnerabilityAssessmentRuleBaselineListResult { /** The DatabaseSqlVulnerabilityAssessmentRuleBaseline items on this page */ value: DatabaseSqlVulnerabilityAssessmentRuleBaseline[]; /** The link to the next page of items */ nextLink?: string; } export declare function _databaseSqlVulnerabilityAssessmentRuleBaselineListResultDeserializer(item: any): _DatabaseSqlVulnerabilityAssessmentRuleBaselineListResult; export declare function databaseSqlVulnerabilityAssessmentRuleBaselineArrayDeserializer(result: Array): any[]; /** Concrete proxy resource types can be created by aliasing this type using a specific property type. */ export interface SqlVulnerabilityAssessmentScanResults extends ProxyResource { /** SQL Vulnerability Assessment rule Id. */ readonly ruleId?: string; /** SQL Vulnerability Assessment rule result status. */ readonly status?: RuleStatus; /** SQL Vulnerability Assessment error message. */ readonly errorMessage?: string; /** SQL Vulnerability Assessment is the query results trimmed. */ readonly isTrimmed?: boolean; /** SQL Vulnerability Assessment query results that was run. */ readonly queryResults?: string[][]; /** SQL Vulnerability Assessment the remediation details. */ readonly remediation?: Remediation; /** SQL Vulnerability Assessment rule result adjusted with baseline. */ readonly baselineAdjustedResult?: BaselineAdjustedResult; /** SQL Vulnerability Assessment rule metadata. */ readonly ruleMetadata?: VaRule; } export declare function sqlVulnerabilityAssessmentScanResultsDeserializer(item: any): SqlVulnerabilityAssessmentScanResults; /** SQL Vulnerability Assessment scan result properties for a single rule. */ export interface SqlVulnerabilityAssessmentScanResultProperties { /** SQL Vulnerability Assessment rule Id. */ readonly ruleId?: string; /** SQL Vulnerability Assessment rule result status. */ readonly status?: RuleStatus; /** SQL Vulnerability Assessment error message. */ readonly errorMessage?: string; /** SQL Vulnerability Assessment is the query results trimmed. */ readonly isTrimmed?: boolean; /** SQL Vulnerability Assessment query results that was run. */ readonly queryResults?: string[][]; /** SQL Vulnerability Assessment the remediation details. */ readonly remediation?: Remediation; /** SQL Vulnerability Assessment rule result adjusted with baseline. */ readonly baselineAdjustedResult?: BaselineAdjustedResult; /** SQL Vulnerability Assessment rule metadata. */ readonly ruleMetadata?: VaRule; } export declare function sqlVulnerabilityAssessmentScanResultPropertiesDeserializer(item: any): SqlVulnerabilityAssessmentScanResultProperties; /** SQL Vulnerability Assessment baseline status */ export declare enum KnownRuleStatus { /** NonFinding */ NonFinding = "NonFinding", /** Finding */ Finding = "Finding", /** InternalError */ InternalError = "InternalError" } /** * SQL Vulnerability Assessment baseline status \ * {@link KnownRuleStatus} can be used interchangeably with RuleStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **NonFinding**: NonFinding \ * **Finding**: Finding \ * **InternalError**: InternalError */ export type RuleStatus = string; /** SQL Vulnerability Assessment remediation Details. */ export interface Remediation { /** SQL Vulnerability Assessment remediation description. */ readonly description?: string; /** SQL Vulnerability Assessment remediation script. */ readonly scripts?: string[]; /** SQL Vulnerability Assessment is remediation automated. */ readonly automated?: boolean; /** SQL Vulnerability Assessment optional link to remediate in Azure Portal. */ readonly portalLink?: string; } export declare function remediationDeserializer(item: any): Remediation; /** SQL Vulnerability Assessment baseline adjusted results */ export interface BaselineAdjustedResult { /** SQL Vulnerability Assessment baseline details */ readonly baseline?: Baseline; /** SQL Vulnerability Assessment baseline status */ readonly status?: RuleStatus; /** SQL Vulnerability Assessment results that are not in baseline */ readonly resultsNotInBaseline?: string[][]; /** SQL Vulnerability Assessment results that are in baseline. */ readonly resultsOnlyInBaseline?: string[][]; } export declare function baselineAdjustedResultDeserializer(item: any): BaselineAdjustedResult; /** SQL Vulnerability Assessment baseline Details */ export interface Baseline { /** SQL Vulnerability Assessment baseline expected results */ readonly expectedResults?: string[][]; /** SQL Vulnerability Assessment baseline update time (UTC) */ readonly updatedTime?: Date; } export declare function baselineDeserializer(item: any): Baseline; /** SQL Vulnerability Assessment rule metadata details. */ export interface VaRule { /** SQL Vulnerability Assessment rule Id. */ readonly ruleId?: string; /** SQL Vulnerability Assessment rule severity. */ readonly severity?: RuleSeverity; /** SQL Vulnerability Assessment rule category. */ readonly category?: string; /** SQL Vulnerability Assessment rule type. */ readonly ruleType?: RuleType; /** SQL Vulnerability Assessment rule title. */ readonly title?: string; /** SQL Vulnerability Assessment rule description. */ readonly description?: string; /** SQL Vulnerability Assessment rule rationale. */ readonly rationale?: string; /** SQL Vulnerability Assessment rule query details. */ readonly queryCheck?: QueryCheck; /** SQL Vulnerability Assessment benchmark references. */ readonly benchmarkReferences?: BenchmarkReference[]; } export declare function vaRuleDeserializer(item: any): VaRule; /** SQL Vulnerability Assessment rule severity. */ export declare enum KnownRuleSeverity { /** High */ High = "High", /** Medium */ Medium = "Medium", /** Low */ Low = "Low", /** Informational */ Informational = "Informational", /** Obsolete */ Obsolete = "Obsolete" } /** * SQL Vulnerability Assessment rule severity. \ * {@link KnownRuleSeverity} can be used interchangeably with RuleSeverity, * this enum contains the known values that the service supports. * ### Known values supported by the service * **High**: High \ * **Medium**: Medium \ * **Low**: Low \ * **Informational**: Informational \ * **Obsolete**: Obsolete */ export type RuleSeverity = string; /** SQL Vulnerability Assessment rule type. */ export declare enum KnownRuleType { /** Binary */ Binary = "Binary", /** BaselineExpected */ BaselineExpected = "BaselineExpected", /** PositiveList */ PositiveList = "PositiveList", /** NegativeList */ NegativeList = "NegativeList" } /** * SQL Vulnerability Assessment rule type. \ * {@link KnownRuleType} can be used interchangeably with RuleType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Binary**: Binary \ * **BaselineExpected**: BaselineExpected \ * **PositiveList**: PositiveList \ * **NegativeList**: NegativeList */ export type RuleType = string; /** SQL Vulnerability Assessment query check object. */ export interface QueryCheck { /** SQL Vulnerability Assessment rule query. */ readonly query?: string; /** SQL Vulnerability Assessment query expected result. */ readonly expectedResult?: string[][]; /** SQL Vulnerability Assessment column names of query expected result. */ readonly columnNames?: string[]; } export declare function queryCheckDeserializer(item: any): QueryCheck; export declare function benchmarkReferenceArrayDeserializer(result: Array): any[]; /** SQL Vulnerability Assessment benchmark reference */ export interface BenchmarkReference { /** SQL Vulnerability Assessment benchmark name */ readonly benchmark?: string; /** SQL Vulnerability Assessment benchmark reference. */ readonly reference?: string; } export declare function benchmarkReferenceDeserializer(item: any): BenchmarkReference; /** A list of vulnerability assessment scan results. */ export interface _SQLVulnerabilityAssessmentScanListResult { /** Array of results. */ readonly value?: SqlVulnerabilityAssessmentScanResults[]; /** Link to retrieve next page of results. */ readonly nextLink?: string; } export declare function _sqlVulnerabilityAssessmentScanListResultDeserializer(item: any): _SQLVulnerabilityAssessmentScanListResult; export declare function sqlVulnerabilityAssessmentScanResultsArrayDeserializer(result: Array): any[]; /** A vulnerability assessment scan record. */ export interface SqlVulnerabilityAssessmentScanRecord extends ProxyResource { /** The scan ID. */ readonly scanId?: string; /** The scan trigger type. */ readonly triggerType?: VulnerabilityAssessmentScanTriggerType; /** The scan status. */ readonly state?: VulnerabilityAssessmentScanState; /** The scan start time (UTC). */ readonly startTime?: Date; /** The scan end time (UTC). */ readonly endTime?: Date; /** The scan errors. */ readonly errors?: SqlVulnerabilityAssessmentScanError[]; /** The server name. */ readonly server?: string; /** The database name. */ readonly database?: string; /** The SQL version. */ readonly sqlVersion?: string; /** The number of failed rules with high severity. */ readonly highSeverityFailedRulesCount?: number; /** The number of failed rules with medium severity. */ readonly mediumSeverityFailedRulesCount?: number; /** The number of failed rules with low severity. */ readonly lowSeverityFailedRulesCount?: number; /** The number of total passed rules. */ readonly totalPassedRulesCount?: number; /** The number of total failed rules. */ readonly totalFailedRulesCount?: number; /** The number of total rules assessed. */ readonly totalRulesCount?: number; /** Baseline created for this database, and has one or more rules. */ readonly isBaselineApplied?: boolean; /** The last scan time. */ readonly lastScanTime?: Date; } export declare function sqlVulnerabilityAssessmentScanRecordDeserializer(item: any): SqlVulnerabilityAssessmentScanRecord; /** Properties of a vulnerability assessment scan record. */ export interface SqlVulnerabilityAssessmentScanRecordProperties { /** The scan ID. */ readonly scanId?: string; /** The scan trigger type. */ readonly triggerType?: VulnerabilityAssessmentScanTriggerType; /** The scan status. */ readonly state?: VulnerabilityAssessmentScanState; /** The scan start time (UTC). */ readonly startTime?: Date; /** The scan end time (UTC). */ readonly endTime?: Date; /** The scan errors. */ readonly errors?: SqlVulnerabilityAssessmentScanError[]; /** The server name. */ readonly server?: string; /** The database name. */ readonly database?: string; /** The SQL version. */ readonly sqlVersion?: string; /** The number of failed rules with high severity. */ readonly highSeverityFailedRulesCount?: number; /** The number of failed rules with medium severity. */ readonly mediumSeverityFailedRulesCount?: number; /** The number of failed rules with low severity. */ readonly lowSeverityFailedRulesCount?: number; /** The number of total passed rules. */ readonly totalPassedRulesCount?: number; /** The number of total failed rules. */ readonly totalFailedRulesCount?: number; /** The number of total rules assessed. */ readonly totalRulesCount?: number; /** Baseline created for this database, and has one or more rules. */ readonly isBaselineApplied?: boolean; /** The last scan time. */ readonly lastScanTime?: Date; } export declare function sqlVulnerabilityAssessmentScanRecordPropertiesDeserializer(item: any): SqlVulnerabilityAssessmentScanRecordProperties; /** The scan trigger type. */ export declare enum KnownVulnerabilityAssessmentScanTriggerType { /** OnDemand */ OnDemand = "OnDemand", /** Recurring */ Recurring = "Recurring" } /** * The scan trigger type. \ * {@link KnownVulnerabilityAssessmentScanTriggerType} can be used interchangeably with VulnerabilityAssessmentScanTriggerType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **OnDemand**: OnDemand \ * **Recurring**: Recurring */ export type VulnerabilityAssessmentScanTriggerType = string; /** The scan status. */ export declare enum KnownVulnerabilityAssessmentScanState { /** Passed */ Passed = "Passed", /** Failed */ Failed = "Failed", /** FailedToRun */ FailedToRun = "FailedToRun", /** InProgress */ InProgress = "InProgress" } /** * The scan status. \ * {@link KnownVulnerabilityAssessmentScanState} can be used interchangeably with VulnerabilityAssessmentScanState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Passed**: Passed \ * **Failed**: Failed \ * **FailedToRun**: FailedToRun \ * **InProgress**: InProgress */ export type VulnerabilityAssessmentScanState = string; export declare function sqlVulnerabilityAssessmentScanErrorArrayDeserializer(result: Array): any[]; /** Properties of a vulnerability assessment scan error. */ export interface SqlVulnerabilityAssessmentScanError { /** The error code. */ readonly code?: string; /** The error message. */ readonly message?: string; } export declare function sqlVulnerabilityAssessmentScanErrorDeserializer(item: any): SqlVulnerabilityAssessmentScanError; /** The response of a SqlVulnerabilityAssessmentScanRecord list operation. */ export interface _SqlVulnerabilityAssessmentScanRecordListResult { /** The SqlVulnerabilityAssessmentScanRecord items on this page */ value: SqlVulnerabilityAssessmentScanRecord[]; /** The link to the next page of items */ nextLink?: string; } export declare function _sqlVulnerabilityAssessmentScanRecordListResultDeserializer(item: any): _SqlVulnerabilityAssessmentScanRecordListResult; export declare function sqlVulnerabilityAssessmentScanRecordArrayDeserializer(result: Array): any[]; /** A database vulnerability assessment rule baseline. */ export interface DatabaseVulnerabilityAssessmentRuleBaseline extends ProxyResource { /** The rule baseline result */ baselineResults?: DatabaseVulnerabilityAssessmentRuleBaselineItem[]; } export declare function databaseVulnerabilityAssessmentRuleBaselineSerializer(item: DatabaseVulnerabilityAssessmentRuleBaseline): any; export declare function databaseVulnerabilityAssessmentRuleBaselineDeserializer(item: any): DatabaseVulnerabilityAssessmentRuleBaseline; /** Properties of a database Vulnerability Assessment rule baseline. */ export interface DatabaseVulnerabilityAssessmentRuleBaselineProperties { /** The rule baseline result */ baselineResults: DatabaseVulnerabilityAssessmentRuleBaselineItem[]; } export declare function databaseVulnerabilityAssessmentRuleBaselinePropertiesSerializer(item: DatabaseVulnerabilityAssessmentRuleBaselineProperties): any; export declare function databaseVulnerabilityAssessmentRuleBaselinePropertiesDeserializer(item: any): DatabaseVulnerabilityAssessmentRuleBaselineProperties; export declare function databaseVulnerabilityAssessmentRuleBaselineItemArraySerializer(result: Array): any[]; export declare function databaseVulnerabilityAssessmentRuleBaselineItemArrayDeserializer(result: Array): any[]; /** Properties for an Azure SQL Database Vulnerability Assessment rule baseline's result. */ export interface DatabaseVulnerabilityAssessmentRuleBaselineItem { /** The rule baseline result */ result: string[]; } export declare function databaseVulnerabilityAssessmentRuleBaselineItemSerializer(item: DatabaseVulnerabilityAssessmentRuleBaselineItem): any; export declare function databaseVulnerabilityAssessmentRuleBaselineItemDeserializer(item: any): DatabaseVulnerabilityAssessmentRuleBaselineItem; /** A database vulnerability assessment. */ export interface DatabaseVulnerabilityAssessment extends ProxyResource { /** A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). It is required if server level vulnerability assessment policy doesn't set */ storageContainerPath?: string; /** A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. Applies only if the storage account is not behind a Vnet or a firewall */ storageContainerSasKey?: string; /** Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only if the storage account is not behind a Vnet or a firewall */ storageAccountAccessKey?: string; /** The recurring scans settings */ recurringScans?: VulnerabilityAssessmentRecurringScansProperties; } export declare function databaseVulnerabilityAssessmentSerializer(item: DatabaseVulnerabilityAssessment): any; export declare function databaseVulnerabilityAssessmentDeserializer(item: any): DatabaseVulnerabilityAssessment; /** Properties of a database Vulnerability Assessment. */ export interface DatabaseVulnerabilityAssessmentProperties { /** A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). It is required if server level vulnerability assessment policy doesn't set */ storageContainerPath?: string; /** A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. Applies only if the storage account is not behind a Vnet or a firewall */ storageContainerSasKey?: string; /** Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only if the storage account is not behind a Vnet or a firewall */ storageAccountAccessKey?: string; /** The recurring scans settings */ recurringScans?: VulnerabilityAssessmentRecurringScansProperties; } export declare function databaseVulnerabilityAssessmentPropertiesSerializer(item: DatabaseVulnerabilityAssessmentProperties): any; export declare function databaseVulnerabilityAssessmentPropertiesDeserializer(item: any): DatabaseVulnerabilityAssessmentProperties; /** Properties of a Vulnerability Assessment recurring scans. */ export interface VulnerabilityAssessmentRecurringScansProperties { /** Recurring scans state. */ isEnabled?: boolean; /** Specifies that the schedule scan notification will be is sent to the subscription administrators. */ emailSubscriptionAdmins?: boolean; /** Specifies an array of e-mail addresses to which the scan notification is sent. */ emails?: string[]; } export declare function vulnerabilityAssessmentRecurringScansPropertiesSerializer(item: VulnerabilityAssessmentRecurringScansProperties): any; export declare function vulnerabilityAssessmentRecurringScansPropertiesDeserializer(item: any): VulnerabilityAssessmentRecurringScansProperties; /** Known values of {@link VulnerabilityAssessmentName} that the service accepts. */ export declare enum KnownVulnerabilityAssessmentName { /** default */ Default = "default" } /** Type of VulnerabilityAssessmentName */ export type VulnerabilityAssessmentName = string; /** The response of a DatabaseVulnerabilityAssessment list operation. */ export interface _DatabaseVulnerabilityAssessmentListResult { /** The DatabaseVulnerabilityAssessment items on this page */ value: DatabaseVulnerabilityAssessment[]; /** The link to the next page of items */ nextLink?: string; } export declare function _databaseVulnerabilityAssessmentListResultDeserializer(item: any): _DatabaseVulnerabilityAssessmentListResult; export declare function databaseVulnerabilityAssessmentArraySerializer(result: Array): any[]; export declare function databaseVulnerabilityAssessmentArrayDeserializer(result: Array): any[]; /** A vulnerability assessment scan record. */ export interface VulnerabilityAssessmentScanRecord extends ProxyResource { /** The scan ID. */ readonly scanId?: string; /** The scan trigger type. */ readonly triggerType?: VulnerabilityAssessmentScanTriggerType; /** The scan status. */ readonly state?: VulnerabilityAssessmentScanState; /** The scan start time (UTC). */ readonly startTime?: Date; /** The scan end time (UTC). */ readonly endTime?: Date; /** The scan errors. */ readonly errors?: VulnerabilityAssessmentScanError[]; /** The scan results storage container path. */ readonly storageContainerPath?: string; /** The number of failed security checks. */ readonly numberOfFailedSecurityChecks?: number; } export declare function vulnerabilityAssessmentScanRecordDeserializer(item: any): VulnerabilityAssessmentScanRecord; /** Properties of a vulnerability assessment scan record. */ export interface VulnerabilityAssessmentScanRecordProperties { /** The scan ID. */ readonly scanId?: string; /** The scan trigger type. */ readonly triggerType?: VulnerabilityAssessmentScanTriggerType; /** The scan status. */ readonly state?: VulnerabilityAssessmentScanState; /** The scan start time (UTC). */ readonly startTime?: Date; /** The scan end time (UTC). */ readonly endTime?: Date; /** The scan errors. */ readonly errors?: VulnerabilityAssessmentScanError[]; /** The scan results storage container path. */ readonly storageContainerPath?: string; /** The number of failed security checks. */ readonly numberOfFailedSecurityChecks?: number; } export declare function vulnerabilityAssessmentScanRecordPropertiesDeserializer(item: any): VulnerabilityAssessmentScanRecordProperties; export declare function vulnerabilityAssessmentScanErrorArrayDeserializer(result: Array): any[]; /** Properties of a vulnerability assessment scan error. */ export interface VulnerabilityAssessmentScanError { /** The error code. */ readonly code?: string; /** The error message. */ readonly message?: string; } export declare function vulnerabilityAssessmentScanErrorDeserializer(item: any): VulnerabilityAssessmentScanError; /** The response of a VulnerabilityAssessmentScanRecord list operation. */ export interface _VulnerabilityAssessmentScanRecordListResult { /** The VulnerabilityAssessmentScanRecord items on this page */ value: VulnerabilityAssessmentScanRecord[]; /** The link to the next page of items */ nextLink?: string; } export declare function _vulnerabilityAssessmentScanRecordListResultDeserializer(item: any): _VulnerabilityAssessmentScanRecordListResult; export declare function vulnerabilityAssessmentScanRecordArrayDeserializer(result: Array): any[]; /** A database Vulnerability Assessment scan export resource. */ export interface DatabaseVulnerabilityAssessmentScansExport extends ProxyResource { /** Location of the exported report (e.g. https://myStorage.blob.core.windows.net/VaScans/scans/serverName/databaseName/scan_scanId.xlsx). */ readonly exportedReportLocation?: string; } export declare function databaseVulnerabilityAssessmentScansExportDeserializer(item: any): DatabaseVulnerabilityAssessmentScansExport; /** Properties of the export operation's result. */ export interface DatabaseVulnerabilityAssessmentScanExportProperties { /** Location of the exported report (e.g. https://myStorage.blob.core.windows.net/VaScans/scans/serverName/databaseName/scan_scanId.xlsx). */ readonly exportedReportLocation?: string; } export declare function databaseVulnerabilityAssessmentScanExportPropertiesDeserializer(item: any): DatabaseVulnerabilityAssessmentScanExportProperties; /** A database data masking policy. */ export interface DataMaskingPolicy extends ProxyResource { /** The location of the data masking policy. */ readonly location?: string; /** The kind of Data Masking Policy. Metadata, used for Azure portal. */ readonly kind?: string; /** The state of the data masking policy. */ dataMaskingState?: DataMaskingState; /** The list of the exempt principals. Specifies the semicolon-separated list of database users for which the data masking policy does not apply. The specified users receive data results without masking for all of the database queries. */ exemptPrincipals?: string; /** The list of the application principals. This is a legacy parameter and is no longer used. */ readonly applicationPrincipals?: string; /** The masking level. This is a legacy parameter and is no longer used. */ readonly maskingLevel?: string; } export declare function dataMaskingPolicySerializer(item: DataMaskingPolicy): any; export declare function dataMaskingPolicyDeserializer(item: any): DataMaskingPolicy; /** The properties of a database data masking policy. */ export interface DataMaskingPolicyProperties { /** The state of the data masking policy. */ dataMaskingState: DataMaskingState; /** The list of the exempt principals. Specifies the semicolon-separated list of database users for which the data masking policy does not apply. The specified users receive data results without masking for all of the database queries. */ exemptPrincipals?: string; /** The list of the application principals. This is a legacy parameter and is no longer used. */ readonly applicationPrincipals?: string; /** The masking level. This is a legacy parameter and is no longer used. */ readonly maskingLevel?: string; } export declare function dataMaskingPolicyPropertiesSerializer(item: DataMaskingPolicyProperties): any; export declare function dataMaskingPolicyPropertiesDeserializer(item: any): DataMaskingPolicyProperties; /** The state of the data masking policy. */ export type DataMaskingState = "Enabled" | "Disabled"; /** A deleted server. */ export interface DeletedServer extends ProxyResource { /** The version of the deleted server. */ readonly version?: string; /** The deletion time of the deleted server. */ readonly deletionTime?: Date; /** The original ID of the server before deletion. */ readonly originalId?: string; /** The fully qualified domain name of the server. */ readonly fullyQualifiedDomainName?: string; } export declare function deletedServerDeserializer(item: any): DeletedServer; /** The properties of a deleted server. */ export interface DeletedServerProperties { /** The version of the deleted server. */ readonly version?: string; /** The deletion time of the deleted server. */ readonly deletionTime?: Date; /** The original ID of the server before deletion. */ readonly originalId?: string; /** The fully qualified domain name of the server. */ readonly fullyQualifiedDomainName?: string; } export declare function deletedServerPropertiesDeserializer(item: any): DeletedServerProperties; /** The response of a DeletedServer list operation. */ export interface _DeletedServerListResult { /** The DeletedServer items on this page */ value: DeletedServer[]; /** The link to the next page of items */ nextLink?: string; } export declare function _deletedServerListResultDeserializer(item: any): _DeletedServerListResult; export declare function deletedServerArrayDeserializer(result: Array): any[]; /** Distributed availability group between box and Sql Managed Instance. */ export interface DistributedAvailabilityGroup extends ProxyResource { /** Name of the distributed availability group */ readonly distributedAvailabilityGroupName?: string; /** ID of the distributed availability group */ readonly distributedAvailabilityGroupId?: string; /** Replication mode of the link */ replicationMode?: ReplicationModeType; /** SQL server side link role */ readonly partnerLinkRole?: LinkRole; /** SQL server side availability group name */ partnerAvailabilityGroupName?: string; /** SQL server side endpoint - IP or DNS resolvable name */ partnerEndpoint?: string; /** Managed instance side link role */ instanceLinkRole?: LinkRole; /** Managed instance side availability group name */ instanceAvailabilityGroupName?: string; /** The link failover mode - can be Manual if intended to be used for two-way failover with a supported SQL Server, or None for one-way failover to Azure. */ failoverMode?: FailoverModeType; /** Database seeding mode – can be Automatic (default), or Manual for supported scenarios. */ seedingMode?: SeedingModeType; /** Databases in the distributed availability group */ databases?: DistributedAvailabilityGroupDatabase[]; } export declare function distributedAvailabilityGroupSerializer(item: DistributedAvailabilityGroup): any; export declare function distributedAvailabilityGroupDeserializer(item: any): DistributedAvailabilityGroup; /** The properties of a distributed availability group. */ export interface DistributedAvailabilityGroupProperties { /** Name of the distributed availability group */ readonly distributedAvailabilityGroupName?: string; /** ID of the distributed availability group */ readonly distributedAvailabilityGroupId?: string; /** Replication mode of the link */ replicationMode?: ReplicationModeType; /** SQL server side link role */ readonly partnerLinkRole?: LinkRole; /** SQL server side availability group name */ partnerAvailabilityGroupName?: string; /** SQL server side endpoint - IP or DNS resolvable name */ partnerEndpoint?: string; /** Managed instance side link role */ instanceLinkRole?: LinkRole; /** Managed instance side availability group name */ instanceAvailabilityGroupName?: string; /** The link failover mode - can be Manual if intended to be used for two-way failover with a supported SQL Server, or None for one-way failover to Azure. */ failoverMode?: FailoverModeType; /** Database seeding mode – can be Automatic (default), or Manual for supported scenarios. */ seedingMode?: SeedingModeType; /** Databases in the distributed availability group */ databases?: DistributedAvailabilityGroupDatabase[]; } export declare function distributedAvailabilityGroupPropertiesSerializer(item: DistributedAvailabilityGroupProperties): any; export declare function distributedAvailabilityGroupPropertiesDeserializer(item: any): DistributedAvailabilityGroupProperties; /** Replication mode of the link */ export declare enum KnownReplicationModeType { /** Async */ Async = "Async", /** Sync */ Sync = "Sync" } /** * Replication mode of the link \ * {@link KnownReplicationModeType} can be used interchangeably with ReplicationModeType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Async**: Async \ * **Sync**: Sync */ export type ReplicationModeType = string; /** SQL server side link role */ export declare enum KnownLinkRole { /** Primary */ Primary = "Primary", /** Secondary */ Secondary = "Secondary" } /** * SQL server side link role \ * {@link KnownLinkRole} can be used interchangeably with LinkRole, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Primary**: Primary \ * **Secondary**: Secondary */ export type LinkRole = string; /** The link failover mode - can be Manual if intended to be used for two-way failover with a supported SQL Server, or None for one-way failover to Azure. */ export declare enum KnownFailoverModeType { /** None */ None = "None", /** Manual */ Manual = "Manual" } /** * The link failover mode - can be Manual if intended to be used for two-way failover with a supported SQL Server, or None for one-way failover to Azure. \ * {@link KnownFailoverModeType} can be used interchangeably with FailoverModeType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **None**: None \ * **Manual**: Manual */ export type FailoverModeType = string; /** Database seeding mode – can be Automatic (default), or Manual for supported scenarios. */ export declare enum KnownSeedingModeType { /** Automatic */ Automatic = "Automatic", /** Manual */ Manual = "Manual" } /** * Database seeding mode – can be Automatic (default), or Manual for supported scenarios. \ * {@link KnownSeedingModeType} can be used interchangeably with SeedingModeType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Automatic**: Automatic \ * **Manual**: Manual */ export type SeedingModeType = string; export declare function distributedAvailabilityGroupDatabaseArraySerializer(result: Array): any[]; export declare function distributedAvailabilityGroupDatabaseArrayDeserializer(result: Array): any[]; /** Database specific information */ export interface DistributedAvailabilityGroupDatabase { /** The name of the database in link */ databaseName?: string; /** Managed instance replica id */ readonly instanceReplicaId?: string; /** SQL server replica id */ readonly partnerReplicaId?: string; /** Current link state */ readonly replicaState?: string; /** Seeding progress */ readonly seedingProgress?: string; /** Link health state */ readonly synchronizationHealth?: ReplicaSynchronizationHealth; /** Link connected state */ readonly connectedState?: ReplicaConnectedState; /** Last received LSN */ readonly lastReceivedLsn?: string; /** Last received LSN time */ readonly lastReceivedTime?: Date; /** Last sent LSN */ readonly lastSentLsn?: string; /** Last sent LSN time */ readonly lastSentTime?: Date; /** Last commit LSN */ readonly lastCommitLsn?: string; /** Last commit LSN time */ readonly lastCommitTime?: Date; /** Last hardened LSN */ readonly lastHardenedLsn?: string; /** Last hardened LSN time */ readonly lastHardenedTime?: Date; /** Last backup LSN */ readonly lastBackupLsn?: string; /** Last backup LSN time */ readonly lastBackupTime?: Date; /** The most recent link connection error description */ readonly mostRecentLinkError?: string; /** SQL server certificate validity */ readonly partnerAuthCertValidity?: CertificateInfo; /** Replication lag when Managed Instance link side is primary */ readonly instanceSendReplicationLagSeconds?: number; /** Redo lag when Managed Instance link side is primary */ readonly instanceRedoReplicationLagSeconds?: number; } export declare function distributedAvailabilityGroupDatabaseSerializer(item: DistributedAvailabilityGroupDatabase): any; export declare function distributedAvailabilityGroupDatabaseDeserializer(item: any): DistributedAvailabilityGroupDatabase; /** Link health state */ export declare enum KnownReplicaSynchronizationHealth { /** NOT_HEALTHY */ NOTHealthy = "NOT_HEALTHY", /** PARTIALLY_HEALTHY */ PartiallyHealthy = "PARTIALLY_HEALTHY", /** HEALTHY */ Healthy = "HEALTHY" } /** * Link health state \ * {@link KnownReplicaSynchronizationHealth} can be used interchangeably with ReplicaSynchronizationHealth, * this enum contains the known values that the service supports. * ### Known values supported by the service * **NOT_HEALTHY**: NOT_HEALTHY \ * **PARTIALLY_HEALTHY**: PARTIALLY_HEALTHY \ * **HEALTHY**: HEALTHY */ export type ReplicaSynchronizationHealth = string; /** Link connected state */ export declare enum KnownReplicaConnectedState { /** DISCONNECTED */ Disconnected = "DISCONNECTED", /** CONNECTED */ Connected = "CONNECTED" } /** * Link connected state \ * {@link KnownReplicaConnectedState} can be used interchangeably with ReplicaConnectedState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **DISCONNECTED**: DISCONNECTED \ * **CONNECTED**: CONNECTED */ export type ReplicaConnectedState = string; /** Certificate information */ export interface CertificateInfo { /** The certificate name */ readonly certificateName?: string; /** The certificate expiry date */ readonly expiryDate?: Date; } export declare function certificateInfoDeserializer(item: any): CertificateInfo; /** A list of distributed availability groups in instance. */ export interface _DistributedAvailabilityGroupsListResult { /** Array of results. */ readonly value?: DistributedAvailabilityGroup[]; /** Link to retrieve next page of results. */ readonly nextLink?: string; } export declare function _distributedAvailabilityGroupsListResultDeserializer(item: any): _DistributedAvailabilityGroupsListResult; export declare function distributedAvailabilityGroupArraySerializer(result: Array): any[]; export declare function distributedAvailabilityGroupArrayDeserializer(result: Array): any[]; /** Distributed availability group failover. */ export interface DistributedAvailabilityGroupsFailoverRequest { /** The failover type, can be ForcedAllowDataLoss or Planned. */ failoverType: FailoverType; } export declare function distributedAvailabilityGroupsFailoverRequestSerializer(item: DistributedAvailabilityGroupsFailoverRequest): any; /** The failover type, can be ForcedAllowDataLoss or Planned. */ export declare enum KnownFailoverType { /** ForcedAllowDataLoss */ ForcedAllowDataLoss = "ForcedAllowDataLoss", /** Planned */ Planned = "Planned" } /** * The failover type, can be ForcedAllowDataLoss or Planned. \ * {@link KnownFailoverType} can be used interchangeably with FailoverType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **ForcedAllowDataLoss**: ForcedAllowDataLoss \ * **Planned**: Planned */ export type FailoverType = string; /** Distributed availability group failover request. */ export interface DistributedAvailabilityGroupSetRole { /** New role of managed instance in a distributed availability group, can be Primary or Secondary. */ instanceRole: InstanceRole; /** The type of the role change, can be Planned or Forced. */ roleChangeType: RoleChangeType; } export declare function distributedAvailabilityGroupSetRoleSerializer(item: DistributedAvailabilityGroupSetRole): any; /** New role of managed instance in a distributed availability group, can be Primary or Secondary. */ export declare enum KnownInstanceRole { /** Primary */ Primary = "Primary", /** Secondary */ Secondary = "Secondary" } /** * New role of managed instance in a distributed availability group, can be Primary or Secondary. \ * {@link KnownInstanceRole} can be used interchangeably with InstanceRole, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Primary**: Primary \ * **Secondary**: Secondary */ export type InstanceRole = string; /** The type of the role change, can be Planned or Forced. */ export declare enum KnownRoleChangeType { /** Forced */ Forced = "Forced", /** Planned */ Planned = "Planned" } /** * The type of the role change, can be Planned or Forced. \ * {@link KnownRoleChangeType} can be used interchangeably with RoleChangeType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Forced**: Forced \ * **Planned**: Planned */ export type RoleChangeType = string; /** A managed database resource. */ export interface ManagedDatabase extends TrackedResource { /** Collation of the managed database. */ collation?: string; /** Status of the database. */ readonly status?: ManagedDatabaseStatus; /** Creation date of the database. */ readonly creationDate?: Date; /** Earliest restore point in time for point in time restore. */ readonly earliestRestorePoint?: Date; /** Conditional. If createMode is PointInTimeRestore, this value is required. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. */ restorePointInTime?: Date; /** Geo paired region. */ readonly defaultSecondaryLocation?: string; /** Collation of the metadata catalog. */ catalogCollation?: CatalogCollationType; /** 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). */ createMode?: ManagedDatabaseCreateMode; /** Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri of the storage container where backups for this restore are stored. */ storageContainerUri?: string; /** The resource identifier of the source database associated with create operation of this database. */ sourceDatabaseId?: string; /** The resource identifier of the cross-subscription source database associated with create operation of this database. */ crossSubscriptionSourceDatabaseId?: string; /** The restorable dropped database resource id to restore when creating this database. */ restorableDroppedDatabaseId?: string; /** The restorable cross-subscription dropped database resource id to restore when creating this database. */ crossSubscriptionRestorableDroppedDatabaseId?: string; /** Conditional. If createMode is RestoreExternalBackup, this value is used. Specifies the identity used for storage container authentication. Can be 'SharedAccessSignature' or 'ManagedIdentity'; if not specified 'SharedAccessSignature' is assumed. */ storageContainerIdentity?: string; /** Conditional. If createMode is RestoreExternalBackup and storageContainerIdentity is not ManagedIdentity, this value is required. Specifies the storage container sas token. */ storageContainerSasToken?: string; /** Instance Failover Group resource identifier that this managed database belongs to. */ readonly failoverGroupId?: string; /** The resource identifier of the recoverable database associated with create operation of this database. */ recoverableDatabaseId?: string; /** The name of the Long Term Retention backup to be used for restore of this managed database. */ longTermRetentionBackupResourceId?: string; /** Whether to auto complete restore of this managed database. */ autoCompleteRestore?: boolean; /** Last backup file name for restore of this managed database. */ lastBackupName?: string; /** Target managed instance id used in cross-subscription restore. */ crossSubscriptionTargetManagedInstanceId?: string; /** Whether or not this database is a ledger database, which means all tables in the database are ledger tables. Note: the value of this property cannot be changed after the database has been created. */ isLedgerOn?: boolean; /** Additional observability and troubleshooting information for databases in ‘Inaccessible’ state. */ readonly extendedAccessibilityInfo?: ManagedDatabaseExtendedAccessibilityInfo; } export declare function managedDatabaseSerializer(item: ManagedDatabase): any; export declare function managedDatabaseDeserializer(item: any): ManagedDatabase; /** The managed database's properties. */ export interface ManagedDatabaseProperties { /** Collation of the managed database. */ collation?: string; /** Status of the database. */ readonly status?: ManagedDatabaseStatus; /** Creation date of the database. */ readonly creationDate?: Date; /** Earliest restore point in time for point in time restore. */ readonly earliestRestorePoint?: Date; /** Conditional. If createMode is PointInTimeRestore, this value is required. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. */ restorePointInTime?: Date; /** Geo paired region. */ readonly defaultSecondaryLocation?: string; /** Collation of the metadata catalog. */ catalogCollation?: CatalogCollationType; /** 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). */ createMode?: ManagedDatabaseCreateMode; /** Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri of the storage container where backups for this restore are stored. */ storageContainerUri?: string; /** The resource identifier of the source database associated with create operation of this database. */ sourceDatabaseId?: string; /** The resource identifier of the cross-subscription source database associated with create operation of this database. */ crossSubscriptionSourceDatabaseId?: string; /** The restorable dropped database resource id to restore when creating this database. */ restorableDroppedDatabaseId?: string; /** The restorable cross-subscription dropped database resource id to restore when creating this database. */ crossSubscriptionRestorableDroppedDatabaseId?: string; /** Conditional. If createMode is RestoreExternalBackup, this value is used. Specifies the identity used for storage container authentication. Can be 'SharedAccessSignature' or 'ManagedIdentity'; if not specified 'SharedAccessSignature' is assumed. */ storageContainerIdentity?: string; /** Conditional. If createMode is RestoreExternalBackup and storageContainerIdentity is not ManagedIdentity, this value is required. Specifies the storage container sas token. */ storageContainerSasToken?: string; /** Instance Failover Group resource identifier that this managed database belongs to. */ readonly failoverGroupId?: string; /** The resource identifier of the recoverable database associated with create operation of this database. */ recoverableDatabaseId?: string; /** The name of the Long Term Retention backup to be used for restore of this managed database. */ longTermRetentionBackupResourceId?: string; /** Whether to auto complete restore of this managed database. */ autoCompleteRestore?: boolean; /** Last backup file name for restore of this managed database. */ lastBackupName?: string; /** Target managed instance id used in cross-subscription restore. */ crossSubscriptionTargetManagedInstanceId?: string; /** Whether or not this database is a ledger database, which means all tables in the database are ledger tables. Note: the value of this property cannot be changed after the database has been created. */ isLedgerOn?: boolean; /** Additional observability and troubleshooting information for databases in ‘Inaccessible’ state. */ readonly extendedAccessibilityInfo?: ManagedDatabaseExtendedAccessibilityInfo; } export declare function managedDatabasePropertiesSerializer(item: ManagedDatabaseProperties): any; export declare function managedDatabasePropertiesDeserializer(item: any): ManagedDatabaseProperties; /** Status of the database. */ export declare enum KnownManagedDatabaseStatus { /** Online */ Online = "Online", /** Offline */ Offline = "Offline", /** Shutdown */ Shutdown = "Shutdown", /** Creating */ Creating = "Creating", /** Inaccessible */ Inaccessible = "Inaccessible", /** Restoring */ Restoring = "Restoring", /** Updating */ Updating = "Updating", /** Stopping */ Stopping = "Stopping", /** Stopped */ Stopped = "Stopped", /** Starting */ Starting = "Starting", /** DbMoving */ DbMoving = "DbMoving", /** DbCopying */ DbCopying = "DbCopying" } /** * Status of the database. \ * {@link KnownManagedDatabaseStatus} can be used interchangeably with ManagedDatabaseStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Online**: Online \ * **Offline**: Offline \ * **Shutdown**: Shutdown \ * **Creating**: Creating \ * **Inaccessible**: Inaccessible \ * **Restoring**: Restoring \ * **Updating**: Updating \ * **Stopping**: Stopping \ * **Stopped**: Stopped \ * **Starting**: Starting \ * **DbMoving**: DbMoving \ * **DbCopying**: DbCopying */ export type ManagedDatabaseStatus = string; /** 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). */ export declare enum KnownManagedDatabaseCreateMode { /** Default */ Default = "Default", /** RestoreExternalBackup */ RestoreExternalBackup = "RestoreExternalBackup", /** PointInTimeRestore */ PointInTimeRestore = "PointInTimeRestore", /** Recovery */ Recovery = "Recovery", /** RestoreLongTermRetentionBackup */ RestoreLongTermRetentionBackup = "RestoreLongTermRetentionBackup" } /** * 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). \ * {@link KnownManagedDatabaseCreateMode} can be used interchangeably with ManagedDatabaseCreateMode, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Default**: Default \ * **RestoreExternalBackup**: RestoreExternalBackup \ * **PointInTimeRestore**: PointInTimeRestore \ * **Recovery**: Recovery \ * **RestoreLongTermRetentionBackup**: RestoreLongTermRetentionBackup */ export type ManagedDatabaseCreateMode = string; /** Managed Database Extended Accessibility Information */ export interface ManagedDatabaseExtendedAccessibilityInfo { /** SQL Server error code connected to the inaccessibility root cause. */ readonly inaccessibilityReasonErrorCode: string; /** Root cause explanation and mitigation action. */ readonly inaccessibilityReasonDescription: string; /** Root cause kind. Allowed values are “TransparentDataEncryption”, “DatabaseReplication”, and “Unknown”. */ readonly inaccessibilityReasonKind: InaccessibilityReason; /** For the root cause kind “TransparentDataEncryption”, the CMK URI. */ readonly inaccessibilityReasonTdeKeyUri?: string; } export declare function managedDatabaseExtendedAccessibilityInfoDeserializer(item: any): ManagedDatabaseExtendedAccessibilityInfo; /** Root cause kind. Allowed values are “TransparentDataEncryption”, “DatabaseReplication”, and “Unknown”. */ export declare enum KnownInaccessibilityReason { /** Unknown */ Unknown = "Unknown", /** TransparentDataEncryption */ TransparentDataEncryption = "TransparentDataEncryption", /** DatabaseReplication */ DatabaseReplication = "DatabaseReplication" } /** * Root cause kind. Allowed values are “TransparentDataEncryption”, “DatabaseReplication”, and “Unknown”. \ * {@link KnownInaccessibilityReason} can be used interchangeably with InaccessibilityReason, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Unknown**: Unknown \ * **TransparentDataEncryption**: TransparentDataEncryption \ * **DatabaseReplication**: DatabaseReplication */ export type InaccessibilityReason = string; /** An managed database update. */ export interface ManagedDatabaseUpdate { /** Resource tags. */ tags?: Record; /** Collation of the managed database. */ collation?: string; /** Status of the database. */ readonly status?: ManagedDatabaseStatus; /** Creation date of the database. */ readonly creationDate?: Date; /** Earliest restore point in time for point in time restore. */ readonly earliestRestorePoint?: Date; /** Conditional. If createMode is PointInTimeRestore, this value is required. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. */ restorePointInTime?: Date; /** Geo paired region. */ readonly defaultSecondaryLocation?: string; /** Collation of the metadata catalog. */ catalogCollation?: CatalogCollationType; /** 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). */ createMode?: ManagedDatabaseCreateMode; /** Conditional. If createMode is RestoreExternalBackup, this value is required. Specifies the uri of the storage container where backups for this restore are stored. */ storageContainerUri?: string; /** The resource identifier of the source database associated with create operation of this database. */ sourceDatabaseId?: string; /** The resource identifier of the cross-subscription source database associated with create operation of this database. */ crossSubscriptionSourceDatabaseId?: string; /** The restorable dropped database resource id to restore when creating this database. */ restorableDroppedDatabaseId?: string; /** The restorable cross-subscription dropped database resource id to restore when creating this database. */ crossSubscriptionRestorableDroppedDatabaseId?: string; /** Conditional. If createMode is RestoreExternalBackup, this value is used. Specifies the identity used for storage container authentication. Can be 'SharedAccessSignature' or 'ManagedIdentity'; if not specified 'SharedAccessSignature' is assumed. */ storageContainerIdentity?: string; /** Conditional. If createMode is RestoreExternalBackup and storageContainerIdentity is not ManagedIdentity, this value is required. Specifies the storage container sas token. */ storageContainerSasToken?: string; /** Instance Failover Group resource identifier that this managed database belongs to. */ readonly failoverGroupId?: string; /** The resource identifier of the recoverable database associated with create operation of this database. */ recoverableDatabaseId?: string; /** The name of the Long Term Retention backup to be used for restore of this managed database. */ longTermRetentionBackupResourceId?: string; /** Whether to auto complete restore of this managed database. */ autoCompleteRestore?: boolean; /** Last backup file name for restore of this managed database. */ lastBackupName?: string; /** Target managed instance id used in cross-subscription restore. */ crossSubscriptionTargetManagedInstanceId?: string; /** Whether or not this database is a ledger database, which means all tables in the database are ledger tables. Note: the value of this property cannot be changed after the database has been created. */ isLedgerOn?: boolean; /** Additional observability and troubleshooting information for databases in ‘Inaccessible’ state. */ readonly extendedAccessibilityInfo?: ManagedDatabaseExtendedAccessibilityInfo; } export declare function managedDatabaseUpdateSerializer(item: ManagedDatabaseUpdate): any; /** The response of a ManagedDatabase list operation. */ export interface _ManagedDatabaseListResult { /** The ManagedDatabase items on this page */ value: ManagedDatabase[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedDatabaseListResultDeserializer(item: any): _ManagedDatabaseListResult; export declare function managedDatabaseArraySerializer(result: Array): any[]; export declare function managedDatabaseArrayDeserializer(result: Array): any[]; /** Contains the information necessary to perform a managed database move. */ export interface ManagedDatabaseMoveDefinition { /** The destination managed database ID */ destinationManagedDatabaseId: string; } export declare function managedDatabaseMoveDefinitionSerializer(item: ManagedDatabaseMoveDefinition): any; /** Contains the information necessary to perform a complete database restore operation. */ export interface CompleteDatabaseRestoreDefinition { /** The last backup name to apply */ lastBackupName: string; } export declare function completeDatabaseRestoreDefinitionSerializer(item: CompleteDatabaseRestoreDefinition): any; /** Contains the information necessary to start a managed database move. */ export interface ManagedDatabaseStartMoveDefinition { /** The destination managed database ID */ destinationManagedDatabaseId: string; /** The move operation mode. */ operationMode?: MoveOperationMode; } export declare function managedDatabaseStartMoveDefinitionSerializer(item: ManagedDatabaseStartMoveDefinition): any; /** Operation mode. */ export declare enum KnownMoveOperationMode { /** Move */ Move = "Move", /** Copy */ Copy = "Copy" } /** * Operation mode. \ * {@link KnownMoveOperationMode} can be used interchangeably with MoveOperationMode, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Move**: Move \ * **Copy**: Copy */ export type MoveOperationMode = string; /** A server trust group. */ export interface ServerTrustGroup extends ProxyResource { /** Group members information for the server trust group. */ groupMembers?: ServerInfo[]; /** Trust scope of the server trust group. */ trustScopes?: ServerTrustGroupPropertiesTrustScopesItem[]; } export declare function serverTrustGroupSerializer(item: ServerTrustGroup): any; export declare function serverTrustGroupDeserializer(item: any): ServerTrustGroup; /** Properties of a server trust group. */ export interface ServerTrustGroupProperties { /** Group members information for the server trust group. */ groupMembers: ServerInfo[]; /** Trust scope of the server trust group. */ trustScopes: ServerTrustGroupPropertiesTrustScopesItem[]; } export declare function serverTrustGroupPropertiesSerializer(item: ServerTrustGroupProperties): any; export declare function serverTrustGroupPropertiesDeserializer(item: any): ServerTrustGroupProperties; export declare function serverInfoArraySerializer(result: Array): any[]; export declare function serverInfoArrayDeserializer(result: Array): any[]; /** Server info for the server trust group. */ export interface ServerInfo { /** Server Id. */ serverId: string; } export declare function serverInfoSerializer(item: ServerInfo): any; export declare function serverInfoDeserializer(item: any): ServerInfo; /** Known values of {@link ServerTrustGroupPropertiesTrustScopesItem} that the service accepts. */ export declare enum KnownServerTrustGroupPropertiesTrustScopesItem { /** GlobalTransactions */ GlobalTransactions = "GlobalTransactions", /** ServiceBroker */ ServiceBroker = "ServiceBroker" } /** Type of ServerTrustGroupPropertiesTrustScopesItem */ export type ServerTrustGroupPropertiesTrustScopesItem = string; /** The response of a ServerTrustGroup list operation. */ export interface _ServerTrustGroupListResult { /** The ServerTrustGroup items on this page */ value: ServerTrustGroup[]; /** The link to the next page of items */ nextLink?: string; } export declare function _serverTrustGroupListResultDeserializer(item: any): _ServerTrustGroupListResult; export declare function serverTrustGroupArraySerializer(result: Array): any[]; export declare function serverTrustGroupArrayDeserializer(result: Array): any[]; /** An Azure SQL managed instance. */ export interface ManagedInstance extends TrackedResource { /** The Azure Active Directory identity of the managed instance. */ identity?: ResourceIdentity; /** Managed instance SKU. Allowed values for sku.name: GP_Gen5 (General Purpose, Standard-series); GP_G8IM (General Purpose, Premium-series); GP_G8IH (General Purpose, Premium-series memory optimized); BC_Gen5 (Business Critical, Standard-Series); BC_G8IM (Business Critical, Premium-series); BC_G8IH (Business Critical, Premium-series memory optimized). */ sku?: Sku; /** Provisioning state of managed instance. */ readonly provisioningState?: ProvisioningState; /** * 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. */ managedInstanceCreateMode?: ManagedServerCreateMode; /** The fully qualified domain name of the managed instance. */ readonly fullyQualifiedDomainName?: string; /** Whether or not this is a GPv2 variant of General Purpose edition. */ isGeneralPurposeV2?: boolean; /** Administrator username for the managed instance. Can only be specified when the managed instance is being created (and is required for creation). */ administratorLogin?: string; /** The administrator login password (required for managed instance creation). */ administratorLoginPassword?: string; /** Subnet resource ID for the managed instance. */ subnetId?: string; /** The state of the managed instance. */ readonly state?: string; /** 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). */ licenseType?: ManagedInstanceLicenseType; /** Hybrid secondary usage. Possible values are 'Active' (default value) and 'Passive' (customer uses the secondary as Passive DR). */ hybridSecondaryUsage?: HybridSecondaryUsage; /** Hybrid secondary usage detected. Possible values are 'Active' (customer does not meet the requirements to use the secondary as Passive DR) and 'Passive' (customer meets the requirements to use the secondary as Passive DR). */ readonly hybridSecondaryUsageDetected?: HybridSecondaryUsageDetected; /** The number of vCores. Allowed values: 4, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64, 80, 96, 128. Supported vCores depends on the selected hardware family and service tier. */ vCores?: number; /** Storage size in GB. Minimum value: 32. Maximum value: 32768. Increments of 32 GB allowed only. Maximum value depends on the selected hardware family and number of vCores. */ storageSizeInGB?: number; /** Storage IOps. Minimum value: 300. Maximum value: 80000. Increments of 1 IOps allowed only. Maximum value depends on the selected hardware family and number of vCores. */ storageIOps?: number; /** Storage throughput MBps parameter is not supported in the instance create/update operation. */ storageThroughputMBps?: number; /** Memory size in GB. Minimum value: 28. Maximum value: 870. Minimum and maximum value depend on the number of vCores and service tier. Read more about resource limits: https://aka.ms/mi-resource-limits-api. */ memorySizeInGB?: number; /** Collation of the managed instance. */ collation?: string; /** The Dns Zone that the managed instance is in. */ readonly dnsZone?: string; /** The resource id of another managed instance whose DNS zone this managed instance will share after creation. */ dnsZonePartner?: string; /** Whether or not the public data endpoint is enabled. */ publicDataEndpointEnabled?: boolean; /** The resource identifier of the source managed instance associated with create operation of this instance. */ sourceManagedInstanceId?: string; /** Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. */ restorePointInTime?: Date; /** Connection type used for connecting to the instance. */ proxyOverride?: ManagedInstanceProxyOverride; /** * Id of the timezone. Allowed values are timezones supported by Windows. * Windows keeps details on supported timezones, including the id, in registry under * KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones. * You can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM sys.time_zone_info. * List of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. * An example of valid timezone id is "Pacific Standard Time" or "W. Europe Standard Time". */ timezoneId?: string; /** The Id of the instance pool this managed server belongs to. */ instancePoolId?: string; /** Specifies maintenance configuration id to apply to this managed instance. */ maintenanceConfigurationId?: string; /** List of private endpoint connections on a managed instance. */ readonly privateEndpointConnections?: ManagedInstancePecProperty[]; /** Minimal TLS version. Allowed values: 'None', '1.0', '1.1', '1.2' */ minimalTlsVersion?: string; /** The storage account type used to store backups for this instance. The options are Local (LocallyRedundantStorage), Zone (ZoneRedundantStorage), Geo (GeoRedundantStorage) and GeoZone(GeoZoneRedundantStorage) */ readonly currentBackupStorageRedundancy?: BackupStorageRedundancy; /** The storage account type to be used to store backups for this instance. The options are Local (LocallyRedundantStorage), Zone (ZoneRedundantStorage), Geo (GeoRedundantStorage) and GeoZone(GeoZoneRedundantStorage) */ requestedBackupStorageRedundancy?: BackupStorageRedundancy; /** Whether or not the zone-redundancy is enabled. */ zoneRedundant?: boolean; /** The resource id of a user assigned identity to be used by default. */ primaryUserAssignedIdentityId?: string; /** A CMK URI of the key to use for encryption. */ keyId?: string; /** The Azure Active Directory administrator can be utilized during instance creation and for instance updates, except for the azureADOnlyAuthentication property. To update the azureADOnlyAuthentication property, individual API must be used. */ administrators?: ManagedInstanceExternalAdministrator; /** The managed instance's service principal. */ servicePrincipal?: ServicePrincipal; /** Virtual cluster resource id for the Managed Instance. */ readonly virtualClusterId?: string; /** Status of external governance. */ readonly externalGovernanceStatus?: ExternalGovernanceStatus; /** Pricing model of Managed Instance. */ pricingModel?: PricingModel; /** Specifies the point in time (ISO8601 format) of the Managed Instance creation. */ readonly createTime?: Date; /** The managed instance's authentication metadata lookup mode. */ authenticationMetadata?: AuthMetadataLookupModes; /** Specifies the internal format of instance databases specific to the SQL engine version. */ databaseFormat?: ManagedInstanceDatabaseFormat; /** Specifies the logical availability zone Managed Instance is pinned to. */ requestedLogicalAvailabilityZone?: AvailabilityZoneType; } export declare function managedInstanceSerializer(item: ManagedInstance): any; export declare function managedInstanceDeserializer(item: any): ManagedInstance; /** The properties of a managed instance. */ export interface ManagedInstanceProperties { /** Provisioning state of managed instance. */ readonly provisioningState?: ProvisioningState; /** * 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. */ managedInstanceCreateMode?: ManagedServerCreateMode; /** The fully qualified domain name of the managed instance. */ readonly fullyQualifiedDomainName?: string; /** Whether or not this is a GPv2 variant of General Purpose edition. */ isGeneralPurposeV2?: boolean; /** Administrator username for the managed instance. Can only be specified when the managed instance is being created (and is required for creation). */ administratorLogin?: string; /** The administrator login password (required for managed instance creation). */ administratorLoginPassword?: string; /** Subnet resource ID for the managed instance. */ subnetId?: string; /** The state of the managed instance. */ readonly state?: string; /** 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). */ licenseType?: ManagedInstanceLicenseType; /** Hybrid secondary usage. Possible values are 'Active' (default value) and 'Passive' (customer uses the secondary as Passive DR). */ hybridSecondaryUsage?: HybridSecondaryUsage; /** Hybrid secondary usage detected. Possible values are 'Active' (customer does not meet the requirements to use the secondary as Passive DR) and 'Passive' (customer meets the requirements to use the secondary as Passive DR). */ readonly hybridSecondaryUsageDetected?: HybridSecondaryUsageDetected; /** The number of vCores. Allowed values: 4, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64, 80, 96, 128. Supported vCores depends on the selected hardware family and service tier. */ vCores?: number; /** Storage size in GB. Minimum value: 32. Maximum value: 32768. Increments of 32 GB allowed only. Maximum value depends on the selected hardware family and number of vCores. */ storageSizeInGB?: number; /** Storage IOps. Minimum value: 300. Maximum value: 80000. Increments of 1 IOps allowed only. Maximum value depends on the selected hardware family and number of vCores. */ storageIOps?: number; /** Storage throughput MBps parameter is not supported in the instance create/update operation. */ storageThroughputMBps?: number; /** Memory size in GB. Minimum value: 28. Maximum value: 870. Minimum and maximum value depend on the number of vCores and service tier. Read more about resource limits: https://aka.ms/mi-resource-limits-api. */ memorySizeInGB?: number; /** Collation of the managed instance. */ collation?: string; /** The Dns Zone that the managed instance is in. */ readonly dnsZone?: string; /** The resource id of another managed instance whose DNS zone this managed instance will share after creation. */ dnsZonePartner?: string; /** Whether or not the public data endpoint is enabled. */ publicDataEndpointEnabled?: boolean; /** The resource identifier of the source managed instance associated with create operation of this instance. */ sourceManagedInstanceId?: string; /** Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. */ restorePointInTime?: Date; /** Connection type used for connecting to the instance. */ proxyOverride?: ManagedInstanceProxyOverride; /** * Id of the timezone. Allowed values are timezones supported by Windows. * Windows keeps details on supported timezones, including the id, in registry under * KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones. * You can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM sys.time_zone_info. * List of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. * An example of valid timezone id is "Pacific Standard Time" or "W. Europe Standard Time". */ timezoneId?: string; /** The Id of the instance pool this managed server belongs to. */ instancePoolId?: string; /** Specifies maintenance configuration id to apply to this managed instance. */ maintenanceConfigurationId?: string; /** List of private endpoint connections on a managed instance. */ readonly privateEndpointConnections?: ManagedInstancePecProperty[]; /** Minimal TLS version. Allowed values: 'None', '1.0', '1.1', '1.2' */ minimalTlsVersion?: string; /** The storage account type used to store backups for this instance. The options are Local (LocallyRedundantStorage), Zone (ZoneRedundantStorage), Geo (GeoRedundantStorage) and GeoZone(GeoZoneRedundantStorage) */ readonly currentBackupStorageRedundancy?: BackupStorageRedundancy; /** The storage account type to be used to store backups for this instance. The options are Local (LocallyRedundantStorage), Zone (ZoneRedundantStorage), Geo (GeoRedundantStorage) and GeoZone(GeoZoneRedundantStorage) */ requestedBackupStorageRedundancy?: BackupStorageRedundancy; /** Whether or not the zone-redundancy is enabled. */ zoneRedundant?: boolean; /** The resource id of a user assigned identity to be used by default. */ primaryUserAssignedIdentityId?: string; /** A CMK URI of the key to use for encryption. */ keyId?: string; /** The Azure Active Directory administrator can be utilized during instance creation and for instance updates, except for the azureADOnlyAuthentication property. To update the azureADOnlyAuthentication property, individual API must be used. */ administrators?: ManagedInstanceExternalAdministrator; /** The managed instance's service principal. */ servicePrincipal?: ServicePrincipal; /** Virtual cluster resource id for the Managed Instance. */ readonly virtualClusterId?: string; /** Status of external governance. */ readonly externalGovernanceStatus?: ExternalGovernanceStatus; /** Pricing model of Managed Instance. */ pricingModel?: PricingModel; /** Specifies the point in time (ISO8601 format) of the Managed Instance creation. */ readonly createTime?: Date; /** The managed instance's authentication metadata lookup mode. */ authenticationMetadata?: AuthMetadataLookupModes; /** Specifies the internal format of instance databases specific to the SQL engine version. */ databaseFormat?: ManagedInstanceDatabaseFormat; /** Specifies the logical availability zone Managed Instance is pinned to. */ requestedLogicalAvailabilityZone?: AvailabilityZoneType; } export declare function managedInstancePropertiesSerializer(item: ManagedInstanceProperties): any; export declare function managedInstancePropertiesDeserializer(item: any): ManagedInstanceProperties; /** The ARM provisioning state of the job execution. */ export declare enum KnownProvisioningState { /** Created */ Created = "Created", /** InProgress */ InProgress = "InProgress", /** Succeeded */ Succeeded = "Succeeded", /** Failed */ Failed = "Failed", /** Canceled */ Canceled = "Canceled" } /** * The ARM provisioning state of the job execution. \ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Created**: Created \ * **InProgress**: InProgress \ * **Succeeded**: Succeeded \ * **Failed**: Failed \ * **Canceled**: Canceled */ export type ProvisioningState = string; /** * 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. */ export declare enum KnownManagedServerCreateMode { /** Default */ Default = "Default", /** PointInTimeRestore */ PointInTimeRestore = "PointInTimeRestore" } /** * 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. \ * {@link KnownManagedServerCreateMode} can be used interchangeably with ManagedServerCreateMode, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Default**: Default \ * **PointInTimeRestore**: PointInTimeRestore */ export type ManagedServerCreateMode = string; /** 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). */ export declare enum KnownManagedInstanceLicenseType { /** LicenseIncluded */ LicenseIncluded = "LicenseIncluded", /** BasePrice */ BasePrice = "BasePrice" } /** * 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). \ * {@link KnownManagedInstanceLicenseType} can be used interchangeably with ManagedInstanceLicenseType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **LicenseIncluded**: LicenseIncluded \ * **BasePrice**: BasePrice */ export type ManagedInstanceLicenseType = string; /** Hybrid secondary usage. Possible values are 'Active' (default value) and 'Passive' (customer uses the secondary as Passive DR). */ export declare enum KnownHybridSecondaryUsage { /** Active */ Active = "Active", /** Passive */ Passive = "Passive" } /** * Hybrid secondary usage. Possible values are 'Active' (default value) and 'Passive' (customer uses the secondary as Passive DR). \ * {@link KnownHybridSecondaryUsage} can be used interchangeably with HybridSecondaryUsage, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Active**: Active \ * **Passive**: Passive */ export type HybridSecondaryUsage = string; /** Hybrid secondary usage detected. Possible values are 'Active' (customer does not meet the requirements to use the secondary as Passive DR) and 'Passive' (customer meets the requirements to use the secondary as Passive DR). */ export declare enum KnownHybridSecondaryUsageDetected { /** Active */ Active = "Active", /** Passive */ Passive = "Passive" } /** * Hybrid secondary usage detected. Possible values are 'Active' (customer does not meet the requirements to use the secondary as Passive DR) and 'Passive' (customer meets the requirements to use the secondary as Passive DR). \ * {@link KnownHybridSecondaryUsageDetected} can be used interchangeably with HybridSecondaryUsageDetected, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Active**: Active \ * **Passive**: Passive */ export type HybridSecondaryUsageDetected = string; /** Connection type used for connecting to the instance. */ export declare enum KnownManagedInstanceProxyOverride { /** Proxy */ Proxy = "Proxy", /** Redirect */ Redirect = "Redirect", /** Default */ Default = "Default" } /** * Connection type used for connecting to the instance. \ * {@link KnownManagedInstanceProxyOverride} can be used interchangeably with ManagedInstanceProxyOverride, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Proxy**: Proxy \ * **Redirect**: Redirect \ * **Default**: Default */ export type ManagedInstanceProxyOverride = string; export declare function managedInstancePecPropertyArrayDeserializer(result: Array): any[]; /** A private endpoint connection under a managed instance */ export interface ManagedInstancePecProperty { /** Resource ID. */ readonly id?: string; /** Private endpoint connection properties */ readonly properties?: ManagedInstancePrivateEndpointConnectionProperties; } export declare function managedInstancePecPropertyDeserializer(item: any): ManagedInstancePecProperty; /** Properties of a private endpoint connection. */ export interface ManagedInstancePrivateEndpointConnectionProperties { /** Private endpoint which the connection belongs to. */ privateEndpoint?: ManagedInstancePrivateEndpointProperty; /** Connection State of the Private Endpoint Connection. */ privateLinkServiceConnectionState?: ManagedInstancePrivateLinkServiceConnectionStateProperty; /** State of the Private Endpoint Connection. */ readonly provisioningState?: string; } export declare function managedInstancePrivateEndpointConnectionPropertiesSerializer(item: ManagedInstancePrivateEndpointConnectionProperties): any; export declare function managedInstancePrivateEndpointConnectionPropertiesDeserializer(item: any): ManagedInstancePrivateEndpointConnectionProperties; /** model interface ManagedInstancePrivateEndpointProperty */ export interface ManagedInstancePrivateEndpointProperty { /** Resource id of the private endpoint. */ id?: string; } export declare function managedInstancePrivateEndpointPropertySerializer(item: ManagedInstancePrivateEndpointProperty): any; export declare function managedInstancePrivateEndpointPropertyDeserializer(item: any): ManagedInstancePrivateEndpointProperty; /** model interface ManagedInstancePrivateLinkServiceConnectionStateProperty */ export interface ManagedInstancePrivateLinkServiceConnectionStateProperty { /** The private link service connection status. */ status: string; /** The private link service connection description. */ description: string; /** The private link service connection description. */ readonly actionsRequired?: string; } export declare function managedInstancePrivateLinkServiceConnectionStatePropertySerializer(item: ManagedInstancePrivateLinkServiceConnectionStateProperty): any; export declare function managedInstancePrivateLinkServiceConnectionStatePropertyDeserializer(item: any): ManagedInstancePrivateLinkServiceConnectionStateProperty; /** Properties of a active directory administrator. */ export interface ManagedInstanceExternalAdministrator { /** Type of the sever administrator. */ administratorType?: AdministratorType; /** Principal Type of the sever administrator. */ principalType?: PrincipalType; /** Login name of the server administrator. */ login?: string; /** SID (object ID) of the server administrator. */ sid?: string; /** Tenant ID of the administrator. */ tenantId?: string; /** Azure Active Directory only Authentication enabled. */ azureADOnlyAuthentication?: boolean; } export declare function managedInstanceExternalAdministratorSerializer(item: ManagedInstanceExternalAdministrator): any; export declare function managedInstanceExternalAdministratorDeserializer(item: any): ManagedInstanceExternalAdministrator; /** The managed instance's service principal configuration for a resource. */ export interface ServicePrincipal { /** The Azure Active Directory application object id. */ readonly principalId?: string; /** The Azure Active Directory application client id. */ readonly clientId?: string; /** The Azure Active Directory tenant id. */ readonly tenantId?: string; /** Service principal type. */ type?: ServicePrincipalType; } export declare function servicePrincipalSerializer(item: ServicePrincipal): any; export declare function servicePrincipalDeserializer(item: any): ServicePrincipal; /** Service principal type. */ export declare enum KnownServicePrincipalType { /** None */ None = "None", /** SystemAssigned */ SystemAssigned = "SystemAssigned" } /** * Service principal type. \ * {@link KnownServicePrincipalType} can be used interchangeably with ServicePrincipalType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **None**: None \ * **SystemAssigned**: SystemAssigned */ export type ServicePrincipalType = string; /** Pricing model of Managed Instance. */ export declare enum KnownPricingModel { /** Regular */ Regular = "Regular", /** Freemium */ Freemium = "Freemium" } /** * Pricing model of Managed Instance. \ * {@link KnownPricingModel} can be used interchangeably with PricingModel, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Regular**: Regular \ * **Freemium**: Freemium */ export type PricingModel = string; /** The managed instance's authentication metadata lookup mode. */ export declare enum KnownAuthMetadataLookupModes { /** AzureAD */ AzureAD = "AzureAD", /** Paired */ Paired = "Paired", /** Windows */ Windows = "Windows" } /** * The managed instance's authentication metadata lookup mode. \ * {@link KnownAuthMetadataLookupModes} can be used interchangeably with AuthMetadataLookupModes, * this enum contains the known values that the service supports. * ### Known values supported by the service * **AzureAD**: AzureAD \ * **Paired**: Paired \ * **Windows**: Windows */ export type AuthMetadataLookupModes = string; /** Specifies the internal format of instance databases specific to the SQL engine version. */ export declare enum KnownManagedInstanceDatabaseFormat { /** AlwaysUpToDate */ AlwaysUpToDate = "AlwaysUpToDate", /** SQLServer2022 */ SQLServer2022 = "SQLServer2022", /** SQLServer2025 */ SQLServer2025 = "SQLServer2025" } /** * Specifies the internal format of instance databases specific to the SQL engine version. \ * {@link KnownManagedInstanceDatabaseFormat} can be used interchangeably with ManagedInstanceDatabaseFormat, * this enum contains the known values that the service supports. * ### Known values supported by the service * **AlwaysUpToDate**: AlwaysUpToDate \ * **SQLServer2022**: SQLServer2022 \ * **SQLServer2025**: SQLServer2025 */ export type ManagedInstanceDatabaseFormat = string; /** An update request for an Azure SQL Database managed instance. */ export interface ManagedInstanceUpdate { /** Managed instance sku */ sku?: Sku; /** Managed instance identity */ identity?: ResourceIdentity; /** Resource tags. */ tags?: Record; /** Provisioning state of managed instance. */ readonly provisioningState?: ProvisioningState; /** * 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. */ managedInstanceCreateMode?: ManagedServerCreateMode; /** The fully qualified domain name of the managed instance. */ readonly fullyQualifiedDomainName?: string; /** Whether or not this is a GPv2 variant of General Purpose edition. */ isGeneralPurposeV2?: boolean; /** Administrator username for the managed instance. Can only be specified when the managed instance is being created (and is required for creation). */ administratorLogin?: string; /** The administrator login password (required for managed instance creation). */ administratorLoginPassword?: string; /** Subnet resource ID for the managed instance. */ subnetId?: string; /** The state of the managed instance. */ readonly state?: string; /** 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). */ licenseType?: ManagedInstanceLicenseType; /** Hybrid secondary usage. Possible values are 'Active' (default value) and 'Passive' (customer uses the secondary as Passive DR). */ hybridSecondaryUsage?: HybridSecondaryUsage; /** Hybrid secondary usage detected. Possible values are 'Active' (customer does not meet the requirements to use the secondary as Passive DR) and 'Passive' (customer meets the requirements to use the secondary as Passive DR). */ readonly hybridSecondaryUsageDetected?: HybridSecondaryUsageDetected; /** The number of vCores. Allowed values: 4, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64, 80, 96, 128. Supported vCores depends on the selected hardware family and service tier. */ vCores?: number; /** Storage size in GB. Minimum value: 32. Maximum value: 32768. Increments of 32 GB allowed only. Maximum value depends on the selected hardware family and number of vCores. */ storageSizeInGB?: number; /** Storage IOps. Minimum value: 300. Maximum value: 80000. Increments of 1 IOps allowed only. Maximum value depends on the selected hardware family and number of vCores. */ storageIOps?: number; /** Storage throughput MBps parameter is not supported in the instance create/update operation. */ storageThroughputMBps?: number; /** Memory size in GB. Minimum value: 28. Maximum value: 870. Minimum and maximum value depend on the number of vCores and service tier. Read more about resource limits: https://aka.ms/mi-resource-limits-api. */ memorySizeInGB?: number; /** Collation of the managed instance. */ collation?: string; /** The Dns Zone that the managed instance is in. */ readonly dnsZone?: string; /** The resource id of another managed instance whose DNS zone this managed instance will share after creation. */ dnsZonePartner?: string; /** Whether or not the public data endpoint is enabled. */ publicDataEndpointEnabled?: boolean; /** The resource identifier of the source managed instance associated with create operation of this instance. */ sourceManagedInstanceId?: string; /** Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database. */ restorePointInTime?: Date; /** Connection type used for connecting to the instance. */ proxyOverride?: ManagedInstanceProxyOverride; /** * Id of the timezone. Allowed values are timezones supported by Windows. * Windows keeps details on supported timezones, including the id, in registry under * KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones. * You can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM sys.time_zone_info. * List of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. * An example of valid timezone id is "Pacific Standard Time" or "W. Europe Standard Time". */ timezoneId?: string; /** The Id of the instance pool this managed server belongs to. */ instancePoolId?: string; /** Specifies maintenance configuration id to apply to this managed instance. */ maintenanceConfigurationId?: string; /** List of private endpoint connections on a managed instance. */ readonly privateEndpointConnections?: ManagedInstancePecProperty[]; /** Minimal TLS version. Allowed values: 'None', '1.0', '1.1', '1.2' */ minimalTlsVersion?: string; /** The storage account type used to store backups for this instance. The options are Local (LocallyRedundantStorage), Zone (ZoneRedundantStorage), Geo (GeoRedundantStorage) and GeoZone(GeoZoneRedundantStorage) */ readonly currentBackupStorageRedundancy?: BackupStorageRedundancy; /** The storage account type to be used to store backups for this instance. The options are Local (LocallyRedundantStorage), Zone (ZoneRedundantStorage), Geo (GeoRedundantStorage) and GeoZone(GeoZoneRedundantStorage) */ requestedBackupStorageRedundancy?: BackupStorageRedundancy; /** Whether or not the zone-redundancy is enabled. */ zoneRedundant?: boolean; /** The resource id of a user assigned identity to be used by default. */ primaryUserAssignedIdentityId?: string; /** A CMK URI of the key to use for encryption. */ keyId?: string; /** The Azure Active Directory administrator can be utilized during instance creation and for instance updates, except for the azureADOnlyAuthentication property. To update the azureADOnlyAuthentication property, individual API must be used. */ administrators?: ManagedInstanceExternalAdministrator; /** The managed instance's service principal. */ servicePrincipal?: ServicePrincipal; /** Virtual cluster resource id for the Managed Instance. */ readonly virtualClusterId?: string; /** Status of external governance. */ readonly externalGovernanceStatus?: ExternalGovernanceStatus; /** Pricing model of Managed Instance. */ pricingModel?: PricingModel; /** Specifies the point in time (ISO8601 format) of the Managed Instance creation. */ readonly createTime?: Date; /** The managed instance's authentication metadata lookup mode. */ authenticationMetadata?: AuthMetadataLookupModes; /** Specifies the internal format of instance databases specific to the SQL engine version. */ databaseFormat?: ManagedInstanceDatabaseFormat; /** Specifies the logical availability zone Managed Instance is pinned to. */ requestedLogicalAvailabilityZone?: AvailabilityZoneType; } export declare function managedInstanceUpdateSerializer(item: ManagedInstanceUpdate): any; /** The response of a ManagedInstance list operation. */ export interface _ManagedInstanceListResult { /** The ManagedInstance items on this page */ value: ManagedInstance[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedInstanceListResultDeserializer(item: any): _ManagedInstanceListResult; export declare function managedInstanceArraySerializer(result: Array): any[]; export declare function managedInstanceArrayDeserializer(result: Array): any[]; /** A collection of endpoints that the managed instance service requires outbound network access to. */ export interface _OutboundEnvironmentEndpointCollection { /** The OutboundEnvironmentEndpoint items on this page */ value: OutboundEnvironmentEndpoint[]; /** The link to the next page of items */ nextLink?: string; } export declare function _outboundEnvironmentEndpointCollectionDeserializer(item: any): _OutboundEnvironmentEndpointCollection; export declare function outboundEnvironmentEndpointArrayDeserializer(result: Array): any[]; /** An endpoint that the managed instance service requires outbound network access to. */ export interface OutboundEnvironmentEndpoint { /** The type of service accessed by the managed instance service, e.g., Azure Storage, Azure Active Directory, etc. */ readonly category?: string; /** The endpoints that the managed instance service communicates with in order to function correctly. */ readonly endpoints?: EndpointDependency[]; } export declare function outboundEnvironmentEndpointDeserializer(item: any): OutboundEnvironmentEndpoint; export declare function endpointDependencyArrayDeserializer(result: Array): any[]; /** A domain name that the managed instance service needs to communicate with, along with additional details. */ export interface EndpointDependency { /** The domain name of the dependency. */ readonly domainName?: string; /** The IP Addresses and Ports used when connecting to DomainName. */ readonly endpointDetails?: EndpointDetail[]; } export declare function endpointDependencyDeserializer(item: any): EndpointDependency; export declare function endpointDetailArrayDeserializer(result: Array): any[]; /** A domain name that the managed instance service needs to communicate with, along with additional details. */ export interface EndpointDetail { /** The port an endpoint is connected to. */ readonly port?: number; } export declare function endpointDetailDeserializer(item: any): EndpointDetail; /** An RefreshExternalGovernanceStatus operation result resource. */ export interface RefreshExternalGovernanceStatusOperationResultMI extends ProxyResource { /** Request Id. */ readonly requestId?: string; /** Request type. */ readonly requestType?: string; /** Queued time. */ readonly queuedTime?: string; /** Managed instance name. */ readonly managedInstanceName?: string; /** Operation status. */ readonly status?: string; /** Error message. */ readonly errorMessage?: string; } export declare function refreshExternalGovernanceStatusOperationResultMIDeserializer(item: any): RefreshExternalGovernanceStatusOperationResultMI; /** Contains the operation result properties for refresh external governance status operation. */ export interface RefreshExternalGovernanceStatusOperationResultPropertiesMI { /** Request Id. */ readonly requestId?: string; /** Request type. */ readonly requestType?: string; /** Queued time. */ readonly queuedTime?: string; /** Managed instance name. */ readonly managedInstanceName?: string; /** Operation status. */ readonly status?: string; /** Error message. */ readonly errorMessage?: string; } export declare function refreshExternalGovernanceStatusOperationResultPropertiesMIDeserializer(item: any): RefreshExternalGovernanceStatusOperationResultPropertiesMI; /** A list of top resource consuming queries on managed instance */ export interface _TopQueriesListResult { /** The TopQueries items on this page */ value: TopQueries[]; /** The link to the next page of items */ nextLink?: string; } export declare function _topQueriesListResultDeserializer(item: any): _TopQueriesListResult; export declare function topQueriesArrayDeserializer(result: Array): any[]; /** model interface TopQueries */ export interface TopQueries { /** Requested number of top queries. */ readonly numberOfQueries?: number; /** Aggregation function used to calculate query metrics. */ readonly aggregationFunction?: string; /** Metric used to rank queries. */ readonly observationMetric?: string; /** Interval type (length). */ readonly intervalType?: QueryTimeGrainType; /** The start time for the metric (ISO-8601 format). */ readonly startTime?: string; /** The end time for the metric (ISO-8601 format). */ readonly endTime?: string; /** List of top resource consuming queries with appropriate metric data */ queries?: QueryStatisticsProperties[]; } export declare function topQueriesDeserializer(item: any): TopQueries; /** Interval type (length). */ export declare enum KnownQueryTimeGrainType { /** PT1H */ PT1H = "PT1H", /** P1D */ P1D = "P1D" } /** * Interval type (length). \ * {@link KnownQueryTimeGrainType} can be used interchangeably with QueryTimeGrainType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **PT1H**: PT1H \ * **P1D**: P1D */ export type QueryTimeGrainType = string; export declare function queryStatisticsPropertiesArrayDeserializer(result: Array): any[]; /** Properties of a query execution statistics. */ export interface QueryStatisticsProperties { /** Database name of the database in which this query was executed. */ readonly databaseName?: string; /** Unique query id (unique within one database). */ readonly queryId?: string; /** The start time for the metric (ISO-8601 format). */ readonly startTime?: string; /** The end time for the metric (ISO-8601 format). */ readonly endTime?: string; /** List of intervals with appropriate metric data */ intervals?: QueryMetricInterval[]; } export declare function queryStatisticsPropertiesDeserializer(item: any): QueryStatisticsProperties; export declare function queryMetricIntervalArrayDeserializer(result: Array): any[]; /** Properties of a query metrics interval. */ export interface QueryMetricInterval { /** The start time for the metric interval (ISO-8601 format). */ readonly intervalStartTime?: string; /** Interval type (length). */ readonly intervalType?: QueryTimeGrainType; /** Execution count of a query in this interval. */ readonly executionCount?: number; /** List of metric objects for this interval */ metrics?: QueryMetricProperties[]; } export declare function queryMetricIntervalDeserializer(item: any): QueryMetricInterval; export declare function queryMetricPropertiesArrayDeserializer(result: Array): any[]; /** Properties of a topquery metric in one interval. */ export interface QueryMetricProperties { /** The name information for the metric. */ readonly name?: string; /** The UI appropriate name for the metric. */ readonly displayName?: string; /** The unit of the metric. */ readonly unit?: QueryMetricUnitType; /** The value of the metric. */ readonly value?: number; /** Metric value when min() aggregate function is used over the interval. */ readonly min?: number; /** Metric value when max() aggregate function is used over the interval. */ readonly max?: number; /** Metric value when avg() aggregate function is used over the interval. */ readonly avg?: number; /** Metric value when sum() aggregate function is used over the interval. */ readonly sum?: number; /** Metric value when stdev aggregate function is used over the interval. */ readonly stdev?: number; } export declare function queryMetricPropertiesDeserializer(item: any): QueryMetricProperties; /** The unit of the metric. */ export declare enum KnownQueryMetricUnitType { /** percentage */ Percentage = "percentage", /** KB */ KB = "KB", /** microseconds */ Microseconds = "microseconds", /** count */ Count = "count" } /** * The unit of the metric. \ * {@link KnownQueryMetricUnitType} can be used interchangeably with QueryMetricUnitType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **percentage**: percentage \ * **KB**: KB \ * **microseconds**: microseconds \ * **count**: count */ export type QueryMetricUnitType = string; /** Validate azure key vault encryption key. */ export interface ManagedInstanceValidateAzureKeyVaultEncryptionKeyRequest { /** The URI of the key. */ tdeKeyUri: string; } export declare function managedInstanceValidateAzureKeyVaultEncryptionKeyRequestSerializer(item: ManagedInstanceValidateAzureKeyVaultEncryptionKeyRequest): any; /** An elastic pool. */ export interface ElasticPool extends TrackedResource { /** * The elastic pool SKU. * * The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or the following command: * * ```azurecli * az sql elastic-pool list-editions -l -o table * ``` */ sku?: Sku; /** Kind of elastic pool. This is metadata used for the Azure portal experience. */ readonly kind?: string; /** The state of the elastic pool. */ readonly state?: ElasticPoolState; /** The creation date of the elastic pool (ISO8601 format). */ readonly creationDate?: Date; /** The storage limit for the database elastic pool in bytes. */ maxSizeBytes?: number; /** Minimal capacity that serverless pool will not shrink below, if not paused */ minCapacity?: number; /** The per database settings for the elastic pool. */ perDatabaseSettings?: ElasticPoolPerDatabaseSettings; /** Whether or not this elastic pool is zone redundant, which means the replicas of this elastic pool will be spread across multiple availability zones. */ zoneRedundant?: boolean; /** The license type to apply for this elastic pool. */ licenseType?: ElasticPoolLicenseType; /** Maintenance configuration id assigned to the elastic pool. This configuration defines the period when the maintenance updates will will occur. */ maintenanceConfigurationId?: string; /** The number of secondary replicas associated with the Business Critical, Premium, or Hyperscale edition elastic pool that are used to provide high availability. Applicable only to Hyperscale elastic pools. */ highAvailabilityReplicaCount?: number; /** Time in minutes after which elastic pool is automatically paused. A value of -1 means that automatic pause is disabled */ autoPauseDelay?: number; /** Type of enclave requested on the elastic pool. */ preferredEnclaveType?: AlwaysEncryptedEnclaveType; /** Specifies the availability zone the pool's primary replica is pinned to. */ availabilityZone?: AvailabilityZoneType; } export declare function elasticPoolSerializer(item: ElasticPool): any; export declare function elasticPoolDeserializer(item: any): ElasticPool; /** Properties of an elastic pool */ export interface ElasticPoolProperties { /** The state of the elastic pool. */ readonly state?: ElasticPoolState; /** The creation date of the elastic pool (ISO8601 format). */ readonly creationDate?: Date; /** The storage limit for the database elastic pool in bytes. */ maxSizeBytes?: number; /** Minimal capacity that serverless pool will not shrink below, if not paused */ minCapacity?: number; /** The per database settings for the elastic pool. */ perDatabaseSettings?: ElasticPoolPerDatabaseSettings; /** Whether or not this elastic pool is zone redundant, which means the replicas of this elastic pool will be spread across multiple availability zones. */ zoneRedundant?: boolean; /** The license type to apply for this elastic pool. */ licenseType?: ElasticPoolLicenseType; /** Maintenance configuration id assigned to the elastic pool. This configuration defines the period when the maintenance updates will will occur. */ maintenanceConfigurationId?: string; /** The number of secondary replicas associated with the Business Critical, Premium, or Hyperscale edition elastic pool that are used to provide high availability. Applicable only to Hyperscale elastic pools. */ highAvailabilityReplicaCount?: number; /** Time in minutes after which elastic pool is automatically paused. A value of -1 means that automatic pause is disabled */ autoPauseDelay?: number; /** Type of enclave requested on the elastic pool. */ preferredEnclaveType?: AlwaysEncryptedEnclaveType; /** Specifies the availability zone the pool's primary replica is pinned to. */ availabilityZone?: AvailabilityZoneType; } export declare function elasticPoolPropertiesSerializer(item: ElasticPoolProperties): any; export declare function elasticPoolPropertiesDeserializer(item: any): ElasticPoolProperties; /** The state of the elastic pool. */ export declare enum KnownElasticPoolState { /** Creating */ Creating = "Creating", /** Ready */ Ready = "Ready", /** Disabled */ Disabled = "Disabled" } /** * The state of the elastic pool. \ * {@link KnownElasticPoolState} can be used interchangeably with ElasticPoolState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Creating**: Creating \ * **Ready**: Ready \ * **Disabled**: Disabled */ export type ElasticPoolState = string; /** Per database settings of an elastic pool. */ export interface ElasticPoolPerDatabaseSettings { /** The minimum capacity all databases are guaranteed. */ minCapacity?: number; /** The maximum capacity any one database can consume. */ maxCapacity?: number; /** Auto Pause Delay for per database within pool */ autoPauseDelay?: number; } export declare function elasticPoolPerDatabaseSettingsSerializer(item: ElasticPoolPerDatabaseSettings): any; export declare function elasticPoolPerDatabaseSettingsDeserializer(item: any): ElasticPoolPerDatabaseSettings; /** The license type to apply for this elastic pool. */ export declare enum KnownElasticPoolLicenseType { /** LicenseIncluded */ LicenseIncluded = "LicenseIncluded", /** BasePrice */ BasePrice = "BasePrice" } /** * The license type to apply for this elastic pool. \ * {@link KnownElasticPoolLicenseType} can be used interchangeably with ElasticPoolLicenseType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **LicenseIncluded**: LicenseIncluded \ * **BasePrice**: BasePrice */ export type ElasticPoolLicenseType = string; /** An elastic pool update. */ export interface ElasticPoolUpdate { /** An ARM Resource SKU. */ sku?: Sku; /** Resource tags. */ tags?: Record; /** The storage limit for the database elastic pool in bytes. */ maxSizeBytes?: number; /** Minimal capacity that serverless pool will not shrink below, if not paused */ minCapacity?: number; /** The per database settings for the elastic pool. */ perDatabaseSettings?: ElasticPoolPerDatabaseSettings; /** Whether or not this elastic pool is zone redundant, which means the replicas of this elastic pool will be spread across multiple availability zones. */ zoneRedundant?: boolean; /** The license type to apply for this elastic pool. */ licenseType?: ElasticPoolLicenseType; /** Maintenance configuration id assigned to the elastic pool. This configuration defines the period when the maintenance updates will will occur. */ maintenanceConfigurationId?: string; /** The number of secondary replicas associated with the Business Critical, Premium, or Hyperscale edition elastic pool that are used to provide high availability. Applicable only to Hyperscale elastic pools. */ highAvailabilityReplicaCount?: number; /** Time in minutes after which elastic pool is automatically paused. A value of -1 means that automatic pause is disabled */ autoPauseDelay?: number; /** Type of enclave requested on the elastic pool. */ preferredEnclaveType?: AlwaysEncryptedEnclaveType; /** Specifies the availability zone the pool's primary replica is pinned to. */ availabilityZone?: AvailabilityZoneType; } export declare function elasticPoolUpdateSerializer(item: ElasticPoolUpdate): any; /** Properties of an elastic pool */ export interface ElasticPoolUpdateProperties { /** The storage limit for the database elastic pool in bytes. */ maxSizeBytes?: number; /** Minimal capacity that serverless pool will not shrink below, if not paused */ minCapacity?: number; /** The per database settings for the elastic pool. */ perDatabaseSettings?: ElasticPoolPerDatabaseSettings; /** Whether or not this elastic pool is zone redundant, which means the replicas of this elastic pool will be spread across multiple availability zones. */ zoneRedundant?: boolean; /** The license type to apply for this elastic pool. */ licenseType?: ElasticPoolLicenseType; /** Maintenance configuration id assigned to the elastic pool. This configuration defines the period when the maintenance updates will will occur. */ maintenanceConfigurationId?: string; /** The number of secondary replicas associated with the Business Critical, Premium, or Hyperscale edition elastic pool that are used to provide high availability. Applicable only to Hyperscale elastic pools. */ highAvailabilityReplicaCount?: number; /** Time in minutes after which elastic pool is automatically paused. A value of -1 means that automatic pause is disabled */ autoPauseDelay?: number; /** Type of enclave requested on the elastic pool. */ preferredEnclaveType?: AlwaysEncryptedEnclaveType; /** Specifies the availability zone the pool's primary replica is pinned to. */ availabilityZone?: AvailabilityZoneType; } export declare function elasticPoolUpdatePropertiesSerializer(item: ElasticPoolUpdateProperties): any; /** The response of a ElasticPool list operation. */ export interface _ElasticPoolListResult { /** The ElasticPool items on this page */ value: ElasticPool[]; /** The link to the next page of items */ nextLink?: string; } export declare function _elasticPoolListResultDeserializer(item: any): _ElasticPoolListResult; export declare function elasticPoolArraySerializer(result: Array): any[]; export declare function elasticPoolArrayDeserializer(result: Array): any[]; /** The server encryption protector. */ export interface EncryptionProtector extends ProxyResource { /** Kind of encryption protector. This is metadata used for the Azure portal experience. */ readonly kind?: string; /** Resource location. */ readonly location?: string; /** Subregion of the encryption protector. */ readonly subregion?: string; /** The name of the server key. */ serverKeyName?: string; /** The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. */ serverKeyType?: ServerKeyType; /** The URI of the server key. */ readonly uri?: string; /** Thumbprint of the server key. */ readonly thumbprint?: string; /** Key auto rotation opt-in flag. Either true or false. */ autoRotationEnabled?: boolean; /** The version of the server key being used as encryption protector */ readonly keyVersion?: string; } export declare function encryptionProtectorSerializer(item: EncryptionProtector): any; export declare function encryptionProtectorDeserializer(item: any): EncryptionProtector; /** Properties for an encryption protector execution. */ export interface EncryptionProtectorProperties { /** Subregion of the encryption protector. */ readonly subregion?: string; /** The name of the server key. */ serverKeyName?: string; /** The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. */ serverKeyType: ServerKeyType; /** The URI of the server key. */ readonly uri?: string; /** Thumbprint of the server key. */ readonly thumbprint?: string; /** Key auto rotation opt-in flag. Either true or false. */ autoRotationEnabled?: boolean; /** The version of the server key being used as encryption protector */ readonly keyVersion?: string; } export declare function encryptionProtectorPropertiesSerializer(item: EncryptionProtectorProperties): any; export declare function encryptionProtectorPropertiesDeserializer(item: any): EncryptionProtectorProperties; /** The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. */ export declare enum KnownServerKeyType { /** ServiceManaged */ ServiceManaged = "ServiceManaged", /** AzureKeyVault */ AzureKeyVault = "AzureKeyVault" } /** * The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. \ * {@link KnownServerKeyType} can be used interchangeably with ServerKeyType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **ServiceManaged**: ServiceManaged \ * **AzureKeyVault**: AzureKeyVault */ export type ServerKeyType = string; /** Known values of {@link EncryptionProtectorName} that the service accepts. */ export declare enum KnownEncryptionProtectorName { /** current */ Current = "current" } /** Type of EncryptionProtectorName */ export type EncryptionProtectorName = string; /** The response of a EncryptionProtector list operation. */ export interface _EncryptionProtectorListResult { /** The EncryptionProtector items on this page */ value: EncryptionProtector[]; /** The link to the next page of items */ nextLink?: string; } export declare function _encryptionProtectorListResultDeserializer(item: any): _EncryptionProtectorListResult; export declare function encryptionProtectorArraySerializer(result: Array): any[]; export declare function encryptionProtectorArrayDeserializer(result: Array): any[]; /** Certificate used on an endpoint on the Managed Instance. */ export interface EndpointCertificate extends ProxyResource { /** The certificate public blob */ publicBlob?: string; } export declare function endpointCertificateDeserializer(item: any): EndpointCertificate; /** The properties of an endpoint certificate. */ export interface EndpointCertificateProperties { /** The certificate public blob */ publicBlob?: string; } export declare function endpointCertificatePropertiesDeserializer(item: any): EndpointCertificateProperties; /** The response of a EndpointCertificate list operation. */ export interface _EndpointCertificateListResult { /** The EndpointCertificate items on this page */ value: EndpointCertificate[]; /** The link to the next page of items */ nextLink?: string; } export declare function _endpointCertificateListResultDeserializer(item: any): _EndpointCertificateListResult; export declare function endpointCertificateArrayDeserializer(result: Array): any[]; /** A failover group. */ export interface FailoverGroup extends ProxyResource { /** Resource tags. */ tags?: Record; /** Resource location. */ readonly location?: string; /** Read-write endpoint of the failover group instance. */ readWriteEndpoint?: FailoverGroupReadWriteEndpoint; /** Read-only endpoint of the failover group instance. */ readOnlyEndpoint?: FailoverGroupReadOnlyEndpoint; /** Local replication role of the failover group instance. */ readonly replicationRole?: FailoverGroupReplicationRole; /** Replication state of the failover group instance. */ readonly replicationState?: string; /** List of partner server information for the failover group. */ partnerServers?: PartnerInfo[]; /** List of databases in the failover group. */ databases?: string[]; /** Databases secondary type on partner server. */ secondaryType?: FailoverGroupDatabasesSecondaryType; } export declare function failoverGroupSerializer(item: FailoverGroup): any; export declare function failoverGroupDeserializer(item: any): FailoverGroup; /** Properties of a failover group. */ export interface FailoverGroupProperties { /** Read-write endpoint of the failover group instance. */ readWriteEndpoint: FailoverGroupReadWriteEndpoint; /** Read-only endpoint of the failover group instance. */ readOnlyEndpoint?: FailoverGroupReadOnlyEndpoint; /** Local replication role of the failover group instance. */ readonly replicationRole?: FailoverGroupReplicationRole; /** Replication state of the failover group instance. */ readonly replicationState?: string; /** List of partner server information for the failover group. */ partnerServers: PartnerInfo[]; /** List of databases in the failover group. */ databases?: string[]; /** Databases secondary type on partner server. */ secondaryType?: FailoverGroupDatabasesSecondaryType; } export declare function failoverGroupPropertiesSerializer(item: FailoverGroupProperties): any; export declare function failoverGroupPropertiesDeserializer(item: any): FailoverGroupProperties; /** Read-write endpoint of the failover group instance. */ export interface FailoverGroupReadWriteEndpoint { /** Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. */ failoverPolicy: ReadWriteEndpointFailoverPolicy; /** Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. */ failoverWithDataLossGracePeriodMinutes?: number; } export declare function failoverGroupReadWriteEndpointSerializer(item: FailoverGroupReadWriteEndpoint): any; export declare function failoverGroupReadWriteEndpointDeserializer(item: any): FailoverGroupReadWriteEndpoint; /** Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. */ export declare enum KnownReadWriteEndpointFailoverPolicy { /** Manual */ Manual = "Manual", /** Automatic */ Automatic = "Automatic" } /** * Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. \ * {@link KnownReadWriteEndpointFailoverPolicy} can be used interchangeably with ReadWriteEndpointFailoverPolicy, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Manual**: Manual \ * **Automatic**: Automatic */ export type ReadWriteEndpointFailoverPolicy = string; /** Read-only endpoint of the failover group instance. */ export interface FailoverGroupReadOnlyEndpoint { /** Failover policy of the read-only endpoint for the failover group. */ failoverPolicy?: ReadOnlyEndpointFailoverPolicy; /** The target partner server where the read-only endpoint points to. */ targetServer?: string; } export declare function failoverGroupReadOnlyEndpointSerializer(item: FailoverGroupReadOnlyEndpoint): any; export declare function failoverGroupReadOnlyEndpointDeserializer(item: any): FailoverGroupReadOnlyEndpoint; /** Failover policy of the read-only endpoint for the failover group. */ export declare enum KnownReadOnlyEndpointFailoverPolicy { /** Disabled */ Disabled = "Disabled", /** Enabled */ Enabled = "Enabled" } /** * Failover policy of the read-only endpoint for the failover group. \ * {@link KnownReadOnlyEndpointFailoverPolicy} can be used interchangeably with ReadOnlyEndpointFailoverPolicy, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Disabled**: Disabled \ * **Enabled**: Enabled */ export type ReadOnlyEndpointFailoverPolicy = string; /** Local replication role of the failover group instance. */ export declare enum KnownFailoverGroupReplicationRole { /** Primary */ Primary = "Primary", /** Secondary */ Secondary = "Secondary" } /** * Local replication role of the failover group instance. \ * {@link KnownFailoverGroupReplicationRole} can be used interchangeably with FailoverGroupReplicationRole, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Primary**: Primary \ * **Secondary**: Secondary */ export type FailoverGroupReplicationRole = string; export declare function partnerInfoArraySerializer(result: Array): any[]; export declare function partnerInfoArrayDeserializer(result: Array): any[]; /** Partner server information for the failover group. */ export interface PartnerInfo { /** Resource identifier of the partner server. */ id: string; /** Geo location of the partner server. */ readonly location?: string; /** Replication role of the partner server. */ readonly replicationRole?: FailoverGroupReplicationRole; } export declare function partnerInfoSerializer(item: PartnerInfo): any; export declare function partnerInfoDeserializer(item: any): PartnerInfo; /** Databases secondary type on partner server. */ export declare enum KnownFailoverGroupDatabasesSecondaryType { /** Geo */ Geo = "Geo", /** Standby */ Standby = "Standby" } /** * Databases secondary type on partner server. \ * {@link KnownFailoverGroupDatabasesSecondaryType} can be used interchangeably with FailoverGroupDatabasesSecondaryType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Geo**: Geo \ * **Standby**: Standby */ export type FailoverGroupDatabasesSecondaryType = string; /** A failover group update request. */ export interface FailoverGroupUpdate { /** Resource tags. */ tags?: Record; /** Read-write endpoint of the failover group instance. */ readWriteEndpoint?: FailoverGroupReadWriteEndpoint; /** Read-only endpoint of the failover group instance. */ readOnlyEndpoint?: FailoverGroupReadOnlyEndpoint; /** List of databases in the failover group. */ databases?: string[]; /** List of partner server information for the failover group. */ partnerServers?: PartnerInfo[]; /** Databases secondary type on partner server. */ secondaryType?: FailoverGroupDatabasesSecondaryType; } export declare function failoverGroupUpdateSerializer(item: FailoverGroupUpdate): any; /** Properties of a failover group update. */ export interface FailoverGroupUpdateProperties { /** Read-write endpoint of the failover group instance. */ readWriteEndpoint?: FailoverGroupReadWriteEndpoint; /** Read-only endpoint of the failover group instance. */ readOnlyEndpoint?: FailoverGroupReadOnlyEndpoint; /** List of databases in the failover group. */ databases?: string[]; /** List of partner server information for the failover group. */ partnerServers?: PartnerInfo[]; /** Databases secondary type on partner server. */ secondaryType?: FailoverGroupDatabasesSecondaryType; } export declare function failoverGroupUpdatePropertiesSerializer(item: FailoverGroupUpdateProperties): any; /** The response of a FailoverGroup list operation. */ export interface _FailoverGroupListResult { /** The FailoverGroup items on this page */ value: FailoverGroup[]; /** The link to the next page of items */ nextLink?: string; } export declare function _failoverGroupListResultDeserializer(item: any): _FailoverGroupListResult; export declare function failoverGroupArraySerializer(result: Array): any[]; export declare function failoverGroupArrayDeserializer(result: Array): any[]; /** A Geo backup policy. */ export interface GeoBackupPolicy extends ProxyResource { /** Backup policy location. */ readonly location?: string; /** Kind of geo backup policy. This is metadata used for the Azure portal experience. */ readonly kind?: string; /** The state of the geo backup policy. */ state?: GeoBackupPolicyState; /** The storage type of the geo backup policy. */ readonly storageType?: string; } export declare function geoBackupPolicySerializer(item: GeoBackupPolicy): any; export declare function geoBackupPolicyDeserializer(item: any): GeoBackupPolicy; /** The properties of the geo backup policy. */ export interface GeoBackupPolicyProperties { /** The state of the geo backup policy. */ state: GeoBackupPolicyState; /** The storage type of the geo backup policy. */ readonly storageType?: string; } export declare function geoBackupPolicyPropertiesSerializer(item: GeoBackupPolicyProperties): any; export declare function geoBackupPolicyPropertiesDeserializer(item: any): GeoBackupPolicyProperties; /** The state of the geo backup policy. */ export type GeoBackupPolicyState = "Enabled" | "Disabled"; /** Known values of {@link GeoBackupPolicyName} that the service accepts. */ export declare enum KnownGeoBackupPolicyName { /** Default */ Default = "Default" } /** Type of GeoBackupPolicyName */ export type GeoBackupPolicyName = string; /** The response of a GeoBackupPolicy list operation. */ export interface _GeoBackupPolicyListResult { /** The GeoBackupPolicy items on this page */ value: GeoBackupPolicy[]; /** The link to the next page of items */ nextLink?: string; } export declare function _geoBackupPolicyListResultDeserializer(item: any): _GeoBackupPolicyListResult; export declare function geoBackupPolicyArraySerializer(result: Array): any[]; export declare function geoBackupPolicyArrayDeserializer(result: Array): any[]; /** An instance failover group. */ export interface InstanceFailoverGroup extends ProxyResource { /** Type of the geo-secondary instance. Set 'Standby' if the instance is used as a DR option only. */ secondaryType?: SecondaryInstanceType; /** Read-write endpoint of the failover group instance. */ readWriteEndpoint?: InstanceFailoverGroupReadWriteEndpoint; /** Read-only endpoint of the failover group instance. */ readOnlyEndpoint?: InstanceFailoverGroupReadOnlyEndpoint; /** Local replication role of the failover group instance. */ readonly replicationRole?: InstanceFailoverGroupReplicationRole; /** Replication state of the failover group instance. */ readonly replicationState?: string; /** Partner region information for the failover group. */ partnerRegions?: PartnerRegionInfo[]; /** List of managed instance pairs in the failover group. */ managedInstancePairs?: ManagedInstancePairInfo[]; } export declare function instanceFailoverGroupSerializer(item: InstanceFailoverGroup): any; export declare function instanceFailoverGroupDeserializer(item: any): InstanceFailoverGroup; /** Properties of a instance failover group. */ export interface InstanceFailoverGroupProperties { /** Type of the geo-secondary instance. Set 'Standby' if the instance is used as a DR option only. */ secondaryType?: SecondaryInstanceType; /** Read-write endpoint of the failover group instance. */ readWriteEndpoint: InstanceFailoverGroupReadWriteEndpoint; /** Read-only endpoint of the failover group instance. */ readOnlyEndpoint?: InstanceFailoverGroupReadOnlyEndpoint; /** Local replication role of the failover group instance. */ readonly replicationRole?: InstanceFailoverGroupReplicationRole; /** Replication state of the failover group instance. */ readonly replicationState?: string; /** Partner region information for the failover group. */ partnerRegions: PartnerRegionInfo[]; /** List of managed instance pairs in the failover group. */ managedInstancePairs: ManagedInstancePairInfo[]; } export declare function instanceFailoverGroupPropertiesSerializer(item: InstanceFailoverGroupProperties): any; export declare function instanceFailoverGroupPropertiesDeserializer(item: any): InstanceFailoverGroupProperties; /** Type of the geo-secondary instance. Set 'Standby' if the instance is used as a DR option only. */ export declare enum KnownSecondaryInstanceType { /** Geo */ Geo = "Geo", /** Standby */ Standby = "Standby" } /** * Type of the geo-secondary instance. Set 'Standby' if the instance is used as a DR option only. \ * {@link KnownSecondaryInstanceType} can be used interchangeably with SecondaryInstanceType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Geo**: Geo \ * **Standby**: Standby */ export type SecondaryInstanceType = string; /** Read-write endpoint of the failover group instance. */ export interface InstanceFailoverGroupReadWriteEndpoint { /** Failover policy of the read-write endpoint for the failover group. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. */ failoverPolicy: ReadWriteEndpointFailoverPolicy; /** Grace period before failover with data loss is attempted for the read-write endpoint. If failoverPolicy is Automatic then failoverWithDataLossGracePeriodMinutes is required. */ failoverWithDataLossGracePeriodMinutes?: number; } export declare function instanceFailoverGroupReadWriteEndpointSerializer(item: InstanceFailoverGroupReadWriteEndpoint): any; export declare function instanceFailoverGroupReadWriteEndpointDeserializer(item: any): InstanceFailoverGroupReadWriteEndpoint; /** Read-only endpoint of the failover group instance. */ export interface InstanceFailoverGroupReadOnlyEndpoint { /** Failover policy of the read-only endpoint for the failover group. */ failoverPolicy?: ReadOnlyEndpointFailoverPolicy; } export declare function instanceFailoverGroupReadOnlyEndpointSerializer(item: InstanceFailoverGroupReadOnlyEndpoint): any; export declare function instanceFailoverGroupReadOnlyEndpointDeserializer(item: any): InstanceFailoverGroupReadOnlyEndpoint; /** Local replication role of the failover group instance. */ export declare enum KnownInstanceFailoverGroupReplicationRole { /** Primary */ Primary = "Primary", /** Secondary */ Secondary = "Secondary" } /** * Local replication role of the failover group instance. \ * {@link KnownInstanceFailoverGroupReplicationRole} can be used interchangeably with InstanceFailoverGroupReplicationRole, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Primary**: Primary \ * **Secondary**: Secondary */ export type InstanceFailoverGroupReplicationRole = string; export declare function partnerRegionInfoArraySerializer(result: Array): any[]; export declare function partnerRegionInfoArrayDeserializer(result: Array): any[]; /** Partner region information for the failover group. */ export interface PartnerRegionInfo { /** Geo location of the partner managed instances. */ location?: string; /** Replication role of the partner managed instances. */ readonly replicationRole?: InstanceFailoverGroupReplicationRole; } export declare function partnerRegionInfoSerializer(item: PartnerRegionInfo): any; export declare function partnerRegionInfoDeserializer(item: any): PartnerRegionInfo; export declare function managedInstancePairInfoArraySerializer(result: Array): any[]; export declare function managedInstancePairInfoArrayDeserializer(result: Array): any[]; /** Pairs of Managed Instances in the failover group. */ export interface ManagedInstancePairInfo { /** Id of Primary Managed Instance in pair. */ primaryManagedInstanceId?: string; /** Id of Partner Managed Instance in pair. */ partnerManagedInstanceId?: string; } export declare function managedInstancePairInfoSerializer(item: ManagedInstancePairInfo): any; export declare function managedInstancePairInfoDeserializer(item: any): ManagedInstancePairInfo; /** The response of a InstanceFailoverGroup list operation. */ export interface _InstanceFailoverGroupListResult { /** The InstanceFailoverGroup items on this page */ value: InstanceFailoverGroup[]; /** The link to the next page of items */ nextLink?: string; } export declare function _instanceFailoverGroupListResultDeserializer(item: any): _InstanceFailoverGroupListResult; export declare function instanceFailoverGroupArraySerializer(result: Array): any[]; export declare function instanceFailoverGroupArrayDeserializer(result: Array): any[]; /** A instance pool operation. */ export interface InstancePoolOperation extends ProxyResource { /** The name of the instance pool the operation is being performed on. */ readonly instancePoolName?: string; /** The name of operation. */ readonly operation?: string; /** The friendly name of operation. */ readonly operationFriendlyName?: string; /** The percentage of the operation completed. */ readonly percentComplete?: number; /** The operation start time. */ readonly startTime?: Date; /** The operation state. */ readonly state?: ManagementOperationState; /** The operation error code. */ readonly errorCode?: number; /** The operation error description. */ readonly errorDescription?: string; /** The operation error severity. */ readonly errorSeverity?: number; /** Error type (e.g. None, User). */ readonly errorType?: ErrorType; /** The estimated completion time of the operation. */ readonly estimatedCompletionTime?: Date; /** The operation description. */ readonly description?: string; /** Whether the operation can be cancelled. */ readonly isCancellable?: boolean; } export declare function instancePoolOperationDeserializer(item: any): InstancePoolOperation; /** The properties of a instance pool operation. */ export interface InstancePoolOperationProperties { /** The name of the instance pool the operation is being performed on. */ readonly instancePoolName?: string; /** The name of operation. */ readonly operation?: string; /** The friendly name of operation. */ readonly operationFriendlyName?: string; /** The percentage of the operation completed. */ readonly percentComplete?: number; /** The operation start time. */ readonly startTime?: Date; /** The operation state. */ readonly state?: ManagementOperationState; /** The operation error code. */ readonly errorCode?: number; /** The operation error description. */ readonly errorDescription?: string; /** The operation error severity. */ readonly errorSeverity?: number; /** Error type (e.g. None, User). */ readonly errorType?: ErrorType; /** The estimated completion time of the operation. */ readonly estimatedCompletionTime?: Date; /** The operation description. */ readonly description?: string; /** Whether the operation can be cancelled. */ readonly isCancellable?: boolean; } export declare function instancePoolOperationPropertiesDeserializer(item: any): InstancePoolOperationProperties; /** The operation state. */ export declare enum KnownManagementOperationState { /** Pending */ Pending = "Pending", /** InProgress */ InProgress = "InProgress", /** Succeeded */ Succeeded = "Succeeded", /** Failed */ Failed = "Failed", /** CancelInProgress */ CancelInProgress = "CancelInProgress", /** Cancelled */ Cancelled = "Cancelled" } /** * The operation state. \ * {@link KnownManagementOperationState} can be used interchangeably with ManagementOperationState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Pending**: Pending \ * **InProgress**: InProgress \ * **Succeeded**: Succeeded \ * **Failed**: Failed \ * **CancelInProgress**: CancelInProgress \ * **Cancelled**: Cancelled */ export type ManagementOperationState = string; /** Error type (e.g. None, User). */ export declare enum KnownErrorType { /** None */ None = "None", /** User */ User = "User" } /** * Error type (e.g. None, User). \ * {@link KnownErrorType} can be used interchangeably with ErrorType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **None**: None \ * **User**: User */ export type ErrorType = string; /** The response of a InstancePoolOperation list operation. */ export interface _InstancePoolOperationListResult { /** The InstancePoolOperation items on this page */ value: InstancePoolOperation[]; /** The link to the next page of items */ nextLink?: string; } export declare function _instancePoolOperationListResultDeserializer(item: any): _InstancePoolOperationListResult; export declare function instancePoolOperationArrayDeserializer(result: Array): any[]; /** An Azure SQL instance pool. */ export interface InstancePool extends TrackedResource { /** The name and tier of the SKU. */ sku?: Sku; /** Resource ID of the subnet to place this instance pool in. */ subnetId?: string; /** Count of vCores belonging to this instance pool. */ vCores?: number; /** The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price). */ licenseType?: InstancePoolLicenseType; /** The Dns Zone that the managed instance pool is in. */ readonly dnsZone?: string; /** Specifies maintenance configuration id to apply to this managed instance. */ maintenanceConfigurationId?: string; } export declare function instancePoolSerializer(item: InstancePool): any; export declare function instancePoolDeserializer(item: any): InstancePool; /** Properties of an instance pool. */ export interface InstancePoolProperties { /** Resource ID of the subnet to place this instance pool in. */ subnetId: string; /** Count of vCores belonging to this instance pool. */ vCores: number; /** The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price). */ licenseType: InstancePoolLicenseType; /** The Dns Zone that the managed instance pool is in. */ readonly dnsZone?: string; /** Specifies maintenance configuration id to apply to this managed instance. */ maintenanceConfigurationId?: string; } export declare function instancePoolPropertiesSerializer(item: InstancePoolProperties): any; export declare function instancePoolPropertiesDeserializer(item: any): InstancePoolProperties; /** The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price). */ export declare enum KnownInstancePoolLicenseType { /** LicenseIncluded */ LicenseIncluded = "LicenseIncluded", /** BasePrice */ BasePrice = "BasePrice" } /** * The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price). \ * {@link KnownInstancePoolLicenseType} can be used interchangeably with InstancePoolLicenseType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **LicenseIncluded**: LicenseIncluded \ * **BasePrice**: BasePrice */ export type InstancePoolLicenseType = string; /** An update to an Instance pool. */ export interface InstancePoolUpdate { /** The name and tier of the SKU. */ sku?: Sku; /** Resource tags. */ tags?: Record; /** Resource ID of the subnet to place this instance pool in. */ subnetId?: string; /** Count of vCores belonging to this instance pool. */ vCores?: number; /** The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price). */ licenseType?: InstancePoolLicenseType; /** The Dns Zone that the managed instance pool is in. */ readonly dnsZone?: string; /** Specifies maintenance configuration id to apply to this managed instance. */ maintenanceConfigurationId?: string; } export declare function instancePoolUpdateSerializer(item: InstancePoolUpdate): any; /** The response of a InstancePool list operation. */ export interface _InstancePoolListResult { /** The InstancePool items on this page */ value: InstancePool[]; /** The link to the next page of items */ nextLink?: string; } export declare function _instancePoolListResultDeserializer(item: any): _InstancePoolListResult; export declare function instancePoolArraySerializer(result: Array): any[]; export declare function instancePoolArrayDeserializer(result: Array): any[]; /** An IPv6 server firewall rule. */ export interface IPv6FirewallRule extends ProxyResourceWithWritableName { /** The start IP address of the firewall rule. Must be IPv6 format. */ startIPv6Address?: string; /** The end IP address of the firewall rule. Must be IPv6 format. Must be greater than or equal to startIpv6Address. */ endIPv6Address?: string; } export declare function iPv6FirewallRuleSerializer(item: IPv6FirewallRule): any; export declare function iPv6FirewallRuleDeserializer(item: any): IPv6FirewallRule; /** The properties of an IPv6 server firewall rule. */ export interface IPv6ServerFirewallRuleProperties { /** The start IP address of the firewall rule. Must be IPv6 format. */ startIPv6Address?: string; /** The end IP address of the firewall rule. Must be IPv6 format. Must be greater than or equal to startIpv6Address. */ endIPv6Address?: string; } export declare function iPv6ServerFirewallRulePropertiesSerializer(item: IPv6ServerFirewallRuleProperties): any; export declare function iPv6ServerFirewallRulePropertiesDeserializer(item: any): IPv6ServerFirewallRuleProperties; /** The response of a IPv6FirewallRule list operation. */ export interface _IPv6FirewallRuleListResult { /** The IPv6FirewallRule items on this page */ value: IPv6FirewallRule[]; /** The link to the next page of items */ nextLink?: string; } export declare function _iPv6FirewallRuleListResultDeserializer(item: any): _IPv6FirewallRuleListResult; export declare function iPv6FirewallRuleArraySerializer(result: Array): any[]; export declare function iPv6FirewallRuleArrayDeserializer(result: Array): any[]; /** An execution of a job */ export interface JobExecution extends ProxyResource { /** The job version number. */ readonly jobVersion?: number; /** The job step name. */ readonly stepName?: string; /** The job step id. */ readonly stepId?: number; /** The unique identifier of the job execution. */ readonly jobExecutionId?: string; /** The detailed state of the job execution. */ readonly lifecycle?: JobExecutionLifecycle; /** The ARM provisioning state of the job execution. */ readonly provisioningState?: ProvisioningState; /** The time that the job execution was created. */ readonly createTime?: Date; /** The time that the job execution started. */ readonly startTime?: Date; /** The time that the job execution completed. */ readonly endTime?: Date; /** Number of times the job execution has been attempted. */ currentAttempts?: number; /** Start time of the current attempt. */ readonly currentAttemptStartTime?: Date; /** The last status or error message. */ readonly lastMessage?: string; /** The target that this execution is executed on. */ readonly target?: JobExecutionTarget; } export declare function jobExecutionDeserializer(item: any): JobExecution; /** Properties for an Azure SQL Database Elastic job execution. */ export interface JobExecutionProperties { /** The job version number. */ readonly jobVersion?: number; /** The job step name. */ readonly stepName?: string; /** The job step id. */ readonly stepId?: number; /** The unique identifier of the job execution. */ readonly jobExecutionId?: string; /** The detailed state of the job execution. */ readonly lifecycle?: JobExecutionLifecycle; /** The ARM provisioning state of the job execution. */ readonly provisioningState?: ProvisioningState; /** The time that the job execution was created. */ readonly createTime?: Date; /** The time that the job execution started. */ readonly startTime?: Date; /** The time that the job execution completed. */ readonly endTime?: Date; /** Number of times the job execution has been attempted. */ currentAttempts?: number; /** Start time of the current attempt. */ readonly currentAttemptStartTime?: Date; /** The last status or error message. */ readonly lastMessage?: string; /** The target that this execution is executed on. */ readonly target?: JobExecutionTarget; } export declare function jobExecutionPropertiesDeserializer(item: any): JobExecutionProperties; /** The detailed state of the job execution. */ export declare enum KnownJobExecutionLifecycle { /** Created */ Created = "Created", /** InProgress */ InProgress = "InProgress", /** WaitingForChildJobExecutions */ WaitingForChildJobExecutions = "WaitingForChildJobExecutions", /** WaitingForRetry */ WaitingForRetry = "WaitingForRetry", /** Succeeded */ Succeeded = "Succeeded", /** SucceededWithSkipped */ SucceededWithSkipped = "SucceededWithSkipped", /** Failed */ Failed = "Failed", /** TimedOut */ TimedOut = "TimedOut", /** Canceled */ Canceled = "Canceled", /** Skipped */ Skipped = "Skipped" } /** * The detailed state of the job execution. \ * {@link KnownJobExecutionLifecycle} can be used interchangeably with JobExecutionLifecycle, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Created**: Created \ * **InProgress**: InProgress \ * **WaitingForChildJobExecutions**: WaitingForChildJobExecutions \ * **WaitingForRetry**: WaitingForRetry \ * **Succeeded**: Succeeded \ * **SucceededWithSkipped**: SucceededWithSkipped \ * **Failed**: Failed \ * **TimedOut**: TimedOut \ * **Canceled**: Canceled \ * **Skipped**: Skipped */ export type JobExecutionLifecycle = string; /** The target that a job execution is executed on. */ export interface JobExecutionTarget { /** The type of the target. */ readonly type?: JobTargetType; /** The server name. */ readonly serverName?: string; /** The database name. */ readonly databaseName?: string; } export declare function jobExecutionTargetDeserializer(item: any): JobExecutionTarget; /** The type of the target. */ export declare enum KnownJobTargetType { /** TargetGroup */ TargetGroup = "TargetGroup", /** SqlDatabase */ SqlDatabase = "SqlDatabase", /** SqlElasticPool */ SqlElasticPool = "SqlElasticPool", /** SqlShardMap */ SqlShardMap = "SqlShardMap", /** SqlServer */ SqlServer = "SqlServer" } /** * The type of the target. \ * {@link KnownJobTargetType} can be used interchangeably with JobTargetType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **TargetGroup**: TargetGroup \ * **SqlDatabase**: SqlDatabase \ * **SqlElasticPool**: SqlElasticPool \ * **SqlShardMap**: SqlShardMap \ * **SqlServer**: SqlServer */ export type JobTargetType = string; /** The response of a JobExecution list operation. */ export interface _JobExecutionListResult { /** The JobExecution items on this page */ value: JobExecution[]; /** The link to the next page of items */ nextLink?: string; } export declare function _jobExecutionListResultDeserializer(item: any): _JobExecutionListResult; export declare function jobExecutionArrayDeserializer(result: Array): any[]; /** An Azure SQL job agent. */ export interface JobAgent extends TrackedResource { /** The name and tier of the SKU. */ sku?: Sku; /** The identity of the job agent. */ identity?: JobAgentIdentity; /** Resource ID of the database to store job metadata in. */ databaseId?: string; /** The state of the job agent. */ readonly state?: JobAgentState; } export declare function jobAgentSerializer(item: JobAgent): any; export declare function jobAgentDeserializer(item: any): JobAgent; /** Properties of a job agent. */ export interface JobAgentProperties { /** Resource ID of the database to store job metadata in. */ databaseId: string; /** The state of the job agent. */ readonly state?: JobAgentState; } export declare function jobAgentPropertiesSerializer(item: JobAgentProperties): any; export declare function jobAgentPropertiesDeserializer(item: any): JobAgentProperties; /** The state of the job agent. */ export declare enum KnownJobAgentState { /** Creating */ Creating = "Creating", /** Ready */ Ready = "Ready", /** Updating */ Updating = "Updating", /** Deleting */ Deleting = "Deleting", /** Disabled */ Disabled = "Disabled" } /** * The state of the job agent. \ * {@link KnownJobAgentState} can be used interchangeably with JobAgentState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Creating**: Creating \ * **Ready**: Ready \ * **Updating**: Updating \ * **Deleting**: Deleting \ * **Disabled**: Disabled */ export type JobAgentState = string; /** Azure Active Directory identity configuration for a resource. */ export interface JobAgentIdentity { /** The job agent identity tenant id */ tenantId?: string; /** The job agent identity type */ type: JobAgentIdentityType; /** The resource ids of the user assigned identities to use */ userAssignedIdentities?: Record; } export declare function jobAgentIdentitySerializer(item: JobAgentIdentity): any; export declare function jobAgentIdentityDeserializer(item: any): JobAgentIdentity; /** The job agent identity type */ export declare enum KnownJobAgentIdentityType { /** None */ None = "None", /** SystemAssigned */ SystemAssigned = "SystemAssigned", /** UserAssigned */ UserAssigned = "UserAssigned", /** SystemAssignedUserAssigned */ SystemAssignedUserAssigned = "SystemAssignedUserAssigned" } /** * The job agent identity type \ * {@link KnownJobAgentIdentityType} can be used interchangeably with JobAgentIdentityType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **None**: None \ * **SystemAssigned**: SystemAssigned \ * **UserAssigned**: UserAssigned \ * **SystemAssignedUserAssigned**: SystemAssignedUserAssigned */ export type JobAgentIdentityType = string; export declare function jobAgentUserAssignedIdentityRecordSerializer(item: Record): Record; export declare function jobAgentUserAssignedIdentityRecordDeserializer(item: Record): Record; /** Azure Active Directory identity configuration for a resource. */ export interface JobAgentUserAssignedIdentity { /** The Azure Active Directory principal id. */ readonly principalId?: string; /** The Azure Active Directory client id. */ readonly clientId?: string; } export declare function jobAgentUserAssignedIdentitySerializer(_item: JobAgentUserAssignedIdentity): any; export declare function jobAgentUserAssignedIdentityDeserializer(item: any): JobAgentUserAssignedIdentity; /** An update to an Azure SQL job agent. */ export interface JobAgentUpdate { /** Managed identity assigned to job agent */ identity?: JobAgentIdentity; /** The name and tier of the SKU. */ sku?: Sku; /** Resource tags. */ tags?: Record; } export declare function jobAgentUpdateSerializer(item: JobAgentUpdate): any; /** The response of a JobAgent list operation. */ export interface _JobAgentListResult { /** The JobAgent items on this page */ value: JobAgent[]; /** The link to the next page of items */ nextLink?: string; } export declare function _jobAgentListResultDeserializer(item: any): _JobAgentListResult; export declare function jobAgentArraySerializer(result: Array): any[]; export declare function jobAgentArrayDeserializer(result: Array): any[]; /** A stored credential that can be used by a job to connect to target databases. */ export interface JobCredential extends ProxyResource { /** The credential user name. */ username?: string; /** The credential password. */ password?: string; } export declare function jobCredentialSerializer(item: JobCredential): any; export declare function jobCredentialDeserializer(item: any): JobCredential; /** Properties of a job credential. */ export interface JobCredentialProperties { /** The credential user name. */ username: string; /** The credential password. */ password: string; } export declare function jobCredentialPropertiesSerializer(item: JobCredentialProperties): any; export declare function jobCredentialPropertiesDeserializer(item: any): JobCredentialProperties; /** The response of a JobCredential list operation. */ export interface _JobCredentialListResult { /** The JobCredential items on this page */ value: JobCredential[]; /** The link to the next page of items */ nextLink?: string; } export declare function _jobCredentialListResultDeserializer(item: any): _JobCredentialListResult; export declare function jobCredentialArraySerializer(result: Array): any[]; export declare function jobCredentialArrayDeserializer(result: Array): any[]; /** A job. */ export interface Job extends ProxyResource { /** User-defined description of the job. */ description?: string; /** The job version number. */ readonly version?: number; /** Schedule properties of the job. */ schedule?: JobSchedule; } export declare function jobSerializer(item: Job): any; export declare function jobDeserializer(item: any): Job; /** Properties of a job. */ export interface JobProperties { /** User-defined description of the job. */ description?: string; /** The job version number. */ readonly version?: number; /** Schedule properties of the job. */ schedule?: JobSchedule; } export declare function jobPropertiesSerializer(item: JobProperties): any; export declare function jobPropertiesDeserializer(item: any): JobProperties; /** Scheduling properties of a job. */ export interface JobSchedule { /** Schedule start time. */ startTime?: Date; /** Schedule end time. */ endTime?: Date; /** Schedule interval type */ type?: JobScheduleType; /** Whether or not the schedule is enabled. */ enabled?: boolean; /** Value of the schedule's recurring interval, if the ScheduleType is recurring. ISO8601 duration format. */ interval?: string; } export declare function jobScheduleSerializer(item: JobSchedule): any; export declare function jobScheduleDeserializer(item: any): JobSchedule; /** Schedule interval type */ export type JobScheduleType = "Once" | "Recurring"; /** The response of a Job list operation. */ export interface _JobListResult { /** The Job items on this page */ value: Job[]; /** The link to the next page of items */ nextLink?: string; } export declare function _jobListResultDeserializer(item: any): _JobListResult; export declare function jobArraySerializer(result: Array): any[]; export declare function jobArrayDeserializer(result: Array): any[]; /** A job agent private endpoint. */ export interface JobPrivateEndpoint extends ProxyResource { /** ARM resource id of the server the private endpoint will target. */ targetServerAzureResourceId?: string; /** Private endpoint id of the private endpoint. */ readonly privateEndpointId?: string; } export declare function jobPrivateEndpointSerializer(item: JobPrivateEndpoint): any; export declare function jobPrivateEndpointDeserializer(item: any): JobPrivateEndpoint; /** Properties of job agent private endpoint. */ export interface JobPrivateEndpointProperties { /** ARM resource id of the server the private endpoint will target. */ targetServerAzureResourceId: string; /** Private endpoint id of the private endpoint. */ readonly privateEndpointId?: string; } export declare function jobPrivateEndpointPropertiesSerializer(item: JobPrivateEndpointProperties): any; export declare function jobPrivateEndpointPropertiesDeserializer(item: any): JobPrivateEndpointProperties; /** The response of a JobPrivateEndpoint list operation. */ export interface _JobPrivateEndpointListResult { /** The JobPrivateEndpoint items on this page */ value: JobPrivateEndpoint[]; /** The link to the next page of items */ nextLink?: string; } export declare function _jobPrivateEndpointListResultDeserializer(item: any): _JobPrivateEndpointListResult; export declare function jobPrivateEndpointArraySerializer(result: Array): any[]; export declare function jobPrivateEndpointArrayDeserializer(result: Array): any[]; /** A job step. */ export interface JobStep extends ProxyResource { /** The job step's index within the job. If not specified when creating the job step, it will be created as the last step. If not specified when updating the job step, the step id is not modified. */ stepId?: number; /** The resource ID of the target group that the job step will be executed on. */ targetGroup?: string; /** The resource ID of the job credential that will be used to connect to the targets. */ credential?: string; /** The action payload of the job step. */ action?: JobStepAction; /** Output destination properties of the job step. */ output?: JobStepOutput; /** Execution options for the job step. */ executionOptions?: JobStepExecutionOptions; } export declare function jobStepSerializer(item: JobStep): any; export declare function jobStepDeserializer(item: any): JobStep; /** Properties of a job step. */ export interface JobStepProperties { /** The job step's index within the job. If not specified when creating the job step, it will be created as the last step. If not specified when updating the job step, the step id is not modified. */ stepId?: number; /** The resource ID of the target group that the job step will be executed on. */ targetGroup: string; /** The resource ID of the job credential that will be used to connect to the targets. */ credential?: string; /** The action payload of the job step. */ action: JobStepAction; /** Output destination properties of the job step. */ output?: JobStepOutput; /** Execution options for the job step. */ executionOptions?: JobStepExecutionOptions; } export declare function jobStepPropertiesSerializer(item: JobStepProperties): any; export declare function jobStepPropertiesDeserializer(item: any): JobStepProperties; /** The action to be executed by a job step. */ export interface JobStepAction { /** Type of action being executed by the job step. */ type?: JobStepActionType; /** The source of the action to execute. */ source?: JobStepActionSource; /** The action value, for example the text of the T-SQL script to execute. */ value: string; } export declare function jobStepActionSerializer(item: JobStepAction): any; export declare function jobStepActionDeserializer(item: any): JobStepAction; /** Type of action being executed by the job step. */ export declare enum KnownJobStepActionType { /** TSql */ TSql = "TSql" } /** * Type of action being executed by the job step. \ * {@link KnownJobStepActionType} can be used interchangeably with JobStepActionType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **TSql**: TSql */ export type JobStepActionType = string; /** The source of the action to execute. */ export declare enum KnownJobStepActionSource { /** Inline */ Inline = "Inline" } /** * The source of the action to execute. \ * {@link KnownJobStepActionSource} can be used interchangeably with JobStepActionSource, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Inline**: Inline */ export type JobStepActionSource = string; /** The output configuration of a job step. */ export interface JobStepOutput { /** The output destination type. */ type?: JobStepOutputType; /** The output destination subscription id. */ subscriptionId?: string; /** The output destination resource group. */ resourceGroupName?: string; /** The output destination server name. */ serverName: string; /** The output destination database. */ databaseName: string; /** The output destination schema. */ schemaName?: string; /** The output destination table. */ tableName: string; /** The resource ID of the credential to use to connect to the output destination. */ credential?: string; } export declare function jobStepOutputSerializer(item: JobStepOutput): any; export declare function jobStepOutputDeserializer(item: any): JobStepOutput; /** The output destination type. */ export declare enum KnownJobStepOutputType { /** SqlDatabase */ SqlDatabase = "SqlDatabase" } /** * The output destination type. \ * {@link KnownJobStepOutputType} can be used interchangeably with JobStepOutputType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **SqlDatabase**: SqlDatabase */ export type JobStepOutputType = string; /** The execution options of a job step. */ export interface JobStepExecutionOptions { /** Execution timeout for the job step. */ timeoutSeconds?: number; /** Maximum number of times the job step will be reattempted if the first attempt fails. */ retryAttempts?: number; /** Initial delay between retries for job step execution. */ initialRetryIntervalSeconds?: number; /** The maximum amount of time to wait between retries for job step execution. */ maximumRetryIntervalSeconds?: number; /** The backoff multiplier for the time between retries. */ retryIntervalBackoffMultiplier?: number; } export declare function jobStepExecutionOptionsSerializer(item: JobStepExecutionOptions): any; export declare function jobStepExecutionOptionsDeserializer(item: any): JobStepExecutionOptions; /** The response of a JobStep list operation. */ export interface _JobStepListResult { /** The JobStep items on this page */ value: JobStep[]; /** The link to the next page of items */ nextLink?: string; } export declare function _jobStepListResultDeserializer(item: any): _JobStepListResult; export declare function jobStepArraySerializer(result: Array): any[]; export declare function jobStepArrayDeserializer(result: Array): any[]; /** A group of job targets. */ export interface JobTargetGroup extends ProxyResource { /** Members of the target group. */ members?: JobTarget[]; } export declare function jobTargetGroupSerializer(item: JobTargetGroup): any; export declare function jobTargetGroupDeserializer(item: any): JobTargetGroup; /** Properties of job target group. */ export interface JobTargetGroupProperties { /** Members of the target group. */ members: JobTarget[]; } export declare function jobTargetGroupPropertiesSerializer(item: JobTargetGroupProperties): any; export declare function jobTargetGroupPropertiesDeserializer(item: any): JobTargetGroupProperties; export declare function jobTargetArraySerializer(result: Array): any[]; export declare function jobTargetArrayDeserializer(result: Array): any[]; /** A job target, for example a specific database or a container of databases that is evaluated during job execution. */ export interface JobTarget { /** Whether the target is included or excluded from the group. */ membershipType?: JobTargetGroupMembershipType; /** The target type. */ type: JobTargetType; /** The target server name. */ serverName?: string; /** The target database name. */ databaseName?: string; /** The target elastic pool name. */ elasticPoolName?: string; /** The target shard map. */ shardMapName?: string; /** The resource ID of the credential that is used during job execution to connect to the target and determine the list of databases inside the target. */ refreshCredential?: string; } export declare function jobTargetSerializer(item: JobTarget): any; export declare function jobTargetDeserializer(item: any): JobTarget; /** Whether the target is included or excluded from the group. */ export type JobTargetGroupMembershipType = "Include" | "Exclude"; /** The response of a JobTargetGroup list operation. */ export interface _JobTargetGroupListResult { /** The JobTargetGroup items on this page */ value: JobTargetGroup[]; /** The link to the next page of items */ nextLink?: string; } export declare function _jobTargetGroupListResultDeserializer(item: any): _JobTargetGroupListResult; export declare function jobTargetGroupArraySerializer(result: Array): any[]; export declare function jobTargetGroupArrayDeserializer(result: Array): any[]; /** A job version. */ export interface JobVersion extends ProxyResource { } export declare function jobVersionDeserializer(item: any): JobVersion; /** The response of a JobVersion list operation. */ export interface _JobVersionListResult { /** The JobVersion items on this page */ value: JobVersion[]; /** The link to the next page of items */ nextLink?: string; } export declare function _jobVersionListResultDeserializer(item: any): _JobVersionListResult; export declare function jobVersionArrayDeserializer(result: Array): any[]; /** A long term retention backup. */ export interface LongTermRetentionBackup extends ProxyResource { /** The server name that the backup database belong to. */ readonly serverName?: string; /** The create time of the server. */ readonly serverCreateTime?: Date; /** The name of the database the backup belong to */ readonly databaseName?: string; /** The delete time of the database */ readonly databaseDeletionTime?: Date; /** The time the backup was taken */ readonly backupTime?: Date; /** The time the long term retention backup will expire. */ readonly backupExpirationTime?: Date; /** The storage redundancy type of the backup */ readonly backupStorageRedundancy?: BackupStorageRedundancy; /** The storage redundancy type of the backup */ requestedBackupStorageRedundancy?: BackupStorageRedundancy; /** The setting whether the LTR backup is immutable */ isBackupImmutable?: boolean; /** The setting for whether or not time-based immutability is enabled for the LTR backup. When time-based immutability is enabled and locked, the backup cannot be deleted until BackupExpirationTime. */ timeBasedImmutability?: TimeBasedImmutability; /** The time-based immutability mode. Only applicable if time-based immutability is enabled. */ timeBasedImmutabilityMode?: TimeBasedImmutabilityMode; /** The setting for whether LegalHold is enabled or disabled on the LTR backup. When LegalHold is enabled, the backup cannot be deleted until the LegalHold is removed. */ legalHoldImmutability?: SetLegalHoldImmutability; /** The BackupStorageAccessTier for the LTR backup */ readonly backupStorageAccessTier?: BackupStorageAccessTier; } export declare function longTermRetentionBackupDeserializer(item: any): LongTermRetentionBackup; /** Properties of a long term retention backup */ export interface LongTermRetentionBackupProperties { /** The server name that the backup database belong to. */ readonly serverName?: string; /** The create time of the server. */ readonly serverCreateTime?: Date; /** The name of the database the backup belong to */ readonly databaseName?: string; /** The delete time of the database */ readonly databaseDeletionTime?: Date; /** The time the backup was taken */ readonly backupTime?: Date; /** The time the long term retention backup will expire. */ readonly backupExpirationTime?: Date; /** The storage redundancy type of the backup */ readonly backupStorageRedundancy?: BackupStorageRedundancy; /** The storage redundancy type of the backup */ requestedBackupStorageRedundancy?: BackupStorageRedundancy; /** The setting whether the LTR backup is immutable */ isBackupImmutable?: boolean; /** The setting for whether or not time-based immutability is enabled for the LTR backup. When time-based immutability is enabled and locked, the backup cannot be deleted until BackupExpirationTime. */ timeBasedImmutability?: TimeBasedImmutability; /** The time-based immutability mode. Only applicable if time-based immutability is enabled. */ timeBasedImmutabilityMode?: TimeBasedImmutabilityMode; /** The setting for whether LegalHold is enabled or disabled on the LTR backup. When LegalHold is enabled, the backup cannot be deleted until the LegalHold is removed. */ legalHoldImmutability?: SetLegalHoldImmutability; /** The BackupStorageAccessTier for the LTR backup */ readonly backupStorageAccessTier?: BackupStorageAccessTier; } export declare function longTermRetentionBackupPropertiesDeserializer(item: any): LongTermRetentionBackupProperties; /** The setting for whether or not time-based immutability is enabled for the LTR backup. When time-based immutability is enabled and locked, the backup cannot be deleted until BackupExpirationTime. */ export declare enum KnownTimeBasedImmutability { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled" } /** * The setting for whether or not time-based immutability is enabled for the LTR backup. When time-based immutability is enabled and locked, the backup cannot be deleted until BackupExpirationTime. \ * {@link KnownTimeBasedImmutability} can be used interchangeably with TimeBasedImmutability, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled**: Enabled \ * **Disabled**: Disabled */ export type TimeBasedImmutability = string; /** The time-based immutability mode. Only applicable if time-based immutability is enabled. */ export declare enum KnownTimeBasedImmutabilityMode { /** Locked */ Locked = "Locked", /** Unlocked */ Unlocked = "Unlocked" } /** * The time-based immutability mode. Only applicable if time-based immutability is enabled. \ * {@link KnownTimeBasedImmutabilityMode} can be used interchangeably with TimeBasedImmutabilityMode, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Locked**: Locked \ * **Unlocked**: Unlocked */ export type TimeBasedImmutabilityMode = string; /** The setting for whether LegalHold is enabled or disabled on the LTR backup. When LegalHold is enabled, the backup cannot be deleted until the LegalHold is removed. */ export declare enum KnownSetLegalHoldImmutability { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled" } /** * The setting for whether LegalHold is enabled or disabled on the LTR backup. When LegalHold is enabled, the backup cannot be deleted until the LegalHold is removed. \ * {@link KnownSetLegalHoldImmutability} can be used interchangeably with SetLegalHoldImmutability, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled**: Enabled \ * **Disabled**: Disabled */ export type SetLegalHoldImmutability = string; /** The BackupStorageAccessTier for the LTR backup */ export declare enum KnownBackupStorageAccessTier { /** Hot */ Hot = "Hot", /** Archive */ Archive = "Archive" } /** * The BackupStorageAccessTier for the LTR backup \ * {@link KnownBackupStorageAccessTier} can be used interchangeably with BackupStorageAccessTier, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Hot**: Hot \ * **Archive**: Archive */ export type BackupStorageAccessTier = string; /** A list of long term retention backups. */ export interface _LongTermRetentionBackupListResult { /** Array of results. */ readonly value?: LongTermRetentionBackup[]; /** Link to retrieve next page of results. */ readonly nextLink?: string; } export declare function _longTermRetentionBackupListResultDeserializer(item: any): _LongTermRetentionBackupListResult; export declare function longTermRetentionBackupArrayDeserializer(result: Array): any[]; /** Contains the information necessary to change long term retention backup access tier and related operation mode. */ export interface ChangeLongTermRetentionBackupAccessTierParameters { /** The long term retention backup storage access tier */ backupStorageAccessTier: string; /** The operation mode when updating ltr backup storage access tier */ operationMode: string; } export declare function changeLongTermRetentionBackupAccessTierParametersSerializer(item: ChangeLongTermRetentionBackupAccessTierParameters): any; /** Contains the information necessary to perform long term retention backup copy operation. */ export interface CopyLongTermRetentionBackupParameters { /** The subscription that owns the target server */ targetSubscriptionId?: string; /** The resource group that owns the target server */ targetResourceGroup?: string; /** The resource Id of the target server that owns the database */ targetServerResourceId?: string; /** The fully qualified domain name of the target server */ targetServerFullyQualifiedDomainName?: string; /** The name of the database owns the copied backup. */ targetDatabaseName?: string; /** The storage redundancy type of the copied backup */ targetBackupStorageRedundancy?: BackupStorageRedundancy; } export declare function copyLongTermRetentionBackupParametersSerializer(item: CopyLongTermRetentionBackupParameters): any; /** Contains the properties to perform long term retention backup copy operation. */ export interface CopyLongTermRetentionBackupParametersProperties { /** The subscription that owns the target server */ targetSubscriptionId?: string; /** The resource group that owns the target server */ targetResourceGroup?: string; /** The resource Id of the target server that owns the database */ targetServerResourceId?: string; /** The fully qualified domain name of the target server */ targetServerFullyQualifiedDomainName?: string; /** The name of the database owns the copied backup. */ targetDatabaseName?: string; /** The storage redundancy type of the copied backup */ targetBackupStorageRedundancy?: BackupStorageRedundancy; } export declare function copyLongTermRetentionBackupParametersPropertiesSerializer(item: CopyLongTermRetentionBackupParametersProperties): any; /** A LongTermRetentionBackup operation result resource. */ export interface LongTermRetentionBackupOperationResult extends ProxyResource { /** Request Id. */ readonly requestId?: string; /** Operation type. */ readonly operationType?: string; /** Source backup resource id */ readonly fromBackupResourceId?: string; /** Target backup resource id */ readonly toBackupResourceId?: string; /** The storage redundancy type of the copied backup */ readonly targetBackupStorageRedundancy?: BackupStorageRedundancy; /** Operation status */ readonly status?: string; /** Progress message */ readonly message?: string; } export declare function longTermRetentionBackupOperationResultDeserializer(item: any): LongTermRetentionBackupOperationResult; /** Contains the operation result properties for long term retention backup operation. */ export interface LongTermRetentionOperationResultProperties { /** Request Id. */ readonly requestId?: string; /** Operation type. */ readonly operationType?: string; /** Source backup resource id */ readonly fromBackupResourceId?: string; /** Target backup resource id */ readonly toBackupResourceId?: string; /** The storage redundancy type of the copied backup */ readonly targetBackupStorageRedundancy?: BackupStorageRedundancy; /** Operation status */ readonly status?: string; /** Progress message */ readonly message?: string; } export declare function longTermRetentionOperationResultPropertiesDeserializer(item: any): LongTermRetentionOperationResultProperties; /** Contains the information necessary to perform long term retention backup update operation. */ export interface UpdateLongTermRetentionBackupParameters { /** The storage redundancy type of the copied backup */ requestedBackupStorageRedundancy?: BackupStorageRedundancy; } export declare function updateLongTermRetentionBackupParametersSerializer(item: UpdateLongTermRetentionBackupParameters): any; /** Contains the properties to perform long term retention backup copy operation. */ export interface UpdateLongTermRetentionBackupParametersProperties { /** The storage redundancy type of the copied backup */ requestedBackupStorageRedundancy?: BackupStorageRedundancy; } export declare function updateLongTermRetentionBackupParametersPropertiesSerializer(item: UpdateLongTermRetentionBackupParametersProperties): any; /** A long term retention backup for a managed database. */ export interface ManagedInstanceLongTermRetentionBackup extends ProxyResource { /** The managed instance that the backup database belongs to. */ readonly managedInstanceName?: string; /** The create time of the instance. */ readonly managedInstanceCreateTime?: Date; /** The name of the database the backup belong to */ readonly databaseName?: string; /** The delete time of the database */ readonly databaseDeletionTime?: Date; /** The time the backup was taken */ readonly backupTime?: Date; /** The time the long term retention backup will expire. */ readonly backupExpirationTime?: Date; /** The storage redundancy type of the backup */ readonly backupStorageRedundancy?: BackupStorageRedundancy; /** The BackupStorageAccessTier for the LTR backup */ readonly backupStorageAccessTier?: BackupStorageAccessTier; } export declare function managedInstanceLongTermRetentionBackupDeserializer(item: any): ManagedInstanceLongTermRetentionBackup; /** Properties of a long term retention backup */ export interface ManagedInstanceLongTermRetentionBackupProperties { /** The managed instance that the backup database belongs to. */ readonly managedInstanceName?: string; /** The create time of the instance. */ readonly managedInstanceCreateTime?: Date; /** The name of the database the backup belong to */ readonly databaseName?: string; /** The delete time of the database */ readonly databaseDeletionTime?: Date; /** The time the backup was taken */ readonly backupTime?: Date; /** The time the long term retention backup will expire. */ readonly backupExpirationTime?: Date; /** The storage redundancy type of the backup */ readonly backupStorageRedundancy?: BackupStorageRedundancy; /** The BackupStorageAccessTier for the LTR backup */ readonly backupStorageAccessTier?: BackupStorageAccessTier; } export declare function managedInstanceLongTermRetentionBackupPropertiesDeserializer(item: any): ManagedInstanceLongTermRetentionBackupProperties; /** The response of a ManagedInstanceLongTermRetentionBackup list operation. */ export interface _ManagedInstanceLongTermRetentionBackupListResult { /** The ManagedInstanceLongTermRetentionBackup items on this page */ value: ManagedInstanceLongTermRetentionBackup[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedInstanceLongTermRetentionBackupListResultDeserializer(item: any): _ManagedInstanceLongTermRetentionBackupListResult; export declare function managedInstanceLongTermRetentionBackupArrayDeserializer(result: Array): any[]; /** A long term retention policy. */ export interface LongTermRetentionPolicy extends ProxyResource { /** The setting for whether to enable time-based immutability for future backups. When set, future backups will have TimeBasedImmutability enabled. */ timeBasedImmutability?: TimeBasedImmutability; /** The setting for time-based immutability mode for future backup (Value can be either Locked or UnLocked. Only effective if TimeBasedImmutability is enabled). Caution: Immutability of LTR backup cannot be removed if TimeBasedImmutabilityMode is Locked. */ timeBasedImmutabilityMode?: TimeBasedImmutabilityMode; /** The weekly retention policy for an LTR backup in an ISO 8601 format. */ weeklyRetention?: string; /** The monthly retention policy for an LTR backup in an ISO 8601 format. */ monthlyRetention?: string; /** The yearly retention policy for an LTR backup in an ISO 8601 format. */ yearlyRetention?: string; /** The week of year to take the yearly backup in an ISO 8601 format. */ weekOfYear?: number; } export declare function longTermRetentionPolicySerializer(item: LongTermRetentionPolicy): any; export declare function longTermRetentionPolicyDeserializer(item: any): LongTermRetentionPolicy; /** Properties of a long term retention policy */ export interface LongTermRetentionPolicyProperties { /** The setting for whether to enable time-based immutability for future backups. When set, future backups will have TimeBasedImmutability enabled. */ timeBasedImmutability?: TimeBasedImmutability; /** The setting for time-based immutability mode for future backup (Value can be either Locked or UnLocked. Only effective if TimeBasedImmutability is enabled). Caution: Immutability of LTR backup cannot be removed if TimeBasedImmutabilityMode is Locked. */ timeBasedImmutabilityMode?: TimeBasedImmutabilityMode; /** The weekly retention policy for an LTR backup in an ISO 8601 format. */ weeklyRetention?: string; /** The monthly retention policy for an LTR backup in an ISO 8601 format. */ monthlyRetention?: string; /** The yearly retention policy for an LTR backup in an ISO 8601 format. */ yearlyRetention?: string; /** The week of year to take the yearly backup in an ISO 8601 format. */ weekOfYear?: number; } export declare function longTermRetentionPolicyPropertiesSerializer(item: LongTermRetentionPolicyProperties): any; export declare function longTermRetentionPolicyPropertiesDeserializer(item: any): LongTermRetentionPolicyProperties; /** Known values of {@link LongTermRetentionPolicyName} that the service accepts. */ export declare enum KnownLongTermRetentionPolicyName { /** default */ Default = "default" } /** Type of LongTermRetentionPolicyName */ export type LongTermRetentionPolicyName = string; /** The response of a LongTermRetentionPolicy list operation. */ export interface _LongTermRetentionPolicyListResult { /** The LongTermRetentionPolicy items on this page */ value: LongTermRetentionPolicy[]; /** The link to the next page of items */ nextLink?: string; } export declare function _longTermRetentionPolicyListResultDeserializer(item: any): _LongTermRetentionPolicyListResult; export declare function longTermRetentionPolicyArraySerializer(result: Array): any[]; export declare function longTermRetentionPolicyArrayDeserializer(result: Array): any[]; /** A short term retention policy. */ export interface ManagedBackupShortTermRetentionPolicy extends ProxyResource { /** The backup retention period in days. This is how many days Point-in-Time Restore will be supported. */ retentionDays?: number; } export declare function managedBackupShortTermRetentionPolicySerializer(item: ManagedBackupShortTermRetentionPolicy): any; export declare function managedBackupShortTermRetentionPolicyDeserializer(item: any): ManagedBackupShortTermRetentionPolicy; /** Properties of a short term retention policy */ export interface ManagedBackupShortTermRetentionPolicyProperties { /** The backup retention period in days. This is how many days Point-in-Time Restore will be supported. */ retentionDays?: number; } export declare function managedBackupShortTermRetentionPolicyPropertiesSerializer(item: ManagedBackupShortTermRetentionPolicyProperties): any; export declare function managedBackupShortTermRetentionPolicyPropertiesDeserializer(item: any): ManagedBackupShortTermRetentionPolicyProperties; /** Known values of {@link ManagedShortTermRetentionPolicyName} that the service accepts. */ export declare enum KnownManagedShortTermRetentionPolicyName { /** default */ Default = "default" } /** Type of ManagedShortTermRetentionPolicyName */ export type ManagedShortTermRetentionPolicyName = string; /** The response of a ManagedBackupShortTermRetentionPolicy list operation. */ export interface _ManagedBackupShortTermRetentionPolicyListResult { /** The ManagedBackupShortTermRetentionPolicy items on this page */ value: ManagedBackupShortTermRetentionPolicy[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedBackupShortTermRetentionPolicyListResultDeserializer(item: any): _ManagedBackupShortTermRetentionPolicyListResult; export declare function managedBackupShortTermRetentionPolicyArraySerializer(result: Array): any[]; export declare function managedBackupShortTermRetentionPolicyArrayDeserializer(result: Array): any[]; /** A managed database security alert policy. */ export interface ManagedDatabaseSecurityAlertPolicy extends ProxyResource { /** Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. */ state?: SecurityAlertPolicyState; /** Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force */ disabledAlerts?: string[]; /** Specifies an array of e-mail addresses to which the alert is sent. */ emailAddresses?: string[]; /** Specifies that the alert is sent to the account administrators. */ emailAccountAdmins?: boolean; /** Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. */ storageEndpoint?: string; /** Specifies the identifier key of the Threat Detection audit storage account. */ storageAccountAccessKey?: string; /** Specifies the number of days to keep in the Threat Detection audit logs. */ retentionDays?: number; /** Specifies the UTC creation time of the policy. */ readonly creationTime?: Date; } export declare function managedDatabaseSecurityAlertPolicySerializer(item: ManagedDatabaseSecurityAlertPolicy): any; export declare function managedDatabaseSecurityAlertPolicyDeserializer(item: any): ManagedDatabaseSecurityAlertPolicy; /** Properties of a security alert policy. */ export interface SecurityAlertPolicyProperties { /** Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. */ state: SecurityAlertPolicyState; /** Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force */ disabledAlerts?: string[]; /** Specifies an array of e-mail addresses to which the alert is sent. */ emailAddresses?: string[]; /** Specifies that the alert is sent to the account administrators. */ emailAccountAdmins?: boolean; /** Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. */ storageEndpoint?: string; /** Specifies the identifier key of the Threat Detection audit storage account. */ storageAccountAccessKey?: string; /** Specifies the number of days to keep in the Threat Detection audit logs. */ retentionDays?: number; /** Specifies the UTC creation time of the policy. */ readonly creationTime?: Date; } export declare function securityAlertPolicyPropertiesSerializer(item: SecurityAlertPolicyProperties): any; export declare function securityAlertPolicyPropertiesDeserializer(item: any): SecurityAlertPolicyProperties; /** Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. */ export type SecurityAlertPolicyState = "New" | "Enabled" | "Disabled"; /** The response of a ManagedDatabaseSecurityAlertPolicy list operation. */ export interface _ManagedDatabaseSecurityAlertPolicyListResult { /** The ManagedDatabaseSecurityAlertPolicy items on this page */ value: ManagedDatabaseSecurityAlertPolicy[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedDatabaseSecurityAlertPolicyListResultDeserializer(item: any): _ManagedDatabaseSecurityAlertPolicyListResult; export declare function managedDatabaseSecurityAlertPolicyArraySerializer(result: Array): any[]; export declare function managedDatabaseSecurityAlertPolicyArrayDeserializer(result: Array): any[]; /** An Azure SQL managed instance administrator. */ export interface ManagedInstanceAdministrator extends ProxyResource { /** Type of the managed instance administrator. */ administratorType?: ManagedInstanceAdministratorType; /** Login name of the managed instance administrator. */ login?: string; /** SID (object ID) of the managed instance administrator. */ sid?: string; /** Tenant ID of the managed instance administrator. */ tenantId?: string; } export declare function managedInstanceAdministratorSerializer(item: ManagedInstanceAdministrator): any; export declare function managedInstanceAdministratorDeserializer(item: any): ManagedInstanceAdministrator; /** The properties of a managed instance administrator. */ export interface ManagedInstanceAdministratorProperties { /** Type of the managed instance administrator. */ administratorType: ManagedInstanceAdministratorType; /** Login name of the managed instance administrator. */ login: string; /** SID (object ID) of the managed instance administrator. */ sid: string; /** Tenant ID of the managed instance administrator. */ tenantId?: string; } export declare function managedInstanceAdministratorPropertiesSerializer(item: ManagedInstanceAdministratorProperties): any; export declare function managedInstanceAdministratorPropertiesDeserializer(item: any): ManagedInstanceAdministratorProperties; /** Type of the managed instance administrator. */ export declare enum KnownManagedInstanceAdministratorType { /** ActiveDirectory */ ActiveDirectory = "ActiveDirectory" } /** * Type of the managed instance administrator. \ * {@link KnownManagedInstanceAdministratorType} can be used interchangeably with ManagedInstanceAdministratorType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **ActiveDirectory**: ActiveDirectory */ export type ManagedInstanceAdministratorType = string; /** Known values of {@link AdministratorName} that the service accepts. */ export declare enum KnownAdministratorName { /** ActiveDirectory */ ActiveDirectory = "ActiveDirectory" } /** Type of AdministratorName */ export type AdministratorName = string; /** The response of a ManagedInstanceAdministrator list operation. */ export interface _ManagedInstanceAdministratorListResult { /** The ManagedInstanceAdministrator items on this page */ value: ManagedInstanceAdministrator[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedInstanceAdministratorListResultDeserializer(item: any): _ManagedInstanceAdministratorListResult; export declare function managedInstanceAdministratorArraySerializer(result: Array): any[]; export declare function managedInstanceAdministratorArrayDeserializer(result: Array): any[]; /** Azure Active Directory only authentication. */ export interface ManagedInstanceAzureADOnlyAuthentication extends ProxyResource { /** Azure Active Directory only Authentication enabled. */ azureADOnlyAuthentication?: boolean; } export declare function managedInstanceAzureADOnlyAuthenticationSerializer(item: ManagedInstanceAzureADOnlyAuthentication): any; export declare function managedInstanceAzureADOnlyAuthenticationDeserializer(item: any): ManagedInstanceAzureADOnlyAuthentication; /** Properties of a active directory only authentication for Managed Instance. */ export interface ManagedInstanceAzureADOnlyAuthProperties { /** Azure Active Directory only Authentication enabled. */ azureADOnlyAuthentication: boolean; } export declare function managedInstanceAzureADOnlyAuthPropertiesSerializer(item: ManagedInstanceAzureADOnlyAuthProperties): any; export declare function managedInstanceAzureADOnlyAuthPropertiesDeserializer(item: any): ManagedInstanceAzureADOnlyAuthProperties; /** Known values of {@link AuthenticationName} that the service accepts. */ export declare enum KnownAuthenticationName { /** Default */ Default = "Default" } /** Type of AuthenticationName */ export type AuthenticationName = string; /** List of managed database move operations. */ export interface _ManagedInstanceAzureADOnlyAuthListResult { /** Array of results. */ readonly value?: ManagedInstanceAzureADOnlyAuthentication[]; /** Link to retrieve next page of results. */ readonly nextLink?: string; } export declare function _managedInstanceAzureADOnlyAuthListResultDeserializer(item: any): _ManagedInstanceAzureADOnlyAuthListResult; export declare function managedInstanceAzureADOnlyAuthenticationArraySerializer(result: Array): any[]; export declare function managedInstanceAzureADOnlyAuthenticationArrayDeserializer(result: Array): any[]; /** SQL Managed Instance DTC */ export interface ManagedInstanceDtc extends ProxyResource { /** Active status of managed instance DTC. */ dtcEnabled?: boolean; /** Security settings of managed instance DTC. */ securitySettings?: ManagedInstanceDtcSecuritySettings; /** External dns suffix search list of managed instance DTC. */ externalDnsSuffixSearchList?: string[]; /** Host name dns suffix of managed instance DTC. */ readonly dtcHostNameDnsSuffix?: string; /** Provisioning state of managed instance DTC. */ readonly provisioningState?: ProvisioningState; } export declare function managedInstanceDtcSerializer(item: ManagedInstanceDtc): any; export declare function managedInstanceDtcDeserializer(item: any): ManagedInstanceDtc; /** The properties of managed instance DTC. */ export interface ManagedInstanceDtcProperties { /** Active status of managed instance DTC. */ dtcEnabled?: boolean; /** Security settings of managed instance DTC. */ securitySettings?: ManagedInstanceDtcSecuritySettings; /** External dns suffix search list of managed instance DTC. */ externalDnsSuffixSearchList?: string[]; /** Host name dns suffix of managed instance DTC. */ readonly dtcHostNameDnsSuffix?: string; /** Provisioning state of managed instance DTC. */ readonly provisioningState?: ProvisioningState; } export declare function managedInstanceDtcPropertiesSerializer(item: ManagedInstanceDtcProperties): any; export declare function managedInstanceDtcPropertiesDeserializer(item: any): ManagedInstanceDtcProperties; /** The Security Settings of managed instance DTC. */ export interface ManagedInstanceDtcSecuritySettings { /** Transaction Manager communication settings of managed instance DTC. */ transactionManagerCommunicationSettings?: ManagedInstanceDtcTransactionManagerCommunicationSettings; /** Allow XA Transactions to managed instance DTC. */ xaTransactionsEnabled?: boolean; /** Allow SNA LU 6.2 Transactions to managed instance DTC. */ snaLu6Point2TransactionsEnabled?: boolean; /** Default timeout for XA Transactions (in seconds). */ xaTransactionsDefaultTimeout?: number; /** Maximum timeout for XA Transactions (in seconds). */ xaTransactionsMaximumTimeout?: number; } export declare function managedInstanceDtcSecuritySettingsSerializer(item: ManagedInstanceDtcSecuritySettings): any; export declare function managedInstanceDtcSecuritySettingsDeserializer(item: any): ManagedInstanceDtcSecuritySettings; /** The Transaction Manager Communication Settings of managed instance DTC. */ export interface ManagedInstanceDtcTransactionManagerCommunicationSettings { /** Allow Inbound traffic to managed instance DTC. */ allowInboundEnabled?: boolean; /** Allow Outbound traffic of managed instance DTC. */ allowOutboundEnabled?: boolean; /** Authentication type of managed instance DTC. */ authentication?: string; } export declare function managedInstanceDtcTransactionManagerCommunicationSettingsSerializer(item: ManagedInstanceDtcTransactionManagerCommunicationSettings): any; export declare function managedInstanceDtcTransactionManagerCommunicationSettingsDeserializer(item: any): ManagedInstanceDtcTransactionManagerCommunicationSettings; /** Known values of {@link DtcName} that the service accepts. */ export declare enum KnownDtcName { /** current */ Current = "current" } /** Type of DtcName */ export type DtcName = string; /** The response of a ManagedInstanceDtc list operation. */ export interface _ManagedInstanceDtcListResult { /** The ManagedInstanceDtc items on this page */ value: ManagedInstanceDtc[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedInstanceDtcListResultDeserializer(item: any): _ManagedInstanceDtcListResult; export declare function managedInstanceDtcArraySerializer(result: Array): any[]; export declare function managedInstanceDtcArrayDeserializer(result: Array): any[]; /** The managed instance encryption protector. */ export interface ManagedInstanceEncryptionProtector extends ProxyResource { /** Kind of encryption protector. This is metadata used for the Azure portal experience. */ readonly kind?: string; /** The name of the managed instance key. */ serverKeyName?: string; /** The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. */ serverKeyType?: ServerKeyType; /** The URI of the server key. */ readonly uri?: string; /** Thumbprint of the server key. */ readonly thumbprint?: string; /** Key auto rotation opt-in flag. Either true or false. */ autoRotationEnabled?: boolean; } export declare function managedInstanceEncryptionProtectorSerializer(item: ManagedInstanceEncryptionProtector): any; export declare function managedInstanceEncryptionProtectorDeserializer(item: any): ManagedInstanceEncryptionProtector; /** Properties for an encryption protector execution. */ export interface ManagedInstanceEncryptionProtectorProperties { /** The name of the managed instance key. */ serverKeyName?: string; /** The encryption protector type like 'ServiceManaged', 'AzureKeyVault'. */ serverKeyType: ServerKeyType; /** The URI of the server key. */ readonly uri?: string; /** Thumbprint of the server key. */ readonly thumbprint?: string; /** Key auto rotation opt-in flag. Either true or false. */ autoRotationEnabled?: boolean; } export declare function managedInstanceEncryptionProtectorPropertiesSerializer(item: ManagedInstanceEncryptionProtectorProperties): any; export declare function managedInstanceEncryptionProtectorPropertiesDeserializer(item: any): ManagedInstanceEncryptionProtectorProperties; /** The response of a ManagedInstanceEncryptionProtector list operation. */ export interface _ManagedInstanceEncryptionProtectorListResult { /** The ManagedInstanceEncryptionProtector items on this page */ value: ManagedInstanceEncryptionProtector[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedInstanceEncryptionProtectorListResultDeserializer(item: any): _ManagedInstanceEncryptionProtectorListResult; export declare function managedInstanceEncryptionProtectorArraySerializer(result: Array): any[]; export declare function managedInstanceEncryptionProtectorArrayDeserializer(result: Array): any[]; /** A managed instance key. */ export interface ManagedInstanceKey extends ProxyResource { /** Kind of encryption protector. This is metadata used for the Azure portal experience. */ readonly kind?: string; /** The key type like 'ServiceManaged', 'AzureKeyVault'. */ serverKeyType?: ServerKeyType; /** The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required. */ uri?: string; /** Thumbprint of the key. */ readonly thumbprint?: string; /** The key creation date. */ readonly creationDate?: Date; /** Key auto rotation opt-in flag. Either true or false. */ readonly autoRotationEnabled?: boolean; } export declare function managedInstanceKeySerializer(item: ManagedInstanceKey): any; export declare function managedInstanceKeyDeserializer(item: any): ManagedInstanceKey; /** Properties for a key execution. */ export interface ManagedInstanceKeyProperties { /** The key type like 'ServiceManaged', 'AzureKeyVault'. */ serverKeyType: ServerKeyType; /** The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required. */ uri?: string; /** Thumbprint of the key. */ readonly thumbprint?: string; /** The key creation date. */ readonly creationDate?: Date; /** Key auto rotation opt-in flag. Either true or false. */ readonly autoRotationEnabled?: boolean; } export declare function managedInstanceKeyPropertiesSerializer(item: ManagedInstanceKeyProperties): any; export declare function managedInstanceKeyPropertiesDeserializer(item: any): ManagedInstanceKeyProperties; /** The response of a ManagedInstanceKey list operation. */ export interface _ManagedInstanceKeyListResult { /** The ManagedInstanceKey items on this page */ value: ManagedInstanceKey[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedInstanceKeyListResultDeserializer(item: any): _ManagedInstanceKeyListResult; export declare function managedInstanceKeyArraySerializer(result: Array): any[]; export declare function managedInstanceKeyArrayDeserializer(result: Array): any[]; /** A long term retention policy. */ export interface ManagedInstanceLongTermRetentionPolicy extends ProxyResource { /** The BackupStorageAccessTier for the LTR backups */ backupStorageAccessTier?: BackupStorageAccessTier; /** The weekly retention policy for an LTR backup in an ISO 8601 format. */ weeklyRetention?: string; /** The monthly retention policy for an LTR backup in an ISO 8601 format. */ monthlyRetention?: string; /** The yearly retention policy for an LTR backup in an ISO 8601 format. */ yearlyRetention?: string; /** The week of year to take the yearly backup in an ISO 8601 format. */ weekOfYear?: number; } export declare function managedInstanceLongTermRetentionPolicySerializer(item: ManagedInstanceLongTermRetentionPolicy): any; export declare function managedInstanceLongTermRetentionPolicyDeserializer(item: any): ManagedInstanceLongTermRetentionPolicy; /** Properties of a long term retention policy */ export interface ManagedInstanceLongTermRetentionPolicyProperties { /** The BackupStorageAccessTier for the LTR backups */ backupStorageAccessTier?: BackupStorageAccessTier; /** The weekly retention policy for an LTR backup in an ISO 8601 format. */ weeklyRetention?: string; /** The monthly retention policy for an LTR backup in an ISO 8601 format. */ monthlyRetention?: string; /** The yearly retention policy for an LTR backup in an ISO 8601 format. */ yearlyRetention?: string; /** The week of year to take the yearly backup in an ISO 8601 format. */ weekOfYear?: number; } export declare function managedInstanceLongTermRetentionPolicyPropertiesSerializer(item: ManagedInstanceLongTermRetentionPolicyProperties): any; export declare function managedInstanceLongTermRetentionPolicyPropertiesDeserializer(item: any): ManagedInstanceLongTermRetentionPolicyProperties; /** Known values of {@link ManagedInstanceLongTermRetentionPolicyName} that the service accepts. */ export declare enum KnownManagedInstanceLongTermRetentionPolicyName { /** default */ Default = "default" } /** Type of ManagedInstanceLongTermRetentionPolicyName */ export type ManagedInstanceLongTermRetentionPolicyName = string; /** The response of a ManagedInstanceLongTermRetentionPolicy list operation. */ export interface _ManagedInstanceLongTermRetentionPolicyListResult { /** The ManagedInstanceLongTermRetentionPolicy items on this page */ value: ManagedInstanceLongTermRetentionPolicy[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedInstanceLongTermRetentionPolicyListResultDeserializer(item: any): _ManagedInstanceLongTermRetentionPolicyListResult; export declare function managedInstanceLongTermRetentionPolicyArraySerializer(result: Array): any[]; export declare function managedInstanceLongTermRetentionPolicyArrayDeserializer(result: Array): any[]; /** A managed instance operation. */ export interface ManagedInstanceOperation extends ProxyResource { /** The name of the managed instance the operation is being performed on. */ readonly managedInstanceName?: string; /** The name of operation. */ readonly operation?: string; /** The friendly name of operation. */ readonly operationFriendlyName?: string; /** The percentage of the operation completed. */ readonly percentComplete?: number; /** The operation start time. */ readonly startTime?: Date; /** The operation state. */ readonly state?: ManagementOperationState; /** The operation error code. */ readonly errorCode?: number; /** The operation error description. */ readonly errorDescription?: string; /** The operation error severity. */ readonly errorSeverity?: number; /** Whether or not the error is a user error. */ readonly isUserError?: boolean; /** The estimated completion time of the operation. */ readonly estimatedCompletionTime?: Date; /** The operation description. */ readonly description?: string; /** Whether the operation can be cancelled. */ readonly isCancellable?: boolean; /** The operation parameters. */ readonly operationParameters?: ManagedInstanceOperationParametersPair; /** The operation steps. */ readonly operationSteps?: ManagedInstanceOperationSteps; } export declare function managedInstanceOperationDeserializer(item: any): ManagedInstanceOperation; /** The properties of a managed instance operation. */ export interface ManagedInstanceOperationProperties { /** The name of the managed instance the operation is being performed on. */ readonly managedInstanceName?: string; /** The name of operation. */ readonly operation?: string; /** The friendly name of operation. */ readonly operationFriendlyName?: string; /** The percentage of the operation completed. */ readonly percentComplete?: number; /** The operation start time. */ readonly startTime?: Date; /** The operation state. */ readonly state?: ManagementOperationState; /** The operation error code. */ readonly errorCode?: number; /** The operation error description. */ readonly errorDescription?: string; /** The operation error severity. */ readonly errorSeverity?: number; /** Whether or not the error is a user error. */ readonly isUserError?: boolean; /** The estimated completion time of the operation. */ readonly estimatedCompletionTime?: Date; /** The operation description. */ readonly description?: string; /** Whether the operation can be cancelled. */ readonly isCancellable?: boolean; /** The operation parameters. */ readonly operationParameters?: ManagedInstanceOperationParametersPair; /** The operation steps. */ readonly operationSteps?: ManagedInstanceOperationSteps; } export declare function managedInstanceOperationPropertiesDeserializer(item: any): ManagedInstanceOperationProperties; /** The parameters of a managed instance operation. */ export interface ManagedInstanceOperationParametersPair { /** The current parameters. */ readonly currentParameters?: UpsertManagedServerOperationParameters; /** The requested parameters. */ readonly requestedParameters?: UpsertManagedServerOperationParameters; } export declare function managedInstanceOperationParametersPairDeserializer(item: any): ManagedInstanceOperationParametersPair; /** model interface UpsertManagedServerOperationParameters */ export interface UpsertManagedServerOperationParameters { family?: string; tier?: string; vCores?: number; storageSizeInGB?: number; } export declare function upsertManagedServerOperationParametersDeserializer(item: any): UpsertManagedServerOperationParameters; /** The steps of a managed instance operation. */ export interface ManagedInstanceOperationSteps { /** The total number of operation steps. */ readonly totalSteps?: string; /** The number of current operation steps. */ readonly currentStep?: number; /** The operation steps list. */ readonly stepsList?: UpsertManagedServerOperationStepWithEstimatesAndDuration[]; } export declare function managedInstanceOperationStepsDeserializer(item: any): ManagedInstanceOperationSteps; export declare function upsertManagedServerOperationStepWithEstimatesAndDurationArrayDeserializer(result: Array): any[]; /** model interface UpsertManagedServerOperationStepWithEstimatesAndDuration */ export interface UpsertManagedServerOperationStepWithEstimatesAndDuration { stepStartTime?: Date; stepEndTime?: Date; timeElapsed?: string; order?: number; name?: string; status?: UpsertManagedServerOperationStepWithEstimatesAndDurationStatus; } export declare function upsertManagedServerOperationStepWithEstimatesAndDurationDeserializer(item: any): UpsertManagedServerOperationStepWithEstimatesAndDuration; /** Known values of {@link UpsertManagedServerOperationStepWithEstimatesAndDurationStatus} that the service accepts. */ export declare enum KnownUpsertManagedServerOperationStepWithEstimatesAndDurationStatus { /** NotStarted */ NotStarted = "NotStarted", /** InProgress */ InProgress = "InProgress", /** SlowedDown */ SlowedDown = "SlowedDown", /** Completed */ Completed = "Completed", /** Failed */ Failed = "Failed", /** Canceled */ Canceled = "Canceled" } /** Type of UpsertManagedServerOperationStepWithEstimatesAndDurationStatus */ export type UpsertManagedServerOperationStepWithEstimatesAndDurationStatus = string; /** The response of a ManagedInstanceOperation list operation. */ export interface _ManagedInstanceOperationListResult { /** The ManagedInstanceOperation items on this page */ value: ManagedInstanceOperation[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedInstanceOperationListResultDeserializer(item: any): _ManagedInstanceOperationListResult; export declare function managedInstanceOperationArrayDeserializer(result: Array): any[]; /** A private endpoint connection */ export interface ManagedInstancePrivateEndpointConnection extends ProxyResource { /** Private endpoint which the connection belongs to. */ privateEndpoint?: ManagedInstancePrivateEndpointProperty; /** Connection State of the Private Endpoint Connection. */ privateLinkServiceConnectionState?: ManagedInstancePrivateLinkServiceConnectionStateProperty; /** State of the Private Endpoint Connection. */ readonly provisioningState?: string; } export declare function managedInstancePrivateEndpointConnectionSerializer(item: ManagedInstancePrivateEndpointConnection): any; export declare function managedInstancePrivateEndpointConnectionDeserializer(item: any): ManagedInstancePrivateEndpointConnection; /** The response of a ManagedInstancePrivateEndpointConnection list operation. */ export interface _ManagedInstancePrivateEndpointConnectionListResult { /** The ManagedInstancePrivateEndpointConnection items on this page */ value: ManagedInstancePrivateEndpointConnection[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedInstancePrivateEndpointConnectionListResultDeserializer(item: any): _ManagedInstancePrivateEndpointConnectionListResult; export declare function managedInstancePrivateEndpointConnectionArraySerializer(result: Array): any[]; export declare function managedInstancePrivateEndpointConnectionArrayDeserializer(result: Array): any[]; /** A managed instance vulnerability assessment. */ export interface ManagedInstanceVulnerabilityAssessment extends ProxyResource { /** A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). */ storageContainerPath?: string; /** A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. Applies only if the storage account is not behind a Vnet or a firewall */ storageContainerSasKey?: string; /** Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only if the storage account is not behind a Vnet or a firewall */ storageAccountAccessKey?: string; /** The recurring scans settings */ recurringScans?: VulnerabilityAssessmentRecurringScansProperties; } export declare function managedInstanceVulnerabilityAssessmentSerializer(item: ManagedInstanceVulnerabilityAssessment): any; export declare function managedInstanceVulnerabilityAssessmentDeserializer(item: any): ManagedInstanceVulnerabilityAssessment; /** Properties of a managed instance vulnerability assessment. */ export interface ManagedInstanceVulnerabilityAssessmentProperties { /** A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). */ storageContainerPath: string; /** A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. Applies only if the storage account is not behind a Vnet or a firewall */ storageContainerSasKey?: string; /** Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only if the storage account is not behind a Vnet or a firewall */ storageAccountAccessKey?: string; /** The recurring scans settings */ recurringScans?: VulnerabilityAssessmentRecurringScansProperties; } export declare function managedInstanceVulnerabilityAssessmentPropertiesSerializer(item: ManagedInstanceVulnerabilityAssessmentProperties): any; export declare function managedInstanceVulnerabilityAssessmentPropertiesDeserializer(item: any): ManagedInstanceVulnerabilityAssessmentProperties; /** The response of a ManagedInstanceVulnerabilityAssessment list operation. */ export interface _ManagedInstanceVulnerabilityAssessmentListResult { /** The ManagedInstanceVulnerabilityAssessment items on this page */ value: ManagedInstanceVulnerabilityAssessment[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedInstanceVulnerabilityAssessmentListResultDeserializer(item: any): _ManagedInstanceVulnerabilityAssessmentListResult; export declare function managedInstanceVulnerabilityAssessmentArraySerializer(result: Array): any[]; export declare function managedInstanceVulnerabilityAssessmentArrayDeserializer(result: Array): any[]; /** A managed server DNS alias. */ export interface ManagedServerDnsAlias extends ProxyResource { /** The fully qualified DNS record for managed server alias */ readonly azureDnsRecord?: string; /** The fully qualified public DNS record for managed server alias */ readonly publicAzureDnsRecord?: string; } export declare function managedServerDnsAliasDeserializer(item: any): ManagedServerDnsAlias; /** Properties of a managed server DNS alias. */ export interface ManagedServerDnsAliasProperties { /** The fully qualified DNS record for managed server alias */ readonly azureDnsRecord?: string; /** The fully qualified public DNS record for managed server alias */ readonly publicAzureDnsRecord?: string; } export declare function managedServerDnsAliasPropertiesDeserializer(item: any): ManagedServerDnsAliasProperties; /** A managed server dns alias creation request. */ export interface ManagedServerDnsAliasCreation { /** Whether or not DNS record should be created for this alias. */ createDnsRecord?: boolean; } export declare function managedServerDnsAliasCreationSerializer(item: ManagedServerDnsAliasCreation): any; /** The response of a ManagedServerDnsAlias list operation. */ export interface _ManagedServerDnsAliasListResult { /** The ManagedServerDnsAlias items on this page */ value: ManagedServerDnsAlias[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedServerDnsAliasListResultDeserializer(item: any): _ManagedServerDnsAliasListResult; export declare function managedServerDnsAliasArrayDeserializer(result: Array): any[]; /** A managed server DNS alias acquisition request. */ export interface ManagedServerDnsAliasAcquisition { /** The resource ID of the managed server DNS alias that will be acquired to point to this managed server instead. */ oldManagedServerDnsAliasResourceId: string; } export declare function managedServerDnsAliasAcquisitionSerializer(item: ManagedServerDnsAliasAcquisition): any; /** A managed server security alert policy. */ export interface ManagedServerSecurityAlertPolicy extends ProxyResource { /** Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. */ state?: SecurityAlertsPolicyState; /** Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force */ disabledAlerts?: string[]; /** Specifies an array of e-mail addresses to which the alert is sent. */ emailAddresses?: string[]; /** Specifies that the alert is sent to the account administrators. */ emailAccountAdmins?: boolean; /** Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. */ storageEndpoint?: string; /** Specifies the identifier key of the Threat Detection audit storage account. */ storageAccountAccessKey?: string; /** Specifies the number of days to keep in the Threat Detection audit logs. */ retentionDays?: number; /** Specifies the UTC creation time of the policy. */ readonly creationTime?: Date; } export declare function managedServerSecurityAlertPolicySerializer(item: ManagedServerSecurityAlertPolicy): any; export declare function managedServerSecurityAlertPolicyDeserializer(item: any): ManagedServerSecurityAlertPolicy; /** The response of a ManagedServerSecurityAlertPolicy list operation. */ export interface _ManagedServerSecurityAlertPolicyListResult { /** The ManagedServerSecurityAlertPolicy items on this page */ value: ManagedServerSecurityAlertPolicy[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedServerSecurityAlertPolicyListResultDeserializer(item: any): _ManagedServerSecurityAlertPolicyListResult; export declare function managedServerSecurityAlertPolicyArraySerializer(result: Array): any[]; export declare function managedServerSecurityAlertPolicyArrayDeserializer(result: Array): any[]; /** NSP Configuration for a server. */ export interface NetworkSecurityPerimeterConfiguration extends ProxyResource { readonly provisioningState?: string; networkSecurityPerimeter?: NSPConfigPerimeter; resourceAssociation?: NSPConfigAssociation; profile?: NSPConfigProfile; provisioningIssues?: NSPProvisioningIssue[]; } export declare function networkSecurityPerimeterConfigurationDeserializer(item: any): NetworkSecurityPerimeterConfiguration; /** The properties of an NSP config. */ export interface NetworkSecurityPerimeterConfigurationProperties { readonly provisioningState?: string; networkSecurityPerimeter?: NSPConfigPerimeter; resourceAssociation?: NSPConfigAssociation; profile?: NSPConfigProfile; provisioningIssues?: NSPProvisioningIssue[]; } export declare function networkSecurityPerimeterConfigurationPropertiesDeserializer(item: any): NetworkSecurityPerimeterConfigurationProperties; /** model interface NSPConfigPerimeter */ export interface NSPConfigPerimeter { id?: string; perimeterGuid?: string; location?: string; } export declare function nspConfigPerimeterDeserializer(item: any): NSPConfigPerimeter; /** model interface NSPConfigAssociation */ export interface NSPConfigAssociation { name?: string; accessMode?: string; } export declare function nspConfigAssociationDeserializer(item: any): NSPConfigAssociation; /** model interface NSPConfigProfile */ export interface NSPConfigProfile { name?: string; accessRulesVersion?: string; accessRules?: NSPConfigAccessRule[]; } export declare function nspConfigProfileDeserializer(item: any): NSPConfigProfile; export declare function nspConfigAccessRuleArrayDeserializer(result: Array): any[]; /** model interface NSPConfigAccessRule */ export interface NSPConfigAccessRule { name?: string; properties?: NSPConfigAccessRuleProperties; } export declare function nspConfigAccessRuleDeserializer(item: any): NSPConfigAccessRule; /** model interface NSPConfigAccessRuleProperties */ export interface NSPConfigAccessRuleProperties { direction?: string; addressPrefixes?: string[]; fullyQualifiedDomainNames?: string[]; subscriptions?: string[]; networkSecurityPerimeters?: NSPConfigNetworkSecurityPerimeterRule[]; serviceTags?: string[]; } export declare function nspConfigAccessRulePropertiesDeserializer(item: any): NSPConfigAccessRuleProperties; export declare function nspConfigNetworkSecurityPerimeterRuleArrayDeserializer(result: Array): any[]; /** model interface NSPConfigNetworkSecurityPerimeterRule */ export interface NSPConfigNetworkSecurityPerimeterRule { id?: string; perimeterGuid?: string; location?: string; } export declare function nspConfigNetworkSecurityPerimeterRuleDeserializer(item: any): NSPConfigNetworkSecurityPerimeterRule; export declare function nspProvisioningIssueArrayDeserializer(result: Array): any[]; /** model interface NSPProvisioningIssue */ export interface NSPProvisioningIssue { name?: string; properties?: NSPProvisioningIssueProperties; } export declare function nspProvisioningIssueDeserializer(item: any): NSPProvisioningIssue; /** model interface NSPProvisioningIssueProperties */ export interface NSPProvisioningIssueProperties { issueType?: string; severity?: string; description?: string; suggestedResourceIds?: string[]; suggestedAccessRules?: string[]; } export declare function nspProvisioningIssuePropertiesDeserializer(item: any): NSPProvisioningIssueProperties; /** The response of a NetworkSecurityPerimeterConfiguration list operation. */ export interface _NetworkSecurityPerimeterConfigurationListResult { /** The NetworkSecurityPerimeterConfiguration items on this page */ value: NetworkSecurityPerimeterConfiguration[]; /** The link to the next page of items */ nextLink?: string; } export declare function _networkSecurityPerimeterConfigurationListResultDeserializer(item: any): _NetworkSecurityPerimeterConfigurationListResult; export declare function networkSecurityPerimeterConfigurationArrayDeserializer(result: Array): any[]; /** An Azure SQL DB Server Outbound Firewall Rule. */ export interface OutboundFirewallRule extends ProxyResource { /** The state of the outbound rule. */ readonly provisioningState?: string; } export declare function outboundFirewallRuleDeserializer(item: any): OutboundFirewallRule; /** The properties of an outbound firewall rule. */ export interface OutboundFirewallRuleProperties { /** The state of the outbound rule. */ readonly provisioningState?: string; } export declare function outboundFirewallRulePropertiesDeserializer(item: any): OutboundFirewallRuleProperties; /** The response of a OutboundFirewallRule list operation. */ export interface _OutboundFirewallRuleListResult { /** The OutboundFirewallRule items on this page */ value: OutboundFirewallRule[]; /** The link to the next page of items */ nextLink?: string; } export declare function _outboundFirewallRuleListResultDeserializer(item: any): _OutboundFirewallRuleListResult; export declare function outboundFirewallRuleArrayDeserializer(result: Array): any[]; /** A private endpoint connection */ export interface PrivateEndpointConnection extends ProxyResource { /** Private endpoint which the connection belongs to. */ privateEndpoint?: PrivateEndpointProperty; /** Group IDs. */ readonly groupIds?: string[]; /** Connection state of the private endpoint connection. */ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty; /** State of the private endpoint connection. */ readonly provisioningState?: PrivateEndpointProvisioningState; } export declare function privateEndpointConnectionSerializer(item: PrivateEndpointConnection): any; export declare function privateEndpointConnectionDeserializer(item: any): PrivateEndpointConnection; /** The response of a PrivateEndpointConnection list operation. */ export interface _PrivateEndpointConnectionListResult { /** The PrivateEndpointConnection items on this page */ value: PrivateEndpointConnection[]; /** The link to the next page of items */ nextLink?: string; } export declare function _privateEndpointConnectionListResultDeserializer(item: any): _PrivateEndpointConnectionListResult; export declare function privateEndpointConnectionArraySerializer(result: Array): any[]; export declare function privateEndpointConnectionArrayDeserializer(result: Array): any[]; /** A private link resource */ export interface PrivateLinkResource extends ProxyResource { /** The private link resource group id. */ readonly properties?: PrivateLinkResourceProperties; } export declare function privateLinkResourceDeserializer(item: any): PrivateLinkResource; /** Properties of a private link resource. */ export interface PrivateLinkResourceProperties { /** The private link resource group id. */ readonly groupId?: string; /** The private link resource required member names. */ readonly requiredMembers?: string[]; /** The private link resource required zone names. */ readonly requiredZoneNames?: string[]; } export declare function privateLinkResourcePropertiesDeserializer(item: any): PrivateLinkResourceProperties; /** The response of a PrivateLinkResource list operation. */ export interface _PrivateLinkResourceListResult { /** The PrivateLinkResource items on this page */ value: PrivateLinkResource[]; /** The link to the next page of items */ nextLink?: string; } export declare function _privateLinkResourceListResultDeserializer(item: any): _PrivateLinkResourceListResult; export declare function privateLinkResourceArrayDeserializer(result: Array): any[]; /** A recoverable database resource. */ export interface RecoverableDatabase extends ProxyResource { /** The edition of the database. */ readonly edition?: string; /** The service level objective name of the database. */ readonly serviceLevelObjective?: string; /** The elastic pool name of the database */ readonly elasticPoolName?: string; /** The last available backup date. */ readonly lastAvailableBackupDate?: Date; /** The resource ids of the user assigned identities to use */ keys?: Record; } export declare function recoverableDatabaseDeserializer(item: any): RecoverableDatabase; /** The recoverable database's properties. */ export interface RecoverableDatabaseProperties { /** The edition of the database. */ readonly edition?: string; /** The service level objective name of the database. */ readonly serviceLevelObjective?: string; /** The elastic pool name of the database */ readonly elasticPoolName?: string; /** The last available backup date. */ readonly lastAvailableBackupDate?: Date; /** The resource ids of the user assigned identities to use */ keys?: Record; } export declare function recoverableDatabasePropertiesDeserializer(item: any): RecoverableDatabaseProperties; /** The response of a RecoverableDatabase list operation. */ export interface _RecoverableDatabaseListResult { /** The RecoverableDatabase items on this page */ value: RecoverableDatabase[]; /** The link to the next page of items */ nextLink?: string; } export declare function _recoverableDatabaseListResultDeserializer(item: any): _RecoverableDatabaseListResult; export declare function recoverableDatabaseArrayDeserializer(result: Array): any[]; /** A recoverable managed database resource. */ export interface RecoverableManagedDatabase extends ProxyResource { /** The last available backup date. */ readonly lastAvailableBackupDate?: string; } export declare function recoverableManagedDatabaseDeserializer(item: any): RecoverableManagedDatabase; /** The recoverable managed database's properties. */ export interface RecoverableManagedDatabaseProperties { /** The last available backup date. */ readonly lastAvailableBackupDate?: string; } export declare function recoverableManagedDatabasePropertiesDeserializer(item: any): RecoverableManagedDatabaseProperties; /** The response of a RecoverableManagedDatabase list operation. */ export interface _RecoverableManagedDatabaseListResult { /** The RecoverableManagedDatabase items on this page */ value: RecoverableManagedDatabase[]; /** The link to the next page of items */ nextLink?: string; } export declare function _recoverableManagedDatabaseListResultDeserializer(item: any): _RecoverableManagedDatabaseListResult; export declare function recoverableManagedDatabaseArrayDeserializer(result: Array): any[]; /** A restorable dropped database resource. */ export interface RestorableDroppedDatabase extends ProxyResource { /** The name and tier of the SKU. */ sku?: Sku; /** Resource location. */ location?: string; /** Resource tags. */ tags?: Record; /** The name of the database. */ readonly databaseName?: string; /** The max size of the database expressed in bytes. */ readonly maxSizeBytes?: number; /** The creation date of the database (ISO8601 format). */ readonly creationDate?: Date; /** The deletion date of the database (ISO8601 format). */ readonly deletionDate?: Date; /** The earliest restore date of the database (ISO8601 format). */ readonly earliestRestoreDate?: Date; /** The storage account type used to store backups for this database. */ readonly backupStorageRedundancy?: BackupStorageRedundancy; /** The resource ids of the user assigned identities to use */ keys?: Record; } export declare function restorableDroppedDatabaseDeserializer(item: any): RestorableDroppedDatabase; /** The restorable dropped database's properties. */ export interface RestorableDroppedDatabaseProperties { /** The name of the database. */ readonly databaseName?: string; /** The max size of the database expressed in bytes. */ readonly maxSizeBytes?: number; /** The creation date of the database (ISO8601 format). */ readonly creationDate?: Date; /** The deletion date of the database (ISO8601 format). */ readonly deletionDate?: Date; /** The earliest restore date of the database (ISO8601 format). */ readonly earliestRestoreDate?: Date; /** The storage account type used to store backups for this database. */ readonly backupStorageRedundancy?: BackupStorageRedundancy; /** The resource ids of the user assigned identities to use */ keys?: Record; } export declare function restorableDroppedDatabasePropertiesDeserializer(item: any): RestorableDroppedDatabaseProperties; /** The response of a RestorableDroppedDatabase list operation. */ export interface _RestorableDroppedDatabaseListResult { /** The RestorableDroppedDatabase items on this page */ value: RestorableDroppedDatabase[]; /** The link to the next page of items */ nextLink?: string; } export declare function _restorableDroppedDatabaseListResultDeserializer(item: any): _RestorableDroppedDatabaseListResult; export declare function restorableDroppedDatabaseArrayDeserializer(result: Array): any[]; /** A restorable dropped managed database resource. */ export interface RestorableDroppedManagedDatabase extends TrackedResource { /** The name of the database. */ readonly databaseName?: string; /** The creation date of the database (ISO8601 format). */ readonly creationDate?: Date; /** The deletion date of the database (ISO8601 format). */ readonly deletionDate?: Date; /** The earliest restore date of the database (ISO8601 format). */ readonly earliestRestoreDate?: Date; } export declare function restorableDroppedManagedDatabaseDeserializer(item: any): RestorableDroppedManagedDatabase; /** The restorable dropped managed database's properties. */ export interface RestorableDroppedManagedDatabaseProperties { /** The name of the database. */ readonly databaseName?: string; /** The creation date of the database (ISO8601 format). */ readonly creationDate?: Date; /** The deletion date of the database (ISO8601 format). */ readonly deletionDate?: Date; /** The earliest restore date of the database (ISO8601 format). */ readonly earliestRestoreDate?: Date; } export declare function restorableDroppedManagedDatabasePropertiesDeserializer(item: any): RestorableDroppedManagedDatabaseProperties; /** The response of a RestorableDroppedManagedDatabase list operation. */ export interface _RestorableDroppedManagedDatabaseListResult { /** The RestorableDroppedManagedDatabase items on this page */ value: RestorableDroppedManagedDatabase[]; /** The link to the next page of items */ nextLink?: string; } export declare function _restorableDroppedManagedDatabaseListResultDeserializer(item: any): _RestorableDroppedManagedDatabaseListResult; export declare function restorableDroppedManagedDatabaseArrayDeserializer(result: Array): any[]; /** Azure Active Directory administrator. */ export interface ServerAzureADAdministrator extends ProxyResource { /** Type of the sever administrator. */ administratorType?: AdministratorType; /** Login name of the server administrator. */ login?: string; /** SID (object ID) of the server administrator. */ sid?: string; /** Tenant ID of the administrator. */ tenantId?: string; /** Azure Active Directory only Authentication enabled. */ readonly azureADOnlyAuthentication?: boolean; } export declare function serverAzureADAdministratorSerializer(item: ServerAzureADAdministrator): any; export declare function serverAzureADAdministratorDeserializer(item: any): ServerAzureADAdministrator; /** Properties of a active directory administrator. */ export interface AdministratorProperties { /** Type of the sever administrator. */ administratorType?: AdministratorType; /** Login name of the server administrator. */ login: string; /** SID (object ID) of the server administrator. */ sid: string; /** Tenant ID of the administrator. */ tenantId?: string; /** Azure Active Directory only Authentication enabled. */ readonly azureADOnlyAuthentication?: boolean; } export declare function administratorPropertiesSerializer(item: AdministratorProperties): any; export declare function administratorPropertiesDeserializer(item: any): AdministratorProperties; /** A list of active directory administrators. */ export interface _AdministratorListResult { /** Array of results. */ readonly value?: ServerAzureADAdministrator[]; /** Link to retrieve next page of results. */ readonly nextLink?: string; } export declare function _administratorListResultDeserializer(item: any): _AdministratorListResult; export declare function serverAzureADAdministratorArraySerializer(result: Array): any[]; export declare function serverAzureADAdministratorArrayDeserializer(result: Array): any[]; /** Azure Active Directory only authentication. */ export interface ServerAzureADOnlyAuthentication extends ProxyResource { /** Azure Active Directory only Authentication enabled. */ azureADOnlyAuthentication?: boolean; } export declare function serverAzureADOnlyAuthenticationSerializer(item: ServerAzureADOnlyAuthentication): any; export declare function serverAzureADOnlyAuthenticationDeserializer(item: any): ServerAzureADOnlyAuthentication; /** Properties of a active directory only authentication. */ export interface AzureADOnlyAuthProperties { /** Azure Active Directory only Authentication enabled. */ azureADOnlyAuthentication: boolean; } export declare function azureADOnlyAuthPropertiesSerializer(item: AzureADOnlyAuthProperties): any; export declare function azureADOnlyAuthPropertiesDeserializer(item: any): AzureADOnlyAuthProperties; /** A list of active directory only authentications. */ export interface _AzureADOnlyAuthListResult { /** Array of results. */ readonly value?: ServerAzureADOnlyAuthentication[]; /** Link to retrieve next page of results. */ readonly nextLink?: string; } export declare function _azureADOnlyAuthListResultDeserializer(item: any): _AzureADOnlyAuthListResult; export declare function serverAzureADOnlyAuthenticationArraySerializer(result: Array): any[]; export declare function serverAzureADOnlyAuthenticationArrayDeserializer(result: Array): any[]; /** A server configuration option */ export interface ServerConfigurationOption extends ProxyResource { /** Value of the server configuration option. */ serverConfigurationOptionValue?: number; /** Provisioning state of server configuration option. */ readonly provisioningState?: ProvisioningState; } export declare function serverConfigurationOptionSerializer(item: ServerConfigurationOption): any; export declare function serverConfigurationOptionDeserializer(item: any): ServerConfigurationOption; /** The properties of server configuration option. */ export interface ServerConfigurationOptionProperties { /** Value of the server configuration option. */ serverConfigurationOptionValue: number; /** Provisioning state of server configuration option. */ readonly provisioningState?: ProvisioningState; } export declare function serverConfigurationOptionPropertiesSerializer(item: ServerConfigurationOptionProperties): any; export declare function serverConfigurationOptionPropertiesDeserializer(item: any): ServerConfigurationOptionProperties; /** Known values of {@link ServerConfigurationOptionName} that the service accepts. */ export declare enum KnownServerConfigurationOptionName { /** allowPolybaseExport */ AllowPolybaseExport = "allowPolybaseExport" } /** Type of ServerConfigurationOptionName */ export type ServerConfigurationOptionName = string; /** The response of a ServerConfigurationOption list operation. */ export interface _ServerConfigurationOptionListResult { /** The ServerConfigurationOption items on this page */ value: ServerConfigurationOption[]; /** The link to the next page of items */ nextLink?: string; } export declare function _serverConfigurationOptionListResultDeserializer(item: any): _ServerConfigurationOptionListResult; export declare function serverConfigurationOptionArraySerializer(result: Array): any[]; export declare function serverConfigurationOptionArrayDeserializer(result: Array): any[]; /** A server connection policy */ export interface ServerConnectionPolicy extends ProxyResource { /** Resource location. */ readonly location?: string; /** Metadata used for the Azure portal experience. */ readonly kind?: string; /** The server connection type. */ connectionType?: ServerConnectionType; } export declare function serverConnectionPolicySerializer(item: ServerConnectionPolicy): any; export declare function serverConnectionPolicyDeserializer(item: any): ServerConnectionPolicy; /** The properties of a server connection policy. */ export interface ServerConnectionPolicyProperties { /** The server connection type. */ connectionType: ServerConnectionType; } export declare function serverConnectionPolicyPropertiesSerializer(item: ServerConnectionPolicyProperties): any; export declare function serverConnectionPolicyPropertiesDeserializer(item: any): ServerConnectionPolicyProperties; /** The server connection type. */ export declare enum KnownServerConnectionType { /** Default */ Default = "Default", /** Redirect */ Redirect = "Redirect", /** Proxy */ Proxy = "Proxy" } /** * The server connection type. \ * {@link KnownServerConnectionType} can be used interchangeably with ServerConnectionType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Default**: Default \ * **Redirect**: Redirect \ * **Proxy**: Proxy */ export type ServerConnectionType = string; /** Known values of {@link ConnectionPolicyName} that the service accepts. */ export declare enum KnownConnectionPolicyName { /** default */ Default = "default" } /** Type of ConnectionPolicyName */ export type ConnectionPolicyName = string; /** The response of a ServerConnectionPolicy list operation. */ export interface _ServerConnectionPolicyListResult { /** The ServerConnectionPolicy items on this page */ value: ServerConnectionPolicy[]; /** The link to the next page of items */ nextLink?: string; } export declare function _serverConnectionPolicyListResultDeserializer(item: any): _ServerConnectionPolicyListResult; export declare function serverConnectionPolicyArraySerializer(result: Array): any[]; export declare function serverConnectionPolicyArrayDeserializer(result: Array): any[]; /** A server DevOps auditing settings. */ export interface ServerDevOpsAuditingSettings extends ProxyResource { /** * Specifies whether DevOps audit events are sent to Azure Monitor. * In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true. * * When using REST API to configure DevOps audit, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on the master database should be also created. * * Diagnostic Settings URI format: * PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview * * For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) */ isAzureMonitorTargetEnabled?: boolean; /** Specifies whether Managed Identity is used to access blob storage */ isManagedIdentityInUse?: boolean; /** Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required. */ state?: BlobAuditingPolicyState; /** Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. */ storageEndpoint?: string; /** * Specifies the identifier key of the auditing storage account. * If state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage. * Prerequisites for using managed identity authentication: * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity. * For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) */ storageAccountAccessKey?: string; /** Specifies the blob storage subscription Id. */ storageAccountSubscriptionId?: string; } export declare function serverDevOpsAuditingSettingsSerializer(item: ServerDevOpsAuditingSettings): any; export declare function serverDevOpsAuditingSettingsDeserializer(item: any): ServerDevOpsAuditingSettings; /** Properties of a server DevOps audit settings. */ export interface ServerDevOpsAuditSettingsProperties { /** * Specifies whether DevOps audit events are sent to Azure Monitor. * In order to send the events to Azure Monitor, specify 'State' as 'Enabled' and 'IsAzureMonitorTargetEnabled' as true. * * When using REST API to configure DevOps audit, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on the master database should be also created. * * Diagnostic Settings URI format: * PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview * * For more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207) * or [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) */ isAzureMonitorTargetEnabled?: boolean; /** Specifies whether Managed Identity is used to access blob storage */ isManagedIdentityInUse?: boolean; /** Specifies the state of the audit. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required. */ state: BlobAuditingPolicyState; /** Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required. */ storageEndpoint?: string; /** * Specifies the identifier key of the auditing storage account. * If state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage. * Prerequisites for using managed identity authentication: * 1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD). * 2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity. * For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) */ storageAccountAccessKey?: string; /** Specifies the blob storage subscription Id. */ storageAccountSubscriptionId?: string; } export declare function serverDevOpsAuditSettingsPropertiesSerializer(item: ServerDevOpsAuditSettingsProperties): any; export declare function serverDevOpsAuditSettingsPropertiesDeserializer(item: any): ServerDevOpsAuditSettingsProperties; /** Known values of {@link DevOpsAuditingSettingsName} that the service accepts. */ export declare enum KnownDevOpsAuditingSettingsName { /** Default */ Default = "Default" } /** Type of DevOpsAuditingSettingsName */ export type DevOpsAuditingSettingsName = string; /** A list of server DevOps audit settings. */ export interface _ServerDevOpsAuditSettingsListResult { /** Array of results. */ readonly value?: ServerDevOpsAuditingSettings[]; /** Link to retrieve next page of results. */ readonly nextLink?: string; } export declare function _serverDevOpsAuditSettingsListResultDeserializer(item: any): _ServerDevOpsAuditSettingsListResult; export declare function serverDevOpsAuditingSettingsArraySerializer(result: Array): any[]; export declare function serverDevOpsAuditingSettingsArrayDeserializer(result: Array): any[]; /** A server DNS alias. */ export interface ServerDnsAlias extends ProxyResource { /** The fully qualified DNS record for alias */ readonly azureDnsRecord?: string; } export declare function serverDnsAliasDeserializer(item: any): ServerDnsAlias; /** Properties of a server DNS alias. */ export interface ServerDnsAliasProperties { /** The fully qualified DNS record for alias */ readonly azureDnsRecord?: string; } export declare function serverDnsAliasPropertiesDeserializer(item: any): ServerDnsAliasProperties; /** The response of a ServerDnsAlias list operation. */ export interface _ServerDnsAliasListResult { /** The ServerDnsAlias items on this page */ value: ServerDnsAlias[]; /** The link to the next page of items */ nextLink?: string; } export declare function _serverDnsAliasListResultDeserializer(item: any): _ServerDnsAliasListResult; export declare function serverDnsAliasArrayDeserializer(result: Array): any[]; /** A server dns alias acquisition request. */ export interface ServerDnsAliasAcquisition { /** The id of the server alias that will be acquired to point to this server instead. */ oldServerDnsAliasId: string; } export declare function serverDnsAliasAcquisitionSerializer(item: ServerDnsAliasAcquisition): any; /** A server key. */ export interface ServerKey extends ProxyResource { /** Kind of encryption protector. This is metadata used for the Azure portal experience. */ readonly kind?: string; /** Resource location. */ readonly location?: string; /** Subregion of the server key. */ readonly subregion?: string; /** The server key type like 'ServiceManaged', 'AzureKeyVault'. */ serverKeyType?: ServerKeyType; /** The URI of the server key. If the ServerKeyType is AzureKeyVault, then the URI is required. The AKV URI is required to be in this format: 'https://YourVaultName.vault.azure.net/keys/YourKeyName/YourKeyVersion' or can be 'https://YourVaultName.vault.azure.net/keys/YourKeyName' */ uri?: string; /** Thumbprint of the server key. */ readonly thumbprint?: string; /** The server key creation date. */ readonly creationDate?: Date; /** Key auto rotation opt-in flag. Either true or false. */ readonly autoRotationEnabled?: boolean; /** The version of the server key. */ readonly keyVersion?: string; } export declare function serverKeySerializer(item: ServerKey): any; export declare function serverKeyDeserializer(item: any): ServerKey; /** Properties for a server key execution. */ export interface ServerKeyProperties { /** Subregion of the server key. */ readonly subregion?: string; /** The server key type like 'ServiceManaged', 'AzureKeyVault'. */ serverKeyType: ServerKeyType; /** The URI of the server key. If the ServerKeyType is AzureKeyVault, then the URI is required. The AKV URI is required to be in this format: 'https://YourVaultName.vault.azure.net/keys/YourKeyName/YourKeyVersion' or can be 'https://YourVaultName.vault.azure.net/keys/YourKeyName' */ uri?: string; /** Thumbprint of the server key. */ readonly thumbprint?: string; /** The server key creation date. */ readonly creationDate?: Date; /** Key auto rotation opt-in flag. Either true or false. */ readonly autoRotationEnabled?: boolean; /** The version of the server key. */ readonly keyVersion?: string; } export declare function serverKeyPropertiesSerializer(item: ServerKeyProperties): any; export declare function serverKeyPropertiesDeserializer(item: any): ServerKeyProperties; /** The response of a ServerKey list operation. */ export interface _ServerKeyListResult { /** The ServerKey items on this page */ value: ServerKey[]; /** The link to the next page of items */ nextLink?: string; } export declare function _serverKeyListResultDeserializer(item: any): _ServerKeyListResult; export declare function serverKeyArraySerializer(result: Array): any[]; export declare function serverKeyArrayDeserializer(result: Array): any[]; /** A server security alert policy. */ export interface ServerSecurityAlertPolicy extends ProxyResource { /** Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. */ state?: SecurityAlertsPolicyState; /** Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force */ disabledAlerts?: string[]; /** Specifies an array of e-mail addresses to which the alert is sent. */ emailAddresses?: string[]; /** Specifies that the alert is sent to the account administrators. */ emailAccountAdmins?: boolean; /** Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs. */ storageEndpoint?: string; /** Specifies the identifier key of the Threat Detection audit storage account. */ storageAccountAccessKey?: string; /** Specifies the number of days to keep in the Threat Detection audit logs. */ retentionDays?: number; /** Specifies the UTC creation time of the policy. */ readonly creationTime?: Date; } export declare function serverSecurityAlertPolicySerializer(item: ServerSecurityAlertPolicy): any; export declare function serverSecurityAlertPolicyDeserializer(item: any): ServerSecurityAlertPolicy; /** A list of the server's security alert policies. */ export interface _LogicalServerSecurityAlertPolicyListResult { /** Array of results. */ readonly value?: ServerSecurityAlertPolicy[]; /** Link to retrieve next page of results. */ readonly nextLink?: string; } export declare function _logicalServerSecurityAlertPolicyListResultDeserializer(item: any): _LogicalServerSecurityAlertPolicyListResult; export declare function serverSecurityAlertPolicyArraySerializer(result: Array): any[]; export declare function serverSecurityAlertPolicyArrayDeserializer(result: Array): any[]; /** Server trust certificate imported from box to enable connection between box and Sql Managed Instance. */ export interface ServerTrustCertificate extends ProxyResource { /** The certificate public blob */ publicBlob?: string; /** The certificate thumbprint */ readonly thumbprint?: string; /** The certificate name */ readonly certificateName?: string; } export declare function serverTrustCertificateSerializer(item: ServerTrustCertificate): any; export declare function serverTrustCertificateDeserializer(item: any): ServerTrustCertificate; /** The properties of a server trust certificate. */ export interface ServerTrustCertificateProperties { /** The certificate public blob */ publicBlob?: string; /** The certificate thumbprint */ readonly thumbprint?: string; /** The certificate name */ readonly certificateName?: string; } export declare function serverTrustCertificatePropertiesSerializer(item: ServerTrustCertificateProperties): any; export declare function serverTrustCertificatePropertiesDeserializer(item: any): ServerTrustCertificateProperties; /** A list of server trust certificates in instance. */ export interface _ServerTrustCertificatesListResult { /** Array of results. */ readonly value?: ServerTrustCertificate[]; /** Link to retrieve next page of results. */ readonly nextLink?: string; } export declare function _serverTrustCertificatesListResultDeserializer(item: any): _ServerTrustCertificatesListResult; export declare function serverTrustCertificateArraySerializer(result: Array): any[]; export declare function serverTrustCertificateArrayDeserializer(result: Array): any[]; /** A server vulnerability assessment. */ export interface ServerVulnerabilityAssessment extends ProxyResource { /** A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). */ storageContainerPath?: string; /** A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. Applies only if the storage account is not behind a Vnet or a firewall */ storageContainerSasKey?: string; /** Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only if the storage account is not behind a Vnet or a firewall */ storageAccountAccessKey?: string; /** The recurring scans settings */ recurringScans?: VulnerabilityAssessmentRecurringScansProperties; } export declare function serverVulnerabilityAssessmentSerializer(item: ServerVulnerabilityAssessment): any; export declare function serverVulnerabilityAssessmentDeserializer(item: any): ServerVulnerabilityAssessment; /** Properties of a server Vulnerability Assessment. */ export interface ServerVulnerabilityAssessmentProperties { /** A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). */ storageContainerPath: string; /** A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. Applies only if the storage account is not behind a Vnet or a firewall */ storageContainerSasKey?: string; /** Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only if the storage account is not behind a Vnet or a firewall */ storageAccountAccessKey?: string; /** The recurring scans settings */ recurringScans?: VulnerabilityAssessmentRecurringScansProperties; } export declare function serverVulnerabilityAssessmentPropertiesSerializer(item: ServerVulnerabilityAssessmentProperties): any; export declare function serverVulnerabilityAssessmentPropertiesDeserializer(item: any): ServerVulnerabilityAssessmentProperties; /** The response of a ServerVulnerabilityAssessment list operation. */ export interface _ServerVulnerabilityAssessmentListResult { /** The ServerVulnerabilityAssessment items on this page */ value: ServerVulnerabilityAssessment[]; /** The link to the next page of items */ nextLink?: string; } export declare function _serverVulnerabilityAssessmentListResultDeserializer(item: any): _ServerVulnerabilityAssessmentListResult; export declare function serverVulnerabilityAssessmentArraySerializer(result: Array): any[]; export declare function serverVulnerabilityAssessmentArrayDeserializer(result: Array): any[]; /** Managed instance's Start/Stop schedule. */ export interface StartStopManagedInstanceSchedule extends ProxyResource { /** The description of the schedule. */ description?: string; /** The time zone of the schedule. */ timeZoneId?: string; /** Schedule list. */ scheduleList?: ScheduleItem[]; /** Next action to be executed (Start or Stop) */ readonly nextRunAction?: string; /** Timestamp when the next action will be executed in the corresponding schedule time zone. */ readonly nextExecutionTime?: string; } export declare function startStopManagedInstanceScheduleSerializer(item: StartStopManagedInstanceSchedule): any; export declare function startStopManagedInstanceScheduleDeserializer(item: any): StartStopManagedInstanceSchedule; /** Properties of managed instance's Start/Stop schedule. */ export interface StartStopManagedInstanceScheduleProperties { /** The description of the schedule. */ description?: string; /** The time zone of the schedule. */ timeZoneId?: string; /** Schedule list. */ scheduleList: ScheduleItem[]; /** Next action to be executed (Start or Stop) */ readonly nextRunAction?: string; /** Timestamp when the next action will be executed in the corresponding schedule time zone. */ readonly nextExecutionTime?: string; } export declare function startStopManagedInstanceSchedulePropertiesSerializer(item: StartStopManagedInstanceScheduleProperties): any; export declare function startStopManagedInstanceSchedulePropertiesDeserializer(item: any): StartStopManagedInstanceScheduleProperties; export declare function scheduleItemArraySerializer(result: Array): any[]; export declare function scheduleItemArrayDeserializer(result: Array): any[]; /** Schedule info describing when the server should be started or stopped. */ export interface ScheduleItem { /** Start day. */ startDay: DayOfWeek; /** Start time. */ startTime: string; /** Stop day. */ stopDay: DayOfWeek; /** Stop time. */ stopTime: string; } export declare function scheduleItemSerializer(item: ScheduleItem): any; export declare function scheduleItemDeserializer(item: any): ScheduleItem; /** Day of maintenance window. */ export declare enum KnownDayOfWeek { /** Sunday */ Sunday = "Sunday", /** Monday */ Monday = "Monday", /** Tuesday */ Tuesday = "Tuesday", /** Wednesday */ Wednesday = "Wednesday", /** Thursday */ Thursday = "Thursday", /** Friday */ Friday = "Friday", /** Saturday */ Saturday = "Saturday" } /** * Day of maintenance window. \ * {@link KnownDayOfWeek} can be used interchangeably with DayOfWeek, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Sunday**: Sunday \ * **Monday**: Monday \ * **Tuesday**: Tuesday \ * **Wednesday**: Wednesday \ * **Thursday**: Thursday \ * **Friday**: Friday \ * **Saturday**: Saturday */ export type DayOfWeek = string; /** Known values of {@link StartStopScheduleName} that the service accepts. */ export declare enum KnownStartStopScheduleName { /** default */ Default = "default" } /** Type of StartStopScheduleName */ export type StartStopScheduleName = string; /** The response of a StartStopManagedInstanceSchedule list operation. */ export interface _StartStopManagedInstanceScheduleListResult { /** The StartStopManagedInstanceSchedule items on this page */ value: StartStopManagedInstanceSchedule[]; /** The link to the next page of items */ nextLink?: string; } export declare function _startStopManagedInstanceScheduleListResultDeserializer(item: any): _StartStopManagedInstanceScheduleListResult; export declare function startStopManagedInstanceScheduleArraySerializer(result: Array): any[]; export declare function startStopManagedInstanceScheduleArrayDeserializer(result: Array): any[]; /** Usage Metric of a Subscription in a Location. */ export interface SubscriptionUsage extends ProxyResource { /** User-readable name of the metric. */ readonly displayName?: string; /** Current value of the metric. */ readonly currentValue?: number; /** Boundary value of the metric. */ readonly limit?: number; /** Unit of the metric. */ readonly unit?: string; } export declare function subscriptionUsageDeserializer(item: any): SubscriptionUsage; /** Properties of a subscription usage. */ export interface SubscriptionUsageProperties { /** User-readable name of the metric. */ readonly displayName?: string; /** Current value of the metric. */ readonly currentValue?: number; /** Boundary value of the metric. */ readonly limit?: number; /** Unit of the metric. */ readonly unit?: string; } export declare function subscriptionUsagePropertiesDeserializer(item: any): SubscriptionUsageProperties; /** The response of a SubscriptionUsage list operation. */ export interface _SubscriptionUsageListResult { /** The SubscriptionUsage items on this page */ value: SubscriptionUsage[]; /** The link to the next page of items */ nextLink?: string; } export declare function _subscriptionUsageListResultDeserializer(item: any): _SubscriptionUsageListResult; export declare function subscriptionUsageArrayDeserializer(result: Array): any[]; /** An Azure SQL Database sync agent. */ export interface SyncAgent extends ProxyResource { /** Name of the sync agent. */ readonly namePropertiesName?: string; /** ARM resource id of the sync database in the sync agent. */ syncDatabaseId?: string; /** Last alive time of the sync agent. */ readonly lastAliveTime?: Date; /** State of the sync agent. */ readonly state?: SyncAgentState; /** If the sync agent version is up to date. */ readonly isUpToDate?: boolean; /** Expiration time of the sync agent version. */ readonly expiryTime?: Date; /** Version of the sync agent. */ readonly version?: string; } export declare function syncAgentSerializer(item: SyncAgent): any; export declare function syncAgentDeserializer(item: any): SyncAgent; /** Properties of an Azure SQL Database sync agent. */ export interface SyncAgentProperties { /** Name of the sync agent. */ readonly name?: string; /** ARM resource id of the sync database in the sync agent. */ syncDatabaseId?: string; /** Last alive time of the sync agent. */ readonly lastAliveTime?: Date; /** State of the sync agent. */ readonly state?: SyncAgentState; /** If the sync agent version is up to date. */ readonly isUpToDate?: boolean; /** Expiration time of the sync agent version. */ readonly expiryTime?: Date; /** Version of the sync agent. */ readonly version?: string; } export declare function syncAgentPropertiesSerializer(item: SyncAgentProperties): any; export declare function syncAgentPropertiesDeserializer(item: any): SyncAgentProperties; /** State of the sync agent. */ export declare enum KnownSyncAgentState { /** Online */ Online = "Online", /** Offline */ Offline = "Offline", /** NeverConnected */ NeverConnected = "NeverConnected" } /** * State of the sync agent. \ * {@link KnownSyncAgentState} can be used interchangeably with SyncAgentState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Online**: Online \ * **Offline**: Offline \ * **NeverConnected**: NeverConnected */ export type SyncAgentState = string; /** The response of a SyncAgent list operation. */ export interface _SyncAgentListResult { /** The SyncAgent items on this page */ value: SyncAgent[]; /** The link to the next page of items */ nextLink?: string; } export declare function _syncAgentListResultDeserializer(item: any): _SyncAgentListResult; export declare function syncAgentArraySerializer(result: Array): any[]; export declare function syncAgentArrayDeserializer(result: Array): any[]; /** Properties of an Azure SQL Database sync agent key. */ export interface SyncAgentKeyProperties { /** Key of sync agent. */ readonly syncAgentKey?: string; } export declare function syncAgentKeyPropertiesDeserializer(item: any): SyncAgentKeyProperties; /** The response of a SyncAgentLinkedDatabase list operation. */ export interface _SyncAgentLinkedDatabaseListResult { /** The SyncAgentLinkedDatabase items on this page */ value: SyncAgentLinkedDatabase[]; /** The link to the next page of items */ nextLink?: string; } export declare function _syncAgentLinkedDatabaseListResultDeserializer(item: any): _SyncAgentLinkedDatabaseListResult; export declare function syncAgentLinkedDatabaseArrayDeserializer(result: Array): any[]; /** An Azure SQL Database sync agent linked database. */ export interface SyncAgentLinkedDatabase extends ProxyResource { /** Type of the sync agent linked database. */ readonly databaseType?: SyncMemberDbType; /** Id of the sync agent linked database. */ readonly databaseId?: string; /** Description of the sync agent linked database. */ readonly description?: string; /** Server name of the sync agent linked database. */ readonly serverName?: string; /** Database name of the sync agent linked database. */ readonly databaseName?: string; /** User name of the sync agent linked database. */ readonly userName?: string; } export declare function syncAgentLinkedDatabaseDeserializer(item: any): SyncAgentLinkedDatabase; /** Properties of an Azure SQL Database sync agent linked database. */ export interface SyncAgentLinkedDatabaseProperties { /** Type of the sync agent linked database. */ readonly databaseType?: SyncMemberDbType; /** Id of the sync agent linked database. */ readonly databaseId?: string; /** Description of the sync agent linked database. */ readonly description?: string; /** Server name of the sync agent linked database. */ readonly serverName?: string; /** Database name of the sync agent linked database. */ readonly databaseName?: string; /** User name of the sync agent linked database. */ readonly userName?: string; } export declare function syncAgentLinkedDatabasePropertiesDeserializer(item: any): SyncAgentLinkedDatabaseProperties; /** Type of the sync agent linked database. */ export declare enum KnownSyncMemberDbType { /** AzureSqlDatabase */ AzureSqlDatabase = "AzureSqlDatabase", /** SqlServerDatabase */ SqlServerDatabase = "SqlServerDatabase" } /** * Type of the sync agent linked database. \ * {@link KnownSyncMemberDbType} can be used interchangeably with SyncMemberDbType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **AzureSqlDatabase**: AzureSqlDatabase \ * **SqlServerDatabase**: SqlServerDatabase */ export type SyncMemberDbType = string; /** An Azure SQL Database sync group. */ export interface SyncGroup extends ProxyResource { /** The name and capacity of the SKU. */ sku?: Sku; /** Sync interval of the sync group. */ interval?: number; /** Last sync time of the sync group. */ readonly lastSyncTime?: Date; /** Conflict resolution policy of the sync group. */ conflictResolutionPolicy?: SyncConflictResolutionPolicy; /** ARM resource id of the sync database in the sync group. */ syncDatabaseId?: string; /** User name for the sync group hub database credential. */ hubDatabaseUserName?: string; /** Password for the sync group hub database credential. */ hubDatabasePassword?: string; /** Sync state of the sync group. */ readonly syncState?: SyncGroupState; /** Sync schema of the sync group. */ schema?: SyncGroupSchema; /** If conflict logging is enabled. */ enableConflictLogging?: boolean; /** Conflict logging retention period. */ conflictLoggingRetentionInDays?: number; /** If use private link connection is enabled. */ usePrivateLinkConnection?: boolean; /** Private endpoint name of the sync group if use private link connection is enabled. */ readonly privateEndpointName?: string; } export declare function syncGroupSerializer(item: SyncGroup): any; export declare function syncGroupDeserializer(item: any): SyncGroup; /** Properties of a sync group with support to MI. */ export interface SyncGroupProperties { /** Sync interval of the sync group. */ interval?: number; /** Last sync time of the sync group. */ readonly lastSyncTime?: Date; /** Conflict resolution policy of the sync group. */ conflictResolutionPolicy?: SyncConflictResolutionPolicy; /** ARM resource id of the sync database in the sync group. */ syncDatabaseId?: string; /** User name for the sync group hub database credential. */ hubDatabaseUserName?: string; /** Password for the sync group hub database credential. */ hubDatabasePassword?: string; /** Sync state of the sync group. */ readonly syncState?: SyncGroupState; /** Sync schema of the sync group. */ schema?: SyncGroupSchema; /** If conflict logging is enabled. */ enableConflictLogging?: boolean; /** Conflict logging retention period. */ conflictLoggingRetentionInDays?: number; /** If use private link connection is enabled. */ usePrivateLinkConnection?: boolean; /** Private endpoint name of the sync group if use private link connection is enabled. */ readonly privateEndpointName?: string; } export declare function syncGroupPropertiesSerializer(item: SyncGroupProperties): any; export declare function syncGroupPropertiesDeserializer(item: any): SyncGroupProperties; /** Conflict resolution policy of the sync group. */ export declare enum KnownSyncConflictResolutionPolicy { /** HubWin */ HubWin = "HubWin", /** MemberWin */ MemberWin = "MemberWin" } /** * Conflict resolution policy of the sync group. \ * {@link KnownSyncConflictResolutionPolicy} can be used interchangeably with SyncConflictResolutionPolicy, * this enum contains the known values that the service supports. * ### Known values supported by the service * **HubWin**: HubWin \ * **MemberWin**: MemberWin */ export type SyncConflictResolutionPolicy = string; /** Sync state of the sync group. */ export declare enum KnownSyncGroupState { /** NotReady */ NotReady = "NotReady", /** Error */ Error = "Error", /** Warning */ Warning = "Warning", /** Progressing */ Progressing = "Progressing", /** Good */ Good = "Good" } /** * Sync state of the sync group. \ * {@link KnownSyncGroupState} can be used interchangeably with SyncGroupState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **NotReady**: NotReady \ * **Error**: Error \ * **Warning**: Warning \ * **Progressing**: Progressing \ * **Good**: Good */ export type SyncGroupState = string; /** Properties of sync group schema. */ export interface SyncGroupSchema { /** List of tables in sync group schema. */ tables?: SyncGroupSchemaTable[]; /** Name of master sync member where the schema is from. */ masterSyncMemberName?: string; } export declare function syncGroupSchemaSerializer(item: SyncGroupSchema): any; export declare function syncGroupSchemaDeserializer(item: any): SyncGroupSchema; export declare function syncGroupSchemaTableArraySerializer(result: Array): any[]; export declare function syncGroupSchemaTableArrayDeserializer(result: Array): any[]; /** Properties of table in sync group schema. */ export interface SyncGroupSchemaTable { /** List of columns in sync group schema. */ columns?: SyncGroupSchemaTableColumn[]; /** Quoted name of sync group schema table. */ quotedName?: string; } export declare function syncGroupSchemaTableSerializer(item: SyncGroupSchemaTable): any; export declare function syncGroupSchemaTableDeserializer(item: any): SyncGroupSchemaTable; export declare function syncGroupSchemaTableColumnArraySerializer(result: Array): any[]; export declare function syncGroupSchemaTableColumnArrayDeserializer(result: Array): any[]; /** Properties of column in sync group table. */ export interface SyncGroupSchemaTableColumn { /** Quoted name of sync group table column. */ quotedName?: string; /** Data size of the column. */ dataSize?: string; /** Data type of the column. */ dataType?: string; } export declare function syncGroupSchemaTableColumnSerializer(item: SyncGroupSchemaTableColumn): any; export declare function syncGroupSchemaTableColumnDeserializer(item: any): SyncGroupSchemaTableColumn; /** The response of a SyncGroup list operation. */ export interface _SyncGroupListResult { /** The SyncGroup items on this page */ value: SyncGroup[]; /** The link to the next page of items */ nextLink?: string; } export declare function _syncGroupListResultDeserializer(item: any): _SyncGroupListResult; export declare function syncGroupArraySerializer(result: Array): any[]; export declare function syncGroupArrayDeserializer(result: Array): any[]; /** A list of sync schema properties. */ export interface _SyncFullSchemaPropertiesListResult { /** The SyncFullSchemaProperties items on this page */ value: SyncFullSchemaProperties[]; /** The link to the next page of items */ nextLink?: string; } export declare function _syncFullSchemaPropertiesListResultDeserializer(item: any): _SyncFullSchemaPropertiesListResult; export declare function syncFullSchemaPropertiesArrayDeserializer(result: Array): any[]; /** Properties of the database full schema. */ export interface SyncFullSchemaProperties { /** List of tables in the database full schema. */ readonly tables?: SyncFullSchemaTable[]; /** Last update time of the database schema. */ readonly lastUpdateTime?: Date; } export declare function syncFullSchemaPropertiesDeserializer(item: any): SyncFullSchemaProperties; export declare function syncFullSchemaTableArrayDeserializer(result: Array): any[]; /** Properties of the table in the database full schema. */ export interface SyncFullSchemaTable { /** List of columns in the table of database full schema. */ readonly columns?: SyncFullSchemaTableColumn[]; /** Error id of the table. */ readonly errorId?: string; /** If there is error in the table. */ readonly hasError?: boolean; /** Name of the table. */ readonly name?: string; /** Quoted name of the table. */ readonly quotedName?: string; } export declare function syncFullSchemaTableDeserializer(item: any): SyncFullSchemaTable; export declare function syncFullSchemaTableColumnArrayDeserializer(result: Array): any[]; /** Properties of the column in the table of database full schema. */ export interface SyncFullSchemaTableColumn { /** Data size of the column. */ readonly dataSize?: string; /** Data type of the column. */ readonly dataType?: string; /** Error id of the column. */ readonly errorId?: string; /** If there is error in the table. */ readonly hasError?: boolean; /** If it is the primary key of the table. */ readonly isPrimaryKey?: boolean; /** Name of the column. */ readonly name?: string; /** Quoted name of the column. */ readonly quotedName?: string; } export declare function syncFullSchemaTableColumnDeserializer(item: any): SyncFullSchemaTableColumn; /** A list of sync group log properties. */ export interface _SyncGroupLogListResult { /** The SyncGroupLogProperties items on this page */ value: SyncGroupLogProperties[]; /** The link to the next page of items */ nextLink?: string; } export declare function _syncGroupLogListResultDeserializer(item: any): _SyncGroupLogListResult; export declare function syncGroupLogPropertiesArrayDeserializer(result: Array): any[]; /** Properties of an Azure SQL Database sync group log. */ export interface SyncGroupLogProperties { /** Timestamp of the sync group log. */ readonly timestamp?: Date; /** Type of the sync group log. */ readonly type?: SyncGroupLogType; /** Source of the sync group log. */ readonly source?: string; /** Details of the sync group log. */ readonly details?: string; /** TracingId of the sync group log. */ readonly tracingId?: string; /** OperationStatus of the sync group log. */ readonly operationStatus?: string; } export declare function syncGroupLogPropertiesDeserializer(item: any): SyncGroupLogProperties; /** Type of the sync group log. */ export declare enum KnownSyncGroupLogType { /** All */ All = "All", /** Error */ Error = "Error", /** Warning */ Warning = "Warning", /** Success */ Success = "Success" } /** * Type of the sync group log. \ * {@link KnownSyncGroupLogType} can be used interchangeably with SyncGroupLogType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **All**: All \ * **Error**: Error \ * **Warning**: Warning \ * **Success**: Success */ export type SyncGroupLogType = string; /** A list of sync database ID properties. */ export interface _SyncDatabaseIdListResult { /** The SyncDatabaseIdProperties items on this page */ value: SyncDatabaseIdProperties[]; /** The link to the next page of items */ nextLink?: string; } export declare function _syncDatabaseIdListResultDeserializer(item: any): _SyncDatabaseIdListResult; export declare function syncDatabaseIdPropertiesArrayDeserializer(result: Array): any[]; /** Properties of the sync database id. */ export interface SyncDatabaseIdProperties { /** ARM resource id of sync database. */ readonly id?: string; } export declare function syncDatabaseIdPropertiesDeserializer(item: any): SyncDatabaseIdProperties; /** An Azure SQL Database sync member. */ export interface SyncMember extends ProxyResource { /** Database type of the sync member. */ databaseType?: SyncMemberDbType; /** ARM resource id of the sync agent in the sync member. */ syncAgentId?: string; /** SQL Server database id of the sync member. */ sqlServerDatabaseId?: string; /** ARM resource id of the sync member logical database, for sync members in Azure. */ syncMemberAzureDatabaseResourceId?: string; /** Whether to use private link connection. */ usePrivateLinkConnection?: boolean; /** Private endpoint name of the sync member if use private link connection is enabled, for sync members in Azure. */ readonly privateEndpointName?: string; /** Server name of the member database in the sync member */ serverName?: string; /** Database name of the member database in the sync member. */ databaseName?: string; /** User name of the member database in the sync member. */ userName?: string; /** Password of the member database in the sync member. */ password?: string; /** Sync direction of the sync member. */ syncDirection?: SyncDirection; /** Sync state of the sync member. */ readonly syncState?: SyncMemberState; } export declare function syncMemberSerializer(item: SyncMember): any; export declare function syncMemberDeserializer(item: any): SyncMember; /** Properties of a sync member with support to MI. */ export interface SyncMemberProperties { /** Database type of the sync member. */ databaseType?: SyncMemberDbType; /** ARM resource id of the sync agent in the sync member. */ syncAgentId?: string; /** SQL Server database id of the sync member. */ sqlServerDatabaseId?: string; /** ARM resource id of the sync member logical database, for sync members in Azure. */ syncMemberAzureDatabaseResourceId?: string; /** Whether to use private link connection. */ usePrivateLinkConnection?: boolean; /** Private endpoint name of the sync member if use private link connection is enabled, for sync members in Azure. */ readonly privateEndpointName?: string; /** Server name of the member database in the sync member */ serverName?: string; /** Database name of the member database in the sync member. */ databaseName?: string; /** User name of the member database in the sync member. */ userName?: string; /** Password of the member database in the sync member. */ password?: string; /** Sync direction of the sync member. */ syncDirection?: SyncDirection; /** Sync state of the sync member. */ readonly syncState?: SyncMemberState; } export declare function syncMemberPropertiesSerializer(item: SyncMemberProperties): any; export declare function syncMemberPropertiesDeserializer(item: any): SyncMemberProperties; /** Sync direction of the sync member. */ export declare enum KnownSyncDirection { /** Bidirectional */ Bidirectional = "Bidirectional", /** OneWayMemberToHub */ OneWayMemberToHub = "OneWayMemberToHub", /** OneWayHubToMember */ OneWayHubToMember = "OneWayHubToMember" } /** * Sync direction of the sync member. \ * {@link KnownSyncDirection} can be used interchangeably with SyncDirection, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Bidirectional**: Bidirectional \ * **OneWayMemberToHub**: OneWayMemberToHub \ * **OneWayHubToMember**: OneWayHubToMember */ export type SyncDirection = string; /** Sync state of the sync member. */ export declare enum KnownSyncMemberState { /** SyncInProgress */ SyncInProgress = "SyncInProgress", /** SyncSucceeded */ SyncSucceeded = "SyncSucceeded", /** SyncFailed */ SyncFailed = "SyncFailed", /** DisabledTombstoneCleanup */ DisabledTombstoneCleanup = "DisabledTombstoneCleanup", /** DisabledBackupRestore */ DisabledBackupRestore = "DisabledBackupRestore", /** SyncSucceededWithWarnings */ SyncSucceededWithWarnings = "SyncSucceededWithWarnings", /** SyncCancelling */ SyncCancelling = "SyncCancelling", /** SyncCancelled */ SyncCancelled = "SyncCancelled", /** UnProvisioned */ UnProvisioned = "UnProvisioned", /** Provisioning */ Provisioning = "Provisioning", /** Provisioned */ Provisioned = "Provisioned", /** ProvisionFailed */ ProvisionFailed = "ProvisionFailed", /** DeProvisioning */ DeProvisioning = "DeProvisioning", /** DeProvisioned */ DeProvisioned = "DeProvisioned", /** DeProvisionFailed */ DeProvisionFailed = "DeProvisionFailed", /** Reprovisioning */ Reprovisioning = "Reprovisioning", /** ReprovisionFailed */ ReprovisionFailed = "ReprovisionFailed", /** UnReprovisioned */ UnReprovisioned = "UnReprovisioned" } /** * Sync state of the sync member. \ * {@link KnownSyncMemberState} can be used interchangeably with SyncMemberState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **SyncInProgress**: SyncInProgress \ * **SyncSucceeded**: SyncSucceeded \ * **SyncFailed**: SyncFailed \ * **DisabledTombstoneCleanup**: DisabledTombstoneCleanup \ * **DisabledBackupRestore**: DisabledBackupRestore \ * **SyncSucceededWithWarnings**: SyncSucceededWithWarnings \ * **SyncCancelling**: SyncCancelling \ * **SyncCancelled**: SyncCancelled \ * **UnProvisioned**: UnProvisioned \ * **Provisioning**: Provisioning \ * **Provisioned**: Provisioned \ * **ProvisionFailed**: ProvisionFailed \ * **DeProvisioning**: DeProvisioning \ * **DeProvisioned**: DeProvisioned \ * **DeProvisionFailed**: DeProvisionFailed \ * **Reprovisioning**: Reprovisioning \ * **ReprovisionFailed**: ReprovisionFailed \ * **UnReprovisioned**: UnReprovisioned */ export type SyncMemberState = string; /** The response of a SyncMember list operation. */ export interface _SyncMemberListResult { /** The SyncMember items on this page */ value: SyncMember[]; /** The link to the next page of items */ nextLink?: string; } export declare function _syncMemberListResultDeserializer(item: any): _SyncMemberListResult; export declare function syncMemberArraySerializer(result: Array): any[]; export declare function syncMemberArrayDeserializer(result: Array): any[]; /** Time Zone property. */ export interface TimeZone extends ProxyResource { /** The time zone id */ readonly timeZoneId?: string; /** The time zone display name */ readonly displayName?: string; } export declare function timeZoneDeserializer(item: any): TimeZone; /** The properties of a time zone. */ export interface TimeZoneProperties { /** The time zone id */ readonly timeZoneId?: string; /** The time zone display name */ readonly displayName?: string; } export declare function timeZonePropertiesDeserializer(item: any): TimeZoneProperties; /** The response of a TimeZone list operation. */ export interface _TimeZoneListResult { /** The TimeZone items on this page */ value: TimeZone[]; /** The link to the next page of items */ nextLink?: string; } export declare function _timeZoneListResultDeserializer(item: any): _TimeZoneListResult; export declare function timeZoneArrayDeserializer(result: Array): any[]; /** An Azure SQL virtual cluster. */ export interface VirtualCluster extends TrackedResource { /** Subnet resource ID for the virtual cluster. */ readonly subnetId?: string; /** Virtual cluster version. */ version?: string; /** List of resources in this virtual cluster. */ readonly childResources?: string[]; } export declare function virtualClusterSerializer(item: VirtualCluster): any; export declare function virtualClusterDeserializer(item: any): VirtualCluster; /** The properties of a virtual cluster. */ export interface VirtualClusterProperties { /** Subnet resource ID for the virtual cluster. */ readonly subnetId?: string; /** Virtual cluster version. */ version?: string; /** List of resources in this virtual cluster. */ readonly childResources?: string[]; } export declare function virtualClusterPropertiesSerializer(item: VirtualClusterProperties): any; export declare function virtualClusterPropertiesDeserializer(item: any): VirtualClusterProperties; /** An update request for virtual cluster. */ export interface VirtualClusterUpdate { /** Resource tags. */ tags?: Record; /** Subnet resource ID for the virtual cluster. */ readonly subnetId?: string; /** Virtual cluster version. */ version?: string; /** List of resources in this virtual cluster. */ readonly childResources?: string[]; } export declare function virtualClusterUpdateSerializer(item: VirtualClusterUpdate): any; /** The response of a VirtualCluster list operation. */ export interface _VirtualClusterListResult { /** The VirtualCluster items on this page */ value: VirtualCluster[]; /** The link to the next page of items */ nextLink?: string; } export declare function _virtualClusterListResultDeserializer(item: any): _VirtualClusterListResult; export declare function virtualClusterArraySerializer(result: Array): any[]; export declare function virtualClusterArrayDeserializer(result: Array): any[]; /** A refresh DNS servers operation. */ export interface UpdateVirtualClusterDnsServersOperation extends ProxyResource { /** The status of the DNS refresh operation. */ readonly status?: DNSRefreshOperationStatus; } export declare function updateVirtualClusterDnsServersOperationDeserializer(item: any): UpdateVirtualClusterDnsServersOperation; /** The properties of dns servers on virtual cluster. */ export interface VirtualClusterDnsServersProperties { /** The status of the DNS refresh operation. */ readonly status?: DNSRefreshOperationStatus; } export declare function virtualClusterDnsServersPropertiesDeserializer(item: any): VirtualClusterDnsServersProperties; /** The status of the DNS refresh operation. */ export declare enum KnownDNSRefreshOperationStatus { /** Succeeded */ Succeeded = "Succeeded", /** Failed */ Failed = "Failed", /** InProgress */ InProgress = "InProgress" } /** * The status of the DNS refresh operation. \ * {@link KnownDNSRefreshOperationStatus} can be used interchangeably with DNSRefreshOperationStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Succeeded**: Succeeded \ * **Failed**: Failed \ * **InProgress**: InProgress */ export type DNSRefreshOperationStatus = string; /** A virtual network rule. */ export interface VirtualNetworkRule extends ProxyResource { /** The ARM resource id of the virtual network subnet. */ virtualNetworkSubnetId?: string; /** Create firewall rule before the virtual network has vnet service endpoint enabled. */ ignoreMissingVnetServiceEndpoint?: boolean; /** Virtual Network Rule State */ readonly state?: VirtualNetworkRuleState; } export declare function virtualNetworkRuleSerializer(item: VirtualNetworkRule): any; export declare function virtualNetworkRuleDeserializer(item: any): VirtualNetworkRule; /** Properties of a virtual network rule. */ export interface VirtualNetworkRuleProperties { /** The ARM resource id of the virtual network subnet. */ virtualNetworkSubnetId: string; /** Create firewall rule before the virtual network has vnet service endpoint enabled. */ ignoreMissingVnetServiceEndpoint?: boolean; /** Virtual Network Rule State */ readonly state?: VirtualNetworkRuleState; } export declare function virtualNetworkRulePropertiesSerializer(item: VirtualNetworkRuleProperties): any; export declare function virtualNetworkRulePropertiesDeserializer(item: any): VirtualNetworkRuleProperties; /** Virtual Network Rule State */ export declare enum KnownVirtualNetworkRuleState { /** Initializing */ Initializing = "Initializing", /** InProgress */ InProgress = "InProgress", /** Ready */ Ready = "Ready", /** Failed */ Failed = "Failed", /** Deleting */ Deleting = "Deleting", /** Unknown */ Unknown = "Unknown" } /** * Virtual Network Rule State \ * {@link KnownVirtualNetworkRuleState} can be used interchangeably with VirtualNetworkRuleState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Initializing**: Initializing \ * **InProgress**: InProgress \ * **Ready**: Ready \ * **Failed**: Failed \ * **Deleting**: Deleting \ * **Unknown**: Unknown */ export type VirtualNetworkRuleState = string; /** The response of a VirtualNetworkRule list operation. */ export interface _VirtualNetworkRuleListResult { /** The VirtualNetworkRule items on this page */ value: VirtualNetworkRule[]; /** The link to the next page of items */ nextLink?: string; } export declare function _virtualNetworkRuleListResultDeserializer(item: any): _VirtualNetworkRuleListResult; export declare function virtualNetworkRuleArraySerializer(result: Array): any[]; export declare function virtualNetworkRuleArrayDeserializer(result: Array): any[]; /** Workload classifier operations for a data warehouse */ export interface WorkloadClassifier extends ProxyResource { /** The workload classifier member name. */ memberName?: string; /** The workload classifier label. */ label?: string; /** The workload classifier context. */ context?: string; /** The workload classifier start time for classification. */ startTime?: string; /** The workload classifier end time for classification. */ endTime?: string; /** The workload classifier importance. */ importance?: string; } export declare function workloadClassifierSerializer(item: WorkloadClassifier): any; export declare function workloadClassifierDeserializer(item: any): WorkloadClassifier; /** Workload classifier definition. For more information look at sys.workload_management_workload_classifiers (DMV). */ export interface WorkloadClassifierProperties { /** The workload classifier member name. */ memberName: string; /** The workload classifier label. */ label?: string; /** The workload classifier context. */ context?: string; /** The workload classifier start time for classification. */ startTime?: string; /** The workload classifier end time for classification. */ endTime?: string; /** The workload classifier importance. */ importance?: string; } export declare function workloadClassifierPropertiesSerializer(item: WorkloadClassifierProperties): any; export declare function workloadClassifierPropertiesDeserializer(item: any): WorkloadClassifierProperties; /** The response of a WorkloadClassifier list operation. */ export interface _WorkloadClassifierListResult { /** The WorkloadClassifier items on this page */ value: WorkloadClassifier[]; /** The link to the next page of items */ nextLink?: string; } export declare function _workloadClassifierListResultDeserializer(item: any): _WorkloadClassifierListResult; export declare function workloadClassifierArraySerializer(result: Array): any[]; export declare function workloadClassifierArrayDeserializer(result: Array): any[]; /** Workload group operations for a data warehouse */ export interface WorkloadGroup extends ProxyResource { /** The workload group minimum percentage resource. */ minResourcePercent?: number; /** The workload group cap percentage resource. */ maxResourcePercent?: number; /** The workload group request minimum grant percentage. */ minResourcePercentPerRequest?: number; /** The workload group request maximum grant percentage. */ maxResourcePercentPerRequest?: number; /** The workload group importance level. */ importance?: string; /** The workload group query execution timeout. */ queryExecutionTimeout?: number; } export declare function workloadGroupSerializer(item: WorkloadGroup): any; export declare function workloadGroupDeserializer(item: any): WorkloadGroup; /** Workload group definition. For more information look at sys.workload_management_workload_groups (DMV). */ export interface WorkloadGroupProperties { /** The workload group minimum percentage resource. */ minResourcePercent: number; /** The workload group cap percentage resource. */ maxResourcePercent: number; /** The workload group request minimum grant percentage. */ minResourcePercentPerRequest: number; /** The workload group request maximum grant percentage. */ maxResourcePercentPerRequest?: number; /** The workload group importance level. */ importance?: string; /** The workload group query execution timeout. */ queryExecutionTimeout?: number; } export declare function workloadGroupPropertiesSerializer(item: WorkloadGroupProperties): any; export declare function workloadGroupPropertiesDeserializer(item: any): WorkloadGroupProperties; /** The response of a WorkloadGroup list operation. */ export interface _WorkloadGroupListResult { /** The WorkloadGroup items on this page */ value: WorkloadGroup[]; /** The link to the next page of items */ nextLink?: string; } export declare function _workloadGroupListResultDeserializer(item: any): _WorkloadGroupListResult; export declare function workloadGroupArraySerializer(result: Array): any[]; export declare function workloadGroupArrayDeserializer(result: Array): any[]; /** The response of a DatabaseOperation list operation. */ export interface _DatabaseOperationListResult { /** The DatabaseOperation items on this page */ value: DatabaseOperation[]; /** The link to the next page of items */ nextLink?: string; } export declare function _databaseOperationListResultDeserializer(item: any): _DatabaseOperationListResult; export declare function databaseOperationArrayDeserializer(result: Array): any[]; /** A database operation. */ export interface DatabaseOperation extends ProxyResource { /** The name of the database the operation is being performed on. */ readonly databaseName?: string; /** The name of operation. */ readonly operation?: string; /** The friendly name of operation. */ readonly operationFriendlyName?: string; /** The percentage of the operation completed. */ readonly percentComplete?: number; /** The name of the server. */ readonly serverName?: string; /** The operation start time. */ readonly startTime?: Date; /** The operation state. */ readonly state?: ManagementOperationState; /** The operation error code. */ readonly errorCode?: number; /** The operation error description. */ readonly errorDescription?: string; /** The operation error severity. */ readonly errorSeverity?: number; /** Whether or not the error is a user error. */ readonly isUserError?: boolean; /** The estimated completion time of the operation. */ readonly estimatedCompletionTime?: Date; /** The operation description. */ readonly description?: string; /** Whether the operation can be cancelled. */ readonly isCancellable?: boolean; /** The operation phase details. */ readonly operationPhaseDetails?: PhaseDetails; } export declare function databaseOperationDeserializer(item: any): DatabaseOperation; /** The properties of a database operation. */ export interface DatabaseOperationProperties { /** The name of the database the operation is being performed on. */ readonly databaseName?: string; /** The name of operation. */ readonly operation?: string; /** The friendly name of operation. */ readonly operationFriendlyName?: string; /** The percentage of the operation completed. */ readonly percentComplete?: number; /** The name of the server. */ readonly serverName?: string; /** The operation start time. */ readonly startTime?: Date; /** The operation state. */ readonly state?: ManagementOperationState; /** The operation error code. */ readonly errorCode?: number; /** The operation error description. */ readonly errorDescription?: string; /** The operation error severity. */ readonly errorSeverity?: number; /** Whether or not the error is a user error. */ readonly isUserError?: boolean; /** The estimated completion time of the operation. */ readonly estimatedCompletionTime?: Date; /** The operation description. */ readonly description?: string; /** Whether the operation can be cancelled. */ readonly isCancellable?: boolean; /** The operation phase details. */ readonly operationPhaseDetails?: PhaseDetails; } export declare function databaseOperationPropertiesDeserializer(item: any): DatabaseOperationProperties; /** The phase details properties of a database operation. */ export interface PhaseDetails { /** The operation phase. */ readonly phase?: Phase; /** The operation phase information. */ readonly phaseInformation?: Record; } export declare function phaseDetailsDeserializer(item: any): PhaseDetails; /** The operation phase. */ export declare enum KnownPhase { /** LogTransitionInProgress */ LogTransitionInProgress = "LogTransitionInProgress", /** Copying */ Copying = "Copying", /** BuildingHyperscaleComponents */ BuildingHyperscaleComponents = "BuildingHyperscaleComponents", /** Catchup */ Catchup = "Catchup", /** WaitingForCutover */ WaitingForCutover = "WaitingForCutover", /** CutoverInProgress */ CutoverInProgress = "CutoverInProgress" } /** * The operation phase. \ * {@link KnownPhase} can be used interchangeably with Phase, * this enum contains the known values that the service supports. * ### Known values supported by the service * **LogTransitionInProgress**: LogTransitionInProgress \ * **Copying**: Copying \ * **BuildingHyperscaleComponents**: BuildingHyperscaleComponents \ * **Catchup**: Catchup \ * **WaitingForCutover**: WaitingForCutover \ * **CutoverInProgress**: CutoverInProgress */ export type Phase = string; /** The response of a DatabaseUsage list operation. */ export interface _DatabaseUsageListResult { /** The DatabaseUsage items on this page */ value: DatabaseUsage[]; /** The link to the next page of items */ nextLink?: string; } export declare function _databaseUsageListResultDeserializer(item: any): _DatabaseUsageListResult; export declare function databaseUsageArrayDeserializer(result: Array): any[]; /** Usage metric of a database. */ export interface DatabaseUsage extends ProxyResource { /** User-readable name of the metric. */ readonly displayName?: string; /** Current value of the metric. */ readonly currentValue?: number; /** Boundary value of the metric. */ readonly limit?: number; /** Unit of the metric. */ readonly unit?: string; } export declare function databaseUsageDeserializer(item: any): DatabaseUsage; /** Properties of a database usage. */ export interface DatabaseUsageProperties { /** User-readable name of the metric. */ readonly displayName?: string; /** Current value of the metric. */ readonly currentValue?: number; /** Boundary value of the metric. */ readonly limit?: number; /** Unit of the metric. */ readonly unit?: string; } export declare function databaseUsagePropertiesDeserializer(item: any): DatabaseUsageProperties; /** A list of recommended sensitivity label update operations. */ export interface RecommendedSensitivityLabelUpdateList { operations?: RecommendedSensitivityLabelUpdate[]; } export declare function recommendedSensitivityLabelUpdateListSerializer(item: RecommendedSensitivityLabelUpdateList): any; export declare function recommendedSensitivityLabelUpdateArraySerializer(result: Array): any[]; /** A recommended sensitivity label update operation. */ export interface RecommendedSensitivityLabelUpdate extends ProxyResource { op?: RecommendedSensitivityLabelUpdateKind; /** Schema name of the column to update. */ schema?: string; /** Table name of the column to update. */ table?: string; /** Column name to update. */ column?: string; } export declare function recommendedSensitivityLabelUpdateSerializer(item: RecommendedSensitivityLabelUpdate): any; /** Properties of an operation executed on a recommended sensitivity label. */ export interface RecommendedSensitivityLabelUpdateProperties { op: RecommendedSensitivityLabelUpdateKind; /** Schema name of the column to update. */ schema: string; /** Table name of the column to update. */ table: string; /** Column name to update. */ column: string; } export declare function recommendedSensitivityLabelUpdatePropertiesSerializer(item: RecommendedSensitivityLabelUpdateProperties): any; /** Type of RecommendedSensitivityLabelUpdateKind */ export type RecommendedSensitivityLabelUpdateKind = "enable" | "disable"; /** The response of a SynapseLinkWorkspace list operation. */ export interface _SynapseLinkWorkspaceListResult { /** The SynapseLinkWorkspace items on this page */ value: SynapseLinkWorkspace[]; /** The link to the next page of items */ nextLink?: string; } export declare function _synapseLinkWorkspaceListResultDeserializer(item: any): _SynapseLinkWorkspaceListResult; export declare function synapseLinkWorkspaceArrayDeserializer(result: Array): any[]; /** Synapse link workspace resource */ export interface SynapseLinkWorkspace extends ProxyResource { /** List of all synapselink workspaces */ workspaces?: SynapseLinkWorkspaceInfoProperties[]; } export declare function synapseLinkWorkspaceDeserializer(item: any): SynapseLinkWorkspace; /** Properties of a Synapse link workspaces */ export interface SynapseLinkWorkspaceProperties { /** List of all synapselink workspaces */ workspaces?: SynapseLinkWorkspaceInfoProperties[]; } export declare function synapseLinkWorkspacePropertiesDeserializer(item: any): SynapseLinkWorkspaceProperties; export declare function synapseLinkWorkspaceInfoPropertiesArrayDeserializer(result: Array): any[]; /** Properties of a Synapse link workspaces */ export interface SynapseLinkWorkspaceInfoProperties { /** Synapse link workspace id. */ workspaceId?: string; /** Link connection name. */ linkConnectionName?: string; } export declare function synapseLinkWorkspaceInfoPropertiesDeserializer(item: any): SynapseLinkWorkspaceInfoProperties; /** The response of a ServerOperation list operation. */ export interface _ServerOperationListResult { /** The ServerOperation items on this page */ value: ServerOperation[]; /** The link to the next page of items */ nextLink?: string; } export declare function _serverOperationListResultDeserializer(item: any): _ServerOperationListResult; export declare function serverOperationArrayDeserializer(result: Array): any[]; /** A server operation. */ export interface ServerOperation extends ProxyResource { /** The name of operation. */ readonly operation?: string; /** The friendly name of operation. */ readonly operationFriendlyName?: string; /** The percentage of the operation completed. */ readonly percentComplete?: number; /** The name of the server. */ readonly serverName?: string; /** The operation start time. */ readonly startTime?: Date; /** The operation state. */ readonly state?: ManagementOperationState; /** The operation error code. */ readonly errorCode?: number; /** The operation error description. */ readonly errorDescription?: string; /** The operation error severity. */ readonly errorSeverity?: number; /** Whether or not the error is a user error. */ readonly isUserError?: boolean; /** The estimated completion time of the operation. */ readonly estimatedCompletionTime?: Date; /** The operation description. */ readonly description?: string; /** Whether the operation can be cancelled. */ readonly isCancellable?: boolean; } export declare function serverOperationDeserializer(item: any): ServerOperation; /** The properties of a server operation. */ export interface ServerOperationProperties { /** The name of operation. */ readonly operation?: string; /** The friendly name of operation. */ readonly operationFriendlyName?: string; /** The percentage of the operation completed. */ readonly percentComplete?: number; /** The name of the server. */ readonly serverName?: string; /** The operation start time. */ readonly startTime?: Date; /** The operation state. */ readonly state?: ManagementOperationState; /** The operation error code. */ readonly errorCode?: number; /** The operation error description. */ readonly errorDescription?: string; /** The operation error severity. */ readonly errorSeverity?: number; /** Whether or not the error is a user error. */ readonly isUserError?: boolean; /** The estimated completion time of the operation. */ readonly estimatedCompletionTime?: Date; /** The operation description. */ readonly description?: string; /** Whether the operation can be cancelled. */ readonly isCancellable?: boolean; } export declare function serverOperationPropertiesDeserializer(item: any): ServerOperationProperties; /** The response of a ServerUsage list operation. */ export interface _ServerUsageListResult { /** The ServerUsage items on this page */ value: ServerUsage[]; /** The link to the next page of items */ nextLink?: string; } export declare function _serverUsageListResultDeserializer(item: any): _ServerUsageListResult; export declare function serverUsageArrayDeserializer(result: Array): any[]; /** Usage metric of a server. */ export interface ServerUsage extends ProxyResource { /** User-readable name of the metric. */ readonly displayName?: string; /** Current value of the metric. */ readonly currentValue?: number; /** Boundary value of the metric. */ readonly limit?: number; /** Unit of the metric. */ readonly unit?: string; } export declare function serverUsageDeserializer(item: any): ServerUsage; /** Properties of a server usage. */ export interface ServerUsageProperties { /** User-readable name of the metric. */ readonly displayName?: string; /** Current value of the metric. */ readonly currentValue?: number; /** Boundary value of the metric. */ readonly limit?: number; /** Unit of the metric. */ readonly unit?: string; } export declare function serverUsagePropertiesDeserializer(item: any): ServerUsageProperties; /** A TDE certificate that can be uploaded into a server. */ export interface TdeCertificate extends ProxyResource { /** The base64 encoded certificate private blob. */ privateBlob?: string; /** The certificate password. */ certPassword?: string; } export declare function tdeCertificateSerializer(item: TdeCertificate): any; /** Properties of a TDE certificate. */ export interface TdeCertificateProperties { /** The base64 encoded certificate private blob. */ privateBlob: string; /** The certificate password. */ certPassword?: string; } export declare function tdeCertificatePropertiesSerializer(item: TdeCertificateProperties): any; /** A database Advanced Threat Protection. */ export interface DatabaseAdvancedThreatProtection extends ProxyResource { /** Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific database or server. */ state?: AdvancedThreatProtectionState; /** Specifies the UTC creation time of the policy. */ readonly creationTime?: Date; } export declare function databaseAdvancedThreatProtectionSerializer(item: DatabaseAdvancedThreatProtection): any; export declare function databaseAdvancedThreatProtectionDeserializer(item: any): DatabaseAdvancedThreatProtection; /** Properties of an Advanced Threat Protection state. */ export interface AdvancedThreatProtectionProperties { /** Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific database or server. */ state: AdvancedThreatProtectionState; /** Specifies the UTC creation time of the policy. */ readonly creationTime?: Date; } export declare function advancedThreatProtectionPropertiesSerializer(item: AdvancedThreatProtectionProperties): any; export declare function advancedThreatProtectionPropertiesDeserializer(item: any): AdvancedThreatProtectionProperties; /** Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific database or server. */ export type AdvancedThreatProtectionState = "New" | "Enabled" | "Disabled"; /** Known values of {@link AdvancedThreatProtectionName} that the service accepts. */ export declare enum KnownAdvancedThreatProtectionName { /** Default */ Default = "Default" } /** Type of AdvancedThreatProtectionName */ export type AdvancedThreatProtectionName = string; /** The response of a DatabaseAdvancedThreatProtection list operation. */ export interface _DatabaseAdvancedThreatProtectionListResult { /** The DatabaseAdvancedThreatProtection items on this page */ value: DatabaseAdvancedThreatProtection[]; /** The link to the next page of items */ nextLink?: string; } export declare function _databaseAdvancedThreatProtectionListResultDeserializer(item: any): _DatabaseAdvancedThreatProtectionListResult; export declare function databaseAdvancedThreatProtectionArraySerializer(result: Array): any[]; export declare function databaseAdvancedThreatProtectionArrayDeserializer(result: Array): any[]; /** Database-level Automatic Tuning. */ export interface DatabaseAutomaticTuning extends ProxyResource { /** Automatic tuning desired state. */ desiredState?: AutomaticTuningMode; /** Automatic tuning actual state. */ readonly actualState?: AutomaticTuningMode; /** Automatic tuning options definition. */ options?: Record; } export declare function databaseAutomaticTuningSerializer(item: DatabaseAutomaticTuning): any; export declare function databaseAutomaticTuningDeserializer(item: any): DatabaseAutomaticTuning; /** Database-level Automatic Tuning properties. */ export interface DatabaseAutomaticTuningProperties { /** Automatic tuning desired state. */ desiredState?: AutomaticTuningMode; /** Automatic tuning actual state. */ readonly actualState?: AutomaticTuningMode; /** Automatic tuning options definition. */ options?: Record; } export declare function databaseAutomaticTuningPropertiesSerializer(item: DatabaseAutomaticTuningProperties): any; export declare function databaseAutomaticTuningPropertiesDeserializer(item: any): DatabaseAutomaticTuningProperties; /** Automatic tuning desired state. */ export type AutomaticTuningMode = "Inherit" | "Custom" | "Auto" | "Unspecified"; export declare function automaticTuningOptionsRecordSerializer(item: Record): Record; export declare function automaticTuningOptionsRecordDeserializer(item: Record): Record; /** Automatic tuning properties for individual advisors. */ export interface AutomaticTuningOptions { /** Automatic tuning option desired state. */ desiredState?: AutomaticTuningOptionModeDesired; /** Automatic tuning option actual state. */ readonly actualState?: AutomaticTuningOptionModeActual; /** Reason code if desired and actual state are different. */ readonly reasonCode?: number; /** Reason description if desired and actual state are different. */ readonly reasonDesc?: AutomaticTuningDisabledReason; } export declare function automaticTuningOptionsSerializer(item: AutomaticTuningOptions): any; export declare function automaticTuningOptionsDeserializer(item: any): AutomaticTuningOptions; /** Automatic tuning option desired state. */ export type AutomaticTuningOptionModeDesired = "Off" | "On" | "Default"; /** Automatic tuning option actual state. */ export type AutomaticTuningOptionModeActual = "Off" | "On"; /** Reason description if desired and actual state are different. */ export type AutomaticTuningDisabledReason = "Default" | "Disabled" | "AutoConfigured" | "InheritedFromServer" | "QueryStoreOff" | "QueryStoreReadOnly" | "NotSupported"; /** An Import, Export, or PolybaseImport resource. */ export interface DatabaseExtensions extends ProxyResource { /** Operation mode of the operation: Import, Export, or PolybaseImport. */ operationMode?: OperationMode; /** Storage key type: StorageAccessKey, SharedAccessKey or ManagedIdentity. */ storageKeyType?: StorageKeyType; /** Storage key for the storage account. If StorageKeyType is ManagedIdentity, this field should specify the Managed Identity's resource ID. */ storageKey?: string; /** Storage Uri for the storage account. */ storageUri?: string; /** Administrator login name. If AuthenticationType is ManagedIdentity, this field should specify the Managed Identity's resource ID. */ administratorLogin?: string; /** Administrator login password. If AuthenticationType is ManagedIdentity, this field should not be specified. */ administratorLoginPassword?: string; /** Authentication type used to access the SQL: Sql, ADPassword or ManagedIdentity. */ authenticationType?: string; /** Database edition for the newly created database in the case of an import operation. */ databaseEdition?: string; /** Database service level objective for the newly created database in the case of an import operation. */ serviceObjectiveName?: string; /** Database max size in bytes for the newly created database in the case of an import operation. */ maxSizeBytes?: string; /** Optional resource information to enable network isolation for request. */ networkIsolation?: NetworkIsolationSettings; } export declare function databaseExtensionsSerializer(item: DatabaseExtensions): any; /** Contains the database information after a successful Import, Export, or PolybaseImport */ export interface DatabaseExtensionsProperties { /** Operation mode of the operation: Import, Export, or PolybaseImport. */ operationMode: OperationMode; /** Storage key type: StorageAccessKey, SharedAccessKey or ManagedIdentity. */ storageKeyType: StorageKeyType; /** Storage key for the storage account. If StorageKeyType is ManagedIdentity, this field should specify the Managed Identity's resource ID. */ storageKey: string; /** Storage Uri for the storage account. */ storageUri: string; /** Administrator login name. If AuthenticationType is ManagedIdentity, this field should specify the Managed Identity's resource ID. */ administratorLogin?: string; /** Administrator login password. If AuthenticationType is ManagedIdentity, this field should not be specified. */ administratorLoginPassword?: string; /** Authentication type used to access the SQL: Sql, ADPassword or ManagedIdentity. */ authenticationType?: string; /** Database edition for the newly created database in the case of an import operation. */ databaseEdition?: string; /** Database service level objective for the newly created database in the case of an import operation. */ serviceObjectiveName?: string; /** Database max size in bytes for the newly created database in the case of an import operation. */ maxSizeBytes?: string; /** Optional resource information to enable network isolation for request. */ networkIsolation?: NetworkIsolationSettings; } export declare function databaseExtensionsPropertiesSerializer(item: DatabaseExtensionsProperties): any; /** Operation mode of the operation: Import, Export, or PolybaseImport. */ export declare enum KnownOperationMode { /** PolybaseImport */ PolybaseImport = "PolybaseImport", /** Import */ Import = "Import", /** Export */ Export = "Export" } /** * Operation mode of the operation: Import, Export, or PolybaseImport. \ * {@link KnownOperationMode} can be used interchangeably with OperationMode, * this enum contains the known values that the service supports. * ### Known values supported by the service * **PolybaseImport**: PolybaseImport \ * **Import**: Import \ * **Export**: Export */ export type OperationMode = string; /** An Extension operation result resource. */ export interface ImportExportExtensionsOperationResult extends ProxyResource { /** Request Id. */ readonly requestId?: string; /** Request type. */ readonly requestType?: string; /** Last modified time. */ readonly lastModifiedTime?: string; /** Server name. */ readonly serverName?: string; /** Database name. */ readonly databaseName?: string; /** Operation status. */ readonly status?: string; /** Error message. */ readonly errorMessage?: string; /** Queued time. */ readonly queuedTime?: string; /** Blob URI. */ readonly blobUri?: string; /** Gets the status of private endpoints associated with this request. */ readonly privateEndpointConnections?: PrivateEndpointConnectionRequestStatus[]; } export declare function importExportExtensionsOperationResultDeserializer(item: any): ImportExportExtensionsOperationResult; /** Contains the operation result properties for import/export operation. */ export interface ImportExportExtensionsOperationResultProperties { /** Request Id. */ readonly requestId?: string; /** Request type. */ readonly requestType?: string; /** Last modified time. */ readonly lastModifiedTime?: string; /** Server name. */ readonly serverName?: string; /** Database name. */ readonly databaseName?: string; /** Operation status. */ readonly status?: string; /** Error message. */ readonly errorMessage?: string; /** Queued time. */ readonly queuedTime?: string; /** Blob URI. */ readonly blobUri?: string; /** Gets the status of private endpoints associated with this request. */ readonly privateEndpointConnections?: PrivateEndpointConnectionRequestStatus[]; } export declare function importExportExtensionsOperationResultPropertiesDeserializer(item: any): ImportExportExtensionsOperationResultProperties; /** Import export operation extensions list. */ export interface _ImportExportExtensionsOperationListResult { /** Array of results. */ readonly value?: ImportExportExtensionsOperationResult[]; /** Link to retrieve next page of results. */ readonly nextLink?: string; } export declare function _importExportExtensionsOperationListResultDeserializer(item: any): _ImportExportExtensionsOperationListResult; export declare function importExportExtensionsOperationResultArrayDeserializer(result: Array): any[]; /** A database sql vulnerability assessment rule baseline list input. */ export interface DatabaseSqlVulnerabilityAssessmentRuleBaselineListInput extends ProxyResource { /** The latest scan flag */ latestScan?: boolean; /** The rule baseline result list */ results?: Record; } export declare function databaseSqlVulnerabilityAssessmentRuleBaselineListInputSerializer(item: DatabaseSqlVulnerabilityAssessmentRuleBaselineListInput): any; /** Properties of a database Sql Vulnerability Assessment rule baseline. */ export interface DatabaseSqlVulnerabilityAssessmentRuleBaselineListInputProperties { /** The latest scan flag */ latestScan: boolean; /** The rule baseline result list */ results: Record; } export declare function databaseSqlVulnerabilityAssessmentRuleBaselineListInputPropertiesSerializer(item: DatabaseSqlVulnerabilityAssessmentRuleBaselineListInputProperties): any; /** The response of a DataMaskingRule list operation. */ export interface _DataMaskingRuleListResult { /** The DataMaskingRule items on this page */ value: DataMaskingRule[]; /** The link to the next page of items */ nextLink?: string; } export declare function _dataMaskingRuleListResultDeserializer(item: any): _DataMaskingRuleListResult; export declare function dataMaskingRuleArraySerializer(result: Array): any[]; export declare function dataMaskingRuleArrayDeserializer(result: Array): any[]; /** A database data masking rule. */ export interface DataMaskingRule extends ProxyResource { /** The location of the data masking rule. */ readonly location?: string; /** The kind of Data Masking Rule. Metadata, used for Azure portal. */ readonly kind?: string; /** The rule Id. */ readonly idPropertiesId?: string; /** 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. */ ruleState?: DataMaskingRuleState; /** The schema name on which the data masking rule is applied. */ schemaName?: string; /** The table name on which the data masking rule is applied. */ tableName?: string; /** The column name on which the data masking rule is applied. */ columnName?: string; /** The alias name. This is a legacy parameter and is no longer used. */ aliasName?: string; /** The masking function that is used for the data masking rule. */ maskingFunction?: DataMaskingFunction; /** The numberFrom property of the masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored. */ numberFrom?: string; /** The numberTo property of the data masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored. */ numberTo?: string; /** If maskingFunction is set to Text, the number of characters to show unmasked in the beginning of the string. Otherwise, this parameter will be ignored. */ prefixSize?: string; /** If maskingFunction is set to Text, the number of characters to show unmasked at the end of the string. Otherwise, this parameter will be ignored. */ suffixSize?: string; /** If maskingFunction is set to Text, the character to use for masking the unexposed part of the string. Otherwise, this parameter will be ignored. */ replacementString?: string; } export declare function dataMaskingRuleSerializer(item: DataMaskingRule): any; export declare function dataMaskingRuleDeserializer(item: any): DataMaskingRule; /** The properties of a database data masking rule. */ export interface DataMaskingRuleProperties { /** The rule Id. */ readonly id?: string; /** 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. */ ruleState?: DataMaskingRuleState; /** The schema name on which the data masking rule is applied. */ schemaName: string; /** The table name on which the data masking rule is applied. */ tableName: string; /** The column name on which the data masking rule is applied. */ columnName: string; /** The alias name. This is a legacy parameter and is no longer used. */ aliasName?: string; /** The masking function that is used for the data masking rule. */ maskingFunction: DataMaskingFunction; /** The numberFrom property of the masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored. */ numberFrom?: string; /** The numberTo property of the data masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored. */ numberTo?: string; /** If maskingFunction is set to Text, the number of characters to show unmasked in the beginning of the string. Otherwise, this parameter will be ignored. */ prefixSize?: string; /** If maskingFunction is set to Text, the number of characters to show unmasked at the end of the string. Otherwise, this parameter will be ignored. */ suffixSize?: string; /** If maskingFunction is set to Text, the character to use for masking the unexposed part of the string. Otherwise, this parameter will be ignored. */ replacementString?: string; } export declare function dataMaskingRulePropertiesSerializer(item: DataMaskingRuleProperties): any; export declare function dataMaskingRulePropertiesDeserializer(item: any): DataMaskingRuleProperties; /** 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. */ export type DataMaskingRuleState = "Enabled" | "Disabled"; /** The masking function that is used for the data masking rule. */ export type DataMaskingFunction = "Default" | "CCN" | "Email" | "Number" | "SSN" | "Text"; /** User activities of a data warehouse */ export interface DataWarehouseUserActivities extends ProxyResource { /** Count of running and suspended queries. */ readonly activeQueriesCount?: number; } export declare function dataWarehouseUserActivitiesDeserializer(item: any): DataWarehouseUserActivities; /** User activities of a data warehouse. This currently includes the count of running or suspended queries. For more information, please view the sys.dm_pdw_exec_requests dynamic management view (DMV). */ export interface DataWarehouseUserActivitiesProperties { /** Count of running and suspended queries. */ readonly activeQueriesCount?: number; } export declare function dataWarehouseUserActivitiesPropertiesDeserializer(item: any): DataWarehouseUserActivitiesProperties; /** Known values of {@link DataWarehouseUserActivityName} that the service accepts. */ export declare enum KnownDataWarehouseUserActivityName { /** current */ Current = "current" } /** Type of DataWarehouseUserActivityName */ export type DataWarehouseUserActivityName = string; /** The response of a DataWarehouseUserActivities list operation. */ export interface _DataWarehouseUserActivitiesListResult { /** The DataWarehouseUserActivities items on this page */ value: DataWarehouseUserActivities[]; /** The link to the next page of items */ nextLink?: string; } export declare function _dataWarehouseUserActivitiesListResultDeserializer(item: any): _DataWarehouseUserActivitiesListResult; export declare function dataWarehouseUserActivitiesArrayDeserializer(result: Array): any[]; /** A list of security events. */ export interface _SecurityEventCollection { /** The SecurityEvent items on this page */ value: SecurityEvent[]; /** The link to the next page of items */ nextLink?: string; } export declare function _securityEventCollectionDeserializer(item: any): _SecurityEventCollection; export declare function securityEventArrayDeserializer(result: Array): any[]; /** A security event. */ export interface SecurityEvent extends ProxyResource { /** The time when the security event occurred. */ readonly eventTime?: Date; /** The type of the security event. */ readonly securityEventType?: SecurityEventType; /** The subscription name */ readonly subscription?: string; /** The server name */ readonly server?: string; /** The database name */ readonly database?: string; /** The IP address of the client who executed the statement. */ readonly clientIp?: string; /** The application used to execute the statement. */ readonly applicationName?: string; /** The principal user who executed the statement */ readonly principalName?: string; /** The sql injection additional properties, populated only if the type of the security event is sql injection. */ readonly securityEventSqlInjectionAdditionalProperties?: SecurityEventSqlInjectionAdditionalProperties; } export declare function securityEventDeserializer(item: any): SecurityEvent; /** The properties of a security event. */ export interface SecurityEventProperties { /** The time when the security event occurred. */ readonly eventTime?: Date; /** The type of the security event. */ readonly securityEventType?: SecurityEventType; /** The subscription name */ readonly subscription?: string; /** The server name */ readonly server?: string; /** The database name */ readonly database?: string; /** The IP address of the client who executed the statement. */ readonly clientIp?: string; /** The application used to execute the statement. */ readonly applicationName?: string; /** The principal user who executed the statement */ readonly principalName?: string; /** The sql injection additional properties, populated only if the type of the security event is sql injection. */ readonly securityEventSqlInjectionAdditionalProperties?: SecurityEventSqlInjectionAdditionalProperties; } export declare function securityEventPropertiesDeserializer(item: any): SecurityEventProperties; /** The type of the security event. */ export type SecurityEventType = "Undefined" | "SqlInjectionVulnerability" | "SqlInjectionExploit"; /** The properties of a security event sql injection additional properties. */ export interface SecurityEventSqlInjectionAdditionalProperties { /** The threat ID. */ readonly threatId?: string; /** The statement */ readonly statement?: string; /** The statement highlight offset */ readonly statementHighlightOffset?: number; /** The statement highlight length */ readonly statementHighlightLength?: number; /** The sql error code */ readonly errorCode?: number; /** The sql error severity */ readonly errorSeverity?: number; /** The sql error message */ readonly errorMessage?: string; } export declare function securityEventSqlInjectionAdditionalPropertiesDeserializer(item: any): SecurityEventSqlInjectionAdditionalProperties; /** The response of a ElasticPoolOperation list operation. */ export interface _ElasticPoolOperationListResult { /** The ElasticPoolOperation items on this page */ value: ElasticPoolOperation[]; /** The link to the next page of items */ nextLink?: string; } export declare function _elasticPoolOperationListResultDeserializer(item: any): _ElasticPoolOperationListResult; export declare function elasticPoolOperationArrayDeserializer(result: Array): any[]; /** A elastic pool operation. */ export interface ElasticPoolOperation extends ProxyResource { /** The name of the elastic pool the operation is being performed on. */ readonly elasticPoolName?: string; /** The name of operation. */ readonly operation?: string; /** The friendly name of operation. */ readonly operationFriendlyName?: string; /** The percentage of the operation completed. */ readonly percentComplete?: number; /** The name of the server. */ readonly serverName?: string; /** The operation start time. */ readonly startTime?: Date; /** The operation state. */ readonly state?: string; /** The operation error code. */ readonly errorCode?: number; /** The operation error description. */ readonly errorDescription?: string; /** The operation error severity. */ readonly errorSeverity?: number; /** Whether or not the error is a user error. */ readonly isUserError?: boolean; /** The estimated completion time of the operation. */ readonly estimatedCompletionTime?: Date; /** The operation description. */ readonly description?: string; /** Whether the operation can be cancelled. */ readonly isCancellable?: boolean; } export declare function elasticPoolOperationDeserializer(item: any): ElasticPoolOperation; /** The properties of a elastic pool operation. */ export interface ElasticPoolOperationProperties { /** The name of the elastic pool the operation is being performed on. */ readonly elasticPoolName?: string; /** The name of operation. */ readonly operation?: string; /** The friendly name of operation. */ readonly operationFriendlyName?: string; /** The percentage of the operation completed. */ readonly percentComplete?: number; /** The name of the server. */ readonly serverName?: string; /** The operation start time. */ readonly startTime?: Date; /** The operation state. */ readonly state?: string; /** The operation error code. */ readonly errorCode?: number; /** The operation error description. */ readonly errorDescription?: string; /** The operation error severity. */ readonly errorSeverity?: number; /** Whether or not the error is a user error. */ readonly isUserError?: boolean; /** The estimated completion time of the operation. */ readonly estimatedCompletionTime?: Date; /** The operation description. */ readonly description?: string; /** Whether the operation can be cancelled. */ readonly isCancellable?: boolean; } export declare function elasticPoolOperationPropertiesDeserializer(item: any): ElasticPoolOperationProperties; /** A list of usages. */ export interface _UsageListResult { /** The Usage items on this page */ value: Usage[]; /** The link to the next page of items */ nextLink?: string; } export declare function _usageListResultDeserializer(item: any): _UsageListResult; export declare function usageArrayDeserializer(result: Array): any[]; /** ARM usage. */ export interface Usage { /** Resource ID. */ readonly id?: string; /** Resource name. */ readonly name?: Name; /** Resource type. */ readonly type?: string; /** Usage unit. */ readonly unit?: string; /** Usage current value. */ readonly currentValue?: number; /** Usage limit. */ readonly limit?: number; /** Usage requested limit. */ readonly requestedLimit?: number; } export declare function usageDeserializer(item: any): Usage; /** ARM Usage Name */ export interface Name { /** Usage name value */ value?: string; /** Usage name localized value. */ localizedValue?: string; } export declare function nameDeserializer(item: any): Name; /** Azure SQL Database ledger digest upload settings. */ export interface LedgerDigestUploads extends ProxyResource { /** The digest storage endpoint, which must be either an Azure blob storage endpoint or an URI for Azure Confidential Ledger. */ digestStorageEndpoint?: string; /** Specifies the state of ledger digest upload. */ readonly state?: LedgerDigestUploadsState; } export declare function ledgerDigestUploadsSerializer(item: LedgerDigestUploads): any; export declare function ledgerDigestUploadsDeserializer(item: any): LedgerDigestUploads; /** The properties of a database ledger digest upload settings. */ export interface LedgerDigestUploadsProperties { /** The digest storage endpoint, which must be either an Azure blob storage endpoint or an URI for Azure Confidential Ledger. */ digestStorageEndpoint?: string; /** Specifies the state of ledger digest upload. */ readonly state?: LedgerDigestUploadsState; } export declare function ledgerDigestUploadsPropertiesSerializer(item: LedgerDigestUploadsProperties): any; export declare function ledgerDigestUploadsPropertiesDeserializer(item: any): LedgerDigestUploadsProperties; /** Specifies the state of ledger digest upload. */ export type LedgerDigestUploadsState = "Enabled" | "Disabled"; /** Known values of {@link LedgerDigestUploadsName} that the service accepts. */ export declare enum KnownLedgerDigestUploadsName { /** current */ Current = "current" } /** Type of LedgerDigestUploadsName */ export type LedgerDigestUploadsName = string; /** The response of a LedgerDigestUploads list operation. */ export interface _LedgerDigestUploadsListResult { /** The LedgerDigestUploads items on this page */ value: LedgerDigestUploads[]; /** The link to the next page of items */ nextLink?: string; } export declare function _ledgerDigestUploadsListResultDeserializer(item: any): _LedgerDigestUploadsListResult; export declare function ledgerDigestUploadsArraySerializer(result: Array): any[]; export declare function ledgerDigestUploadsArrayDeserializer(result: Array): any[]; /** Maintenance window options. */ export interface MaintenanceWindowOptions extends ProxyResource { /** Whether maintenance windows are enabled for the database. */ isEnabled?: boolean; /** Available maintenance cycles e.g. {Saturday, 0, 48*60}, {Wednesday, 0, 24*60}. */ maintenanceWindowCycles?: MaintenanceWindowTimeRange[]; /** Minimum duration of maintenance window. */ minDurationInMinutes?: number; /** Default duration for maintenance window. */ defaultDurationInMinutes?: number; /** Minimum number of maintenance windows cycles to be set on the database. */ minCycles?: number; /** Time granularity in minutes for maintenance windows. */ timeGranularityInMinutes?: number; /** Whether we allow multiple maintenance windows per cycle. */ allowMultipleMaintenanceWindowsPerCycle?: boolean; } export declare function maintenanceWindowOptionsDeserializer(item: any): MaintenanceWindowOptions; /** Maintenance window options properties. */ export interface MaintenanceWindowOptionsProperties { /** Whether maintenance windows are enabled for the database. */ isEnabled?: boolean; /** Available maintenance cycles e.g. {Saturday, 0, 48*60}, {Wednesday, 0, 24*60}. */ maintenanceWindowCycles?: MaintenanceWindowTimeRange[]; /** Minimum duration of maintenance window. */ minDurationInMinutes?: number; /** Default duration for maintenance window. */ defaultDurationInMinutes?: number; /** Minimum number of maintenance windows cycles to be set on the database. */ minCycles?: number; /** Time granularity in minutes for maintenance windows. */ timeGranularityInMinutes?: number; /** Whether we allow multiple maintenance windows per cycle. */ allowMultipleMaintenanceWindowsPerCycle?: boolean; } export declare function maintenanceWindowOptionsPropertiesDeserializer(item: any): MaintenanceWindowOptionsProperties; export declare function maintenanceWindowTimeRangeArraySerializer(result: Array): any[]; export declare function maintenanceWindowTimeRangeArrayDeserializer(result: Array): any[]; /** Maintenance window time range. */ export interface MaintenanceWindowTimeRange { /** Day of maintenance window. */ dayOfWeek?: DayOfWeek; /** Start time minutes offset from 12am. */ startTime?: string; /** Duration of maintenance window in minutes. */ duration?: string; } export declare function maintenanceWindowTimeRangeSerializer(item: MaintenanceWindowTimeRange): any; export declare function maintenanceWindowTimeRangeDeserializer(item: any): MaintenanceWindowTimeRange; /** Maintenance windows. */ export interface MaintenanceWindows extends ProxyResource { timeRanges?: MaintenanceWindowTimeRange[]; } export declare function maintenanceWindowsSerializer(item: MaintenanceWindows): any; export declare function maintenanceWindowsDeserializer(item: any): MaintenanceWindows; /** Maintenance windows resource properties. */ export interface MaintenanceWindowsProperties { timeRanges?: MaintenanceWindowTimeRange[]; } export declare function maintenanceWindowsPropertiesSerializer(item: MaintenanceWindowsProperties): any; export declare function maintenanceWindowsPropertiesDeserializer(item: any): MaintenanceWindowsProperties; /** A managed database Advanced Threat Protection. */ export interface ManagedDatabaseAdvancedThreatProtection extends ProxyResource { /** Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific database or server. */ state?: AdvancedThreatProtectionState; /** Specifies the UTC creation time of the policy. */ readonly creationTime?: Date; } export declare function managedDatabaseAdvancedThreatProtectionSerializer(item: ManagedDatabaseAdvancedThreatProtection): any; export declare function managedDatabaseAdvancedThreatProtectionDeserializer(item: any): ManagedDatabaseAdvancedThreatProtection; /** The response of a ManagedDatabaseAdvancedThreatProtection list operation. */ export interface _ManagedDatabaseAdvancedThreatProtectionListResult { /** The ManagedDatabaseAdvancedThreatProtection items on this page */ value: ManagedDatabaseAdvancedThreatProtection[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedDatabaseAdvancedThreatProtectionListResultDeserializer(item: any): _ManagedDatabaseAdvancedThreatProtectionListResult; export declare function managedDatabaseAdvancedThreatProtectionArraySerializer(result: Array): any[]; export declare function managedDatabaseAdvancedThreatProtectionArrayDeserializer(result: Array): any[]; /** A managed database move operation. */ export interface ManagedDatabaseMoveOperationResult extends ProxyResource { /** The name of operation. */ readonly operation?: string; /** The friendly name of operation. */ readonly operationFriendlyName?: string; /** The operation start time. */ readonly startTime?: Date; /** The operation state. */ readonly state?: ManagementOperationState; /** Operation mode. */ readonly operationMode?: MoveOperationMode; /** Source Managed Instance name. */ readonly sourceManagedInstanceName?: string; /** Target Managed Instance name. */ readonly targetManagedInstanceName?: string; /** Source Managed Instance resource id. */ readonly sourceManagedInstanceId?: string; /** Target Managed instance resource id. */ readonly targetManagedInstanceId?: string; /** Source database name. */ readonly sourceDatabaseName?: string; /** Target database name. */ readonly targetDatabaseName?: string; /** Is move operation cancellable. */ readonly isCancellable?: boolean; /** The operation error code. */ readonly errorCode?: number; /** The operation error description. */ readonly errorDescription?: string; /** The operation error severity. */ readonly errorSeverity?: number; /** Whether or not the error is a user error. */ readonly isUserError?: boolean; } export declare function managedDatabaseMoveOperationResultDeserializer(item: any): ManagedDatabaseMoveOperationResult; /** Contains the operation result properties for managed database move operation. */ export interface ManagedDatabaseMoveOperationResultProperties { /** The name of operation. */ readonly operation?: string; /** The friendly name of operation. */ readonly operationFriendlyName?: string; /** The operation start time. */ readonly startTime?: Date; /** The operation state. */ readonly state?: ManagementOperationState; /** Operation mode. */ readonly operationMode?: MoveOperationMode; /** Source Managed Instance name. */ readonly sourceManagedInstanceName?: string; /** Target Managed Instance name. */ readonly targetManagedInstanceName?: string; /** Source Managed Instance resource id. */ readonly sourceManagedInstanceId?: string; /** Target Managed instance resource id. */ readonly targetManagedInstanceId?: string; /** Source database name. */ readonly sourceDatabaseName?: string; /** Target database name. */ readonly targetDatabaseName?: string; /** Is move operation cancellable. */ readonly isCancellable?: boolean; /** The operation error code. */ readonly errorCode?: number; /** The operation error description. */ readonly errorDescription?: string; /** The operation error severity. */ readonly errorSeverity?: number; /** Whether or not the error is a user error. */ readonly isUserError?: boolean; } export declare function managedDatabaseMoveOperationResultPropertiesDeserializer(item: any): ManagedDatabaseMoveOperationResultProperties; /** List of managed database move operations. */ export interface _ManagedDatabaseMoveOperationListResult { /** Array of results. */ readonly value?: ManagedDatabaseMoveOperationResult[]; /** Link to retrieve next page of results. */ readonly nextLink?: string; } export declare function _managedDatabaseMoveOperationListResultDeserializer(item: any): _ManagedDatabaseMoveOperationListResult; export declare function managedDatabaseMoveOperationResultArrayDeserializer(result: Array): any[]; /** Database query. */ export interface ManagedInstanceQuery extends ProxyResource { /** Query text. */ queryText?: string; } export declare function managedInstanceQueryDeserializer(item: any): ManagedInstanceQuery; /** Properties of a database query. */ export interface QueryProperties { /** Query text. */ queryText?: string; } export declare function queryPropertiesDeserializer(item: any): QueryProperties; /** Execution statistics for one particular query */ export interface _ManagedInstanceQueryStatistics { /** The QueryStatistics items on this page */ value: QueryStatistics[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedInstanceQueryStatisticsDeserializer(item: any): _ManagedInstanceQueryStatistics; export declare function queryStatisticsArrayDeserializer(result: Array): any[]; /** model interface QueryStatistics */ export interface QueryStatistics extends ProxyResource { /** Database name of the database in which this query was executed. */ readonly databaseName?: string; /** Unique query id (unique within one database). */ readonly queryId?: string; /** The start time for the metric (ISO-8601 format). */ readonly startTime?: string; /** The end time for the metric (ISO-8601 format). */ readonly endTime?: string; /** List of intervals with appropriate metric data */ intervals?: QueryMetricInterval[]; } export declare function queryStatisticsDeserializer(item: any): QueryStatistics; /** A managed database restore details. */ export interface ManagedDatabaseRestoreDetailsResult extends ProxyResource { /** Restore type. */ readonly typePropertiesType?: string; /** Restore status. */ readonly status?: string; /** The reason why restore is in Blocked state. */ readonly blockReason?: string; /** Last uploaded file name. */ readonly lastUploadedFileName?: string; /** Last uploaded file time. */ readonly lastUploadedFileTime?: Date; /** Last restored file name. */ readonly lastRestoredFileName?: string; /** Last restored file time. */ readonly lastRestoredFileTime?: Date; /** Percent completed. */ readonly percentCompleted?: number; /** Current restored size MB. */ readonly currentRestoredSizeMB?: number; /** Current restore plan size MB. */ readonly currentRestorePlanSizeMB?: number; /** Current backup type. */ readonly currentBackupType?: string; /** Current restoring file name. */ readonly currentRestoringFileName?: string; /** Number of files detected. */ readonly numberOfFilesDetected?: number; /** Number of files queued. */ readonly numberOfFilesQueued?: number; /** Number of files skipped. */ readonly numberOfFilesSkipped?: number; /** Number of files restoring. */ readonly numberOfFilesRestoring?: number; /** Number of files restored. */ readonly numberOfFilesRestored?: number; /** Number of files unrestorable. */ readonly numberOfFilesUnrestorable?: number; /** Full backup sets. */ readonly fullBackupSets?: ManagedDatabaseRestoreDetailsBackupSetProperties[]; /** Diff backup sets. */ readonly diffBackupSets?: ManagedDatabaseRestoreDetailsBackupSetProperties[]; /** Log backup sets. */ readonly logBackupSets?: ManagedDatabaseRestoreDetailsBackupSetProperties[]; /** Unrestorable files. */ readonly unrestorableFiles?: ManagedDatabaseRestoreDetailsUnrestorableFileProperties[]; } export declare function managedDatabaseRestoreDetailsResultDeserializer(item: any): ManagedDatabaseRestoreDetailsResult; /** The managed database's restore details properties. */ export interface ManagedDatabaseRestoreDetailsProperties { /** Restore type. */ readonly type?: string; /** Restore status. */ readonly status?: string; /** The reason why restore is in Blocked state. */ readonly blockReason?: string; /** Last uploaded file name. */ readonly lastUploadedFileName?: string; /** Last uploaded file time. */ readonly lastUploadedFileTime?: Date; /** Last restored file name. */ readonly lastRestoredFileName?: string; /** Last restored file time. */ readonly lastRestoredFileTime?: Date; /** Percent completed. */ readonly percentCompleted?: number; /** Current restored size MB. */ readonly currentRestoredSizeMB?: number; /** Current restore plan size MB. */ readonly currentRestorePlanSizeMB?: number; /** Current backup type. */ readonly currentBackupType?: string; /** Current restoring file name. */ readonly currentRestoringFileName?: string; /** Number of files detected. */ readonly numberOfFilesDetected?: number; /** Number of files queued. */ readonly numberOfFilesQueued?: number; /** Number of files skipped. */ readonly numberOfFilesSkipped?: number; /** Number of files restoring. */ readonly numberOfFilesRestoring?: number; /** Number of files restored. */ readonly numberOfFilesRestored?: number; /** Number of files unrestorable. */ readonly numberOfFilesUnrestorable?: number; /** Full backup sets. */ readonly fullBackupSets?: ManagedDatabaseRestoreDetailsBackupSetProperties[]; /** Diff backup sets. */ readonly diffBackupSets?: ManagedDatabaseRestoreDetailsBackupSetProperties[]; /** Log backup sets. */ readonly logBackupSets?: ManagedDatabaseRestoreDetailsBackupSetProperties[]; /** Unrestorable files. */ readonly unrestorableFiles?: ManagedDatabaseRestoreDetailsUnrestorableFileProperties[]; } export declare function managedDatabaseRestoreDetailsPropertiesDeserializer(item: any): ManagedDatabaseRestoreDetailsProperties; export declare function managedDatabaseRestoreDetailsBackupSetPropertiesArrayDeserializer(result: Array): any[]; /** The managed database's restore details backup set properties. */ export interface ManagedDatabaseRestoreDetailsBackupSetProperties { /** Backup set status. */ readonly status?: string; /** First stripe name. */ readonly firstStripeName?: string; /** Number of stripes. */ readonly numberOfStripes?: number; /** Backup size. */ readonly backupSizeMB?: number; /** Last restored file time. */ readonly restoreStartedTimestampUtc?: Date; /** Last restored file time. */ readonly restoreFinishedTimestampUtc?: Date; } export declare function managedDatabaseRestoreDetailsBackupSetPropertiesDeserializer(item: any): ManagedDatabaseRestoreDetailsBackupSetProperties; export declare function managedDatabaseRestoreDetailsUnrestorableFilePropertiesArrayDeserializer(result: Array): any[]; /** The managed database's restore details unrestorable file properties. */ export interface ManagedDatabaseRestoreDetailsUnrestorableFileProperties { /** File name. */ readonly name?: string; } export declare function managedDatabaseRestoreDetailsUnrestorableFilePropertiesDeserializer(item: any): ManagedDatabaseRestoreDetailsUnrestorableFileProperties; /** Known values of {@link RestoreDetailsName} that the service accepts. */ export declare enum KnownRestoreDetailsName { /** Default */ Default = "Default" } /** Type of RestoreDetailsName */ export type RestoreDetailsName = string; /** A managed database transparent data encryption state. */ export interface ManagedTransparentDataEncryption extends ProxyResource { /** Specifies the state of the transparent data encryption. */ state?: TransparentDataEncryptionState; } export declare function managedTransparentDataEncryptionSerializer(item: ManagedTransparentDataEncryption): any; export declare function managedTransparentDataEncryptionDeserializer(item: any): ManagedTransparentDataEncryption; /** Properties of a transparent data encryption. */ export interface ManagedTransparentDataEncryptionProperties { /** Specifies the state of the transparent data encryption. */ state: TransparentDataEncryptionState; } export declare function managedTransparentDataEncryptionPropertiesSerializer(item: ManagedTransparentDataEncryptionProperties): any; export declare function managedTransparentDataEncryptionPropertiesDeserializer(item: any): ManagedTransparentDataEncryptionProperties; /** Specifies the state of the transparent data encryption. */ export type TransparentDataEncryptionState = "Enabled" | "Disabled"; /** Known values of {@link TransparentDataEncryptionName} that the service accepts. */ export declare enum KnownTransparentDataEncryptionName { /** current */ Current = "current" } /** Type of TransparentDataEncryptionName */ export type TransparentDataEncryptionName = string; /** The response of a ManagedTransparentDataEncryption list operation. */ export interface _ManagedTransparentDataEncryptionListResult { /** The ManagedTransparentDataEncryption items on this page */ value: ManagedTransparentDataEncryption[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedTransparentDataEncryptionListResultDeserializer(item: any): _ManagedTransparentDataEncryptionListResult; export declare function managedTransparentDataEncryptionArraySerializer(result: Array): any[]; export declare function managedTransparentDataEncryptionArrayDeserializer(result: Array): any[]; /** A managed instance Advanced Threat Protection. */ export interface ManagedInstanceAdvancedThreatProtection extends ProxyResource { /** Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific database or server. */ state?: AdvancedThreatProtectionState; /** Specifies the UTC creation time of the policy. */ readonly creationTime?: Date; } export declare function managedInstanceAdvancedThreatProtectionSerializer(item: ManagedInstanceAdvancedThreatProtection): any; export declare function managedInstanceAdvancedThreatProtectionDeserializer(item: any): ManagedInstanceAdvancedThreatProtection; /** The response of a ManagedInstanceAdvancedThreatProtection list operation. */ export interface _ManagedInstanceAdvancedThreatProtectionListResult { /** The ManagedInstanceAdvancedThreatProtection items on this page */ value: ManagedInstanceAdvancedThreatProtection[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedInstanceAdvancedThreatProtectionListResultDeserializer(item: any): _ManagedInstanceAdvancedThreatProtectionListResult; export declare function managedInstanceAdvancedThreatProtectionArraySerializer(result: Array): any[]; export declare function managedInstanceAdvancedThreatProtectionArrayDeserializer(result: Array): any[]; /** A private link resource */ export interface ManagedInstancePrivateLink extends ProxyResource { /** The private link resource group id. */ readonly properties?: ManagedInstancePrivateLinkProperties; } export declare function managedInstancePrivateLinkDeserializer(item: any): ManagedInstancePrivateLink; /** Properties of a private link resource. */ export interface ManagedInstancePrivateLinkProperties { /** The private link resource group id. */ readonly groupId?: string; /** The private link resource required member names. */ readonly requiredMembers?: string[]; /** The private link resource required zone names. */ readonly requiredZoneNames?: string[]; } export declare function managedInstancePrivateLinkPropertiesDeserializer(item: any): ManagedInstancePrivateLinkProperties; /** The response of a ManagedInstancePrivateLink list operation. */ export interface _ManagedInstancePrivateLinkListResult { /** The ManagedInstancePrivateLink items on this page */ value: ManagedInstancePrivateLink[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedInstancePrivateLinkListResultDeserializer(item: any): _ManagedInstancePrivateLinkListResult; export declare function managedInstancePrivateLinkArrayDeserializer(result: Array): any[]; /** Azure SQL Database ledger digest upload settings. */ export interface ManagedLedgerDigestUploads extends ProxyResource { /** The digest storage endpoint, which must be either an Azure blob storage endpoint or an URI for Azure Confidential Ledger. */ digestStorageEndpoint?: string; /** Specifies the state of ledger digest upload. */ readonly state?: ManagedLedgerDigestUploadsState; } export declare function managedLedgerDigestUploadsSerializer(item: ManagedLedgerDigestUploads): any; export declare function managedLedgerDigestUploadsDeserializer(item: any): ManagedLedgerDigestUploads; /** The properties of a database ledger digest upload settings. */ export interface ManagedLedgerDigestUploadsProperties { /** The digest storage endpoint, which must be either an Azure blob storage endpoint or an URI for Azure Confidential Ledger. */ digestStorageEndpoint?: string; /** Specifies the state of ledger digest upload. */ readonly state?: ManagedLedgerDigestUploadsState; } export declare function managedLedgerDigestUploadsPropertiesSerializer(item: ManagedLedgerDigestUploadsProperties): any; export declare function managedLedgerDigestUploadsPropertiesDeserializer(item: any): ManagedLedgerDigestUploadsProperties; /** Specifies the state of ledger digest upload. */ export declare enum KnownManagedLedgerDigestUploadsState { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled" } /** * Specifies the state of ledger digest upload. \ * {@link KnownManagedLedgerDigestUploadsState} can be used interchangeably with ManagedLedgerDigestUploadsState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled**: Enabled \ * **Disabled**: Disabled */ export type ManagedLedgerDigestUploadsState = string; /** Known values of {@link ManagedLedgerDigestUploadsName} that the service accepts. */ export declare enum KnownManagedLedgerDigestUploadsName { /** current */ Current = "current" } /** Type of ManagedLedgerDigestUploadsName */ export type ManagedLedgerDigestUploadsName = string; /** The response of a ManagedLedgerDigestUploads list operation. */ export interface _ManagedLedgerDigestUploadsListResult { /** The ManagedLedgerDigestUploads items on this page */ value: ManagedLedgerDigestUploads[]; /** The link to the next page of items */ nextLink?: string; } export declare function _managedLedgerDigestUploadsListResultDeserializer(item: any): _ManagedLedgerDigestUploadsListResult; export declare function managedLedgerDigestUploadsArraySerializer(result: Array): any[]; export declare function managedLedgerDigestUploadsArrayDeserializer(result: Array): any[]; /** A server Advanced Threat Protection. */ export interface ServerAdvancedThreatProtection extends ProxyResource { /** Specifies the state of the Advanced Threat Protection, whether it is enabled or disabled or a state has not been applied yet on the specific database or server. */ state?: AdvancedThreatProtectionState; /** Specifies the UTC creation time of the policy. */ readonly creationTime?: Date; } export declare function serverAdvancedThreatProtectionSerializer(item: ServerAdvancedThreatProtection): any; export declare function serverAdvancedThreatProtectionDeserializer(item: any): ServerAdvancedThreatProtection; /** A list of the server's Advanced Threat Protection configurations. */ export interface _LogicalServerAdvancedThreatProtectionListResult { /** Array of results. */ readonly value?: ServerAdvancedThreatProtection[]; /** Link to retrieve next page of results. */ readonly nextLink?: string; } export declare function _logicalServerAdvancedThreatProtectionListResultDeserializer(item: any): _LogicalServerAdvancedThreatProtectionListResult; export declare function serverAdvancedThreatProtectionArraySerializer(result: Array): any[]; export declare function serverAdvancedThreatProtectionArrayDeserializer(result: Array): any[]; /** Server-level Automatic Tuning. */ export interface ServerAutomaticTuning extends ProxyResource { /** Automatic tuning desired state. */ desiredState?: AutomaticTuningServerMode; /** Automatic tuning actual state. */ readonly actualState?: AutomaticTuningServerMode; /** Automatic tuning options definition. */ options?: Record; } export declare function serverAutomaticTuningSerializer(item: ServerAutomaticTuning): any; export declare function serverAutomaticTuningDeserializer(item: any): ServerAutomaticTuning; /** Server-level Automatic Tuning properties. */ export interface AutomaticTuningServerProperties { /** Automatic tuning desired state. */ desiredState?: AutomaticTuningServerMode; /** Automatic tuning actual state. */ readonly actualState?: AutomaticTuningServerMode; /** Automatic tuning options definition. */ options?: Record; } export declare function automaticTuningServerPropertiesSerializer(item: AutomaticTuningServerProperties): any; export declare function automaticTuningServerPropertiesDeserializer(item: any): AutomaticTuningServerProperties; /** Automatic tuning desired state. */ export type AutomaticTuningServerMode = "Custom" | "Auto" | "Unspecified"; export declare function automaticTuningServerOptionsRecordSerializer(item: Record): Record; export declare function automaticTuningServerOptionsRecordDeserializer(item: Record): Record; /** Automatic tuning properties for individual advisors. */ export interface AutomaticTuningServerOptions { /** Automatic tuning option desired state. */ desiredState?: AutomaticTuningOptionModeDesired; /** Automatic tuning option actual state. */ readonly actualState?: AutomaticTuningOptionModeActual; /** Reason code if desired and actual state are different. */ readonly reasonCode?: number; /** Reason description if desired and actual state are different. */ readonly reasonDesc?: AutomaticTuningServerReason; } export declare function automaticTuningServerOptionsSerializer(item: AutomaticTuningServerOptions): any; export declare function automaticTuningServerOptionsDeserializer(item: any): AutomaticTuningServerOptions; /** Reason description if desired and actual state are different. */ export type AutomaticTuningServerReason = "Default" | "Disabled" | "AutoConfigured"; /** A recoverable managed database resource. */ export interface SqlAgentConfiguration extends ProxyResource { /** The state of Sql Agent. */ state?: SqlAgentConfigurationPropertiesState; } export declare function sqlAgentConfigurationSerializer(item: SqlAgentConfiguration): any; export declare function sqlAgentConfigurationDeserializer(item: any): SqlAgentConfiguration; /** Sql agent configuration properties. */ export interface SqlAgentConfigurationProperties { /** The state of Sql Agent. */ state?: SqlAgentConfigurationPropertiesState; } export declare function sqlAgentConfigurationPropertiesSerializer(item: SqlAgentConfigurationProperties): any; export declare function sqlAgentConfigurationPropertiesDeserializer(item: any): SqlAgentConfigurationProperties; /** The state of Sql Agent. */ export declare enum KnownSqlAgentConfigurationPropertiesState { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled" } /** * The state of Sql Agent. \ * {@link KnownSqlAgentConfigurationPropertiesState} can be used interchangeably with SqlAgentConfigurationPropertiesState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled**: Enabled \ * **Disabled**: Disabled */ export type SqlAgentConfigurationPropertiesState = string; /** A logical database transparent data encryption scan state. */ export interface LogicalDatabaseTransparentDataEncryption extends ProxyResource { /** Specifies the state of the transparent data encryption. */ state?: TransparentDataEncryptionState; /** Specifies the encryption scan state of the transparent data encryption. */ scanState?: TransparentDataEncryptionScanState; } export declare function logicalDatabaseTransparentDataEncryptionSerializer(item: LogicalDatabaseTransparentDataEncryption): any; export declare function logicalDatabaseTransparentDataEncryptionDeserializer(item: any): LogicalDatabaseTransparentDataEncryption; /** Properties of a transparent data encryption scan. */ export interface TransparentDataEncryptionProperties { /** Specifies the state of the transparent data encryption. */ state: TransparentDataEncryptionState; /** Specifies the encryption scan state of the transparent data encryption. */ scanState?: TransparentDataEncryptionScanState; } export declare function transparentDataEncryptionPropertiesSerializer(item: TransparentDataEncryptionProperties): any; export declare function transparentDataEncryptionPropertiesDeserializer(item: any): TransparentDataEncryptionProperties; /** Specifies the encryption scan state of the transparent data encryption. */ export declare enum KnownTransparentDataEncryptionScanState { /** None */ None = "None", /** Resume */ Resume = "Resume", /** Running */ Running = "Running", /** Suspend */ Suspend = "Suspend", /** Aborted */ Aborted = "Aborted", /** Completed */ Completed = "Completed" } /** * Specifies the encryption scan state of the transparent data encryption. \ * {@link KnownTransparentDataEncryptionScanState} can be used interchangeably with TransparentDataEncryptionScanState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **None**: None \ * **Resume**: Resume \ * **Running**: Running \ * **Suspend**: Suspend \ * **Aborted**: Aborted \ * **Completed**: Completed */ export type TransparentDataEncryptionScanState = string; /** The response of a LogicalDatabaseTransparentDataEncryption list operation. */ export interface _LogicalDatabaseTransparentDataEncryptionListResult { /** The LogicalDatabaseTransparentDataEncryption items on this page */ value: LogicalDatabaseTransparentDataEncryption[]; /** The link to the next page of items */ nextLink?: string; } export declare function _logicalDatabaseTransparentDataEncryptionListResultDeserializer(item: any): _LogicalDatabaseTransparentDataEncryptionListResult; export declare function logicalDatabaseTransparentDataEncryptionArraySerializer(result: Array): any[]; export declare function logicalDatabaseTransparentDataEncryptionArrayDeserializer(result: Array): any[]; /** The location capability. */ export interface LocationCapabilities { /** The location name. */ readonly name?: string; /** The list of supported server versions. */ readonly supportedServerVersions?: ServerVersionCapability[]; /** The list of supported managed instance versions. */ readonly supportedManagedInstanceVersions?: ManagedInstanceVersionCapability[]; /** The list of supported job agent versions. */ readonly supportedJobAgentVersions?: JobAgentVersionCapability[]; /** Whether or not the subscription is allowed to provision zone resilient resources. */ readonly isZoneResilientProvisioningAllowed?: boolean; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function locationCapabilitiesDeserializer(item: any): LocationCapabilities; export declare function serverVersionCapabilityArrayDeserializer(result: Array): any[]; /** The server capability */ export interface ServerVersionCapability { /** The server version name. */ readonly name?: string; /** The list of supported database editions. */ readonly supportedEditions?: EditionCapability[]; /** The list of supported elastic pool editions. */ readonly supportedElasticPoolEditions?: ElasticPoolEditionCapability[]; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function serverVersionCapabilityDeserializer(item: any): ServerVersionCapability; export declare function editionCapabilityArrayDeserializer(result: Array): any[]; /** The edition capability. */ export interface EditionCapability { /** The database edition name. */ readonly name?: string; /** The list of supported service objectives for the edition. */ readonly supportedServiceLevelObjectives?: ServiceObjectiveCapability[]; /** Whether or not zone redundancy is supported for the edition. */ readonly zoneRedundant?: boolean; /** The read scale capability for the edition. */ readonly readScale?: ReadScaleCapability; /** The list of supported storage capabilities for this edition */ readonly supportedStorageCapabilities?: StorageCapability[]; /** Whether or not zone pinning is supported for the edition. */ readonly zonePinning?: boolean; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function editionCapabilityDeserializer(item: any): EditionCapability; export declare function serviceObjectiveCapabilityArrayDeserializer(result: Array): any[]; /** The service objectives capability. */ export interface ServiceObjectiveCapability { /** The unique ID of the service objective. */ readonly id?: string; /** The service objective name. */ readonly name?: string; /** The list of supported maximum database sizes. */ readonly supportedMaxSizes?: MaxSizeRangeCapability[]; /** The performance level. */ readonly performanceLevel?: PerformanceLevelCapability; /** The sku. */ readonly sku?: Sku; /** List of supported license types. */ readonly supportedLicenseTypes?: LicenseTypeCapability[]; /** The included (free) max size. */ readonly includedMaxSize?: MaxSizeCapability; /** Whether or not zone redundancy is supported for the service objective. */ readonly zoneRedundant?: boolean; /** Supported time range for auto pause delay */ readonly supportedAutoPauseDelay?: AutoPauseDelayTimeRange; /** List of supported min capacities */ readonly supportedMinCapacities?: MinCapacityCapability[]; /** The compute model */ readonly computeModel?: string; /** List of supported maintenance configurations */ readonly supportedMaintenanceConfigurations?: MaintenanceConfigurationCapability[]; /** Whether or not zone pinning is supported. */ readonly zonePinning?: boolean; /** List of supported availability zones */ readonly supportedZones?: ZonePinningCapability[]; /** List of supported free limit exhaustion behaviors */ readonly supportedFreeLimitExhaustionBehaviors?: FreeLimitExhaustionBehaviorCapability[]; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function serviceObjectiveCapabilityDeserializer(item: any): ServiceObjectiveCapability; export declare function maxSizeRangeCapabilityArrayDeserializer(result: Array): any[]; /** The maximum size range capability. */ export interface MaxSizeRangeCapability { /** Minimum value. */ readonly minValue?: MaxSizeCapability; /** Maximum value. */ readonly maxValue?: MaxSizeCapability; /** Scale/step size for discrete values between the minimum value and the maximum value. */ readonly scaleSize?: MaxSizeCapability; /** Size of transaction log. */ readonly logSize?: LogSizeCapability; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function maxSizeRangeCapabilityDeserializer(item: any): MaxSizeRangeCapability; /** The maximum size capability. */ export interface MaxSizeCapability { /** The maximum size limit (see 'unit' for the units). */ readonly limit?: number; /** The units that the limit is expressed in. */ readonly unit?: MaxSizeUnit; } export declare function maxSizeCapabilityDeserializer(item: any): MaxSizeCapability; /** The units that the limit is expressed in. */ export declare enum KnownMaxSizeUnit { /** Megabytes */ Megabytes = "Megabytes", /** Gigabytes */ Gigabytes = "Gigabytes", /** Terabytes */ Terabytes = "Terabytes", /** Petabytes */ Petabytes = "Petabytes" } /** * The units that the limit is expressed in. \ * {@link KnownMaxSizeUnit} can be used interchangeably with MaxSizeUnit, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Megabytes**: Megabytes \ * **Gigabytes**: Gigabytes \ * **Terabytes**: Terabytes \ * **Petabytes**: Petabytes */ export type MaxSizeUnit = string; /** The log size capability. */ export interface LogSizeCapability { /** The log size limit (see 'unit' for the units). */ readonly limit?: number; /** The units that the limit is expressed in. */ readonly unit?: LogSizeUnit; } export declare function logSizeCapabilityDeserializer(item: any): LogSizeCapability; /** The units that the limit is expressed in. */ export declare enum KnownLogSizeUnit { /** Megabytes */ Megabytes = "Megabytes", /** Gigabytes */ Gigabytes = "Gigabytes", /** Terabytes */ Terabytes = "Terabytes", /** Petabytes */ Petabytes = "Petabytes", /** Percent */ Percent = "Percent" } /** * The units that the limit is expressed in. \ * {@link KnownLogSizeUnit} can be used interchangeably with LogSizeUnit, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Megabytes**: Megabytes \ * **Gigabytes**: Gigabytes \ * **Terabytes**: Terabytes \ * **Petabytes**: Petabytes \ * **Percent**: Percent */ export type LogSizeUnit = string; /** The status of the capability. */ export type CapabilityStatus = "Visible" | "Available" | "Default" | "Disabled"; /** The performance level capability. */ export interface PerformanceLevelCapability { /** Performance level value. */ readonly value?: number; /** Unit type used to measure performance level. */ readonly unit?: PerformanceLevelUnit; } export declare function performanceLevelCapabilityDeserializer(item: any): PerformanceLevelCapability; /** Unit type used to measure performance level. */ export declare enum KnownPerformanceLevelUnit { /** DTU */ DTU = "DTU", /** VCores */ VCores = "VCores" } /** * Unit type used to measure performance level. \ * {@link KnownPerformanceLevelUnit} can be used interchangeably with PerformanceLevelUnit, * this enum contains the known values that the service supports. * ### Known values supported by the service * **DTU**: DTU \ * **VCores**: VCores */ export type PerformanceLevelUnit = string; export declare function licenseTypeCapabilityArrayDeserializer(result: Array): any[]; /** The license type capability */ export interface LicenseTypeCapability { /** License type identifier. */ readonly name?: string; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function licenseTypeCapabilityDeserializer(item: any): LicenseTypeCapability; /** Supported auto pause delay time range */ export interface AutoPauseDelayTimeRange { /** Minimum value */ readonly minValue?: number; /** Maximum value */ readonly maxValue?: number; /** Step value for discrete values between the minimum value and the maximum value. */ readonly stepSize?: number; /** Default value is no value is provided */ readonly default?: number; /** Unit of time that delay is expressed in */ readonly unit?: PauseDelayTimeUnit; /** Value that is used to not pause (infinite delay before pause) */ readonly doNotPauseValue?: number; } export declare function autoPauseDelayTimeRangeDeserializer(item: any): AutoPauseDelayTimeRange; /** Unit of time that delay is expressed in */ export declare enum KnownPauseDelayTimeUnit { /** Minutes */ Minutes = "Minutes" } /** * Unit of time that delay is expressed in \ * {@link KnownPauseDelayTimeUnit} can be used interchangeably with PauseDelayTimeUnit, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Minutes**: Minutes */ export type PauseDelayTimeUnit = string; export declare function minCapacityCapabilityArrayDeserializer(result: Array): any[]; /** The min capacity capability */ export interface MinCapacityCapability { /** Min capacity value */ readonly value?: number; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function minCapacityCapabilityDeserializer(item: any): MinCapacityCapability; export declare function maintenanceConfigurationCapabilityArrayDeserializer(result: Array): any[]; /** The maintenance configuration capability */ export interface MaintenanceConfigurationCapability { /** Maintenance configuration name */ readonly name?: string; /** Whether or not zone redundancy is supported for the maintenance configuration. */ readonly zoneRedundant?: boolean; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function maintenanceConfigurationCapabilityDeserializer(item: any): MaintenanceConfigurationCapability; export declare function zonePinningCapabilityArrayDeserializer(result: Array): any[]; /** The zone pinning capability */ export interface ZonePinningCapability { /** Name of the availability zone */ readonly availabilityZone?: string; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function zonePinningCapabilityDeserializer(item: any): ZonePinningCapability; export declare function freeLimitExhaustionBehaviorCapabilityArrayDeserializer(result: Array): any[]; /** Supported free limit exhaustion behavior options */ export interface FreeLimitExhaustionBehaviorCapability { /** Free limit exhaustion behavior type */ readonly exhaustionBehaviorType?: FreeLimitExhaustionBehavior; /** Free limit exhaustion behavior status */ readonly status?: CapabilityStatus; } export declare function freeLimitExhaustionBehaviorCapabilityDeserializer(item: any): FreeLimitExhaustionBehaviorCapability; /** The read scale capability. */ export interface ReadScaleCapability { /** The maximum number of read scale replicas. */ readonly maxNumberOfReplicas?: number; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function readScaleCapabilityDeserializer(item: any): ReadScaleCapability; export declare function storageCapabilityArrayDeserializer(result: Array): any[]; /** The storage account type capability. */ export interface StorageCapability { /** The storage account type for the database's backups. */ readonly storageAccountType?: StorageCapabilityStorageAccountType; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function storageCapabilityDeserializer(item: any): StorageCapability; /** The storage account type for the database's backups. */ export declare enum KnownStorageCapabilityStorageAccountType { /** GRS */ GRS = "GRS", /** LRS */ LRS = "LRS", /** ZRS */ ZRS = "ZRS", /** GZRS */ Gzrs = "GZRS" } /** * The storage account type for the database's backups. \ * {@link KnownStorageCapabilityStorageAccountType} can be used interchangeably with StorageCapabilityStorageAccountType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **GRS**: GRS \ * **LRS**: LRS \ * **ZRS**: ZRS \ * **GZRS**: GZRS */ export type StorageCapabilityStorageAccountType = string; export declare function elasticPoolEditionCapabilityArrayDeserializer(result: Array): any[]; /** The elastic pool edition capability. */ export interface ElasticPoolEditionCapability { /** The elastic pool edition name. */ readonly name?: string; /** The list of supported elastic pool DTU levels for the edition. */ readonly supportedElasticPoolPerformanceLevels?: ElasticPoolPerformanceLevelCapability[]; /** Whether or not zone redundancy is supported for the edition. */ readonly zoneRedundant?: boolean; /** Whether or not zone pinning is supported for the edition. */ readonly zonePinning?: boolean; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function elasticPoolEditionCapabilityDeserializer(item: any): ElasticPoolEditionCapability; export declare function elasticPoolPerformanceLevelCapabilityArrayDeserializer(result: Array): any[]; /** The Elastic Pool performance level capability. */ export interface ElasticPoolPerformanceLevelCapability { /** The performance level for the pool. */ readonly performanceLevel?: PerformanceLevelCapability; /** The sku. */ readonly sku?: Sku; /** List of supported license types. */ readonly supportedLicenseTypes?: LicenseTypeCapability[]; /** The maximum number of databases supported. */ readonly maxDatabaseCount?: number; /** The included (free) max size for this performance level. */ readonly includedMaxSize?: MaxSizeCapability; /** The list of supported max sizes. */ readonly supportedMaxSizes?: MaxSizeRangeCapability[]; /** The list of supported per database max sizes. */ readonly supportedPerDatabaseMaxSizes?: MaxSizeRangeCapability[]; /** The list of supported per database max performance levels. */ readonly supportedPerDatabaseMaxPerformanceLevels?: ElasticPoolPerDatabaseMaxPerformanceLevelCapability[]; /** Whether or not zone redundancy is supported for the performance level. */ readonly zoneRedundant?: boolean; /** List of supported maintenance configurations */ readonly supportedMaintenanceConfigurations?: MaintenanceConfigurationCapability[]; /** List of supported min capacities */ readonly supportedMinCapacities?: MinCapacityCapability[]; /** Supported time range for auto pause delay */ readonly supportedAutoPauseDelay?: AutoPauseDelayTimeRange; /** Supported time range for per database auto pause delay */ readonly supportedPerDatabaseAutoPauseDelay?: PerDatabaseAutoPauseDelayTimeRange; /** List of supported availability zones */ readonly supportedZones?: ZonePinningCapability[]; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function elasticPoolPerformanceLevelCapabilityDeserializer(item: any): ElasticPoolPerformanceLevelCapability; export declare function elasticPoolPerDatabaseMaxPerformanceLevelCapabilityArrayDeserializer(result: Array): any[]; /** The max per-database performance level capability. */ export interface ElasticPoolPerDatabaseMaxPerformanceLevelCapability { /** The maximum performance level per database. */ readonly limit?: number; /** Unit type used to measure performance level. */ readonly unit?: PerformanceLevelUnit; /** The list of supported min database performance levels. */ readonly supportedPerDatabaseMinPerformanceLevels?: ElasticPoolPerDatabaseMinPerformanceLevelCapability[]; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function elasticPoolPerDatabaseMaxPerformanceLevelCapabilityDeserializer(item: any): ElasticPoolPerDatabaseMaxPerformanceLevelCapability; export declare function elasticPoolPerDatabaseMinPerformanceLevelCapabilityArrayDeserializer(result: Array): any[]; /** The minimum per-database performance level capability. */ export interface ElasticPoolPerDatabaseMinPerformanceLevelCapability { /** The minimum performance level per database. */ readonly limit?: number; /** Unit type used to measure performance level. */ readonly unit?: PerformanceLevelUnit; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function elasticPoolPerDatabaseMinPerformanceLevelCapabilityDeserializer(item: any): ElasticPoolPerDatabaseMinPerformanceLevelCapability; /** Supported auto pause delay time range */ export interface PerDatabaseAutoPauseDelayTimeRange { /** Minimum value */ readonly minValue?: number; /** Maximum value */ readonly maxValue?: number; /** Step value for discrete values between the minimum value and the maximum value. */ readonly stepSize?: number; /** Default value if no value is provided */ readonly default?: number; /** Unit of time that delay is expressed in */ readonly unit?: PauseDelayTimeUnit; /** Value that is used to not pause (infinite delay before pause) */ readonly doNotPauseValue?: number; } export declare function perDatabaseAutoPauseDelayTimeRangeDeserializer(item: any): PerDatabaseAutoPauseDelayTimeRange; export declare function managedInstanceVersionCapabilityArrayDeserializer(result: Array): any[]; /** The managed instance capability */ export interface ManagedInstanceVersionCapability { /** The server version name. */ readonly name?: string; /** The list of supported managed instance editions. */ readonly supportedEditions?: ManagedInstanceEditionCapability[]; /** The list of supported instance pool editions. */ readonly supportedInstancePoolEditions?: InstancePoolEditionCapability[]; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function managedInstanceVersionCapabilityDeserializer(item: any): ManagedInstanceVersionCapability; export declare function managedInstanceEditionCapabilityArrayDeserializer(result: Array): any[]; /** The managed server capability */ export interface ManagedInstanceEditionCapability { /** The managed server version name. */ readonly name?: string; /** Whether or not this is a GPv2 variant of General Purpose edition. */ readonly isGeneralPurposeV2?: boolean; /** The supported families. */ readonly supportedFamilies?: ManagedInstanceFamilyCapability[]; /** The list of supported storage capabilities for this edition */ readonly supportedStorageCapabilities?: StorageCapability[]; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function managedInstanceEditionCapabilityDeserializer(item: any): ManagedInstanceEditionCapability; export declare function managedInstanceFamilyCapabilityArrayDeserializer(result: Array): any[]; /** The managed server family capability. */ export interface ManagedInstanceFamilyCapability { /** Family name. */ readonly name?: string; /** SKU name. */ readonly sku?: string; /** Whether or not zone redundancy is supported for the family. */ readonly zoneRedundant?: boolean; /** List of supported license types. */ readonly supportedLicenseTypes?: LicenseTypeCapability[]; /** List of supported virtual cores values. */ readonly supportedVcoresValues?: ManagedInstanceVcoresCapability[]; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function managedInstanceFamilyCapabilityDeserializer(item: any): ManagedInstanceFamilyCapability; export declare function managedInstanceVcoresCapabilityArrayDeserializer(result: Array): any[]; /** The managed instance virtual cores capability. */ export interface ManagedInstanceVcoresCapability { /** The virtual cores identifier. */ readonly name?: string; /** The virtual cores value. */ readonly value?: number; /** Supported memory sizes in GB. */ readonly supportedMemorySizesInGB?: MaxLimitRangeCapability; /** Memory limit MB ranges. */ readonly supportedMemoryLimitsMB?: MaxLimitRangeCapability; /** Included size. */ readonly includedMaxSize?: MaxSizeCapability; /** Storage size ranges. */ readonly supportedStorageSizes?: MaxSizeRangeCapability[]; /** Included storage IOps. */ readonly includedStorageIOps?: number; /** Storage IOps ranges. */ readonly supportedStorageIOps?: MaxLimitRangeCapability; /** Min IOps override factor per selected storage GB. */ readonly iopsMinValueOverrideFactorPerSelectedStorageGB?: number; /** Included IOps override factor per selected storage GB. */ readonly iopsIncludedValueOverrideFactorPerSelectedStorageGB?: number; /** Included storage throughput MBps. */ readonly includedStorageThroughputMBps?: number; /** Storage throughput MBps ranges. */ readonly supportedStorageThroughputMBps?: MaxLimitRangeCapability; /** Min throughput MBps override factor per selected storage GB. */ readonly throughputMBpsMinValueOverrideFactorPerSelectedStorageGB?: number; /** Included throughput MBps override factor per selected storage GB. */ readonly throughputMBpsIncludedValueOverrideFactorPerSelectedStorageGB?: number; /** True if this service objective is supported for managed instances in an instance pool. */ readonly instancePoolSupported?: boolean; /** True if this service objective is supported for standalone managed instances. */ readonly standaloneSupported?: boolean; /** List of supported maintenance configurations */ readonly supportedMaintenanceConfigurations?: ManagedInstanceMaintenanceConfigurationCapability[]; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function managedInstanceVcoresCapabilityDeserializer(item: any): ManagedInstanceVcoresCapability; /** The maximum limit range capability. */ export interface MaxLimitRangeCapability { /** Minimum value. */ readonly minValue?: number; /** Maximum value. */ readonly maxValue?: number; /** Scale/step size for discrete values between the minimum value and the maximum value. */ readonly scaleSize?: number; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function maxLimitRangeCapabilityDeserializer(item: any): MaxLimitRangeCapability; export declare function managedInstanceMaintenanceConfigurationCapabilityArrayDeserializer(result: Array): any[]; /** The maintenance configuration capability */ export interface ManagedInstanceMaintenanceConfigurationCapability { /** Maintenance configuration name */ readonly name?: string; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function managedInstanceMaintenanceConfigurationCapabilityDeserializer(item: any): ManagedInstanceMaintenanceConfigurationCapability; export declare function instancePoolEditionCapabilityArrayDeserializer(result: Array): any[]; /** The instance pool capability */ export interface InstancePoolEditionCapability { /** The instance pool version name. */ readonly name?: string; /** The supported families. */ readonly supportedFamilies?: InstancePoolFamilyCapability[]; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function instancePoolEditionCapabilityDeserializer(item: any): InstancePoolEditionCapability; export declare function instancePoolFamilyCapabilityArrayDeserializer(result: Array): any[]; /** The instance pool family capability. */ export interface InstancePoolFamilyCapability { /** Family name. */ readonly name?: string; /** List of supported license types. */ readonly supportedLicenseTypes?: LicenseTypeCapability[]; /** List of supported virtual cores values. */ readonly supportedVcoresValues?: InstancePoolVcoresCapability[]; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function instancePoolFamilyCapabilityDeserializer(item: any): InstancePoolFamilyCapability; export declare function instancePoolVcoresCapabilityArrayDeserializer(result: Array): any[]; /** The managed instance virtual cores capability. */ export interface InstancePoolVcoresCapability { /** The virtual cores identifier. */ readonly name?: string; /** The virtual cores value. */ readonly value?: number; /** Storage limit. */ readonly storageLimit?: MaxSizeCapability; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function instancePoolVcoresCapabilityDeserializer(item: any): InstancePoolVcoresCapability; export declare function jobAgentVersionCapabilityArrayDeserializer(result: Array): any[]; /** The job agent version capability. */ export interface JobAgentVersionCapability { /** The job agent version name. */ readonly name?: string; /** The list of supported editions. */ readonly supportedEditions?: JobAgentEditionCapability[]; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function jobAgentVersionCapabilityDeserializer(item: any): JobAgentVersionCapability; export declare function jobAgentEditionCapabilityArrayDeserializer(result: Array): any[]; /** The job agent edition capability. */ export interface JobAgentEditionCapability { /** The job agent edition name. */ readonly name?: string; /** The list of supported service level objectives for the edition. */ readonly supportedServiceLevelObjectives?: JobAgentServiceLevelObjectiveCapability[]; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function jobAgentEditionCapabilityDeserializer(item: any): JobAgentEditionCapability; export declare function jobAgentServiceLevelObjectiveCapabilityArrayDeserializer(result: Array): any[]; /** The job agent service level objective capability. */ export interface JobAgentServiceLevelObjectiveCapability { /** The service objective name. */ readonly name?: string; /** The sku. */ readonly sku?: Sku; /** The status of the capability. */ readonly status?: CapabilityStatus; /** The reason for the capability not being available. */ reason?: string; } export declare function jobAgentServiceLevelObjectiveCapabilityDeserializer(item: any): JobAgentServiceLevelObjectiveCapability; /** Type of SensitivityLabelSource */ export type SensitivityLabelSource = "current" | "recommended"; /** Known values of {@link ReplicaType} that the service accepts. */ export declare enum KnownReplicaType { /** Primary */ Primary = "Primary", /** ReadableSecondary */ ReadableSecondary = "ReadableSecondary" } /** Type of ReplicaType */ export type ReplicaType = string; /** Type of VulnerabilityAssessmentPolicyBaselineName */ export type VulnerabilityAssessmentPolicyBaselineName = "master" | "default"; /** Known values of {@link AggregationFunctionType} that the service accepts. */ export declare enum KnownAggregationFunctionType { /** avg */ Avg = "avg", /** min */ Min = "min", /** max */ Max = "max", /** stdev */ Stdev = "stdev", /** sum */ Sum = "sum" } /** Type of AggregationFunctionType */ export type AggregationFunctionType = string; /** Known values of {@link MetricType} that the service accepts. */ export declare enum KnownMetricType { /** cpu */ Cpu = "cpu", /** io */ Io = "io", /** logIo */ LogIo = "logIo", /** duration */ Duration = "duration", /** dtu */ Dtu = "dtu" } /** Type of MetricType */ export type MetricType = string; /** Known values of {@link DatabaseState} that the service accepts. */ export declare enum KnownDatabaseState { /** All */ All = "All", /** Live */ Live = "Live", /** Deleted */ Deleted = "Deleted" } /** Type of DatabaseState */ export type DatabaseState = string; /** Known values of {@link SyncGroupsType} that the service accepts. */ export declare enum KnownSyncGroupsType { /** All */ All = "All", /** Error */ Error = "Error", /** Warning */ Warning = "Warning", /** Success */ Success = "Success" } /** Type of SyncGroupsType */ export type SyncGroupsType = string; /** Known values of {@link CapabilityGroup} that the service accepts. */ export declare enum KnownCapabilityGroup { /** supportedEditions */ SupportedEditions = "supportedEditions", /** supportedElasticPoolEditions */ SupportedElasticPoolEditions = "supportedElasticPoolEditions", /** supportedManagedInstanceVersions */ SupportedManagedInstanceVersions = "supportedManagedInstanceVersions", /** supportedInstancePoolEditions */ SupportedInstancePoolEditions = "supportedInstancePoolEditions", /** supportedManagedInstanceEditions */ SupportedManagedInstanceEditions = "supportedManagedInstanceEditions", /** supportedJobAgentVersions */ SupportedJobAgentVersions = "supportedJobAgentVersions" } /** Type of CapabilityGroup */ export type CapabilityGroup = string; /** The available API versions. */ export declare enum KnownVersions { /** The 2025-01-01 API version. */ V20250101 = "2025-01-01" } export declare function advisorArraySerializer(result: Array): any[]; export declare function advisorArrayDeserializer(result: Array): any[]; export declare function _backupShortTermRetentionPolicyPropertiesSerializer(item: BackupShortTermRetentionPolicy): any; export declare function _backupShortTermRetentionPolicyPropertiesDeserializer(item: any): { retentionDays: any; diffBackupIntervalInHours: any; }; export declare function _databaseColumnPropertiesDeserializer(item: any): { columnType: any; temporalType: any; memoryOptimized: any; isComputed: any; }; export declare function _restorePointPropertiesDeserializer(item: any): { restorePointType: any; earliestRestoreDate: any; restorePointCreationDate: any; restorePointLabel: any; }; export declare function _sensitivityLabelPropertiesSerializer(item: SensitivityLabel): any; export declare function _sensitivityLabelPropertiesDeserializer(item: any): { schemaName: any; tableName: any; columnName: any; labelName: any; labelId: any; informationType: any; informationTypeId: any; isDisabled: any; rank: any; clientClassificationSource: any; }; export declare function _sensitivityLabelUpdatePropertiesSerializer(item: SensitivityLabelUpdate): any; export declare function _databasePropertiesSerializer(item: Database): any; export declare function _databasePropertiesDeserializer(item: any): { createMode: any; collation: any; maxSizeBytes: any; sampleName: any; elasticPoolId: any; sourceDatabaseId: any; status: any; databaseId: any; creationDate: any; currentServiceObjectiveName: any; requestedServiceObjectiveName: any; defaultSecondaryLocation: any; failoverGroupId: any; restorePointInTime: any; sourceDatabaseDeletionDate: any; recoveryServicesRecoveryPointId: any; longTermRetentionBackupResourceId: any; recoverableDatabaseId: any; restorableDroppedDatabaseId: any; catalogCollation: any; zoneRedundant: any; licenseType: any; maxLogSizeBytes: any; earliestRestoreDate: any; readScale: any; highAvailabilityReplicaCount: any; secondaryType: any; currentSku: any; autoPauseDelay: any; currentBackupStorageRedundancy: any; requestedBackupStorageRedundancy: any; minCapacity: any; pausedDate: any; resumedDate: any; maintenanceConfigurationId: any; isLedgerOn: any; isInfraEncryptionEnabled: any; federatedClientId: any; keys: any; encryptionProtector: any; preferredEnclaveType: any; useFreeLimit: any; freeLimitExhaustionBehavior: any; sourceResourceId: any; manualCutover: any; performCutover: any; availabilityZone: any; encryptionProtectorAutoRotation: any; }; export declare function _databaseUpdatePropertiesSerializer(item: DatabaseUpdate): any; export declare function _importExportOperationResultPropertiesDeserializer(item: any): { requestId: any; requestType: any; queuedTime: any; lastModifiedTime: any; blobUri: any; serverName: any; databaseName: any; status: any; errorMessage: any; privateEndpointConnections: any; }; export declare function _firewallRulePropertiesSerializer(item: FirewallRule): any; export declare function _firewallRulePropertiesDeserializer(item: any): { startIpAddress: any; endIpAddress: any; }; export declare function _replicationLinkPropertiesSerializer(item: ReplicationLink): any; export declare function _replicationLinkPropertiesDeserializer(item: any): { partnerServer: any; partnerDatabase: any; partnerDatabaseId: any; partnerLocation: any; role: any; partnerRole: any; replicationMode: any; startTime: any; percentComplete: any; replicationState: any; isTerminationAllowed: any; linkType: any; }; export declare function _replicationLinkUpdatePropertiesSerializer(item: ReplicationLinkUpdate): any; export declare function _serverPropertiesSerializer(item: Server): any; export declare function _serverPropertiesDeserializer(item: any): { administratorLogin: any; administratorLoginPassword: any; version: any; state: any; fullyQualifiedDomainName: any; privateEndpointConnections: any; minimalTlsVersion: any; publicNetworkAccess: any; workspaceFeature: any; primaryUserAssignedIdentityId: any; federatedClientId: any; keyId: any; administrators: any; restrictOutboundNetworkAccess: any; isIPv6Enabled: any; externalGovernanceStatus: any; retentionDays: any; createMode: any; }; export declare function _serverUpdatePropertiesSerializer(item: ServerUpdate): any; export declare function _serverUpdatePropertiesDeserializer(item: any): { administratorLogin: any; administratorLoginPassword: any; version: any; state: any; fullyQualifiedDomainName: any; privateEndpointConnections: any; minimalTlsVersion: any; publicNetworkAccess: any; workspaceFeature: any; primaryUserAssignedIdentityId: any; federatedClientId: any; keyId: any; administrators: any; restrictOutboundNetworkAccess: any; isIPv6Enabled: any; externalGovernanceStatus: any; retentionDays: any; createMode: any; }; export declare function _refreshExternalGovernanceStatusOperationResultPropertiesDeserializer(item: any): { requestId: any; requestType: any; queuedTime: any; serverName: any; status: any; errorMessage: any; }; export declare function _serverBlobAuditingPolicyPropertiesSerializer(item: ServerBlobAuditingPolicy): any; export declare function _serverBlobAuditingPolicyPropertiesDeserializer(item: any): { isDevopsAuditEnabled: any; retentionDays: any; auditActionsAndGroups: any; isStorageSecondaryKeyInUse: any; isAzureMonitorTargetEnabled: any; queueDelayMs: any; isManagedIdentityInUse: any; state: any; storageEndpoint: any; storageAccountAccessKey: any; storageAccountSubscriptionId: any; }; export declare function _databaseBlobAuditingPolicyPropertiesSerializer(item: DatabaseBlobAuditingPolicy): any; export declare function _databaseBlobAuditingPolicyPropertiesDeserializer(item: any): { retentionDays: any; auditActionsAndGroups: any; isStorageSecondaryKeyInUse: any; isAzureMonitorTargetEnabled: any; queueDelayMs: any; isManagedIdentityInUse: any; state: any; storageEndpoint: any; storageAccountAccessKey: any; storageAccountSubscriptionId: any; }; export declare function _extendedDatabaseBlobAuditingPolicyPropertiesSerializer(item: ExtendedDatabaseBlobAuditingPolicy): any; export declare function _extendedDatabaseBlobAuditingPolicyPropertiesDeserializer(item: any): { predicateExpression: any; retentionDays: any; auditActionsAndGroups: any; isStorageSecondaryKeyInUse: any; isAzureMonitorTargetEnabled: any; queueDelayMs: any; isManagedIdentityInUse: any; state: any; storageEndpoint: any; storageAccountAccessKey: any; storageAccountSubscriptionId: any; }; export declare function _extendedServerBlobAuditingPolicyPropertiesSerializer(item: ExtendedServerBlobAuditingPolicy): any; export declare function _extendedServerBlobAuditingPolicyPropertiesDeserializer(item: any): { isDevopsAuditEnabled: any; predicateExpression: any; retentionDays: any; auditActionsAndGroups: any; isStorageSecondaryKeyInUse: any; isAzureMonitorTargetEnabled: any; queueDelayMs: any; isManagedIdentityInUse: any; state: any; storageEndpoint: any; storageAccountAccessKey: any; storageAccountSubscriptionId: any; }; export declare function _recommendedActionPropertiesSerializer(item: RecommendedAction): any; export declare function _recommendedActionPropertiesDeserializer(item: any): { recommendationReason: any; validSince: any; lastRefresh: any; state: any; isExecutableAction: any; isRevertableAction: any; isArchivedAction: any; executeActionStartTime: any; executeActionDuration: any; revertActionStartTime: any; revertActionDuration: any; executeActionInitiatedBy: any; executeActionInitiatedTime: any; revertActionInitiatedBy: any; revertActionInitiatedTime: any; score: any; implementationDetails: any; errorDetails: any; estimatedImpact: any; observedImpact: any; timeSeries: any; linkedObjects: any; details: any; }; export declare function _advisorPropertiesSerializer(item: Advisor): any; export declare function _advisorPropertiesDeserializer(item: any): { advisorStatus: any; autoExecuteStatus: any; autoExecuteStatusInheritedFrom: any; recommendationsStatus: any; lastChecked: any; recommendedActions: any; }; export declare function _databaseTablePropertiesDeserializer(item: any): { temporalType: any; memoryOptimized: any; }; export declare function _databaseSecurityAlertPolicyPropertiesSerializer(item: DatabaseSecurityAlertPolicy): any; export declare function _databaseSecurityAlertPolicyPropertiesDeserializer(item: any): { state: any; disabledAlerts: any; emailAddresses: any; emailAccountAdmins: any; storageEndpoint: any; storageAccountAccessKey: any; retentionDays: any; creationTime: any; }; export declare function _databaseSqlVulnerabilityAssessmentBaselineSetPropertiesDeserializer(item: any): { results: any; }; export declare function _sqlVulnerabilityAssessmentPropertiesSerializer(item: SqlVulnerabilityAssessment): any; export declare function _sqlVulnerabilityAssessmentPropertiesDeserializer(item: any): { state: any; }; export declare function _databaseSqlVulnerabilityAssessmentRuleBaselinePropertiesDeserializer(item: any): { results: any; }; export declare function _databaseSqlVulnerabilityAssessmentRuleBaselineInputPropertiesSerializer(item: DatabaseSqlVulnerabilityAssessmentRuleBaselineInput): any; export declare function _sqlVulnerabilityAssessmentScanResultsPropertiesDeserializer(item: any): { ruleId: any; status: any; errorMessage: any; isTrimmed: any; queryResults: any; remediation: any; baselineAdjustedResult: any; ruleMetadata: any; }; export declare function _sqlVulnerabilityAssessmentScanRecordPropertiesDeserializer(item: any): { scanId: any; triggerType: any; state: any; startTime: any; endTime: any; errors: any; server: any; database: any; sqlVersion: any; highSeverityFailedRulesCount: any; mediumSeverityFailedRulesCount: any; lowSeverityFailedRulesCount: any; totalPassedRulesCount: any; totalFailedRulesCount: any; totalRulesCount: any; isBaselineApplied: any; lastScanTime: any; }; export declare function _databaseVulnerabilityAssessmentRuleBaselinePropertiesSerializer(item: DatabaseVulnerabilityAssessmentRuleBaseline): any; export declare function _databaseVulnerabilityAssessmentRuleBaselinePropertiesDeserializer(item: any): { baselineResults: any; }; export declare function _databaseVulnerabilityAssessmentPropertiesSerializer(item: DatabaseVulnerabilityAssessment): any; export declare function _databaseVulnerabilityAssessmentPropertiesDeserializer(item: any): { storageContainerPath: any; storageContainerSasKey: any; storageAccountAccessKey: any; recurringScans: any; }; export declare function _vulnerabilityAssessmentScanRecordPropertiesDeserializer(item: any): { scanId: any; triggerType: any; state: any; startTime: any; endTime: any; errors: any; storageContainerPath: any; numberOfFailedSecurityChecks: any; }; export declare function _databaseVulnerabilityAssessmentScansExportPropertiesDeserializer(item: any): { exportedReportLocation: any; }; export declare function _dataMaskingPolicyPropertiesSerializer(item: DataMaskingPolicy): any; export declare function _dataMaskingPolicyPropertiesDeserializer(item: any): { dataMaskingState: any; exemptPrincipals: any; applicationPrincipals: any; maskingLevel: any; }; export declare function _deletedServerPropertiesDeserializer(item: any): { version: any; deletionTime: any; originalId: any; fullyQualifiedDomainName: any; }; export declare function _distributedAvailabilityGroupPropertiesSerializer(item: DistributedAvailabilityGroup): any; export declare function _distributedAvailabilityGroupPropertiesDeserializer(item: any): { distributedAvailabilityGroupName: any; distributedAvailabilityGroupId: any; replicationMode: any; partnerLinkRole: any; partnerAvailabilityGroupName: any; partnerEndpoint: any; instanceLinkRole: any; instanceAvailabilityGroupName: any; failoverMode: any; seedingMode: any; databases: any; }; export declare function _managedDatabasePropertiesSerializer(item: ManagedDatabase): any; export declare function _managedDatabasePropertiesDeserializer(item: any): { collation: any; status: any; creationDate: any; earliestRestorePoint: any; restorePointInTime: any; defaultSecondaryLocation: any; catalogCollation: any; createMode: any; storageContainerUri: any; sourceDatabaseId: any; crossSubscriptionSourceDatabaseId: any; restorableDroppedDatabaseId: any; crossSubscriptionRestorableDroppedDatabaseId: any; storageContainerIdentity: any; storageContainerSasToken: any; failoverGroupId: any; recoverableDatabaseId: any; longTermRetentionBackupResourceId: any; autoCompleteRestore: any; lastBackupName: any; crossSubscriptionTargetManagedInstanceId: any; isLedgerOn: any; extendedAccessibilityInfo: any; }; export declare function _managedDatabaseUpdatePropertiesSerializer(item: ManagedDatabaseUpdate): any; export declare function _managedDatabaseUpdatePropertiesDeserializer(item: any): { collation: any; status: any; creationDate: any; earliestRestorePoint: any; restorePointInTime: any; defaultSecondaryLocation: any; catalogCollation: any; createMode: any; storageContainerUri: any; sourceDatabaseId: any; crossSubscriptionSourceDatabaseId: any; restorableDroppedDatabaseId: any; crossSubscriptionRestorableDroppedDatabaseId: any; storageContainerIdentity: any; storageContainerSasToken: any; failoverGroupId: any; recoverableDatabaseId: any; longTermRetentionBackupResourceId: any; autoCompleteRestore: any; lastBackupName: any; crossSubscriptionTargetManagedInstanceId: any; isLedgerOn: any; extendedAccessibilityInfo: any; }; export declare function _serverTrustGroupPropertiesSerializer(item: ServerTrustGroup): any; export declare function _serverTrustGroupPropertiesDeserializer(item: any): { groupMembers: any; trustScopes: any; }; export declare function _managedInstancePropertiesSerializer(item: ManagedInstance): any; export declare function _managedInstancePropertiesDeserializer(item: any): { provisioningState: any; managedInstanceCreateMode: any; fullyQualifiedDomainName: any; isGeneralPurposeV2: any; administratorLogin: any; administratorLoginPassword: any; subnetId: any; state: any; licenseType: any; hybridSecondaryUsage: any; hybridSecondaryUsageDetected: any; vCores: any; storageSizeInGB: any; storageIOps: any; storageThroughputMBps: any; memorySizeInGB: any; collation: any; dnsZone: any; dnsZonePartner: any; publicDataEndpointEnabled: any; sourceManagedInstanceId: any; restorePointInTime: any; proxyOverride: any; timezoneId: any; instancePoolId: any; maintenanceConfigurationId: any; privateEndpointConnections: any; minimalTlsVersion: any; currentBackupStorageRedundancy: any; requestedBackupStorageRedundancy: any; zoneRedundant: any; primaryUserAssignedIdentityId: any; keyId: any; administrators: any; servicePrincipal: any; virtualClusterId: any; externalGovernanceStatus: any; pricingModel: any; createTime: any; authenticationMetadata: any; databaseFormat: any; requestedLogicalAvailabilityZone: any; }; export declare function _managedInstanceUpdatePropertiesSerializer(item: ManagedInstanceUpdate): any; export declare function _managedInstanceUpdatePropertiesDeserializer(item: any): { provisioningState: any; managedInstanceCreateMode: any; fullyQualifiedDomainName: any; isGeneralPurposeV2: any; administratorLogin: any; administratorLoginPassword: any; subnetId: any; state: any; licenseType: any; hybridSecondaryUsage: any; hybridSecondaryUsageDetected: any; vCores: any; storageSizeInGB: any; storageIOps: any; storageThroughputMBps: any; memorySizeInGB: any; collation: any; dnsZone: any; dnsZonePartner: any; publicDataEndpointEnabled: any; sourceManagedInstanceId: any; restorePointInTime: any; proxyOverride: any; timezoneId: any; instancePoolId: any; maintenanceConfigurationId: any; privateEndpointConnections: any; minimalTlsVersion: any; currentBackupStorageRedundancy: any; requestedBackupStorageRedundancy: any; zoneRedundant: any; primaryUserAssignedIdentityId: any; keyId: any; administrators: any; servicePrincipal: any; virtualClusterId: any; externalGovernanceStatus: any; pricingModel: any; createTime: any; authenticationMetadata: any; databaseFormat: any; requestedLogicalAvailabilityZone: any; }; export declare function _refreshExternalGovernanceStatusOperationResultMIPropertiesDeserializer(item: any): { requestId: any; requestType: any; queuedTime: any; managedInstanceName: any; status: any; errorMessage: any; }; export declare function _elasticPoolPropertiesSerializer(item: ElasticPool): any; export declare function _elasticPoolPropertiesDeserializer(item: any): { state: any; creationDate: any; maxSizeBytes: any; minCapacity: any; perDatabaseSettings: any; zoneRedundant: any; licenseType: any; maintenanceConfigurationId: any; highAvailabilityReplicaCount: any; autoPauseDelay: any; preferredEnclaveType: any; availabilityZone: any; }; export declare function _elasticPoolUpdatePropertiesSerializer(item: ElasticPoolUpdate): any; export declare function _encryptionProtectorPropertiesSerializer(item: EncryptionProtector): any; export declare function _encryptionProtectorPropertiesDeserializer(item: any): { subregion: any; serverKeyName: any; serverKeyType: any; uri: any; thumbprint: any; autoRotationEnabled: any; keyVersion: any; }; export declare function _endpointCertificatePropertiesDeserializer(item: any): { publicBlob: any; }; export declare function _failoverGroupPropertiesSerializer(item: FailoverGroup): any; export declare function _failoverGroupPropertiesDeserializer(item: any): { readWriteEndpoint: any; readOnlyEndpoint: any; replicationRole: any; replicationState: any; partnerServers: any; databases: any; secondaryType: any; }; export declare function _failoverGroupUpdatePropertiesSerializer(item: FailoverGroupUpdate): any; export declare function _geoBackupPolicyPropertiesSerializer(item: GeoBackupPolicy): any; export declare function _geoBackupPolicyPropertiesDeserializer(item: any): { state: any; storageType: any; }; export declare function _instanceFailoverGroupPropertiesSerializer(item: InstanceFailoverGroup): any; export declare function _instanceFailoverGroupPropertiesDeserializer(item: any): { secondaryType: any; readWriteEndpoint: any; readOnlyEndpoint: any; replicationRole: any; replicationState: any; partnerRegions: any; managedInstancePairs: any; }; export declare function _instancePoolOperationPropertiesDeserializer(item: any): { instancePoolName: any; operation: any; operationFriendlyName: any; percentComplete: any; startTime: any; state: any; errorCode: any; errorDescription: any; errorSeverity: any; errorType: any; estimatedCompletionTime: any; description: any; isCancellable: any; }; export declare function _instancePoolPropertiesSerializer(item: InstancePool): any; export declare function _instancePoolPropertiesDeserializer(item: any): { subnetId: any; vCores: any; licenseType: any; dnsZone: any; maintenanceConfigurationId: any; }; export declare function _instancePoolUpdatePropertiesSerializer(item: InstancePoolUpdate): any; export declare function _instancePoolUpdatePropertiesDeserializer(item: any): { subnetId: any; vCores: any; licenseType: any; dnsZone: any; maintenanceConfigurationId: any; }; export declare function _iPv6FirewallRulePropertiesSerializer(item: IPv6FirewallRule): any; export declare function _iPv6FirewallRulePropertiesDeserializer(item: any): { startIPv6Address: any; endIPv6Address: any; }; export declare function _jobExecutionPropertiesDeserializer(item: any): { jobVersion: any; stepName: any; stepId: any; jobExecutionId: any; lifecycle: any; provisioningState: any; createTime: any; startTime: any; endTime: any; currentAttempts: any; currentAttemptStartTime: any; lastMessage: any; target: any; }; export declare function _jobAgentPropertiesSerializer(item: JobAgent): any; export declare function _jobAgentPropertiesDeserializer(item: any): { databaseId: any; state: any; }; export declare function _jobCredentialPropertiesSerializer(item: JobCredential): any; export declare function _jobCredentialPropertiesDeserializer(item: any): { username: any; password: any; }; export declare function _jobPropertiesSerializer(item: Job): any; export declare function _jobPropertiesDeserializer(item: any): { description: any; version: any; schedule: any; }; export declare function _jobPrivateEndpointPropertiesSerializer(item: JobPrivateEndpoint): any; export declare function _jobPrivateEndpointPropertiesDeserializer(item: any): { targetServerAzureResourceId: any; privateEndpointId: any; }; export declare function _jobStepPropertiesSerializer(item: JobStep): any; export declare function _jobStepPropertiesDeserializer(item: any): { stepId: any; targetGroup: any; credential: any; action: any; output: any; executionOptions: any; }; export declare function _jobTargetGroupPropertiesSerializer(item: JobTargetGroup): any; export declare function _jobTargetGroupPropertiesDeserializer(item: any): { members: any; }; export declare function _longTermRetentionBackupPropertiesDeserializer(item: any): { serverName: any; serverCreateTime: any; databaseName: any; databaseDeletionTime: any; backupTime: any; backupExpirationTime: any; backupStorageRedundancy: any; requestedBackupStorageRedundancy: any; isBackupImmutable: any; timeBasedImmutability: any; timeBasedImmutabilityMode: any; legalHoldImmutability: any; backupStorageAccessTier: any; }; export declare function _copyLongTermRetentionBackupParametersPropertiesSerializer(item: CopyLongTermRetentionBackupParameters): any; export declare function _longTermRetentionBackupOperationResultPropertiesDeserializer(item: any): { requestId: any; operationType: any; fromBackupResourceId: any; toBackupResourceId: any; targetBackupStorageRedundancy: any; status: any; message: any; }; export declare function _updateLongTermRetentionBackupParametersPropertiesSerializer(item: UpdateLongTermRetentionBackupParameters): any; export declare function _managedInstanceLongTermRetentionBackupPropertiesDeserializer(item: any): { managedInstanceName: any; managedInstanceCreateTime: any; databaseName: any; databaseDeletionTime: any; backupTime: any; backupExpirationTime: any; backupStorageRedundancy: any; backupStorageAccessTier: any; }; export declare function _longTermRetentionPolicyPropertiesSerializer(item: LongTermRetentionPolicy): any; export declare function _longTermRetentionPolicyPropertiesDeserializer(item: any): { timeBasedImmutability: any; timeBasedImmutabilityMode: any; weeklyRetention: any; monthlyRetention: any; yearlyRetention: any; weekOfYear: any; }; export declare function _managedBackupShortTermRetentionPolicyPropertiesSerializer(item: ManagedBackupShortTermRetentionPolicy): any; export declare function _managedBackupShortTermRetentionPolicyPropertiesDeserializer(item: any): { retentionDays: any; }; export declare function _managedDatabaseSecurityAlertPolicyPropertiesSerializer(item: ManagedDatabaseSecurityAlertPolicy): any; export declare function _managedDatabaseSecurityAlertPolicyPropertiesDeserializer(item: any): { state: any; disabledAlerts: any; emailAddresses: any; emailAccountAdmins: any; storageEndpoint: any; storageAccountAccessKey: any; retentionDays: any; creationTime: any; }; export declare function _managedInstanceAdministratorPropertiesSerializer(item: ManagedInstanceAdministrator): any; export declare function _managedInstanceAdministratorPropertiesDeserializer(item: any): { administratorType: any; login: any; sid: any; tenantId: any; }; export declare function _managedInstanceAzureADOnlyAuthenticationPropertiesSerializer(item: ManagedInstanceAzureADOnlyAuthentication): any; export declare function _managedInstanceAzureADOnlyAuthenticationPropertiesDeserializer(item: any): { azureADOnlyAuthentication: any; }; export declare function _managedInstanceDtcPropertiesSerializer(item: ManagedInstanceDtc): any; export declare function _managedInstanceDtcPropertiesDeserializer(item: any): { dtcEnabled: any; securitySettings: any; externalDnsSuffixSearchList: any; dtcHostNameDnsSuffix: any; provisioningState: any; }; export declare function _managedInstanceEncryptionProtectorPropertiesSerializer(item: ManagedInstanceEncryptionProtector): any; export declare function _managedInstanceEncryptionProtectorPropertiesDeserializer(item: any): { serverKeyName: any; serverKeyType: any; uri: any; thumbprint: any; autoRotationEnabled: any; }; export declare function _managedInstanceKeyPropertiesSerializer(item: ManagedInstanceKey): any; export declare function _managedInstanceKeyPropertiesDeserializer(item: any): { serverKeyType: any; uri: any; thumbprint: any; creationDate: any; autoRotationEnabled: any; }; export declare function _managedInstanceLongTermRetentionPolicyPropertiesSerializer(item: ManagedInstanceLongTermRetentionPolicy): any; export declare function _managedInstanceLongTermRetentionPolicyPropertiesDeserializer(item: any): { backupStorageAccessTier: any; weeklyRetention: any; monthlyRetention: any; yearlyRetention: any; weekOfYear: any; }; export declare function _managedInstanceOperationPropertiesDeserializer(item: any): { managedInstanceName: any; operation: any; operationFriendlyName: any; percentComplete: any; startTime: any; state: any; errorCode: any; errorDescription: any; errorSeverity: any; isUserError: any; estimatedCompletionTime: any; description: any; isCancellable: any; operationParameters: any; operationSteps: any; }; export declare function _managedInstancePrivateEndpointConnectionPropertiesSerializer(item: ManagedInstancePrivateEndpointConnection): any; export declare function _managedInstancePrivateEndpointConnectionPropertiesDeserializer(item: any): { privateEndpoint: any; privateLinkServiceConnectionState: any; provisioningState: any; }; export declare function _managedInstanceVulnerabilityAssessmentPropertiesSerializer(item: ManagedInstanceVulnerabilityAssessment): any; export declare function _managedInstanceVulnerabilityAssessmentPropertiesDeserializer(item: any): { storageContainerPath: any; storageContainerSasKey: any; storageAccountAccessKey: any; recurringScans: any; }; export declare function _managedServerDnsAliasPropertiesDeserializer(item: any): { azureDnsRecord: any; publicAzureDnsRecord: any; }; export declare function _managedServerSecurityAlertPolicyPropertiesSerializer(item: ManagedServerSecurityAlertPolicy): any; export declare function _managedServerSecurityAlertPolicyPropertiesDeserializer(item: any): { state: any; disabledAlerts: any; emailAddresses: any; emailAccountAdmins: any; storageEndpoint: any; storageAccountAccessKey: any; retentionDays: any; creationTime: any; }; export declare function _networkSecurityPerimeterConfigurationPropertiesDeserializer(item: any): { provisioningState: any; networkSecurityPerimeter: any; resourceAssociation: any; profile: any; provisioningIssues: any; }; export declare function _outboundFirewallRulePropertiesDeserializer(item: any): { provisioningState: any; }; export declare function _privateEndpointConnectionPropertiesSerializer(item: PrivateEndpointConnection): any; export declare function _privateEndpointConnectionPropertiesDeserializer(item: any): { privateEndpoint: any; groupIds: any; privateLinkServiceConnectionState: any; provisioningState: any; }; export declare function _recoverableDatabasePropertiesDeserializer(item: any): { edition: any; serviceLevelObjective: any; elasticPoolName: any; lastAvailableBackupDate: any; keys: any; }; export declare function _recoverableManagedDatabasePropertiesDeserializer(item: any): { lastAvailableBackupDate: any; }; export declare function _restorableDroppedDatabasePropertiesDeserializer(item: any): { databaseName: any; maxSizeBytes: any; creationDate: any; deletionDate: any; earliestRestoreDate: any; backupStorageRedundancy: any; keys: any; }; export declare function _restorableDroppedManagedDatabasePropertiesDeserializer(item: any): { databaseName: any; creationDate: any; deletionDate: any; earliestRestoreDate: any; }; export declare function _serverAzureADAdministratorPropertiesSerializer(item: ServerAzureADAdministrator): any; export declare function _serverAzureADAdministratorPropertiesDeserializer(item: any): { administratorType: any; login: any; sid: any; tenantId: any; azureADOnlyAuthentication: any; }; export declare function _serverAzureADOnlyAuthenticationPropertiesSerializer(item: ServerAzureADOnlyAuthentication): any; export declare function _serverAzureADOnlyAuthenticationPropertiesDeserializer(item: any): { azureADOnlyAuthentication: any; }; export declare function _serverConfigurationOptionPropertiesSerializer(item: ServerConfigurationOption): any; export declare function _serverConfigurationOptionPropertiesDeserializer(item: any): { serverConfigurationOptionValue: any; provisioningState: any; }; export declare function _serverConnectionPolicyPropertiesSerializer(item: ServerConnectionPolicy): any; export declare function _serverConnectionPolicyPropertiesDeserializer(item: any): { connectionType: any; }; export declare function _serverDevOpsAuditingSettingsPropertiesSerializer(item: ServerDevOpsAuditingSettings): any; export declare function _serverDevOpsAuditingSettingsPropertiesDeserializer(item: any): { isAzureMonitorTargetEnabled: any; isManagedIdentityInUse: any; state: any; storageEndpoint: any; storageAccountAccessKey: any; storageAccountSubscriptionId: any; }; export declare function _serverDnsAliasPropertiesDeserializer(item: any): { azureDnsRecord: any; }; export declare function _serverKeyPropertiesSerializer(item: ServerKey): any; export declare function _serverKeyPropertiesDeserializer(item: any): { subregion: any; serverKeyType: any; uri: any; thumbprint: any; creationDate: any; autoRotationEnabled: any; keyVersion: any; }; export declare function _serverSecurityAlertPolicyPropertiesSerializer(item: ServerSecurityAlertPolicy): any; export declare function _serverSecurityAlertPolicyPropertiesDeserializer(item: any): { state: any; disabledAlerts: any; emailAddresses: any; emailAccountAdmins: any; storageEndpoint: any; storageAccountAccessKey: any; retentionDays: any; creationTime: any; }; export declare function _serverTrustCertificatePropertiesSerializer(item: ServerTrustCertificate): any; export declare function _serverTrustCertificatePropertiesDeserializer(item: any): { publicBlob: any; thumbprint: any; certificateName: any; }; export declare function _serverVulnerabilityAssessmentPropertiesSerializer(item: ServerVulnerabilityAssessment): any; export declare function _serverVulnerabilityAssessmentPropertiesDeserializer(item: any): { storageContainerPath: any; storageContainerSasKey: any; storageAccountAccessKey: any; recurringScans: any; }; export declare function _startStopManagedInstanceSchedulePropertiesSerializer(item: StartStopManagedInstanceSchedule): any; export declare function _startStopManagedInstanceSchedulePropertiesDeserializer(item: any): { description: any; timeZoneId: any; scheduleList: any; nextRunAction: any; nextExecutionTime: any; }; export declare function _subscriptionUsagePropertiesDeserializer(item: any): { displayName: any; currentValue: any; limit: any; unit: any; }; export declare function _syncAgentPropertiesSerializer(item: SyncAgent): any; export declare function _syncAgentPropertiesDeserializer(item: any): { namePropertiesName: any; syncDatabaseId: any; lastAliveTime: any; state: any; isUpToDate: any; expiryTime: any; version: any; }; export declare function _syncAgentLinkedDatabasePropertiesDeserializer(item: any): { databaseType: any; databaseId: any; description: any; serverName: any; databaseName: any; userName: any; }; export declare function _syncGroupPropertiesSerializer(item: SyncGroup): any; export declare function _syncGroupPropertiesDeserializer(item: any): { interval: any; lastSyncTime: any; conflictResolutionPolicy: any; syncDatabaseId: any; hubDatabaseUserName: any; hubDatabasePassword: any; syncState: any; schema: any; enableConflictLogging: any; conflictLoggingRetentionInDays: any; usePrivateLinkConnection: any; privateEndpointName: any; }; export declare function _syncMemberPropertiesSerializer(item: SyncMember): any; export declare function _syncMemberPropertiesDeserializer(item: any): { databaseType: any; syncAgentId: any; sqlServerDatabaseId: any; syncMemberAzureDatabaseResourceId: any; usePrivateLinkConnection: any; privateEndpointName: any; serverName: any; databaseName: any; userName: any; password: any; syncDirection: any; syncState: any; }; export declare function _timeZonePropertiesDeserializer(item: any): { timeZoneId: any; displayName: any; }; export declare function _virtualClusterPropertiesSerializer(item: VirtualCluster): any; export declare function _virtualClusterPropertiesDeserializer(item: any): { subnetId: any; version: any; childResources: any; }; export declare function _virtualClusterUpdatePropertiesSerializer(item: VirtualClusterUpdate): any; export declare function _virtualClusterUpdatePropertiesDeserializer(item: any): { subnetId: any; version: any; childResources: any; }; export declare function _updateVirtualClusterDnsServersOperationPropertiesDeserializer(item: any): { status: any; }; export declare function _virtualNetworkRulePropertiesSerializer(item: VirtualNetworkRule): any; export declare function _virtualNetworkRulePropertiesDeserializer(item: any): { virtualNetworkSubnetId: any; ignoreMissingVnetServiceEndpoint: any; state: any; }; export declare function _workloadClassifierPropertiesSerializer(item: WorkloadClassifier): any; export declare function _workloadClassifierPropertiesDeserializer(item: any): { memberName: any; label: any; context: any; startTime: any; endTime: any; importance: any; }; export declare function _workloadGroupPropertiesSerializer(item: WorkloadGroup): any; export declare function _workloadGroupPropertiesDeserializer(item: any): { minResourcePercent: any; maxResourcePercent: any; minResourcePercentPerRequest: any; maxResourcePercentPerRequest: any; importance: any; queryExecutionTimeout: any; }; export declare function _databaseOperationPropertiesDeserializer(item: any): { databaseName: any; operation: any; operationFriendlyName: any; percentComplete: any; serverName: any; startTime: any; state: any; errorCode: any; errorDescription: any; errorSeverity: any; isUserError: any; estimatedCompletionTime: any; description: any; isCancellable: any; operationPhaseDetails: any; }; export declare function _databaseUsagePropertiesDeserializer(item: any): { displayName: any; currentValue: any; limit: any; unit: any; }; export declare function _recommendedSensitivityLabelUpdatePropertiesSerializer(item: RecommendedSensitivityLabelUpdate): any; export declare function _synapseLinkWorkspacePropertiesDeserializer(item: any): { workspaces: any; }; export declare function _serverOperationPropertiesDeserializer(item: any): { operation: any; operationFriendlyName: any; percentComplete: any; serverName: any; startTime: any; state: any; errorCode: any; errorDescription: any; errorSeverity: any; isUserError: any; estimatedCompletionTime: any; description: any; isCancellable: any; }; export declare function _serverUsagePropertiesDeserializer(item: any): { displayName: any; currentValue: any; limit: any; unit: any; }; export declare function _tdeCertificatePropertiesSerializer(item: TdeCertificate): any; export declare function _databaseAdvancedThreatProtectionPropertiesSerializer(item: DatabaseAdvancedThreatProtection): any; export declare function _databaseAdvancedThreatProtectionPropertiesDeserializer(item: any): { state: any; creationTime: any; }; export declare function _databaseAutomaticTuningPropertiesSerializer(item: DatabaseAutomaticTuning): any; export declare function _databaseAutomaticTuningPropertiesDeserializer(item: any): { desiredState: any; actualState: any; options: any; }; export declare function _databaseExtensionsPropertiesSerializer(item: DatabaseExtensions): any; export declare function _importExportExtensionsOperationResultPropertiesDeserializer(item: any): { requestId: any; requestType: any; lastModifiedTime: any; serverName: any; databaseName: any; status: any; errorMessage: any; queuedTime: any; blobUri: any; privateEndpointConnections: any; }; export declare function _databaseSqlVulnerabilityAssessmentRuleBaselineListInputPropertiesSerializer(item: DatabaseSqlVulnerabilityAssessmentRuleBaselineListInput): any; export declare function _dataMaskingRulePropertiesSerializer(item: DataMaskingRule): any; export declare function _dataMaskingRulePropertiesDeserializer(item: any): { idPropertiesId: any; ruleState: any; schemaName: any; tableName: any; columnName: any; aliasName: any; maskingFunction: any; numberFrom: any; numberTo: any; prefixSize: any; suffixSize: any; replacementString: any; }; export declare function _dataWarehouseUserActivitiesPropertiesDeserializer(item: any): { activeQueriesCount: any; }; export declare function _securityEventPropertiesDeserializer(item: any): { eventTime: any; securityEventType: any; subscription: any; server: any; database: any; clientIp: any; applicationName: any; principalName: any; securityEventSqlInjectionAdditionalProperties: any; }; export declare function _elasticPoolOperationPropertiesDeserializer(item: any): { elasticPoolName: any; operation: any; operationFriendlyName: any; percentComplete: any; serverName: any; startTime: any; state: any; errorCode: any; errorDescription: any; errorSeverity: any; isUserError: any; estimatedCompletionTime: any; description: any; isCancellable: any; }; export declare function _ledgerDigestUploadsPropertiesSerializer(item: LedgerDigestUploads): any; export declare function _ledgerDigestUploadsPropertiesDeserializer(item: any): { digestStorageEndpoint: any; state: any; }; export declare function _maintenanceWindowOptionsPropertiesDeserializer(item: any): { isEnabled: any; maintenanceWindowCycles: any; minDurationInMinutes: any; defaultDurationInMinutes: any; minCycles: any; timeGranularityInMinutes: any; allowMultipleMaintenanceWindowsPerCycle: any; }; export declare function _maintenanceWindowsPropertiesSerializer(item: MaintenanceWindows): any; export declare function _maintenanceWindowsPropertiesDeserializer(item: any): { timeRanges: any; }; export declare function _managedDatabaseAdvancedThreatProtectionPropertiesSerializer(item: ManagedDatabaseAdvancedThreatProtection): any; export declare function _managedDatabaseAdvancedThreatProtectionPropertiesDeserializer(item: any): { state: any; creationTime: any; }; export declare function _managedDatabaseMoveOperationResultPropertiesDeserializer(item: any): { operation: any; operationFriendlyName: any; startTime: any; state: any; operationMode: any; sourceManagedInstanceName: any; targetManagedInstanceName: any; sourceManagedInstanceId: any; targetManagedInstanceId: any; sourceDatabaseName: any; targetDatabaseName: any; isCancellable: any; errorCode: any; errorDescription: any; errorSeverity: any; isUserError: any; }; export declare function _managedInstanceQueryPropertiesDeserializer(item: any): { queryText: any; }; export declare function _queryStatisticsPropertiesDeserializer(item: any): { databaseName: any; queryId: any; startTime: any; endTime: any; intervals: any; }; export declare function _managedDatabaseRestoreDetailsResultPropertiesDeserializer(item: any): { typePropertiesType: any; status: any; blockReason: any; lastUploadedFileName: any; lastUploadedFileTime: any; lastRestoredFileName: any; lastRestoredFileTime: any; percentCompleted: any; currentRestoredSizeMB: any; currentRestorePlanSizeMB: any; currentBackupType: any; currentRestoringFileName: any; numberOfFilesDetected: any; numberOfFilesQueued: any; numberOfFilesSkipped: any; numberOfFilesRestoring: any; numberOfFilesRestored: any; numberOfFilesUnrestorable: any; fullBackupSets: any; diffBackupSets: any; logBackupSets: any; unrestorableFiles: any; }; export declare function _managedTransparentDataEncryptionPropertiesSerializer(item: ManagedTransparentDataEncryption): any; export declare function _managedTransparentDataEncryptionPropertiesDeserializer(item: any): { state: any; }; export declare function _managedInstanceAdvancedThreatProtectionPropertiesSerializer(item: ManagedInstanceAdvancedThreatProtection): any; export declare function _managedInstanceAdvancedThreatProtectionPropertiesDeserializer(item: any): { state: any; creationTime: any; }; export declare function _managedLedgerDigestUploadsPropertiesSerializer(item: ManagedLedgerDigestUploads): any; export declare function _managedLedgerDigestUploadsPropertiesDeserializer(item: any): { digestStorageEndpoint: any; state: any; }; export declare function _serverAdvancedThreatProtectionPropertiesSerializer(item: ServerAdvancedThreatProtection): any; export declare function _serverAdvancedThreatProtectionPropertiesDeserializer(item: any): { state: any; creationTime: any; }; export declare function _serverAutomaticTuningPropertiesSerializer(item: ServerAutomaticTuning): any; export declare function _serverAutomaticTuningPropertiesDeserializer(item: any): { desiredState: any; actualState: any; options: any; }; export declare function _sqlAgentConfigurationPropertiesSerializer(item: SqlAgentConfiguration): any; export declare function _sqlAgentConfigurationPropertiesDeserializer(item: any): { state: any; }; export declare function _logicalDatabaseTransparentDataEncryptionPropertiesSerializer(item: LogicalDatabaseTransparentDataEncryption): any; export declare function _logicalDatabaseTransparentDataEncryptionPropertiesDeserializer(item: any): { state: any; scanState: any; }; //# sourceMappingURL=models.d.ts.map