AzureCosmosDBEmulatorResource
Handle TypeScript
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 Exposes the Data Explorer endpoint for the preview emulator
withDataExplorer(port?: number): AzureCosmosDBEmulatorResourceParameters
port number optional Returns
AzureCosmosDBEmulatorResource method
withDataVolume builder Adds a named volume for the data folder to an Azure Cosmos DB emulator resource
withDataVolume(name?: string): AzureCosmosDBEmulatorResourceParameters
name string optional Returns
AzureCosmosDBEmulatorResource method
withGatewayPort builder Sets the host port for the Cosmos DB emulator gateway endpoint
withGatewayPort(port: number): AzureCosmosDBEmulatorResourceParameters
port number Returns
AzureCosmosDBEmulatorResource method
withPartitionCount builder Sets the partition count for the Azure Cosmos DB emulator
withPartitionCount(count: number): AzureCosmosDBEmulatorResourceParameters
count number Returns
AzureCosmosDBEmulatorResource