Aspire.Hosting.Azure.Sql
Official
📦 Aspire.Hosting.Azure.Sqlv13.6.06Functions
2Types
2 types and 17 members
Types
Functions
method
addAzureSqlServerbuilderAdds an Azure SQL Database (server) resource to the application model.
addAzureSqlServer(name: string): AzureSqlServerResourcemethod
addDatabasebuilderAdds an Azure SQL Database to the application model. The Free Offer option will be used when deploying the resource in Azure
addDatabase(name: string, databaseName?: string): AzureSqlDatabaseResourcemethod
runAsContainerbuilderConfigures an Azure SQL Database (server) resource to run locally in a container.
runAsContainer(configureContainer?: (obj: SqlServerServerResource) => Promise<void>): AzureSqlServerResourcemethod
withAdminDeploymentScriptStoragebuilderConfigures the Azure SQL Server to use the specified storage account for deployment script execution.
withAdminDeploymentScriptStorage(storage: AzureStorageResource): AzureSqlServerResourcemethod
withAdminDeploymentScriptSubnetbuilderConfigures the Azure SQL Server to use the specified subnet for deployment script execution.
withAdminDeploymentScriptSubnet(subnet: AzureSubnetResource): AzureSqlServerResourcemethod
withDefaultAzureSkubuilderConfigures the Azure SQL Database to be deployed use the default SKU provided by Azure. Please be aware that the Azure default Sku might not take advantage of the free offer.
withDefaultAzureSku(): AzureSqlDatabaseResource