Skip to content
Docs Try Aspire

HttpIngressPathV1

Class sealed net10.0
📦 Aspire.Hosting.Kubernetes v13.1.2-preview.1.26125.13
Represents a path in an HTTP ingress rule for Kubernetes ingress resources.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class HttpIngressPathV1
{
// ...
}
An HTTP ingress path defines the configuration for matching incoming requests to a specific backend service based on the provided path and path type. It includes details about the service or resource to route the traffic to and the criteria used to determine when the path matches the incoming request.
View all constructors
Backendget; set
Represents the backend configuration for a specific path of an HTTP ingress. This property defines the backend service or resource to which the traffic will be forwarded. The `Backend` object can reference either a service (specified with `IngressServiceBackendV1`) or a resource (specified with `TypedLocalObjectReferenceV1`) to handle the incoming requests.
Pathget; set
string
Gets or sets the path that the Ingress matches against incoming requests. The value should specify a valid URI path which determines where the routing rules apply.
PathTypeget; set
string
Gets or sets the type of path used in the ingress rule. Indicates the interpretation of the path such as Exact, Prefix, or ImplementationSpecific.
View all properties