gcloud vmware network-peerings delete Stay organized with collections Save and categorize content based on your preferences.
- 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 name
my-peering, run:gcloudvmwarenetwork-peeringsdeletemy-peeringIn this example, the project is taken from gcloud properties core/project andlocation is taken as
global. - 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 the
projectattribute:- provide the argument
network_peeringon the command line with afully specified name; - provide the argument
--projecton the command line; - set the property
core/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 the
network-peeringattribute:- provide the argument
network_peeringon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--location=LOCATION- The resource name of the location.
To set the
locationattribute:- provide the argument
network_peeringon the command line with afully specified name; - provide the argument
--locationon the command line; - set location as 'global' (default).
- provide the argument
- provide the argument
- 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.
- 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.
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.