AzureAppConfigurationEmulatorResource.withHostPort

Method
📦 Aspire.Hosting.Azure.AppConfiguration v17.0.0
interface AzureAppConfigurationEmulatorResource {
// ... omitted for brevity
withHostPort(port: number): AzureAppConfigurationEmulatorResource;
}

Signature

methodwithHostPortbuilder
Configures the host port for the Azure App Configuration emulator is exposed on instead of using randomly assigned port.
withHostPort(port: number): AzureAppConfigurationEmulatorResource
portnumberThe port to bind on the host. If `null` is used, a random port will be assigned.
AzureAppConfigurationEmulatorResource

Defined on

This method is defined on the following type: