This should be the RDATA part of this Resource Record’s presentation (zonefile) format.
E.g., 10 xyz.tuv for a @ 600 IN MX 10 xyz.tuv. resource record in a zonefile.
--deletion-protection (bool)
Mark this record as delete-protected
Delete-protected records can only be deleted by explicitly calling RecordService/Delete API with force flag set to true.
--labels (string->string)
Labels associated with the resource.
--name (string)
Human readable name for the resource.
--parent-id (string) [required]
Identifier of the parent resource to which the resource belongs.
--relative-name (string) [required]
Zone-relative name of this record (e.g., www for www.<parent zone's domain name>)
Use @ for records in zone apex (that is, records that have the same domain name as the zone itself)
To see the resolved absolute domain name, see Record.status.effective_fqdn.
--resource-version (int64)
Version of the resource for safe concurrent modifications and consistent reads.
Positive and monotonically increases on each resource spec change (but not on each change of the
resource’s container(s) or status).
Service allows zero value or current.
--ttl (int64)
Record TTL. If absent or negative, will be assumed to be the default value (600).
--type (string) [required]
Record type.
A value must be one of:
a
aaaa
ptr
cname
mx
txt
srv
ns
soa
caa
svcb
https
--async (bool)
If set, returns operation id. Otherwise, waits for the operation to complete and returns its resource.
-i, --interactive (bool)
If set, suggests to insert field values in interactive mode.
Input file. For ‘update’ commands automatically set —full=true.
-c, --config (string)
Provide path to config file.
--debug (bool)
Enable debug logs.
--color (bool)
Enable colored output.
--no-browser (bool)
Do not open browser automatically on auth.
--insecure (bool)
Disable transport security.
--auth-timeout (duration: 2h30m10s)
Set the timeout for the request including authentication process, default is 15m0s.
--per-retry-timeout (duration: 2h30m10s)
Set the timeout for each retry attempt, default is 20s.
--retries (uint)
Set the number of retry attempts, 1 is disable retries, default is 3.
--timeout (duration: 2h30m10s)
Set the timeout for the main request, default is 1m0s.
--no-check-update (bool)
Suppress check for updates.
--no-progress (bool)
Suppress progress indicators and spinners.
Show Input argument JSON Schema
Full
CopyPaste Friendly
{ "metadata": { // [required] // Metadata for the DNS record to create // The only required field is `metadata.parent_id`, which must be set to the ID of this record's parent DNS zone. "labels": { // [map] // Labels associated with the resource. string: string }, "name": string, // Human readable name for the resource. "parent_id": string, // [required] // Identifier of the parent resource to which the resource belongs. "resource_version": int64 // Version of the resource for safe concurrent modifications and consistent reads. // Positive and monotonically increases on each resource spec change (but *not* on each change of the // resource's container(s) or status). // Service allows zero value or current. }, "spec": { // [required] // Specification for the DNS record to create. "data": string, // [required] // Record data in text format // // This should be the RDATA part of this Resource Record's // [presentation (zonefile) format](https://datatracker.ietf.org/doc/html/rfc9499#name-resource-records). // E.g., `10 xyz.tuv` for a `@ 600 IN MX 10 xyz.tuv.` resource record in a zonefile. "deletion_protection": bool, // Mark this record as delete-protected // Delete-protected records can *only* be deleted by explicitly calling `RecordService/Delete` API with `force` flag set to `true`. "relative_name": string, // [required] [immutable] // Zone-relative name of this record (e.g., `www` for `www.<parent zone's domain name>`) // Use `@` for records in zone apex (that is, records that have the same domain name as the zone itself) // To see the resolved absolute domain name, see `Record.status.effective_fqdn`. "ttl": int64, // Record TTL. If absent or negative, will be assumed to be the default value (`600`). "type": enum( // [required] [immutable] // Record type. "RECORD_TYPE_UNSPECIFIED", // Record type is not specified. "A", // `A` record: IPv4 address. "AAAA", // `AAAA` record: IPv6 address. "PTR", // `PTR` record: mapping from IP address to a domain name. "CNAME", // `CNAME` record: an alias for a *canonical domain name*. "MX", // `MX` record: mail server information (domain name, priority). "TXT", // `TXT` record: text data, typically used to verify e-mail addresses, websites and TLS certificates. "SRV", // `SRV` record: information about a network service (domain name, port, weight). "NS", // `NS` record: domain name of an authoritative nameserver for this DNS zone, or one of its subzones. "SOA", // `SOA` record: administrative information about this DNS zone. "CAA", // `CAA` record: certificate issuance settings for this DNS zone and its subzones. "SVCB", // `SVCB` record: service binding. See [RFC 9460, section 2.3](https://www.rfc-editor.org/rfc/rfc9460.html#section-2.3). "HTTPS" // `HTTPS` record: service binding with HTTPS protocol configuration. // See [RFC 9460, section 9.1](https://www.rfc-editor.org/rfc/rfc9460.html#section-9.1). ) }}