Show / Hide Table of Contents

Class PathRoute

A "path route rule" to evaluate an incoming URI path, and then route a matching request to the specified backend set.
Path route rules apply only to HTTP and HTTPS requests. They have no effect on TCP requests.

Inheritance
object
PathRoute
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 PathRoute

Properties

BackendSetName

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

The name of the target backend set for requests where the incoming URI matches the specified path.
Example: example_backend_set

Remarks

Required

Path

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

The path string to match against the incoming URI path.

  • Path strings are case-insensitive.
  • Asterisk (*) wildcards are not supported.
  • Regular expressions are not supported.
    Example: /example/video/123
Remarks

Required

PathMatchType

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

The type of matching to apply to incoming URIs.

Remarks

Required

In this article
Back to top