1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-16 01:45:45 +00:00
gcloud-help/gcloud/alpha/vmware/network-policies/delete
2022-05-25 08:41:12 +00:00

73 lines
2.8 KiB
Text

NAME
gcloud alpha vmware network-policies delete - delete a VMware Engine
network policy
SYNOPSIS
gcloud alpha vmware network-policies delete
(NETWORK_POLICY : --location=LOCATION) [--async] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Delete a VMware Engine network policy.
EXAMPLES
To delete a network policy called my-network-policy in project my-project
and region us-west2, run:
$ gcloud alpha vmware network-policies delete my-network-policy \
--location=us-west2 --project=my-project
Or:
$ gcloud alpha vmware network-policies delete my-network-policy
In the second example, the project and the location are taken from gcloud
properties core/project and compute/region respectively.
POSITIONAL ARGUMENTS
VMware Engine Network Policy resource - network_policy. 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 network_policy on the command line with a fully
specified name;
◆ set the property core/project;
◆ provide the argument --project on the command line.
This must be specified.
NETWORK_POLICY
ID of the VMware Engine Network Policy or fully qualified identifier
for the VMware Engine Network Policy. To set the network-policy
attribute:
▸ provide the argument network_policy on the command line.
This positional must be specified if any of the other arguments in
this group are specified.
--location=LOCATION
The resource name of the location. To set the location attribute:
▸ provide the argument network_policy on the command line with a
fully specified name;
▸ provide the argument --location on the command line;
▸ set the property compute/region.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete. The default is True. Enabled by default, use --no-async to
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 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.