gcloud vmware private-clouds delete Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud vmware private-clouds delete - delete a Google Cloud VMware Engine private cloud
- SYNOPSIS
gcloud vmware private-clouds delete(PRIVATE_CLOUD:--location=LOCATION)[--async][--delay-hours=DELAY_HOURS; default=3][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- Marks a VMware Engine private cloud for deletion. The resource is deleted 3hours after being marked for deletion. This process can be reversed by using
gcloudvmware private-clouds undelete. - EXAMPLES
- To mark a private cloud called
my-private-cloudfor deletion, run:gcloudvmwareprivate-cloudsdeletemy-private-cloud--location=us-west2-a--project=my-projectOr:
gcloudvmwareprivate-cloudsdeletemy-private-cloudIn the second example, the project and location are taken from gcloud propertiescore/project and compute/zone.
- POSITIONAL ARGUMENTS
- Private cloud resource - private_cloud. The arguments in this group can be usedto specify the attributes of this resource. (NOTE) Some attributes are not givenarguments in this group but can be set in other ways.
To set the
projectattribute:- provide the argument
private_cloudon the command line with a fullyspecified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
PRIVATE_CLOUD- ID of the private cloud or fully qualified identifier for the private cloud.
To set the
private-cloudattribute:- provide the argument
private_cloudon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--location=LOCATION- Location of the private cloud or cluster.
To set the
locationattribute:- provide the argument
private_cloudon the command line with a fullyspecified name; - provide the argument
--locationon the command line; - set the property
compute/zone.
- provide the argument
- provide the argument
- Private cloud resource - private_cloud. The arguments in this group can be usedto specify the attributes of this resource. (NOTE) Some attributes are not givenarguments 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. --delay-hours=DELAY_HOURS; default=3- Number of hours to wait before deleting the private cloud. Specifying a value of
0for this field begins the deletion process immediately.DELAY_HOURSmust be one of:0,1,2,3,4,5,6,7,8.
- 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.