Skip to content
Docs Try Aspire
Docs Try

KubernetesGatewayResource.withGatewayPathRoute

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

Signature

method withGatewayPathRoute builder
Adds a path-based route to a Kubernetes Gateway
withGatewayPathRoute(
path: string,
endpoint: EndpointReference,
pathType?: IngressPathType): KubernetesGatewayResource
path string
endpoint EndpointReference
pathType IngressPathType optional = Prefix
KubernetesGatewayResource

Defined on

This method is defined on the following type: