Package version:
Optional autoTime in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled
Optional catalogCollation of the metadata catalog.
Optional collationThe collation of the database.
Optional createSpecifies 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.
Optional Readonly creationThe creation date of the database (ISO8601 format). NOTE: This property will not be serialized. It can only be populated by the server.
Optional Readonly currentThe storage account type used to store backups for this database. NOTE: This property will not be serialized. It can only be populated by the server.
Optional Readonly currentThe current service level objective name of the database. NOTE: This property will not be serialized. It can only be populated by the server.
Optional Readonly currentThe name and tier of the SKU. NOTE: This property will not be serialized. It can only be populated by the server.
Optional Readonly databaseThe ID of the database. NOTE: This property will not be serialized. It can only be populated by the server.
Optional Readonly defaultThe default secondary region for this database. NOTE: This property will not be serialized. It can only be populated by the server.
Optional Readonly earliestThis records the earliest start date and time that restore is available for this database (ISO8601 format). NOTE: This property will not be serialized. It can only be populated by the server.
Optional elasticThe resource identifier of the elastic pool containing this database.
Optional encryptionThe azure key vault URI of the database if it's configured with per Database Customer Managed Keys.
Optional Readonly failoverFailover Group resource identifier that this database belongs to. NOTE: This property will not be serialized. It can only be populated by the server.
Optional federatedThe Client id used for cross tenant per database CMK scenario
Optional highThe number of secondary replicas associated with the database that are used to provide high availability. Not applicable to a Hyperscale database within an elastic pool.
Optional identityDatabase identity
Optional Readonly isInfra encryption is enabled for this database. NOTE: This property will not be serialized. It can only be populated by the server.
Optional isWhether 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.
Optional keysThe resource ids of the user assigned identities to use
Optional licenseThe 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.
Optional longThe resource identifier of the long term retention backup associated with create operation of this database.
Optional maintenanceMaintenance configuration id assigned to the database. This configuration defines the period when the maintenance updates will occur.
Optional manualWhether 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.
Optional Readonly maxThe max log size for this database. NOTE: This property will not be serialized. It can only be populated by the server.
Optional maxThe max size of the database expressed in bytes.
Optional minMinimal capacity that database will always have allocated, if not paused
Optional Readonly pausedThe date when database was paused by user configuration or action(ISO8601 format). Null if the database is ready. NOTE: This property will not be serialized. It can only be populated by the server.
Optional performTo 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.
Optional preferredType of enclave requested on the database i.e. Default or VBS enclaves.
Optional readThe 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.
Optional recoverableThe resource identifier of the recoverable database associated with create operation of this database.
Optional recoveryThe resource identifier of the recovery point associated with create operation of this database.
Optional requestedThe storage account type to be used to store backups for this database.
Optional Readonly requestedThe requested service level objective name of the database. NOTE: This property will not be serialized. It can only be populated by the server.
Optional restorableThe resource identifier of the restorable dropped database associated with create operation of this database.
Optional restoreSpecifies the point in time (ISO8601 format) of the source database that will be restored to create the new database.
Optional Readonly resumedThe date when database was resumed by user action or database login (ISO8601 format). Null if the database is paused. NOTE: This property will not be serialized. It can only be populated by the server.
Optional sampleThe name of the sample schema to apply when creating this database.
Optional secondaryThe secondary type of the database if it is a secondary. Valid values are Geo, Named and Standby.
Optional skuThe name and tier of the SKU.
Optional sourceSpecifies the time that the database was deleted.
Optional sourceThe resource identifier of the source database associated with create operation of this database.
Optional Readonly statusThe status of the database. NOTE: This property will not be serialized. It can only be populated by the server.
Optional tagsResource tags.
Optional zoneWhether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones.
Generated using TypeDoc
A database update resource.