Skip to content
Docs Try Aspire
Docs Try

AzureCosmosDBEmulatorResource

Handle
📦 Aspire.Hosting.Azure.CosmosDB v13.4.0
interface AzureCosmosDBEmulatorResource
extends IComputeResource,
IResource,
IResourceWithArgs,
IResourceWithEndpoints,
IResourceWithEnvironment,
IResourceWithProbes,
IResourceWithWaitSupport {
withDataExplorer(port?: number): AzureCosmosDBEmulatorResource;
withDataVolume(name?: string): AzureCosmosDBEmulatorResource;
withGatewayPort(port: number): AzureCosmosDBEmulatorResource;
withPartitionCount(count: number): AzureCosmosDBEmulatorResource;
}

Methods

method withDataExplorer builder
Configures the Azure Cosmos DB preview emulator to expose the Data Explorer endpoint.
withDataExplorer(port?: number): AzureCosmosDBEmulatorResource
port number optional
AzureCosmosDBEmulatorResource
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
method withGatewayPort builder
Configures the gateway port for the Azure Cosmos DB emulator.
withGatewayPort(port: number): AzureCosmosDBEmulatorResource
port number
AzureCosmosDBEmulatorResource
method withPartitionCount builder
Configures the partition count for the Azure Cosmos DB emulator.
withPartitionCount(count: number): AzureCosmosDBEmulatorResource
count number
AzureCosmosDBEmulatorResource