withDataBindMount
Method
interface AzureStorageEmulatorResource { // ... omitted for brevity withDataBindMount( path?: string, isReadOnly?: boolean): AzureStorageEmulatorResource;}Signature
method
withDataBindMount builderAdds a bind mount for the data folder to an Azure Storage emulator resource.
withDataBindMount( path?: string, isReadOnly?: boolean): AzureStorageEmulatorResourceParameters
pathstringoptionalRelative path to the AppHost where emulator storage is persisted between runs. Defaults to the path '.azurite/{builder.Resource.Name}'isReadOnly booleanoptional= FalseA flag that indicates if this is a read-only mount.Returns
AzureStorageEmulatorResource Applies to
This method applies to the following types: