gcloud network-connectivity spokes delete - delete a spoke
gcloud network-connectivity spokes delete SPOKE [--async] [--region=REGION] [GCLOUD_WIDE_FLAG ...]
Delete the specified spoke.
To delete a spoke named myspoke in the us-central1 region, run:
$ gcloud network-connectivity spokes delete myspoke \ --region=us-central1
- 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.
- --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.
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.
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
This variant is also available:
$ gcloud alpha network-connectivity spokes delete