Method: projects.locations.privateClouds.clusters.delete

删除 Cluster 资源。为避免意外丢失数据,请在删除集群之前迁移或正常关闭集群上运行的所有工作负载。您无法使用此方法删除私有云的管理集群。

HTTP 请求

DELETE https://vmwareengine.googleapis.com/v1/{name=projects/*/locations/*/privateClouds/*/clusters/*}

网址采用 gRPC 转码语法。

路径参数

参数
name

string

必需。要删除的集群的资源名称。资源名称是无方案 URI,遵循 https://cloud.google.com/apis/design/resource_names 中的惯例。例如 projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster

必须对指定的资源 name 具有以下 IAM 权限才能进行授权:

  • vmwareengine.clusters.delete

查询参数

参数
requestId

string

可选。请求 ID 必须是有效的 UUID,且不支持全部由零组成的 UUID(即 00000000-0000-0000-0000-000000000000)。

请求正文

请求正文必须为空。

响应正文

如果成功,则响应正文包含一个 Operation 实例。

授权范围

需要以下 OAuth 范围:

  • https://www.googleapis.com/auth/cloud-platform

如需了解详情,请参阅 Authentication Overview