Show / Hide Table of Contents

Class PathMatchCondition

The path string and match condition to apply when evaluating an incoming URI for redirection.

Inheritance
object
RuleCondition
PathMatchCondition
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 PathMatchCondition : RuleCondition

Properties

AttributeValue

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

The path string that the redirection rule applies to.
Example: /example

Remarks

Required

Operator

Declaration
[Required(ErrorMessage = "Operator is required.")]
[JsonProperty(PropertyName = "operator")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PathMatchCondition.OperatorEnum? Operator { get; set; }
Property Value
Type Description
PathMatchCondition.OperatorEnum?

A string that specifies how to compare the PathMatchCondition object's attributeValue string to the incoming URI.

  • EXACT_MATCH - The incoming URI path must exactly and completely match the attributeValue string.
  • FORCE_LONGEST_PREFIX_MATCH - The system looks for the attributeValue string with the best, longest match of the beginning portion of the incoming URI path.
  • PREFIX_MATCH - The beginning portion of the incoming URI path must exactly match the attributeValue string.
  • SUFFIX_MATCH - The ending portion of the incoming URI path must exactly match the attributeValue string.
Remarks

Required

In this article
Back to top