ResourceRecordSet(name, record_type, ttl, rrdatas, zone)ResourceRecordSets are DNS resource records.
RRS are owned by a xref_ManagedZone instance.
Parameters |
|
|---|---|
| Name | Description |
name |
str
the name of the record set. |
record_type |
str
the RR type of the zone. |
ttl |
int
TTL (in seconds) for caching the record sets. |
rrdatas |
list of string
one or more lines containing the resource data. |
zone |
ManagedZone
A zone which holds one or more record sets. |
Methods
from_api_repr
from_api_repr(resource, zone)Factory: construct a record set given its API representation
| Parameters | |
|---|---|
| Name | Description |
resource |
dict
record sets representation returned from the API |
zone |
ManagedZone
A zone which holds one or more record sets. |
| Returns | |
|---|---|
| Type | Description |
ResourceRecordSet |
RRS parsed from resource. |