withGatewayClass

Method
📦 Aspire.Hosting.Kubernetes v17.0.0
interface KubernetesGatewayResource {
// ... omitted for brevity
withGatewayClass(className: string): KubernetesGatewayResource;
}

Signature

methodwithGatewayClassbuilder
Sets the GatewayClass name that selects which controller implementation handles this gateway.
withGatewayClass(className: string): KubernetesGatewayResource
classNamestringThe GatewayClass name (e.g., `"azure-alb-external"`, `"istio"`).
KubernetesGatewayResource

Applies to

This method applies to the following types: