Skip to content
Docs Try Aspire
Docs Try

KubernetesIngressResource.withIngressPathRoute

Method
📦 Aspire.Hosting.Kubernetes v13.3.0-preview.1.26254.5
interface KubernetesIngressResource {
// ... omitted for brevity
withIngressPathRoute(
path: string,
endpoint: EndpointReference,
pathType?: IngressPathType): KubernetesIngressResource;
}

Signature

method withIngressPathRoute builder
Adds a path-based route to a Kubernetes Ingress
withIngressPathRoute(
path: string,
endpoint: EndpointReference,
pathType?: IngressPathType): KubernetesIngressResource
path string
endpoint EndpointReference
pathType IngressPathType optional = Prefix
KubernetesIngressResource

Defined on

This method is defined on the following type: