NAME

gcloud alpha dns response-policies rules delete - deletes a Cloud DNS response policy rule

SYNOPSIS

gcloud alpha dns response-policies rules delete (RESPONSE_POLICY_RULE : --response-policy=RESPONSE_POLICY) [--location=LOCATION] [GCLOUD_WIDE_FLAG ...]

EXAMPLES

To delete a response policy rule, run:

$ gcloud alpha dns response-policies rules delete \ --response-policy=myresponsepolicy rulename

POSITIONAL ARGUMENTS

Response policy rule resource - The response policy rule to delete. The

arguments in this group can be used to specify the attributes of this 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 response_policy_rule on the command line with a fully specified name;

set the property core/project.

This must be specified.

RESPONSE_POLICY_RULE

ID of the response_policy_rule or fully qualified identifier for the response_policy_rule. To set the response-policy-rule attribute:

  • provide the argument response_policy_rule on the command line.

This positional argument must be specified if any of the other arguments in this group are specified.

--response-policy=RESPONSE_POLICY

The Cloud DNS response policy name response_policy_rule. To set the response-policy attribute:

  • provide the argument response_policy_rule on the command line with a fully specified name;

  • provide the argument --response-policy on the command line.

FLAGS

--location=LOCATION

Specifies the desired service location the request is sent to. Defaults to Cloud DNS global service. Use --location=global if you want to target the global service.

GCLOUD WIDE FLAGS

These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.

Run $ gcloud help for details.

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 response-policies rules delete

$ gcloud beta dns response-policies rules delete