gcloud beta compute networks delete Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud beta compute networks delete - delete Compute Engine networks
- SYNOPSIS
gcloud beta compute networks deleteNAME[NAME…][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(BETA)gcloud beta compute networks deletedeletes oneor more Compute Engine networks. Networks can only be deleted when no otherresources (e.g., virtual machine instances) refer to them.- EXAMPLES
- To delete a network with the name 'network-name', run:
gcloudbetacomputenetworksdeletenetwork-nameTo delete two networks with the names 'network-name1' and 'network-name2', run:
gcloudbetacomputenetworksdeletenetwork-name1network-name2 - POSITIONAL ARGUMENTS
NAME[NAME…]- Names of the networks to delete.
- 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. Thesevariants are also available:
gcloudcomputenetworksdeletegcloudalphacomputenetworksdelete
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.