- NAME
-
- gcloud vmware network-policies external-access-rules delete - delete a VMware Engine external access rule
- SYNOPSIS
-
-
gcloud vmware network-policies external-access-rules delete(EXTERNAL_ACCESS_RULE:--location=LOCATION--network-policy=NETWORK_POLICY) [--async] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Delete a VMware Engine external access firewall rule.
- EXAMPLES
-
To delete an external access firewall rule called
my-external-access-rulein projectmy-projectand regionus-west2associated with network policymy-network-policy, run:gcloud vmware network-policies external-access-rules delete my-external-access-rule --location=us-west2 --project=my-project --network-policy=my-network-policyOr:
gcloud vmware network-policies external-access-rules delete my-external-access-rule --network-policy=my-network-policyIn the second example, the project and the location are taken from gcloud properties core/project and compute/region respectively.
- POSITIONAL ARGUMENTS
-
-
VMware Engine External Access Rule resource - external_access_rule. 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
projectattribute:-
provide the argument
external_access_ruleon the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
This must be specified.
EXTERNAL_ACCESS_RULE-
ID of the VMware Engine External Access Rule or fully qualified identifier for
the VMware Engine External Access Rule.
To set the
external-access-ruleattribute:-
provide the argument
external_access_ruleon the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--location=LOCATION-
The resource name of the location.
To set the
locationattribute:-
provide the argument
external_access_ruleon the command line with a fully specified name; -
provide the argument
--locationon the command line; -
set the property
compute/region.
-
provide the argument
--network-policy=NETWORK_POLICY-
VMware Engine network policy
To set the
network-policyattribute:-
provide the argument
external_access_ruleon the command line with a fully specified name; -
provide the argument
--network-policyon the command line.
-
provide the argument
-
provide the argument
-
VMware Engine External Access Rule resource - external_access_rule. 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.
- FLAGS
-
--async-
Return immediately, without waiting for the operation in progress to complete.
The default is
True. Enabled by default, use--no-asyncto disable.
- 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.
gcloud vmware network-policies external-access-rules 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 2025-05-07 UTC.