gcloud dns record-sets transaction

NAME
gcloud dns record-sets transaction - make scriptable and transactional changes to your record-sets
SYNOPSIS
gcloud dns record-sets transactionCOMMAND[--transaction-file=TRANSACTION_FILE; default="transaction.yaml"][GCLOUD_WIDE_FLAG]
DESCRIPTION
Make scriptable and transactional changes to your record-sets.
EXAMPLES
To start a transaction, run:
gclouddnsrecord-setstransactionstart--zone=MANAGED_ZONE

To append a record-set addition to the transaction, run:

gclouddnsrecord-setstransactionadd--nameRECORD_SET_NAME--ttlTTL--typeTYPEDATA--zone=MANAGED_ZONE

To append a record-set removal to the transaction, run:

gclouddnsrecord-setstransactionremove--nameRECORD_SET_NAME--ttlTTL--typeTYPEDATA

To look at the details of the transaction, run:

gclouddnsrecord-setstransactiondescribe--zone=MANAGED_ZONE

To delete the transaction, run:

gclouddnsrecord-setstransactionabort--zone=MANAGED_ZONE

To execute the transaction, run:

gclouddnsrecord-setstransactionexecute--zone=MANAGED_ZONE
FLAGS
--transaction-file=TRANSACTION_FILE; default="transaction.yaml"
Path of the file which contains the transaction.
GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

COMMANDS
COMMAND is one of the following:
abort
Abort transaction.
add
Append a record-set addition to the transaction.
describe
Describe the transaction.
execute
Execute the transaction on Cloud DNS.
remove
Append a record-set deletion to the transaction.
start
Start a transaction.
NOTES
These variants are also available:
gcloudalphadnsrecord-setstransaction
gcloudbetadnsrecord-setstransaction

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-17 UTC.