Skip to content
Docs Try Aspire

withPartitionCount

Function
📦 Aspire.Hosting.Azure.CosmosDB v13.2.0-preview.1.26159.1
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 function is an extension method on the following types: