Skip to content
Docs Try Aspire

AzureCosmosDBEmulatorResource.withGatewayPort

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

Signature

method withGatewayPort builder
Sets the host port for the Cosmos DB emulator gateway endpoint
withGatewayPort(port: number): AzureCosmosDBEmulatorResource
port number
AzureCosmosDBEmulatorResource

Defined on

This method is defined on the following type: