API Explorer 快速入门 - 删除集群
本页面介绍如何使用 Google API Explorer 模板来删除 Managed Service for Apache Spark 集群。
如需了解将作业提交到 Managed Service for Apache Spark 集群的其他方法,请参阅:
准备工作
本快速入门假定您已经创建了一个 Managed Service for Apache Spark 集群。 您可以使用 APIs Explorer、 Google Cloud 控制台、 gcloud CLI gcloud 命令行工具或 快速入门:使用 Cloud 客户端库创建集群。删除集群
要删除集群,请填写并执行 Google API Explorer 试用此 API 模板。
请求参数:
- 插入您的 projectId。
- 指定您的集群所在的区域 (确认或替换“us-central1”)。 您的集群的区域列在 控制台的 Managed Service for Apache Spark 集群 页面上。 Google Cloud
- 指定要删除的现有集群的 clusterName (确认或替换 “example-cluster”)。
点击执行。首次运行 API 模板时,系统可能会要求您选择并登录您的 Google 账号,然后授权 Google API Explorer 访问您的账号。如果请求成功,JSON 响应会显示集群正在等待更新。
如需确认集群已删除,请打开 控制台中的 Managed Service for Apache Spark 集群页面。 Google Cloud