Skip to content
Docs Try Aspire
Docs Try

AzureAppConfigurationEmulatorResource.withHostPort

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

Signature

method withHostPort builder
Configures the host port for the Azure App Configuration emulator is exposed on instead of using randomly assigned port.
withHostPort(port: number): AzureAppConfigurationEmulatorResource
port number
AzureAppConfigurationEmulatorResource

Defined on

This method is defined on the following type: