- NAME
-
- gcloud beta compute network-firewall-policies associations delete - delete a new association between a firewall policy and an network or folder resource
- SYNOPSIS
-
-
gcloud beta compute network-firewall-policies associations delete--firewall-policy=FIREWALL_POLICY--name=NAME[--firewall-policy-region=FIREWALL_POLICY_REGION|--global-firewall-policy] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(BETA)gcloud beta compute network-firewall-policies associations deleteis used to delete network firewall policy associations. An network firewall policy is a set of rules that controls access to various resources. - EXAMPLES
-
To delete an association from a global network firewall policy with NAME
and association namemy-policy, run:my-associationgcloud beta compute network-firewall-policies associations delete --firewall-policy=my-policy --name=my-association --global-firewall-policyTo delete an association from a regional network firewall policy with NAME
in regionmy-policyand association nameregion-a, run:my-associationgcloud beta compute network-firewall-policies associations delete --firewall-policy=my-policy --name=my-association --firewall-policy-region=region-a - REQUIRED FLAGS
-
--firewall-policy=FIREWALL_POLICY-
Name of the network firewall policy from which to delete the association. This
value explicitly identifies the target network firewall policy whose link to a
resource, such as a VPC network, is being removed (for example,
my-policy). --name=NAME- Name of the association to delete.
- OPTIONAL FLAGS
-
-
At most one of these can be specified:
--firewall-policy-region=FIREWALL_POLICY_REGION-
Google Cloud region string (for example,
us-central1) of the network firewall policy whose association is being deleted. This value explicitly identifies the geographic location of the firewall policy and overrides any defaultcompute/regionproperty value configured for this command invocation. --global-firewall-policy-
Indicate that the referenced network firewall policy is global in scope. When
specified, the command targets and deletes the association from a global network
firewall policy rather than a regional one. This flag is mutually exclusive with
--firewall-policy-region.
-
At most one of these can be specified:
- 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 helpfor details. - NOTES
-
This command is currently in beta and might change without notice. These
variants are also available:
gcloud compute network-firewall-policies associations deletegcloud alpha compute network-firewall-policies associations deletegcloud preview compute network-firewall-policies associations delete
gcloud beta compute network-firewall-policies associations delete
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-11-17 UTC.
[null,null,["Last updated 2026-11-17 UTC."],[],[]]