Skip to content
Docs Try Aspire
Docs Try

HttpRouteRuleV1

Class sealed net8.0
📦 Aspire.Hosting.Kubernetes v13.3.0-preview.1.26254.5
A single routing rule in an HTTPRoute. Each rule matches requests and forwards them to one or more backend services.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class HttpRouteRuleV1
{
// ...
}
View all constructors
BackendRefsget
Gets the backend references that matched requests are forwarded to.
Matchesget
Gets the match conditions for this rule. A request must satisfy all conditions in at least one match to be routed by this rule.
View all properties