Method: projects.locations.clusters.create

在给定的项目和位置中创建新的集群。

HTTP 请求

POST https://edgecontainer.googleapis.com/v1/{parent=projects/*/locations/*}/clusters

网址采用 gRPC 转码语法。

路径参数

参数
parent

string

必需。将在其中创建此集群的父级位置。

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

  • edgecontainer.clusters.create

查询参数

参数
clusterId

string

必需。由客户端指定的集群唯一标识符。

requestId

string

相应请求的唯一标识符。仅限 36 个 ASCII 字符。建议使用随机 UUID。仅当提供 requestId 时,此请求才是幂等的。

请求正文

请求正文包含一个 Cluster 实例。

响应正文

如果成功,响应正文将包含一个新创建的 Operation 实例。

授权范围

需要以下 OAuth 范围:

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

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