View Source CloudflareApi.DnsRecord (cloudflare_api v0.1.0)

Makes a struct and convenience functions around A Cloudflare DNS record.

See Cloudflare docs: https://api.cloudflare.com/#dns-records-for-a-zone-properties

Link to this section Summary

Link to this section Types

Specs

t() :: %CloudflareApi.DnsRecord{
  created_on: String.t() | nil,
  hostname: String.t(),
  id: String.t() | nil,
  ip: String.t(),
  locked: boolean() | nil,
  proxiable: boolean() | nil,
  proxied: boolean() | nil,
  ttl: non_neg_integer(),
  type: ttl(),
  zone_id: String.t(),
  zone_name: String.t() | nil
}

Specs

ttl() ::
  :A
  | :AAAA
  | :CNAME
  | :HTTPS
  | :TXT
  | :SRV
  | :LOC
  | :MX
  | :NS
  | :CERT
  | :DNSKEY
  | :DS
  | :NAPTR
  | :SMIMEA
  | :SSHFP
  | :SVCB
  | :TLSA
  | :URI

Link to this section Functions