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

這是必要旗標,叢集的專屬 ID,由用戶端指定。

requestId

string

這項要求的專屬 ID。最多只能包含 36 個 ASCII 字元。建議使用隨機 UUID。只有在提供 requestId 時,這項要求才會是等冪。

要求主體

要求主體包含 Cluster 的執行個體。

回應主體

如果成功,回應主體會包含新建立的 Operation 執行個體。

授權範圍

需要下列 OAuth 範圍:

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

詳情請參閱Authentication Overview