Skip to content
Docs Try Aspire
Docs Try

AzureCosmosDBEmulatorResource.withDataVolume

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

Signature

method withDataVolume builder
Adds a named volume for the data folder to an Azure Cosmos DB emulator resource.
withDataVolume(name?: string): AzureCosmosDBEmulatorResource
name string optional
AzureCosmosDBEmulatorResource

Defined on

This method is defined on the following type: