HttpIngressPathV1
Class sealed net10.0
Represents a path in an HTTP ingress rule for Kubernetes ingress resources.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class HttpIngressPathV1{ // ...}Remarks
Section titled Remarks 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.
Constructors1
Section titled ConstructorsProperties3
Section titled PropertiesBackendget; 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; setstring 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; setstring Gets or sets the type of path used in the ingress rule. Indicates the interpretation of the path such as Exact, Prefix, or ImplementationSpecific.