Class ResolverRule
A rule for a resolver. Specifying both qnameCoverConditions and clientAddressConditions is not allowed.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Inherited Members
Namespace: Oci.DnsService.Models
Assembly: OCI.DotNetSDK.Dns.dll
Syntax
[JsonConverter(typeof(ResolverRuleModelConverter))]
public class ResolverRule
Properties
ClientAddressConditions
Declaration
[Required(ErrorMessage = "ClientAddressConditions is required.")]
[JsonProperty(PropertyName = "clientAddressConditions")]
public List<string> ClientAddressConditions { get; set; }
Property Value
Type | Description |
---|---|
List<string> | A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply. |
Remarks
Required
QnameCoverConditions
Declaration
[Required(ErrorMessage = "QnameCoverConditions is required.")]
[JsonProperty(PropertyName = "qnameCoverConditions")]
public List<string> QnameCoverConditions { get; set; }
Property Value
Type | Description |
---|---|
List<string> | A list of domain names. The query must be covered by one of the domains in order for the rule action to apply. |
Remarks
Required