Upsert Upsert
Upsert Certified

Upsert Cloudflare DNS record

yaml
type: "io.kestra.plugin.cloudflare.dns.records.Upsert"
yaml
id: upsert_dns_record
namespace: company.team

tasks:
  - id: ensure_dns
    type: io.kestra.plugin.cloudflare.dns.records.Upsert
    apiToken: "{{ secret('CLOUDFLARE_API_TOKEN') }}"
    zoneId: "your_zone_id"
    recordType: "A"
    name: "app.example.com"
    content: "1.2.3.4"
Properties
Possible Values
AAAAACNAMETXTMXNSSRVPTRCAASOA
Defaulthttps://api.cloudflare.com/client/v4
Definitions
allowFailedbooleanstring
Defaultfalse
allowedResponseCodesarray
SubTypeinteger
auth
type*Requiredobject
passwordstring
usernamestring
type*Requiredobject
tokenstring
basicAuthPasswordDeprecatedstring
basicAuthUserDeprecatedstring
connectTimeoutDeprecatedstring
Formatduration
connectionPoolIdleTimeoutDeprecatedstring
Formatduration
defaultCharsetstring
DefaultUTF-8
followRedirectsbooleanstring
Defaulttrue
logLevelDeprecatedstring
Possible Values
ALLTRACEDEBUGINFOWARNERROROFFNOT_SPECIFIED
logsarray
SubTypestring
Possible Values
REQUEST_HEADERSREQUEST_BODYRESPONSE_HEADERSRESPONSE_BODY
maxContentLengthDeprecatedinteger
proxy
addressstring
passwordstring
portintegerstring
typestring
DefaultDIRECT
Possible Values
DIRECTHTTPSOCKS
usernamestring
proxyAddressDeprecatedstring
proxyPasswordDeprecatedstring
proxyPortDeprecatedinteger
proxyTypeDeprecatedstring
Possible Values
DIRECTHTTPSOCKS
proxyUsernameDeprecatedstring
readIdleTimeoutDeprecatedstring
Formatduration
readTimeoutDeprecatedstring
Formatduration
ssl
insecureTrustAllCertificatesbooleanstring
timeout
connectTimeoutstring
readIdleTimeoutstring
DefaultPT5M
Defaultfalse
Default1