withDataBindMount

Method
📦 Aspire.Hosting.Azure.Storage v17.0.0
interface AzureStorageEmulatorResource {
// ... omitted for brevity
withDataBindMount(
path?: string,
isReadOnly?: boolean): AzureStorageEmulatorResource;
}

Signature

methodwithDataBindMountbuilder
Adds a bind mount for the data folder to an Azure Storage emulator resource.
withDataBindMount(
path?: string,
isReadOnly?: boolean): AzureStorageEmulatorResource
pathstringoptionalRelative path to the AppHost where emulator storage is persisted between runs. Defaults to the path '.azurite/{builder.Resource.Name}'
isReadOnlybooleanoptional= FalseA flag that indicates if this is a read-only mount.
AzureStorageEmulatorResource

Applies to

This method applies to the following types: