gcloud alpha dns response-policies - manage your Cloud DNS response policy
gcloud alpha dns response-policies GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
To create a response policy, run:
$ gcloud alpha dns response-policies create myresponsepolicy \ --description="My Response Policy" --network=''
To update a response policy, run:
$ gcloud alpha dns response-policies update myresponsepolicy \ --description="My Response Policy" --network=''
To delete a response policy, run:
$ gcloud alpha dns response-policies delete myresponsepolicy
To view the details of a response policy, run
$ gcloud alpha dns response-policies describe myresponsepolicy
To see a list of all response policies, run
$ gcloud alpha dns response-policies list
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUP is one of the following:
- rules
(ALPHA) Manage your Cloud DNS response policy rules.
COMMAND is one of the following:
- create
(ALPHA) Creates a new Cloud DNS response policy.
- delete
(ALPHA) Deletes a Cloud DNS response policy.
- describe
(ALPHA) Describes a Cloud DNS response policy.
- list
(ALPHA) Displays the list of all Cloud DNS response policies in a given project.
- update
(ALPHA) Updates a Cloud DNS response policy.
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 response-policies
$ gcloud beta dns response-policies