Skip to content
Docs Try Aspire
Docs Try

withIngressClass

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

Signature

method withIngressClass builder
Sets the ingress class for a Kubernetes Ingress
withIngressClass(className: string): KubernetesIngressResource
className string
KubernetesIngressResource

Applies to

This method applies to the following types: