Record Args
data class RecordArgs constructor(val comment: Output<String>? = null, val content: Output<String>? = null, val data: Output<RecordDataArgs>? = null, val name: Output<String>? = null, val priority: Output<Double>? = null, val proxied: Output<Boolean>? = null, val settings: Output<RecordSettingsArgs>? = null, val tags: Output<List<String>>? = null, val ttl: Output<Double>? = null, val type: Output<String>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<RecordArgs>
Example Usage
resources:
exampleDnsRecord:
type: cloudflare:DnsRecord
name: example_dns_record
properties:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
comment: Domain verification record
content: 198.51.100.4
name: example.com
proxied: true
settings:
ipv4_only: true
ipv6_only: true
tags:
- owner:dns-team
ttl: 3600
type: A
Content copied to clipboard
Import
$ pulumi import cloudflare:index/record:Record example '<zone_id>/<dns_record_id>'
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(comment: Output<String>? = null, content: Output<String>? = null, data: Output<RecordDataArgs>? = null, name: Output<String>? = null, priority: Output<Double>? = null, proxied: Output<Boolean>? = null, settings: Output<RecordSettingsArgs>? = null, tags: Output<List<String>>? = null, ttl: Output<Double>? = null, type: Output<String>? = null, zoneId: Output<String>? = null)