class oci.dns.models.SteeringPolicyHealthRuleCase(**kwargs)

Bases: object

SteeringPolicyHealthRuleCase model.


Initializes a new SteeringPolicyHealthRuleCase object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:case_condition (str) -- The value to assign to the case_condition property of this SteeringPolicyHealthRuleCase.

Gets the case_condition of this SteeringPolicyHealthRuleCase. 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 an office that uses the subnet you could use a caseCondition expression query.client.subnet in ('') to define a case that matches queries from that office.

Returns:The case_condition of this SteeringPolicyHealthRuleCase.
Return type:str