Show / Hide Table of Contents

Class SteeringPolicyAnswer

DNS record data with metadata for processing in a steering policy.

Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Inheritance
object
SteeringPolicyAnswer
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 SteeringPolicyAnswer

Properties

IsDisabled

Declaration
[JsonProperty(PropertyName = "isDisabled")]
public bool? IsDisabled { get; set; }
Property Value
Type Description
bool?

Set this property to true to indicate that the answer is administratively disabled, such as when the corresponding server is down for maintenance. An answer's isDisabled property can be referenced in answerCondition properties in rules using answer.isDisabled.
**Example: ** "rules": [ { "ruleType": "FILTER", "defaultAnswerData": [ { "answerCondition": "answer.isDisabled != true", "shouldKeep": true } ] },

Name

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

A user-friendly name for the answer, unique within the steering policy. An answer's name property can be referenced in answerCondition properties of rules using answer.name.
**Example: ** "rules": [ { "ruleType": "FILTER", "defaultAnswerData": [ { "answerCondition": "answer.name == 'server 1'", "shouldKeep": true } ] } ]

Remarks

Required

Pool

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

The freeform name of a group of one or more records in which this record is included, such as "LAX data center". An answer's pool property can be referenced in answerCondition properties of rules using answer.pool.
**Example: ** "rules": [ { "ruleType": "FILTER", "defaultAnswerData": [ { "answerCondition": "answer.pool == 'US East Servers'", "shouldKeep": true } ] } ]

Rdata

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

The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see Supported DNS Resource Record Types.

Remarks

Required

Rtype

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

The type of DNS record, such as A or CNAME. Only A, AAAA, and CNAME are supported. For more information, see Supported DNS Resource Record Types.

Remarks

Required

In this article
Back to top