AzureCosmosDBEmulatorResource.WithGatewayPort

Method
📦 Aspire.Hosting.Azure.CosmosDB v17.0.0
type AzureCosmosDBEmulatorResource interface {
// ... omitted for brevity
WithGatewayPort(port *float64) AzureCosmosDBEmulatorResource
}

Signature

methodWithGatewayPortbuilder
Configures the gateway port for the Azure Cosmos DB emulator.
WithGatewayPort(port *float64) AzureCosmosDBEmulatorResource
port*float64Host port to bind to the emulator gateway port.
AzureCosmosDBEmulatorResource

Cosmos emulator resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: