Skip to content
Docs Try Aspire
Docs Try

withHostname

Method
📦 Aspire.Hosting.Kubernetes v13.3.0-preview.1.26254.5
interface KubernetesGatewayResource {
// ... omitted for brevity
withHostname(hostname: string): KubernetesGatewayResource;
}

Signature

method withHostname builder
Adds a hostname to a Kubernetes Gateway
withHostname(hostname: string): KubernetesGatewayResource
hostname string
KubernetesGatewayResource

Applies to

This method applies to the following types: