Class TLSRoute
Describes match conditions and actions for routing unterminated TLS traffic (TLS/HTTPS) The following routing rule forwards unterminated TLS traffic arriving at port 443 of gateway called “mygateway” to internal services in the mesh based on the SNI value.
Namespace: Neon.Kube.Resources.Istio
Assembly: Neon.Kube.Resources.dll
Syntax
public class TLSRoute
Constructors
TLSRoute()
Initializes a new instance of the TLSRoute class.
Declaration
public TLSRoute()
Properties
Match
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
Declaration
[JsonProperty(PropertyName = "match", Required = Required.Default, DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
public List<TLSMatchAttributes> Match { get; set; }
Property Value
Type | Description |
---|---|
List<TLSMatchAttributes> |
Route
The protocol exposed on the TLSRoute.
Declaration
[JsonProperty(PropertyName = "route", Required = Required.Always)]
public List<RouteDestination> Route { get; set; }
Property Value
Type | Description |
---|---|
List<RouteDestination> |
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate()
Exceptions
Type | Condition |
---|---|
ValidationException | Thrown if validation fails. |