@@ -214,6 +214,17 @@ public Database()
214
214
/// <param name="preferredEnclaveType">Type of enclave requested on the
215
215
/// database i.e. Default or VBS enclaves. Possible values include:
216
216
/// 'Default', 'VBS'</param>
217
+ /// <param name="useFreeLimit">Whether or not the database uses free
218
+ /// monthly limits. Allowed on one database in a subscription.</param>
219
+ /// <param name="freeLimitExhaustionBehavior">Specifies the behavior
220
+ /// when monthly free limits are exhausted for the free database.
221
+ ///
222
+ /// AutoPause: The database will be auto paused upon exhaustion of free
223
+ /// limits for remainder of the month.
224
+ ///
225
+ /// BillForUsage: The database will continue to be online upon
226
+ /// exhaustion of free limits and any overage will be billed. Possible
227
+ /// values include: 'AutoPause', 'BillOverUsage'</param>
217
228
/// <param name="sourceResourceId">The resource identifier of the
218
229
/// source associated with the create operation of this database.
219
230
///
@@ -271,7 +282,10 @@ public Database()
271
282
/// <param name="availabilityZone">Specifies the availability zone the
272
283
/// database is pinned to. Possible values include: 'NoPreference',
273
284
/// '1', '2', '3'</param>
274
- public Database ( string location , string id = default ( string ) , string name = default ( string ) , string type = default ( string ) , IDictionary < string , string > tags = default ( IDictionary < string , string > ) , Sku sku = default ( Sku ) , string kind = default ( string ) , string managedBy = default ( string ) , DatabaseIdentity identity = default ( DatabaseIdentity ) , string createMode = default ( string ) , string collation = default ( string ) , long ? maxSizeBytes = default ( long ? ) , string sampleName = default ( string ) , string elasticPoolId = default ( string ) , string sourceDatabaseId = default ( string ) , string status = default ( string ) , System . Guid ? databaseId = default ( System . Guid ? ) , System . DateTime ? creationDate = default ( System . DateTime ? ) , string currentServiceObjectiveName = default ( string ) , string requestedServiceObjectiveName = default ( string ) , string defaultSecondaryLocation = default ( string ) , string failoverGroupId = default ( string ) , System . DateTime ? restorePointInTime = default ( System . DateTime ? ) , System . DateTime ? sourceDatabaseDeletionDate = default ( System . DateTime ? ) , string recoveryServicesRecoveryPointId = default ( string ) , string longTermRetentionBackupResourceId = default ( string ) , string recoverableDatabaseId = default ( string ) , string restorableDroppedDatabaseId = default ( string ) , string catalogCollation = default ( string ) , bool ? zoneRedundant = default ( bool ? ) , string licenseType = default ( string ) , long ? maxLogSizeBytes = default ( long ? ) , System . DateTime ? earliestRestoreDate = default ( System . DateTime ? ) , string readScale = default ( string ) , int ? highAvailabilityReplicaCount = default ( int ? ) , string secondaryType = default ( string ) , Sku currentSku = default ( Sku ) , int ? autoPauseDelay = default ( int ? ) , string currentBackupStorageRedundancy = default ( string ) , string requestedBackupStorageRedundancy = default ( string ) , double ? minCapacity = default ( double ? ) , System . DateTime ? pausedDate = default ( System . DateTime ? ) , System . DateTime ? resumedDate = default ( System . DateTime ? ) , string maintenanceConfigurationId = default ( string ) , bool ? isLedgerOn = default ( bool ? ) , bool ? isInfraEncryptionEnabled = default ( bool ? ) , System . Guid ? federatedClientId = default ( System . Guid ? ) , IDictionary < string , DatabaseKey > keys = default ( IDictionary < string , DatabaseKey > ) , string encryptionProtector = default ( string ) , string preferredEnclaveType = default ( string ) , string sourceResourceId = default ( string ) , bool ? manualCutover = default ( bool ? ) , bool ? performCutover = default ( bool ? ) , string availabilityZone = default ( string ) )
285
+ /// <param name="encryptionProtectorAutoRotation">The flag to enable or
286
+ /// disable auto rotation of database encryption protector AKV
287
+ /// key.</param>
288
+ public Database ( string location , string id = default ( string ) , string name = default ( string ) , string type = default ( string ) , IDictionary < string , string > tags = default ( IDictionary < string , string > ) , Sku sku = default ( Sku ) , string kind = default ( string ) , string managedBy = default ( string ) , DatabaseIdentity identity = default ( DatabaseIdentity ) , string createMode = default ( string ) , string collation = default ( string ) , long ? maxSizeBytes = default ( long ? ) , string sampleName = default ( string ) , string elasticPoolId = default ( string ) , string sourceDatabaseId = default ( string ) , string status = default ( string ) , System . Guid ? databaseId = default ( System . Guid ? ) , System . DateTime ? creationDate = default ( System . DateTime ? ) , string currentServiceObjectiveName = default ( string ) , string requestedServiceObjectiveName = default ( string ) , string defaultSecondaryLocation = default ( string ) , string failoverGroupId = default ( string ) , System . DateTime ? restorePointInTime = default ( System . DateTime ? ) , System . DateTime ? sourceDatabaseDeletionDate = default ( System . DateTime ? ) , string recoveryServicesRecoveryPointId = default ( string ) , string longTermRetentionBackupResourceId = default ( string ) , string recoverableDatabaseId = default ( string ) , string restorableDroppedDatabaseId = default ( string ) , string catalogCollation = default ( string ) , bool ? zoneRedundant = default ( bool ? ) , string licenseType = default ( string ) , long ? maxLogSizeBytes = default ( long ? ) , System . DateTime ? earliestRestoreDate = default ( System . DateTime ? ) , string readScale = default ( string ) , int ? highAvailabilityReplicaCount = default ( int ? ) , string secondaryType = default ( string ) , Sku currentSku = default ( Sku ) , int ? autoPauseDelay = default ( int ? ) , string currentBackupStorageRedundancy = default ( string ) , string requestedBackupStorageRedundancy = default ( string ) , double ? minCapacity = default ( double ? ) , System . DateTime ? pausedDate = default ( System . DateTime ? ) , System . DateTime ? resumedDate = default ( System . DateTime ? ) , string maintenanceConfigurationId = default ( string ) , bool ? isLedgerOn = default ( bool ? ) , bool ? isInfraEncryptionEnabled = default ( bool ? ) , System . Guid ? federatedClientId = default ( System . Guid ? ) , IDictionary < string , DatabaseKey > keys = default ( IDictionary < string , DatabaseKey > ) , string encryptionProtector = default ( string ) , string preferredEnclaveType = default ( string ) , bool ? useFreeLimit = default ( bool ? ) , string freeLimitExhaustionBehavior = default ( string ) , string sourceResourceId = default ( string ) , bool ? manualCutover = default ( bool ? ) , bool ? performCutover = default ( bool ? ) , string availabilityZone = default ( string ) , bool ? encryptionProtectorAutoRotation = default ( bool ? ) )
275
289
: base ( location , id , name , type , tags )
276
290
{
277
291
Sku = sku ;
@@ -319,10 +333,13 @@ public Database()
319
333
Keys = keys ;
320
334
EncryptionProtector = encryptionProtector ;
321
335
PreferredEnclaveType = preferredEnclaveType ;
336
+ UseFreeLimit = useFreeLimit ;
337
+ FreeLimitExhaustionBehavior = freeLimitExhaustionBehavior ;
322
338
SourceResourceId = sourceResourceId ;
323
339
ManualCutover = manualCutover ;
324
340
PerformCutover = performCutover ;
325
341
AvailabilityZone = availabilityZone ;
342
+ EncryptionProtectorAutoRotation = encryptionProtectorAutoRotation ;
326
343
CustomInit ( ) ;
327
344
}
328
345
@@ -705,6 +722,27 @@ public Database()
705
722
[ JsonProperty ( PropertyName = "properties.preferredEnclaveType" ) ]
706
723
public string PreferredEnclaveType { get ; set ; }
707
724
725
+ /// <summary>
726
+ /// Gets or sets whether or not the database uses free monthly limits.
727
+ /// Allowed on one database in a subscription.
728
+ /// </summary>
729
+ [ JsonProperty ( PropertyName = "properties.useFreeLimit" ) ]
730
+ public bool ? UseFreeLimit { get ; set ; }
731
+
732
+ /// <summary>
733
+ /// Gets or sets specifies the behavior when monthly free limits are
734
+ /// exhausted for the free database.
735
+ ///
736
+ /// AutoPause: The database will be auto paused upon exhaustion of free
737
+ /// limits for remainder of the month.
738
+ ///
739
+ /// BillForUsage: The database will continue to be online upon
740
+ /// exhaustion of free limits and any overage will be billed. Possible
741
+ /// values include: 'AutoPause', 'BillOverUsage'
742
+ /// </summary>
743
+ [ JsonProperty ( PropertyName = "properties.freeLimitExhaustionBehavior" ) ]
744
+ public string FreeLimitExhaustionBehavior { get ; set ; }
745
+
708
746
/// <summary>
709
747
/// Gets or sets the resource identifier of the source associated with
710
748
/// the create operation of this database.
@@ -778,6 +816,13 @@ public Database()
778
816
[ JsonProperty ( PropertyName = "properties.availabilityZone" ) ]
779
817
public string AvailabilityZone { get ; set ; }
780
818
819
+ /// <summary>
820
+ /// Gets or sets the flag to enable or disable auto rotation of
821
+ /// database encryption protector AKV key.
822
+ /// </summary>
823
+ [ JsonProperty ( PropertyName = "properties.encryptionProtectorAutoRotation" ) ]
824
+ public bool ? EncryptionProtectorAutoRotation { get ; set ; }
825
+
781
826
/// <summary>
782
827
/// Validate the object.
783
828
/// </summary>
0 commit comments