Watch Aspire live streamsDocsTry Aspire

KubernetesIngressResource.withDefaultBackend

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

Signature

methodwithDefaultBackendbuilder
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
endpointEndpointReference
KubernetesIngressResource

Defined on

This method is defined on the following type: