Aspire.Hosting.SqlServer
Official
📦 Aspire.Hosting.SqlServer v13.2.0 7 Functions
2 Types
2 types and 21 members
Types
Functions
method
addDatabase builder Adds a SQL Server database resource
addDatabase(name: string, databaseName?: string): SqlServerDatabaseResource method
addSqlServer builder Adds a SQL Server container resource
addSqlServer(name: string, password?: ParameterResource, port?: number): SqlServerServerResource method
withCreationScript builder Defines the SQL script used to create the database
withCreationScript(script: string): SqlServerDatabaseResource method
withDataBindMount builder Adds a bind mount for the SQL Server data folder
withDataBindMount(source: string, isReadOnly?: boolean): SqlServerServerResource method
withDataVolume builder Adds a named volume for the SQL Server data folder
withDataVolume(name?: string, isReadOnly?: boolean): SqlServerServerResource method
withHostPort builder Sets the host port for the SQL Server resource
withHostPort(port: number): SqlServerServerResource method
withPassword builder Configures the password for the SQL Server resource
withPassword(password: ParameterResource): SqlServerServerResource