Skip to content
Docs Try Aspire
Docs Try

withGatewayPort

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

Signature

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

Applies to

This method applies to the following types: