Skip to content
DocsTry Aspire
DocsTry

withGatewayPort

Method
📦 Aspire.Hosting.Azure.CosmosDB v13.4.0
interface AzureCosmosDBEmulatorResource {
// ... omitted for brevity
withGatewayPort(port: number): AzureCosmosDBEmulatorResource;
}

Signature

methodwithGatewayPortbuilder
Configures the gateway port for the Azure Cosmos DB emulator.
withGatewayPort(port: number): AzureCosmosDBEmulatorResource
portnumber
AzureCosmosDBEmulatorResource

Applies to

This method applies to the following types: