Class SteeringPolicyWeightedRule
  
  
  
    Inheritance
    
    
    SteeringPolicyWeightedRule
   
  
  
  Assembly: OCI.DotNetSDK.Dns.dll
  Syntax
  
    public class SteeringPolicyWeightedRule : SteeringPolicyRule
   
  Properties
  
  Cases
  
  
  Declaration
  
    [JsonProperty(PropertyName = "cases")]
public List<SteeringPolicyWeightedRuleCase> Cases { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | List<SteeringPolicyWeightedRuleCase> | An array of caseConditions. A rule may optionally include a sequence of cases defining alternate
configurations for how it should behave during processing for any given DNS query. When a rule has
no sequence ofcases, it is always evaluated with the same configuration during processing. When
a rule has an empty sequence ofcases, it is always ignored during processing. When a rule has a
non-empty sequence ofcases, its behavior during processing is configured by the first matchingcasein the sequence. When a rule has no matching cases the rule is ignored. A rule case with nocaseConditionalways matches. A rule case with acaseConditionmatches only when that expression
evaluates to true for the given query. | 
    
  
  
  DefaultAnswerData
  
  
  Declaration
  
    [JsonProperty(PropertyName = "defaultAnswerData")]
public List<SteeringPolicyWeightedAnswerData> DefaultAnswerData { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | List<SteeringPolicyWeightedAnswerData> | Defines a default set of answer conditions and values that are applied to an answer when
casesis not defined for the rule or a matching case does not have any matchinganswerConditions in itsanswerData.defaultAnswerDatais not applied ifcasesis
defined and there are no matching cases. In this scenario, the next rule will be processed. |