Record

class Record : KotlinCustomResource

Deprecated

cloudflare.index/record.Record has been deprecated in favor of cloudflare.index/dnsrecord.DnsRecord

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

Import

$ pulumi import cloudflare:index/record:Record example '<zone_id>/<dns_record_id>'

Properties

Link copied to clipboard
val comment: Output<String>

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
val content: Output<String>

A valid IPv4 address.

Link copied to clipboard
val createdOn: Output<String>

When the record was created.

Link copied to clipboard
val data: Output<RecordData>

Components of a CAA record.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val meta: Output<String>

Extra Cloudflare-specific information about the record.

Link copied to clipboard
val modifiedOn: Output<String>

When the record was last modified.

Link copied to clipboard
val name: Output<String>

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

Link copied to clipboard
val priority: Output<Double>?

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

Link copied to clipboard
val proxiable: Output<Boolean>

Whether the record can be proxied by Cloudflare or not.

Link copied to clipboard
val proxied: Output<Boolean>

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

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Settings for the DNS record.

Link copied to clipboard
val tags: Output<List<String>>

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

Link copied to clipboard
val tagsModifiedOn: Output<String>

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

Link copied to clipboard
val ttl: Output<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
val type: Output<String>

Record type. Available values: "A".

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val zoneId: Output<String>

Identifier