Method: projects.locations.clusters.nodePools.create

在给定的项目和位置中创建一个新 NodePool。

HTTP 请求

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

网址采用 gRPC 转码语法。

路径参数

参数
parent

string

必需。将在其中创建此节点池的父级集群。

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

  • edgecontainer.nodePools.create

查询参数

参数
nodePoolId

string

必需。节点池的客户端指定唯一标识符。

requestId

string

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

请求正文

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

响应正文

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

授权范围

需要以下 OAuth 范围:

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

如需了解详情,请参阅身份验证概览