Skip to content
DocsTry Aspire
DocsTry

SqlServerServerResource.withDataVolume

Method
📦 Aspire.Hosting.SqlServer v13.4.0
interface SqlServerServerResource {
// ... omitted for brevity
withDataVolume(
name?: string,
isReadOnly?: boolean): SqlServerServerResource;
}

Signature

methodwithDataVolumebuilder
Adds a named volume for the data folder to a SQL Server resource.
withDataVolume(
name?: string,
isReadOnly?: boolean): SqlServerServerResource
namestringoptional
isReadOnlybooleanoptional= False
SqlServerServerResource

Defined on

This method is defined on the following type: