gcloud vmware network-peerings delete

NAME
gcloud vmware network-peerings delete - delete a Google Cloud VMware Engine VPC network peering
SYNOPSIS
gcloud vmware network-peerings delete(NETWORK_PEERING :--location=LOCATION)[--async][GCLOUD_WIDE_FLAG]
DESCRIPTION
Delete a VPC network peering. After you delete a VPC network peering, you won'tbe able to access the corresponding VMware Engine network through the peernetwork.
EXAMPLES
To delete a VPC network peering with namemy-peering, run:
gcloudvmwarenetwork-peeringsdeletemy-peering

In this example, the project is taken from gcloud properties core/project andlocation is taken asglobal.

POSITIONAL ARGUMENTS
VMware Engine VPC network peering resource - network_peering. The arguments inthis group can be used to specify the attributes of this resource. (NOTE) Someattributes are not given arguments in this group but can be set in other ways.

To set theproject attribute:

  • provide the argumentnetwork_peering on the command line with afully specified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

NETWORK_PEERING
ID of the VMware Engine VPC network peering or fully qualified identifier forthe VMware Engine VPC network peering.

To set thenetwork-peering attribute:

  • provide the argumentnetwork_peering on the command line.

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

--location=LOCATION
The resource name of the location.

To set thelocation attribute:

  • provide the argumentnetwork_peering on the command line with afully specified name;
  • provide the argument--location on the command line;
  • set location as 'global' (default).
FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.The default isTrue. 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.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.