Skip to content
DocsTry Aspire
DocsTry

KubernetesIngressResource.withIngressClass

Method
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
interface KubernetesIngressResource {
// ... omitted for brevity
withIngressClass(className: string): KubernetesIngressResource;
}

Signature

methodwithIngressClassbuilder
Sets the Kubernetes ingress class name that selects which ingress controller handles this ingress resource.
withIngressClass(className: string): KubernetesIngressResource
classNamestring
KubernetesIngressResource

Defined on

This method is defined on the following type: