RecordDetails

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

Bases: object

A DNS resource record. For more information about records, see RFC 1034.

Methods

__init__(**kwargs) Initializes a new RecordDetails object with values from keyword arguments.

Attributes

domain [Required] Gets the domain of this RecordDetails.
is_protected Gets the is_protected of this RecordDetails.
rdata [Required] Gets the rdata of this RecordDetails.
record_hash Gets the record_hash of this RecordDetails.
rrset_version Gets the rrset_version of this RecordDetails.
rtype [Required] Gets the rtype of this RecordDetails.
ttl [Required] Gets the ttl of this RecordDetails.
__init__(**kwargs)

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

Parameters:
  • domain (str) – The value to assign to the domain property of this RecordDetails.
  • record_hash (str) – The value to assign to the record_hash property of this RecordDetails.
  • is_protected (bool) – The value to assign to the is_protected property of this RecordDetails.
  • rdata (str) – The value to assign to the rdata property of this RecordDetails.
  • rrset_version (str) – The value to assign to the rrset_version property of this RecordDetails.
  • rtype (str) – The value to assign to the rtype property of this RecordDetails.
  • ttl (int) – The value to assign to the ttl property of this RecordDetails.
domain

[Required] Gets the domain of this RecordDetails. The fully qualified domain name where the record can be located.

Returns:The domain of this RecordDetails.
Return type:str
is_protected

Gets the is_protected of this RecordDetails. A Boolean flag indicating whether or not parts of the record are unable to be explicitly managed.

Returns:The is_protected of this RecordDetails.
Return type:bool
rdata

[Required] Gets the rdata of this RecordDetails. 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

Returns:The rdata of this RecordDetails.
Return type:str
record_hash

Gets the record_hash of this RecordDetails. A unique identifier for the record within its zone.

Returns:The record_hash of this RecordDetails.
Return type:str
rrset_version

Gets the rrset_version of this RecordDetails. The latest version of the record’s zone in which its RRSet differs from the preceding version.

Returns:The rrset_version of this RecordDetails.
Return type:str
rtype

[Required] Gets the rtype of this RecordDetails. The type of DNS record, such as A or CNAME. For more information, see Resource Record (RR) TYPEs.

Returns:The rtype of this RecordDetails.
Return type:str
ttl

[Required] Gets the ttl of this RecordDetails. The Time To Live for the record, in seconds. Using a TTL lower than 30 seconds is not recommended.

Returns:The ttl of this RecordDetails.
Return type:int