[Breaking change]: Change the default SKU used for creating a new Azure SQL database #3144
Open
1 of 3 tasks
Labels
area-docs
⛓️💥 breaking-change
Issues or PRs tracking breaking changes.
doc-idea
Indicates issues that are suggestions for new topics [org][type][category]
Pri1
High priority, do before Pri2 and Pri3
Milestone
Description
The default SKU used for creating a new Azure SQL database during the deployment is GP_S_Gen5_2 (General Purpose Serveless) with the Free Offer enabled (https://learn.microsoft.com/en-us/azure/azure-sql/database/free-offer?view=azuresql)
Version
.NET Aspire 9.0 GA
Previous behavior
Azure SQL DB was deployed with the default option which was not taking advantage of the free offer
New behavior
Azure SQL DB is deployed using the advantage of the free offer GP_S_Gen5_2 (General Purpose Serveless) with the Free Offer enabled.
The database will be paused if/when the free offer limits are reached to avoid incurring in unexpected monthly costs
Type of breaking change
Reason for change
Avoid monthly costs by taking advantage of Azure SQL DB free offer: https://learn.microsoft.com/en-us/azure/azure-sql/database/free-offer?view=azuresql
Recommended action
A new method
WithSku
as been added to allow developers to choose what SKU to use when deploying the database, as perAffected APIs
public class AzureSqlDatabaseResource
: updated to use free offer as default deployment optionpublic static IResourceBuilder<AzureSqlDatabaseResource> AddDatabase
: updated to use free offer as default deployment optionpublic static IResourceBuilder<AzureSqlDatabaseResource> WithSku
: added to allow to specify the desired skuThe text was updated successfully, but these errors were encountered: