RecordDetails¶
- class oci.dns.models.RecordDetails(**kwargs)¶
Bases:
objectA 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:
[Required] Gets the domain of this RecordDetails.
Gets the is_protected of this RecordDetails.
[Required] Gets the rdata of this RecordDetails.
Gets the record_hash of this RecordDetails.
Gets the rrset_version of this RecordDetails.
[Required] Gets the rtype of this RecordDetails.
[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.
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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