GetDnsRecordResult

data class GetDnsRecordResult(val comment: String, val commentModifiedOn: String, val content: String, val createdOn: String, val data: GetDnsRecordData, val dnsRecordId: String? = null, val filter: GetDnsRecordFilter? = null, val id: String, val meta: String, val modifiedOn: String, val name: String, val priority: Double, val proxiable: Boolean, val proxied: Boolean, val settings: GetDnsRecordSettings, val tags: List<String>, val tagsModifiedOn: String, val ttl: Double, val type: String, val zoneId: String)

A collection of values returned by getDnsRecord.

Constructors

Link copied to clipboard
constructor(comment: String, commentModifiedOn: String, content: String, createdOn: String, data: GetDnsRecordData, dnsRecordId: String? = null, filter: GetDnsRecordFilter? = null, id: String, meta: String, modifiedOn: String, name: String, priority: Double, proxiable: Boolean, proxied: Boolean, settings: GetDnsRecordSettings, tags: List<String>, tagsModifiedOn: String, ttl: Double, type: String, zoneId: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Comments or notes about the DNS record. This field has no effect on DNS responses.

Link copied to clipboard

When the record comment was last modified. Omitted if there is no comment.

Link copied to clipboard

A valid IPv4 address.

Link copied to clipboard

When the record was created.

Link copied to clipboard

Components of a CAA record.

Link copied to clipboard
val dnsRecordId: String? = null

Identifier

Link copied to clipboard
Link copied to clipboard
val id: String

Identifier

Link copied to clipboard

Extra Cloudflare-specific information about the record.

Link copied to clipboard

When the record was last modified.

Link copied to clipboard

DNS record name (or @ for the zone apex) in Punycode.

Link copied to clipboard

Required for MX, SRV and URI records; unused by other record types. Records with lower priorities are preferred.

Link copied to clipboard

Whether the record can be proxied by Cloudflare or not.

Link copied to clipboard

Whether the record is receiving the performance and security benefits of Cloudflare.

Link copied to clipboard

Settings for the DNS record.

Link copied to clipboard

Custom tags for the DNS record. This field has no effect on DNS responses.

Link copied to clipboard

When the record tags were last modified. Omitted if there are no tags.

Link copied to clipboard
val ttl: Double

Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones.

Link copied to clipboard

Record type. Available values: "A".

Link copied to clipboard

Identifier