withDataVolume

Method
📦 Aspire.Hosting.Azure.Storage v17.0.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
namestringoptionalThe name of the volume. Defaults to an auto-generated name based on the application and resource names.
isReadOnlybooleanoptional= FalseA flag that indicates if this is a read-only volume.
AzureStorageEmulatorResource

Applies to

This method applies to the following types: