Aspire.Hosting.Azure.Sql
Official
📦 Aspire.Hosting.Azure.Sqlv17.0.0Import path
apphost/modules/aspire6Functions
6Types
6 types, 6 functions and 19 members
Handles
Functions
AzureSqlServerResource
method
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, options ...*AddDatabaseOptions) AzureSqlDatabaseResourcemethod
RunAsContainerbuilderConfigures an Azure SQL Database (server) resource to run locally in a container.
RunAsContainer(options ...*RunAsContainerOptions) 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) AzureSqlServerResource