Class RecordOperation
An extension of the existing record resource, describing either a
precondition, an add, or a remove. Preconditions check all fields,
including read-only data like recordHash and rrsetVersion.
Inherited Members
Namespace: Oci.DnsService.Models
Assembly: OCI.DotNetSDK.Dns.dll
Syntax
public class RecordOperation
Properties
Domain
Declaration
[JsonProperty(PropertyName = "domain")]
public string Domain { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The fully qualified domain name where the record can be located. |
IsProtected
Declaration
[JsonProperty(PropertyName = "isProtected")]
public bool? IsProtected { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? | A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed. |
Operation
Declaration
[JsonProperty(PropertyName = "operation")]
[JsonConverter(typeof(StringEnumConverter))]
public RecordOperation.OperationEnum? Operation { get; set; }
Property Value
| Type | Description |
|---|---|
| RecordOperation.OperationEnum? | A description of how a record relates to a PATCH operation.
|
Rdata
Declaration
[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 |
RecordHash
Declaration
[JsonProperty(PropertyName = "recordHash")]
public string RecordHash { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A unique identifier for the record within its zone. |
RrsetVersion
Declaration
[JsonProperty(PropertyName = "rrsetVersion")]
public string RrsetVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The latest version of the record's zone in which its RRSet differs from the preceding version. |
Rtype
Declaration
[JsonProperty(PropertyName = "rtype")]
public string Rtype { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The type of DNS record, such as A or CNAME. For more information, see Resource Record (RR) TYPEs. |
Ttl
Declaration
[JsonProperty(PropertyName = "ttl")]
public int? Ttl { get; set; }
Property Value
| Type | Description |
|---|---|
| int? | The Time To Live for the record, in seconds. Using a TTL lower than 30 seconds is not recommended. |