addAzureSqlServer

Method
📦 Aspire.Hosting.Azure.Sql v17.0.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addAzureSqlServer(name: string): AzureSqlServerResource;
}

Signature

methodaddAzureSqlServerbuilder
Adds an Azure SQL Database (server) resource to the application model.
addAzureSqlServer(name: string): AzureSqlServerResource
namestringThe name of the resource.
AzureSqlServerResource

Applies to

This method applies to the following types: