Show / Hide Table of Contents

Class RoutingRule

A routing rule examines an incoming request, routing matching requests to the specified backend set. Routing rules apply only to HTTP and HTTPS requests. They have no effect on TCP requests.

Inheritance
object
RoutingRule
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.LoadbalancerService.Models
Assembly: OCI.DotNetSDK.Loadbalancer.dll
Syntax
public class RoutingRule

Properties

Actions

Declaration
[Required(ErrorMessage = "Actions is required.")]
[JsonProperty(PropertyName = "actions")]
public List<Action> Actions { get; set; }
Property Value
Type Description
List<Action>

A list of actions to be applied when conditions of the routing rule are met.

Remarks

Required

Condition

Declaration
[Required(ErrorMessage = "Condition is required.")]
[JsonProperty(PropertyName = "condition")]
public string Condition { get; set; }
Property Value
Type Description
string

A routing rule to evaluate defined conditions against the incoming HTTP request and perform an action.

Remarks

Required

Name

Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

A unique name for the routing policy rule. Avoid entering confidential information.

Remarks

Required

In this article
Back to top