1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 18:45:13 +00:00
gcloud-help/gcloud/compute/networks/delete
2022-03-01 04:29:52 +00:00

40 lines
1.2 KiB
Text

NAME
gcloud compute networks delete - delete Compute Engine networks
SYNOPSIS
gcloud compute networks delete NAME [NAME ...] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
gcloud compute networks delete deletes one or more Compute Engine networks.
Networks can only be deleted when no other resources (e.g., virtual machine
instances) refer to them.
EXAMPLES
To delete a network with the name 'network-name', run:
$ gcloud compute networks delete network-name
To delete two networks with the names 'network-name1' and 'network-name2',
run:
$ gcloud compute networks delete network-name1 network-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 help for details.
NOTES
These variants are also available:
$ gcloud alpha compute networks delete
$ gcloud beta compute networks delete