- INFORMATION
-
gcloud dns record-sets transaction
is supported in universe domainuniverse
; however, some of the values used in the help text may not be available. Command examples may not work as-is and may requires changes before execution. - NAME
-
- gcloud dns record-sets transaction - make scriptable and transactional changes to your record-sets
- SYNOPSIS
-
-
gcloud dns record-sets transaction
COMMAND
[--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:
gcloud dns record-sets transaction start --zone=MANAGED_ZONE
To append a record-set addition to the transaction, run:
gcloud dns record-sets transaction add --name RECORD_SET_NAME --ttl TTL --type TYPE DATA --zone=MANAGED_ZONE
To append a record-set removal to the transaction, run:
gcloud dns record-sets transaction remove --name RECORD_SET_NAME --ttl TTL --type TYPE DATA
To look at the details of the transaction, run:
gcloud dns record-sets transaction describe --zone=MANAGED_ZONE
To delete the transaction, run:
gcloud dns record-sets transaction abort --zone=MANAGED_ZONE
To execute the transaction, run:
gcloud dns record-sets transaction execute --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
-
is one of the following:COMMAND
- NOTES
-
These variants are also available:
gcloud alpha dns record-sets transaction
gcloud beta dns record-sets transaction
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-17 UTC."],[],[],null,[]]