Skip to content
Docs Try Aspire
Docs Try

withDefaultBackend

Method
📦 Aspire.Hosting.Kubernetes v13.4.0-preview.1.26281.18
interface KubernetesIngressResource {
// ... omitted for brevity
withDefaultBackend(endpoint: EndpointReference): KubernetesIngressResource;
}

Signature

method withDefaultBackend builder
Sets the default backend for the ingress. The default backend handles requests that do not match any of the defined routing rules.
withDefaultBackend(endpoint: EndpointReference): KubernetesIngressResource
endpoint EndpointReference
KubernetesIngressResource

Applies to

This method applies to the following types: