你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmSqlModelFactory.SqlDatabasePatch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SqlDatabasePatch(SqlSku, DatabaseIdentity, IDictionary<String, String>, Nullable<SqlDatabaseCreateMode>, String, Nullable<Int64>, Nullable<SampleSchemaName>, ResourceIdentifier, ResourceIdentifier, Nullable<SqlDatabaseStatus>, Nullable<Guid>, Nullable<DateTimeOffset>, String, String, Nullable<AzureLocation>, ResourceIdentifier, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, ResourceIdentifier, ResourceIdentifier, ResourceIdentifier, ResourceIdentifier, Nullable<CatalogCollationType>, Nullable<Boolean>, Nullable<DatabaseLicenseType>, Nullable<Int64>, Nullable<DateTimeOffset>, Nullable<DatabaseReadScale>, Nullable<Int32>, Nullable<SecondaryType>, SqlSku, Nullable<Int32>, Nullable<SqlBackupStorageRedundancy>, Nullable<SqlBackupStorageRedundancy>, Nullable<Double>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, ResourceIdentifier, Nullable<Boolean>, Nullable<Boolean>, Nullable<Guid>, Nullable<SqlAlwaysEncryptedEnclaveType>)
- Source:
- ArmSqlModelFactory.cs
public static Azure.ResourceManager.Sql.Models.SqlDatabasePatch SqlDatabasePatch (Azure.ResourceManager.Sql.Models.SqlSku sku = default, Azure.ResourceManager.Sql.Models.DatabaseIdentity identity = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Sql.Models.SqlDatabaseCreateMode? createMode = default, string collation = default, long? maxSizeBytes = default, Azure.ResourceManager.Sql.Models.SampleSchemaName? sampleName = default, Azure.Core.ResourceIdentifier elasticPoolId = default, Azure.Core.ResourceIdentifier sourceDatabaseId = default, Azure.ResourceManager.Sql.Models.SqlDatabaseStatus? status = default, Guid? databaseId = default, DateTimeOffset? createdOn = default, string currentServiceObjectiveName = default, string requestedServiceObjectiveName = default, Azure.Core.AzureLocation? defaultSecondaryLocation = default, Azure.Core.ResourceIdentifier failoverGroupId = default, DateTimeOffset? restorePointInTime = default, DateTimeOffset? sourceDatabaseDeletedOn = default, Azure.Core.ResourceIdentifier recoveryServicesRecoveryPointId = default, Azure.Core.ResourceIdentifier longTermRetentionBackupResourceId = default, Azure.Core.ResourceIdentifier recoverableDatabaseId = default, Azure.Core.ResourceIdentifier restorableDroppedDatabaseId = default, Azure.ResourceManager.Sql.Models.CatalogCollationType? catalogCollation = default, bool? isZoneRedundant = default, Azure.ResourceManager.Sql.Models.DatabaseLicenseType? licenseType = default, long? maxLogSizeBytes = default, DateTimeOffset? earliestRestoreOn = default, Azure.ResourceManager.Sql.Models.DatabaseReadScale? readScale = default, int? highAvailabilityReplicaCount = default, Azure.ResourceManager.Sql.Models.SecondaryType? secondaryType = default, Azure.ResourceManager.Sql.Models.SqlSku currentSku = default, int? autoPauseDelay = default, Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy? currentBackupStorageRedundancy = default, Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy? requestedBackupStorageRedundancy = default, double? minCapacity = default, DateTimeOffset? pausedOn = default, DateTimeOffset? resumedOn = default, Azure.Core.ResourceIdentifier maintenanceConfigurationId = default, bool? isLedgerOn = default, bool? isInfraEncryptionEnabled = default, Guid? federatedClientId = default, Azure.ResourceManager.Sql.Models.SqlAlwaysEncryptedEnclaveType? preferredEnclaveType = default);
static member SqlDatabasePatch : Azure.ResourceManager.Sql.Models.SqlSku * Azure.ResourceManager.Sql.Models.DatabaseIdentity * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ResourceManager.Sql.Models.SqlDatabaseCreateMode> * string * Nullable<int64> * Nullable<Azure.ResourceManager.Sql.Models.SampleSchemaName> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Sql.Models.SqlDatabaseStatus> * Nullable<Guid> * Nullable<DateTimeOffset> * string * string * Nullable<Azure.Core.AzureLocation> * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Sql.Models.CatalogCollationType> * Nullable<bool> * Nullable<Azure.ResourceManager.Sql.Models.DatabaseLicenseType> * Nullable<int64> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Sql.Models.DatabaseReadScale> * Nullable<int> * Nullable<Azure.ResourceManager.Sql.Models.SecondaryType> * Azure.ResourceManager.Sql.Models.SqlSku * Nullable<int> * Nullable<Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy> * Nullable<Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy> * Nullable<double> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * Nullable<bool> * Nullable<bool> * Nullable<Guid> * Nullable<Azure.ResourceManager.Sql.Models.SqlAlwaysEncryptedEnclaveType> -> Azure.ResourceManager.Sql.Models.SqlDatabasePatch
Public Shared Function SqlDatabasePatch (Optional sku As SqlSku = Nothing, Optional identity As DatabaseIdentity = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional createMode As Nullable(Of SqlDatabaseCreateMode) = Nothing, Optional collation As String = Nothing, Optional maxSizeBytes As Nullable(Of Long) = Nothing, Optional sampleName As Nullable(Of SampleSchemaName) = Nothing, Optional elasticPoolId As ResourceIdentifier = Nothing, Optional sourceDatabaseId As ResourceIdentifier = Nothing, Optional status As Nullable(Of SqlDatabaseStatus) = Nothing, Optional databaseId As Nullable(Of Guid) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional currentServiceObjectiveName As String = Nothing, Optional requestedServiceObjectiveName As String = Nothing, Optional defaultSecondaryLocation As Nullable(Of AzureLocation) = Nothing, Optional failoverGroupId As ResourceIdentifier = Nothing, Optional restorePointInTime As Nullable(Of DateTimeOffset) = Nothing, Optional sourceDatabaseDeletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional recoveryServicesRecoveryPointId As ResourceIdentifier = Nothing, Optional longTermRetentionBackupResourceId As ResourceIdentifier = Nothing, Optional recoverableDatabaseId As ResourceIdentifier = Nothing, Optional restorableDroppedDatabaseId As ResourceIdentifier = Nothing, Optional catalogCollation As Nullable(Of CatalogCollationType) = Nothing, Optional isZoneRedundant As Nullable(Of Boolean) = Nothing, Optional licenseType As Nullable(Of DatabaseLicenseType) = Nothing, Optional maxLogSizeBytes As Nullable(Of Long) = Nothing, Optional earliestRestoreOn As Nullable(Of DateTimeOffset) = Nothing, Optional readScale As Nullable(Of DatabaseReadScale) = Nothing, Optional highAvailabilityReplicaCount As Nullable(Of Integer) = Nothing, Optional secondaryType As Nullable(Of SecondaryType) = Nothing, Optional currentSku As SqlSku = Nothing, Optional autoPauseDelay As Nullable(Of Integer) = Nothing, Optional currentBackupStorageRedundancy As Nullable(Of SqlBackupStorageRedundancy) = Nothing, Optional requestedBackupStorageRedundancy As Nullable(Of SqlBackupStorageRedundancy) = Nothing, Optional minCapacity As Nullable(Of Double) = Nothing, Optional pausedOn As Nullable(Of DateTimeOffset) = Nothing, Optional resumedOn As Nullable(Of DateTimeOffset) = Nothing, Optional maintenanceConfigurationId As ResourceIdentifier = Nothing, Optional isLedgerOn As Nullable(Of Boolean) = Nothing, Optional isInfraEncryptionEnabled As Nullable(Of Boolean) = Nothing, Optional federatedClientId As Nullable(Of Guid) = Nothing, Optional preferredEnclaveType As Nullable(Of SqlAlwaysEncryptedEnclaveType) = Nothing) As SqlDatabasePatch
Parameters
- sku
- SqlSku
- identity
- DatabaseIdentity
- tags
- IDictionary<String,String>
- createMode
- Nullable<SqlDatabaseCreateMode>
- collation
- String
- sampleName
- Nullable<SampleSchemaName>
- elasticPoolId
- ResourceIdentifier
- sourceDatabaseId
- ResourceIdentifier
- status
- Nullable<SqlDatabaseStatus>
- createdOn
- Nullable<DateTimeOffset>
- currentServiceObjectiveName
- String
- requestedServiceObjectiveName
- String
- defaultSecondaryLocation
- Nullable<AzureLocation>
- failoverGroupId
- ResourceIdentifier
- restorePointInTime
- Nullable<DateTimeOffset>
- sourceDatabaseDeletedOn
- Nullable<DateTimeOffset>
- recoveryServicesRecoveryPointId
- ResourceIdentifier
- longTermRetentionBackupResourceId
- ResourceIdentifier
- recoverableDatabaseId
- ResourceIdentifier
- restorableDroppedDatabaseId
- ResourceIdentifier
- catalogCollation
- Nullable<CatalogCollationType>
- licenseType
- Nullable<DatabaseLicenseType>
- earliestRestoreOn
- Nullable<DateTimeOffset>
- readScale
- Nullable<DatabaseReadScale>
- secondaryType
- Nullable<SecondaryType>
- currentSku
- SqlSku
- currentBackupStorageRedundancy
- Nullable<SqlBackupStorageRedundancy>
- requestedBackupStorageRedundancy
- Nullable<SqlBackupStorageRedundancy>
- pausedOn
- Nullable<DateTimeOffset>
- resumedOn
- Nullable<DateTimeOffset>
- maintenanceConfigurationId
- ResourceIdentifier
- preferredEnclaveType
- Nullable<SqlAlwaysEncryptedEnclaveType>
Returns
Applies to
SqlDatabasePatch(SqlSku, DatabaseIdentity, IDictionary<String, String>, Nullable<SqlDatabaseCreateMode>, String, Nullable<Int64>, Nullable<SampleSchemaName>, ResourceIdentifier, ResourceIdentifier, Nullable<SqlDatabaseStatus>, Nullable<Guid>, Nullable<DateTimeOffset>, String, String, Nullable<AzureLocation>, ResourceIdentifier, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, ResourceIdentifier, ResourceIdentifier, ResourceIdentifier, ResourceIdentifier, Nullable<CatalogCollationType>, Nullable<Boolean>, Nullable<DatabaseLicenseType>, Nullable<Int64>, Nullable<DateTimeOffset>, Nullable<DatabaseReadScale>, Nullable<Int32>, Nullable<SecondaryType>, SqlSku, Nullable<Int32>, Nullable<SqlBackupStorageRedundancy>, Nullable<SqlBackupStorageRedundancy>, Nullable<Double>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, ResourceIdentifier, Nullable<Boolean>, Nullable<Boolean>, Nullable<Guid>, IDictionary<String,SqlDatabaseKey>, String, Nullable<SqlAlwaysEncryptedEnclaveType>, Nullable<Boolean>, Nullable<FreeLimitExhaustionBehavior>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)
- Source:
- ArmSqlModelFactory.cs
Initializes a new instance of SqlDatabasePatch.
public static Azure.ResourceManager.Sql.Models.SqlDatabasePatch SqlDatabasePatch (Azure.ResourceManager.Sql.Models.SqlSku sku = default, Azure.ResourceManager.Sql.Models.DatabaseIdentity identity = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Sql.Models.SqlDatabaseCreateMode? createMode = default, string collation = default, long? maxSizeBytes = default, Azure.ResourceManager.Sql.Models.SampleSchemaName? sampleName = default, Azure.Core.ResourceIdentifier elasticPoolId = default, Azure.Core.ResourceIdentifier sourceDatabaseId = default, Azure.ResourceManager.Sql.Models.SqlDatabaseStatus? status = default, Guid? databaseId = default, DateTimeOffset? createdOn = default, string currentServiceObjectiveName = default, string requestedServiceObjectiveName = default, Azure.Core.AzureLocation? defaultSecondaryLocation = default, Azure.Core.ResourceIdentifier failoverGroupId = default, DateTimeOffset? restorePointInTime = default, DateTimeOffset? sourceDatabaseDeletedOn = default, Azure.Core.ResourceIdentifier recoveryServicesRecoveryPointId = default, Azure.Core.ResourceIdentifier longTermRetentionBackupResourceId = default, Azure.Core.ResourceIdentifier recoverableDatabaseId = default, Azure.Core.ResourceIdentifier restorableDroppedDatabaseId = default, Azure.ResourceManager.Sql.Models.CatalogCollationType? catalogCollation = default, bool? isZoneRedundant = default, Azure.ResourceManager.Sql.Models.DatabaseLicenseType? licenseType = default, long? maxLogSizeBytes = default, DateTimeOffset? earliestRestoreOn = default, Azure.ResourceManager.Sql.Models.DatabaseReadScale? readScale = default, int? highAvailabilityReplicaCount = default, Azure.ResourceManager.Sql.Models.SecondaryType? secondaryType = default, Azure.ResourceManager.Sql.Models.SqlSku currentSku = default, int? autoPauseDelay = default, Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy? currentBackupStorageRedundancy = default, Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy? requestedBackupStorageRedundancy = default, double? minCapacity = default, DateTimeOffset? pausedOn = default, DateTimeOffset? resumedOn = default, Azure.Core.ResourceIdentifier maintenanceConfigurationId = default, bool? isLedgerOn = default, bool? isInfraEncryptionEnabled = default, Guid? federatedClientId = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.Sql.Models.SqlDatabaseKey> keys = default, string encryptionProtector = default, Azure.ResourceManager.Sql.Models.SqlAlwaysEncryptedEnclaveType? preferredEnclaveType = default, bool? useFreeLimit = default, Azure.ResourceManager.Sql.Models.FreeLimitExhaustionBehavior? freeLimitExhaustionBehavior = default, bool? manualCutover = default, bool? performCutover = default, bool? encryptionProtectorAutoRotation = default);
static member SqlDatabasePatch : Azure.ResourceManager.Sql.Models.SqlSku * Azure.ResourceManager.Sql.Models.DatabaseIdentity * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ResourceManager.Sql.Models.SqlDatabaseCreateMode> * string * Nullable<int64> * Nullable<Azure.ResourceManager.Sql.Models.SampleSchemaName> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Sql.Models.SqlDatabaseStatus> * Nullable<Guid> * Nullable<DateTimeOffset> * string * string * Nullable<Azure.Core.AzureLocation> * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Sql.Models.CatalogCollationType> * Nullable<bool> * Nullable<Azure.ResourceManager.Sql.Models.DatabaseLicenseType> * Nullable<int64> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Sql.Models.DatabaseReadScale> * Nullable<int> * Nullable<Azure.ResourceManager.Sql.Models.SecondaryType> * Azure.ResourceManager.Sql.Models.SqlSku * Nullable<int> * Nullable<Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy> * Nullable<Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy> * Nullable<double> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * Nullable<bool> * Nullable<bool> * Nullable<Guid> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.Sql.Models.SqlDatabaseKey> * string * Nullable<Azure.ResourceManager.Sql.Models.SqlAlwaysEncryptedEnclaveType> * Nullable<bool> * Nullable<Azure.ResourceManager.Sql.Models.FreeLimitExhaustionBehavior> * Nullable<bool> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.Sql.Models.SqlDatabasePatch
Public Shared Function SqlDatabasePatch (Optional sku As SqlSku = Nothing, Optional identity As DatabaseIdentity = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional createMode As Nullable(Of SqlDatabaseCreateMode) = Nothing, Optional collation As String = Nothing, Optional maxSizeBytes As Nullable(Of Long) = Nothing, Optional sampleName As Nullable(Of SampleSchemaName) = Nothing, Optional elasticPoolId As ResourceIdentifier = Nothing, Optional sourceDatabaseId As ResourceIdentifier = Nothing, Optional status As Nullable(Of SqlDatabaseStatus) = Nothing, Optional databaseId As Nullable(Of Guid) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional currentServiceObjectiveName As String = Nothing, Optional requestedServiceObjectiveName As String = Nothing, Optional defaultSecondaryLocation As Nullable(Of AzureLocation) = Nothing, Optional failoverGroupId As ResourceIdentifier = Nothing, Optional restorePointInTime As Nullable(Of DateTimeOffset) = Nothing, Optional sourceDatabaseDeletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional recoveryServicesRecoveryPointId As ResourceIdentifier = Nothing, Optional longTermRetentionBackupResourceId As ResourceIdentifier = Nothing, Optional recoverableDatabaseId As ResourceIdentifier = Nothing, Optional restorableDroppedDatabaseId As ResourceIdentifier = Nothing, Optional catalogCollation As Nullable(Of CatalogCollationType) = Nothing, Optional isZoneRedundant As Nullable(Of Boolean) = Nothing, Optional licenseType As Nullable(Of DatabaseLicenseType) = Nothing, Optional maxLogSizeBytes As Nullable(Of Long) = Nothing, Optional earliestRestoreOn As Nullable(Of DateTimeOffset) = Nothing, Optional readScale As Nullable(Of DatabaseReadScale) = Nothing, Optional highAvailabilityReplicaCount As Nullable(Of Integer) = Nothing, Optional secondaryType As Nullable(Of SecondaryType) = Nothing, Optional currentSku As SqlSku = Nothing, Optional autoPauseDelay As Nullable(Of Integer) = Nothing, Optional currentBackupStorageRedundancy As Nullable(Of SqlBackupStorageRedundancy) = Nothing, Optional requestedBackupStorageRedundancy As Nullable(Of SqlBackupStorageRedundancy) = Nothing, Optional minCapacity As Nullable(Of Double) = Nothing, Optional pausedOn As Nullable(Of DateTimeOffset) = Nothing, Optional resumedOn As Nullable(Of DateTimeOffset) = Nothing, Optional maintenanceConfigurationId As ResourceIdentifier = Nothing, Optional isLedgerOn As Nullable(Of Boolean) = Nothing, Optional isInfraEncryptionEnabled As Nullable(Of Boolean) = Nothing, Optional federatedClientId As Nullable(Of Guid) = Nothing, Optional keys As IDictionary(Of String, SqlDatabaseKey) = Nothing, Optional encryptionProtector As String = Nothing, Optional preferredEnclaveType As Nullable(Of SqlAlwaysEncryptedEnclaveType) = Nothing, Optional useFreeLimit As Nullable(Of Boolean) = Nothing, Optional freeLimitExhaustionBehavior As Nullable(Of FreeLimitExhaustionBehavior) = Nothing, Optional manualCutover As Nullable(Of Boolean) = Nothing, Optional performCutover As Nullable(Of Boolean) = Nothing, Optional encryptionProtectorAutoRotation As Nullable(Of Boolean) = Nothing) As SqlDatabasePatch
Parameters
- sku
- SqlSku
The name and tier of the SKU.
- identity
- DatabaseIdentity
Database identity.
- tags
- IDictionary<String,String>
Resource tags.
- createMode
- Nullable<SqlDatabaseCreateMode>
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.
- collation
- String
The collation of the database.
- sampleName
- Nullable<SampleSchemaName>
The name of the sample schema to apply when creating this database.
- elasticPoolId
- ResourceIdentifier
The resource identifier of the elastic pool containing this database.
- sourceDatabaseId
- ResourceIdentifier
The resource identifier of the source database associated with create operation of this database.
- status
- Nullable<SqlDatabaseStatus>
The status of the database.
- createdOn
- Nullable<DateTimeOffset>
The creation date of the database (ISO8601 format).
- currentServiceObjectiveName
- String
The current service level objective name of the database.
- requestedServiceObjectiveName
- String
The requested service level objective name of the database.
- defaultSecondaryLocation
- Nullable<AzureLocation>
The default secondary region for this database.
- failoverGroupId
- ResourceIdentifier
Failover Group resource identifier that this database belongs to.
- restorePointInTime
- Nullable<DateTimeOffset>
Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database.
- sourceDatabaseDeletedOn
- Nullable<DateTimeOffset>
Specifies the time that the database was deleted.
- recoveryServicesRecoveryPointId
- ResourceIdentifier
The resource identifier of the recovery point associated with create operation of this database.
- longTermRetentionBackupResourceId
- ResourceIdentifier
The resource identifier of the long term retention backup associated with create operation of this database.
- recoverableDatabaseId
- ResourceIdentifier
The resource identifier of the recoverable database associated with create operation of this database.
- restorableDroppedDatabaseId
- ResourceIdentifier
The resource identifier of the restorable dropped database associated with create operation of this database.
- catalogCollation
- Nullable<CatalogCollationType>
Collation of the metadata catalog.
Whether or not this database is zone redundant, which means the replicas of this database will be spread across multiple availability zones.
- licenseType
- Nullable<DatabaseLicenseType>
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.
- earliestRestoreOn
- Nullable<DateTimeOffset>
This records the earliest start date and time that restore is available for this database (ISO8601 format).
- readScale
- Nullable<DatabaseReadScale>
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.
The 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.
- secondaryType
- Nullable<SecondaryType>
The secondary type of the database if it is a secondary. Valid values are Geo, Named and Standby.
- currentSku
- SqlSku
The name and tier of the SKU.
Time in minutes after which database is automatically paused. A value of -1 means that automatic pause is disabled.
- currentBackupStorageRedundancy
- Nullable<SqlBackupStorageRedundancy>
The storage account type used to store backups for this database.
- requestedBackupStorageRedundancy
- Nullable<SqlBackupStorageRedundancy>
The storage account type to be used to store backups for this database.
Minimal capacity that database will always have allocated, if not paused.
- pausedOn
- Nullable<DateTimeOffset>
The date when database was paused by user configuration or action(ISO8601 format). Null if the database is ready.
- resumedOn
- Nullable<DateTimeOffset>
The date when database was resumed by user action or database login (ISO8601 format). Null if the database is paused.
- maintenanceConfigurationId
- ResourceIdentifier
Maintenance configuration id assigned to the database. This configuration defines the period when the maintenance updates will occur.
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.
- keys
- IDictionary<String,SqlDatabaseKey>
The resource ids of the user assigned identities to use.
- encryptionProtector
- String
The azure key vault URI of the database if it's configured with per Database Customer Managed Keys.
- preferredEnclaveType
- Nullable<SqlAlwaysEncryptedEnclaveType>
Type of enclave requested on the database i.e. Default or VBS enclaves.
Whether or not the database uses free monthly limits. Allowed on one database in a subscription.
- freeLimitExhaustionBehavior
- Nullable<FreeLimitExhaustionBehavior>
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.
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.
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.
The flag to enable or disable auto rotation of database encryption protector AKV key.
Returns
A new SqlDatabasePatch instance for mocking.