Record

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

Bases: object

A DNS resource record. For more information, see Supported DNS Resource Record Types.

Methods

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

Attributes

domain Gets the domain of this Record.
is_protected Gets the is_protected of this Record.
rdata Gets the rdata of this Record.
record_hash Gets the record_hash of this Record.
rrset_version Gets the rrset_version of this Record.
rtype Gets the rtype of this Record.
ttl Gets the ttl of this Record.
__init__(**kwargs)

Initializes a new Record 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 Record.
  • record_hash (str) – The value to assign to the record_hash property of this Record.
  • is_protected (bool) – The value to assign to the is_protected property of this Record.
  • rdata (str) – The value to assign to the rdata property of this Record.
  • rrset_version (str) – The value to assign to the rrset_version property of this Record.
  • rtype (str) – The value to assign to the rtype property of this Record.
  • ttl (int) – The value to assign to the ttl property of this Record.
domain

Gets the domain of this Record. The fully qualified domain name where the record can be located.

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

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

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

Gets the rdata of this Record. 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 Record.
Return type:str
record_hash

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

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

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

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

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

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

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

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