gcloud_beta_dns_record-sets_transaction (1)
NAME
- gcloud beta dns record-sets transaction - make scriptable and transactional changes to your record-sets
SYNOPSIS
-
gcloud beta dns record-sets transaction COMMAND [--transaction-file=TRANSACTION_FILE; default="transaction.yaml"] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Make scriptable and transactional changes to your record-sets.
FLAGS
-
- --transaction-file=TRANSACTION_FILE; default="transaction.yaml"
-
- Path of the file which contains the transaction.
- Path of the file which contains the transaction.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
COMMANDS
COMMAND is one of the following:
-
- abort
-
(BETA) Abort transaction.
- add
-
(BETA) Append a record-set addition to the transaction.
- describe
-
(BETA) Describe the transaction.
- execute
-
(BETA) Execute the transaction on Cloud DNS.
- remove
-
(BETA) Append a record-set deletion to the transaction.
- start
-
(BETA) Start a transaction.
EXAMPLES
To start a transaction, run:
- $ gcloud beta dns record-sets transaction start --zone MANAGED_ZONE
To append a record-set addition to the transaction, run:
-
$ gcloud beta 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 beta dns record-sets transaction remove \
--name RECORD_SET_NAME --ttl TTL --type TYPE DATA
To look at the details of the transaction, run:
-
$ gcloud beta dns record-sets transaction describe \
--zone MANAGED_ZONE
To delete the transaction, run:
- $ gcloud beta dns record-sets transaction abort --zone MANAGED_ZONE
To execute the transaction, run:
- $ gcloud beta dns record-sets transaction execute --zone MANAGED_ZONE
NOTES
This command is currently in BETA and may change without notice. This variant is also available:
- $ gcloud dns record-sets transaction