Skip to content
Docs Try Aspire

withHostPort

Function
📦 Aspire.Hosting.Azure.AppConfiguration v13.2.0-preview.1.26159.1
interface AzureAppConfigurationEmulatorResource {
// ... omitted for brevity
withHostPort(port: number): AzureAppConfigurationEmulatorResource;
}

Signature

method withHostPort builder
Sets the host port for the App Configuration emulator
withHostPort(port: number): AzureAppConfigurationEmulatorResource
port number
AzureAppConfigurationEmulatorResource

Applies to

This function is an extension method on the following types: