Skip to content
DocsTry Aspire
DocsTry

withDataVolume

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

Signature

methodwithDataVolumebuilder
Adds a named volume for the data folder to an Azure Storage emulator resource.
withDataVolume(
name?: string,
isReadOnly?: boolean): AzureStorageEmulatorResource
namestringoptional
isReadOnlybooleanoptional= False
AzureStorageEmulatorResource

Applies to

This method applies to the following types: