mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 15:39:42 +00:00
82 lines
2.3 KiB
Text
82 lines
2.3 KiB
Text
NAME
|
|
gcloud alpha dns record-sets transaction - make scriptable and
|
|
transactional changes to your record-sets
|
|
|
|
SYNOPSIS
|
|
gcloud alpha dns record-sets transaction COMMAND
|
|
[--transaction-file=TRANSACTION_FILE; default="transaction.yaml"]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(ALPHA) Make scriptable and transactional changes to your record-sets.
|
|
|
|
EXAMPLES
|
|
To start a transaction, run:
|
|
|
|
$ gcloud alpha dns record-sets transaction start --zone=MANAGED_ZONE
|
|
|
|
To append a record-set addition to the transaction, run:
|
|
|
|
$ gcloud alpha 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 alpha dns record-sets transaction remove \
|
|
--name RECORD_SET_NAME --ttl TTL --type TYPE DATA
|
|
|
|
To look at the details of the transaction, run:
|
|
|
|
$ gcloud alpha dns record-sets transaction describe \
|
|
--zone=MANAGED_ZONE
|
|
|
|
To delete the transaction, run:
|
|
|
|
$ gcloud alpha dns record-sets transaction abort --zone=MANAGED_ZONE
|
|
|
|
To execute the transaction, run:
|
|
|
|
$ gcloud alpha 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
|
|
COMMAND is one of the following:
|
|
|
|
abort
|
|
(ALPHA) Abort transaction.
|
|
|
|
add
|
|
(ALPHA) Append a record-set addition to the transaction.
|
|
|
|
describe
|
|
(ALPHA) Describe the transaction.
|
|
|
|
execute
|
|
(ALPHA) Execute the transaction on Cloud DNS.
|
|
|
|
remove
|
|
(ALPHA) Append a record-set deletion to the transaction.
|
|
|
|
start
|
|
(ALPHA) Start a transaction.
|
|
|
|
NOTES
|
|
This command is currently in alpha and might change without notice. If this
|
|
command fails with API permission errors despite specifying the correct
|
|
project, you might be trying to access an API with an invitation-only early
|
|
access allowlist. These variants are also available:
|
|
|
|
$ gcloud dns record-sets transaction
|
|
|
|
$ gcloud beta dns record-sets transaction
|
|
|