Skip to content
DocsTry Aspire
DocsTry

AzureCosmosDBEmulatorResource.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

Defined on

This method is defined on the following type: