mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
69 lines
2.3 KiB
Text
69 lines
2.3 KiB
Text
NAME
|
|
gcloud network-connectivity spokes delete - delete a spoke
|
|
|
|
SYNOPSIS
|
|
gcloud network-connectivity spokes delete SPOKE [--async] [--region=REGION]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Delete the specified spoke.
|
|
|
|
EXAMPLES
|
|
To delete a spoke named myspoke in the us-central1 region, run:
|
|
|
|
$ gcloud network-connectivity spokes delete myspoke \
|
|
--region=us-central1
|
|
|
|
POSITIONAL ARGUMENTS
|
|
Spoke resource - Name of the spoke to delete. This represents a Cloud
|
|
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 spoke on the command line with a fully specified
|
|
name;
|
|
◆ provide the argument --project on the command line;
|
|
◆ set the property core/project.
|
|
|
|
To set the location attribute:
|
|
◆ provide the argument spoke on the command line with a fully specified
|
|
name;
|
|
◆ provide the argument --global on the command line;
|
|
◆ provide the argument --region on the command line.
|
|
|
|
This must be specified.
|
|
|
|
SPOKE
|
|
ID of the spoke or fully qualified identifier for the spoke.
|
|
|
|
To set the spoke attribute:
|
|
▸ provide the argument spoke on the command line.
|
|
|
|
FLAGS
|
|
--async
|
|
Return immediately, without waiting for the operation in progress to
|
|
complete.
|
|
|
|
--region=REGION
|
|
A Google Cloud region. To see the names of regions, see Viewing a list
|
|
of available regions
|
|
(https://cloud.google.com/compute/docs/regions-zones/viewing-regions-zones#viewing_a_list_of_available_regions).
|
|
|
|
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.
|
|
|
|
API REFERENCE
|
|
This command uses the networkconnectivity/v1 API. The full documentation
|
|
for this API can be found at:
|
|
https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
|
|
|
|
NOTES
|
|
This variant is also available:
|
|
|
|
$ gcloud alpha network-connectivity spokes delete
|
|
|