Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

KubernetesGatewayResource.withGatewayClass

Method
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
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
classNamestring
KubernetesGatewayResource

Defined on

This method is defined on the following type: