gcloud_beta_dns_policies_update (1)
NAME
- gcloud beta dns policies update - update an existing Cloud DNS policy
SYNOPSIS
-
gcloud beta dns policies update POLICY [--alternative-name-servers=[NAME_SERVERS,...]] [--description=DESCRIPTION] [--enable-inbound-forwarding] [--networks=[NETWORKS,...]] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Update an existing Cloud DNS policy.
POSITIONAL ARGUMENTS
-
-
- Policy resource - The policy to update.. This represents a Cloud resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways. To set the [project] attribute: provide the argument [policy] on the command line with a fully specified name; set the property [core/project]. This must be specified.
-
- POLICY
-
ID of the policy or fully qualified identifier for the policy.
- Policy resource - The policy to update.. This represents a Cloud resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways. To set the [project] attribute: provide the argument [policy] on the command line with a fully specified name; set the property [core/project]. This must be specified.
-
FLAGS
-
- --alternative-name-servers=[NAME_SERVERS,...]
-
List of alternative name servers to forward to. Must be a comma separated list
of IPv4 addresses.
- --description=DESCRIPTION
-
A description of the policy.
- --enable-inbound-forwarding
-
Specifies whether to allow networks bound to this policy to receive DNS queries
sent by VMs or applications over VPN connections. Defaults to False.
- --networks=[NETWORKS,...]
-
The comma separated list of network names to associate with the policy.
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.
EXAMPLES
To change the description of a policy, run:
-
$ gcloud beta dns policies update mypolicy \
--description="Hello, world!"
NOTES
This command is currently in BETA and may change without notice.