Show / Hide Table of Contents

Class HttpIngressGatewayTrafficRouteRuleDetails

Rule for routing incoming ingress gateway traffic with HTTP protocol

Inheritance
object
IngressGatewayTrafficRouteRuleDetails
HttpIngressGatewayTrafficRouteRuleDetails
Inherited Members
IngressGatewayTrafficRouteRuleDetails.IngressGatewayHost
IngressGatewayTrafficRouteRuleDetails.Destinations
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ServicemeshService.Models
Assembly: OCI.DotNetSDK.Servicemesh.dll
Syntax
public class HttpIngressGatewayTrafficRouteRuleDetails : IngressGatewayTrafficRouteRuleDetails

Properties

IsGrpc

Declaration
[JsonProperty(PropertyName = "isGrpc")]
public bool? IsGrpc { get; set; }
Property Value
Type Description
bool?

If true, the rule will check that the content-type header has a application/grpc or one of the various application/grpc+ values.

IsHostRewriteEnabled

Declaration
[JsonProperty(PropertyName = "isHostRewriteEnabled")]
public bool? IsHostRewriteEnabled { get; set; }
Property Value
Type Description
bool?

If true, the hostname will be rewritten to the target virtual deployment's DNS hostname.

IsPathRewriteEnabled

Declaration
[JsonProperty(PropertyName = "isPathRewriteEnabled")]
public bool? IsPathRewriteEnabled { get; set; }
Property Value
Type Description
bool?

If true, the matched path prefix will be rewritten to '/' before being directed to the target virtual deployment.

Path

Declaration
[JsonProperty(PropertyName = "path")]
public string Path { get; set; }
Property Value
Type Description
string

Route to match

PathType

Declaration
[JsonProperty(PropertyName = "pathType")]
[JsonConverter(typeof(StringEnumConverter))]
public HttpIngressGatewayTrafficRouteRuleDetails.PathTypeEnum? PathType { get; set; }
Property Value
Type Description
HttpIngressGatewayTrafficRouteRuleDetails.PathTypeEnum?

Match type for the route

RequestTimeoutInMs

Declaration
[JsonProperty(PropertyName = "requestTimeoutInMs")]
public long? RequestTimeoutInMs { get; set; }
Property Value
Type Description
long?

The maximum duration in milliseconds for the upstream service to respond to a request. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP based route rules, and disabled (no timeout) when 'isGrpc' is true. The value 0 (zero) indicates that the timeout is disabled. For streaming responses from the upstream service, consider either keeping the timeout disabled or set a sufficiently high value.

In this article
Back to top