GetRecordResult

data class GetRecordResult(val data: String, val domain: String, val flags: Int, val id: String, val name: String, val port: Int, val priority: Int, val tag: String, val ttl: Int, val type: String, val weight: Int)

A collection of values returned by getRecord.

Constructors

Link copied to clipboard
constructor(data: String, domain: String, flags: Int, id: String, name: String, port: Int, priority: Int, tag: String, ttl: Int, type: String, weight: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Variable data depending on record type. For example, the "data" value for an A record would be the IPv4 address to which the domain will be mapped. For a CAA record, it would contain the domain name of the CA being granted permission to issue certificates.

Link copied to clipboard
Link copied to clipboard
val flags: Int

An unsigned integer between 0-255 used for CAA records.

Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard
Link copied to clipboard
val port: Int

The port for SRV records.

Link copied to clipboard

The priority for SRV and MX records.

Link copied to clipboard
val tag: String

The parameter tag for CAA records.

Link copied to clipboard
val ttl: Int

This value is the time to live for the record, in seconds. This defines the time frame that clients can cache queried information before a refresh should be requested.

Link copied to clipboard

The type of the DNS record.

Link copied to clipboard
val weight: Int

The weight for SRV records.