Skip to content
Docs Try Aspire
Docs Try

withPartitionCount

Method
📦 Aspire.Hosting.Azure.CosmosDB v13.3.0
interface AzureCosmosDBEmulatorResource {
// ... omitted for brevity
withPartitionCount(count: number): AzureCosmosDBEmulatorResource;
}

Signature

method withPartitionCount builder
Sets the partition count for the Azure Cosmos DB emulator
withPartitionCount(count: number): AzureCosmosDBEmulatorResource
count number
AzureCosmosDBEmulatorResource

Applies to

This method applies to the following types: