Skip to content
Docs Try Aspire

SqlServerServerResource.withDataVolume

Method
📦 Aspire.Hosting.Azure.Sql v13.2.0-preview.1.26159.1
interface SqlServerServerResource {
// ... omitted for brevity
withDataVolume(
name?: string,
isReadOnly?: boolean): SqlServerServerResource;
}

Signature

method withDataVolume builder
Adds a named volume for the SQL Server data folder
withDataVolume(
name?: string,
isReadOnly?: boolean): SqlServerServerResource
name string optional
isReadOnly boolean optional = False
SqlServerServerResource

Defined on

This method is defined on the following type: