Skip to content
Docs Try Aspire

AzureCosmosDBEmulatorResource.withPartitionCount

Method
📦 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

Defined on

This method is defined on the following type: