AzureCosmosDBEmulatorResource.WithPartitionCount

Method
📦 Aspire.Hosting.Azure.CosmosDB v17.0.0
type AzureCosmosDBEmulatorResource interface {
// ... omitted for brevity
WithPartitionCount(count float64) AzureCosmosDBEmulatorResource
}

Signature

methodWithPartitionCountbuilder
Configures the partition count for the Azure Cosmos DB emulator.
WithPartitionCount(count float64) AzureCosmosDBEmulatorResource
countfloat64Desired partition count.
AzureCosmosDBEmulatorResource

Cosmos emulator resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: