gcloud dns record-sets transaction Stay organized with collections Save and categorize content based on your preferences.
- 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_ZONETo append a record-set addition to the transaction, run:
gclouddnsrecord-setstransactionadd--nameRECORD_SET_NAME--ttlTTL--typeTYPEDATA--zone=MANAGED_ZONETo append a record-set removal to the transaction, run:
gclouddnsrecord-setstransactionremove--nameRECORD_SET_NAME--ttlTTL--typeTYPEDATATo look at the details of the transaction, run:
gclouddnsrecord-setstransactiondescribe--zone=MANAGED_ZONETo delete the transaction, run:
gclouddnsrecord-setstransactionabort--zone=MANAGED_ZONETo 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 helpfor details. - COMMANDS
is one of the following:COMMAND- NOTES
- These variants are also available:
gcloudalphadnsrecord-setstransactiongcloudbetadnsrecord-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.