AzureCosmosDBEmulatorResource.withDataVolume

Method
📦 Aspire.Hosting.Azure.CosmosDB v17.0.0
interface AzureCosmosDBEmulatorResource {
// ... omitted for brevity
withDataVolume(name?: string): AzureCosmosDBEmulatorResource;
}

Signature

methodwithDataVolumebuilder
Adds a named volume for the data folder to an Azure Cosmos DB emulator resource.
withDataVolume(name?: string): AzureCosmosDBEmulatorResource
namestringoptionalThe name of the volume. Defaults to an auto-generated name based on the application and resource names.
AzureCosmosDBEmulatorResource

Defined on

This method is defined on the following type: