Schedules a PrivateCloud
resource for deletion.
A PrivateCloud
resource scheduled for deletion has PrivateCloud.state
set to DELETED
and expireTime
set to the time when deletion is final and can no longer be reversed. The delete operation is marked as done as soon as the PrivateCloud
is successfully scheduled for deletion (this also applies when delayHours
is set to zero), and the operation is not kept in pending state until PrivateCloud
is purged. PrivateCloud
can be restored using privateClouds.undelete
method before the expireTime
elapses. When expireTime
is reached, deletion is final and all private cloud resources are irreversibly removed and billing stops. During the final removal process, PrivateCloud.state
is set to PURGING
. PrivateCloud
can be polled using standard GET
method for the whole period of deletion and purging. It will not be returned only when it is completely purged.
HTTP request
DELETE https://vmwareengine.googleapis.com/v1/{name=projects/*/locations/*/privateClouds/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The resource name of the private cloud to delete. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
requestId |
Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
force |
Optional. If set to true, cascade delete is enabled and all children of this private cloud resource are also deleted. When this flag is set to false, the private cloud will not be deleted if there are any children other than the management cluster. The management cluster is always deleted. |
delayHours |
Optional. Time delay of the deletion specified in hours. The default value is |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.