Skip to content
Docs Try Aspire
Docs Try

withGatewayClass

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

Signature

method withGatewayClass builder
Sets the GatewayClass for a Kubernetes Gateway
withGatewayClass(className: string): KubernetesGatewayResource
className string
KubernetesGatewayResource

Applies to

This method applies to the following types: