Show / Hide Table of Contents

Class SteeringPolicyLimitRuleCase

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

Properties

CaseCondition

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

An expression that uses conditions at the time of a DNS query to indicate whether a case matches. Conditions may include the geographical location, IP subnet, or ASN the DNS query originated. **Example: ** If you have anoffice that uses the subnet 192.0.2.0/24 you could use a caseConditionexpression query.client.address in ('192.0.2.0/24') to define a case thatmatches queries from that office.

Count

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

The number of answers allowed to remain after the limit rule has been processed, keeping only the first of the remaining answers in the list. Example: If the count property is set to 2 andfour answers remain before the limit rule is processed, only the first two answers in the list willremain after the limit rule has been processed.

Remarks

Required

In this article
Back to top