Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithDataExplorer

Method
📦 Aspire.Hosting.Azure.CosmosDB v17.0.0
func (AzureCosmosDBEmulatorResource) WithDataExplorer(options ...*WithDataExplorerOptions) AzureCosmosDBEmulatorResource

Signature

methodWithDataExplorerbuilder
Configures the Azure Cosmos DB Linux-based (vNext) emulator to expose the Data Explorer endpoint.
WithDataExplorer(options ...*WithDataExplorerOptions) AzureCosmosDBEmulatorResource
options...*WithDataExplorerOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithDataExplorerOptions argument.

Port*float64Optional host port to bind the Data Explorer to.
AzureCosmosDBEmulatorResource

Cosmos emulator resource builder.

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

Applies to

This method applies to the following types: