Skip to content
Docs Try Aspire
Docs Try

withDataVolume

Method
📦 Aspire.Hosting.Foundry v13.2.0-preview.1.26170.3
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

Applies to

This method applies to the following types: