GKE Multi-Cloud API

GKE Multi-Cloud 提供管理 Kubernetes 叢集的方法,這些叢集使用 GKE Multi-Cloud API 在 AWS 和 Azure 基礎架構上執行。搭配 Connect 使用時,您可以在 Google Cloud 控制台中管理 Google Cloud、AWS 和 Azure 上的 Kubernetes 叢集。

使用 GKE Multi-Cloud 建立叢集時,Google 會建立所需資源,並代表您啟動叢集。您可以使用 GKE Multi-Cloud API 或 gcloud 和 kubectl 指令列工具部署工作負載。

服務:gkemulticloud.googleapis.com

服務端點

服務端點是能指定 API 服務網路位址的基本網址。一項服務可能有多個服務端點。這項服務有以下服務端點,且下方的 URI 皆以這些服務端點為基準:

  • https://asia-east2-gkemulticloud.googleapis.com
  • https://asia-northeast2-gkemulticloud.googleapis.com
  • https://asia-south1-gkemulticloud.googleapis.com
  • https://asia-southeast1-gkemulticloud.googleapis.com
  • https://asia-southeast2-gkemulticloud.googleapis.com
  • https://australia-southeast1-gkemulticloud.googleapis.com
  • https://europe-north1-gkemulticloud.googleapis.com
  • https://europe-west1-gkemulticloud.googleapis.com
  • https://europe-west2-gkemulticloud.googleapis.com
  • https://europe-west3-gkemulticloud.googleapis.com
  • https://europe-west4-gkemulticloud.googleapis.com
  • https://europe-west6-gkemulticloud.googleapis.com
  • https://europe-west9-gkemulticloud.googleapis.com
  • https://me-central2-gkemulticloud.googleapis.com
  • https://northamerica-northeast1-gkemulticloud.googleapis.com
  • https://southamerica-east1-gkemulticloud.googleapis.com
  • https://us-central1-gkemulticloud.googleapis.com
  • https://us-east4-gkemulticloud.googleapis.com
  • https://us-east7-gkemulticloud.googleapis.com
  • https://us-west1-gkemulticloud.googleapis.com

REST 資源:v1.projects.locations

方法
generateAttachedClusterInstallManifest GET /v1/{parent=projects/*/locations/*}:generateAttachedClusterInstallManifest
產生要安裝在目標叢集上的安裝資訊清單。
getAttachedServerConfig GET /v1/{name=projects/*/locations/*/attachedServerConfig}
傳回指定 Google Cloud 地點的資訊,例如支援的 Kubernetes 版本。
getAwsServerConfig
(deprecated)
GET /v1/{name=projects/*/locations/*/awsServerConfig}
傳回指定 Google Cloud 地理位置的相關資訊,例如支援的 AWS 區域和 Kubernetes 版本。
getAzureServerConfig
(deprecated)
GET /v1/{name=projects/*/locations/*/azureServerConfig}
傳回指定 Google Cloud 位置的資訊,例如支援的 Azure 區域和 Kubernetes 版本。

REST 資源:v1.projects.locations.attachedClusters

方法
create POST /v1/{parent=projects/*/locations/*}/attachedClusters
在指定的 Google Cloud Platform 專案和區域中建立新的 AttachedCluster 資源。
delete DELETE /v1/{name=projects/*/locations/*/attachedClusters/*}
刪除特定 AttachedCluster 資源。
generateAttachedClusterAgentToken POST /v1/{attachedCluster=projects/*/locations/*/attachedClusters/*}:generateAttachedClusterAgentToken
為叢集代理程式產生存取權杖。
get GET /v1/{name=projects/*/locations/*/attachedClusters/*}
說明特定 AttachedCluster 資源。
import POST /v1/{parent=projects/*/locations/*}/attachedClusters:import
匯入會匯入現有機群成員資格資源,藉此建立新的 AttachedCluster 資源。
list GET /v1/{parent=projects/*/locations/*}/attachedClusters
列出特定 Google Cloud 專案和區域的所有 AttachedCluster 資源。
patch PATCH /v1/{attachedCluster.name=projects/*/locations/*/attachedClusters/*}
更新 AttachedCluster

REST 資源:v1.projects.locations.awsClusters

方法
create
(deprecated)
POST /v1/{parent=projects/*/locations/*}/awsClusters
在指定的 Google Cloud Platform 專案和區域中建立新的 AwsCluster 資源。
delete
(deprecated)
DELETE /v1/{name=projects/*/locations/*/awsClusters/*}
刪除特定 AwsCluster 資源。
generateAwsAccessToken
(deprecated)
GET /v1/{awsCluster=projects/*/locations/*/awsClusters/*}:generateAwsAccessToken
產生短期存取權杖,以驗證特定 AwsCluster 資源。
generateAwsClusterAgentToken
(deprecated)
POST /v1/{awsCluster=projects/*/locations/*/awsClusters/*}:generateAwsClusterAgentToken
為叢集代理程式產生存取權杖。
get
(deprecated)
GET /v1/{name=projects/*/locations/*/awsClusters/*}
說明特定 AwsCluster 資源。
getJwks
(deprecated)
GET /v1/{awsCluster=projects/*/locations/*/awsClusters/*}/jwks
以 JSON Web Key 格式取得叢集簽署金鑰的公開元件。
list
(deprecated)
GET /v1/{parent=projects/*/locations/*}/awsClusters
列出特定 Google Cloud 專案和區域的所有 AwsCluster 資源。
patch
(deprecated)
PATCH /v1/{awsCluster.name=projects/*/locations/*/awsClusters/*}
更新 AwsCluster

REST 資源:v1.projects.locations.awsClusters.awsNodePools

方法
create
(deprecated)
POST /v1/{parent=projects/*/locations/*/awsClusters/*}/awsNodePools
建立新的 AwsNodePool,並附加至指定的 AwsCluster
delete
(deprecated)
DELETE /v1/{name=projects/*/locations/*/awsClusters/*/awsNodePools/*}
刪除特定 AwsNodePool 資源。
get
(deprecated)
GET /v1/{name=projects/*/locations/*/awsClusters/*/awsNodePools/*}
說明特定 AwsNodePool 資源。
list
(deprecated)
GET /v1/{parent=projects/*/locations/*/awsClusters/*}/awsNodePools
列出指定 AwsCluster 上的所有 AwsNodePool 資源。
patch
(deprecated)
PATCH /v1/{awsNodePool.name=projects/*/locations/*/awsClusters/*/awsNodePools/*}
更新 AwsNodePool
rollback
(deprecated)
POST /v1/{name=projects/*/locations/*/awsClusters/*/awsNodePools/*}:rollback
復原先前已中止或失敗的 AwsNodePool 更新要求。

REST 資源:v1.projects.locations.awsClusters.well-known

方法
getOpenid-configuration
(deprecated)
GET /v1/{awsCluster=projects/*/locations/*/awsClusters/*}/.well-known/openid-configuration
取得叢集的 OIDC 探索文件。

REST 資源:v1.projects.locations.azureClients

方法
create
(deprecated)
POST /v1/{parent=projects/*/locations/*}/azureClients
在指定的 Google Cloud 專案和區域中建立新的 AzureClient 資源。
delete
(deprecated)
DELETE /v1/{name=projects/*/locations/*/azureClients/*}
刪除特定 AzureClient 資源。
get
(deprecated)
GET /v1/{name=projects/*/locations/*/azureClients/*}
說明特定 AzureClient 資源。
list
(deprecated)
GET /v1/{parent=projects/*/locations/*}/azureClients
列出特定 Google Cloud 專案和區域的所有 AzureClient 資源。

REST 資源:v1.projects.locations.azureClusters

方法
create
(deprecated)
POST /v1/{parent=projects/*/locations/*}/azureClusters
在指定的 Google Cloud Platform 專案和區域中建立新的 AzureCluster 資源。
delete
(deprecated)
DELETE /v1/{name=projects/*/locations/*/azureClusters/*}
刪除特定 AzureCluster 資源。
generateAzureAccessToken
(deprecated)
GET /v1/{azureCluster=projects/*/locations/*/azureClusters/*}:generateAzureAccessToken
產生短期存取權杖,以驗證特定 AzureCluster 資源。
generateAzureClusterAgentToken
(deprecated)
POST /v1/{azureCluster=projects/*/locations/*/azureClusters/*}:generateAzureClusterAgentToken
為叢集代理程式產生存取權杖。
get
(deprecated)
GET /v1/{name=projects/*/locations/*/azureClusters/*}
說明特定 AzureCluster 資源。
getJwks
(deprecated)
GET /v1/{azureCluster=projects/*/locations/*/azureClusters/*}/jwks
以 JSON Web Key 格式取得叢集簽署金鑰的公開元件。
list
(deprecated)
GET /v1/{parent=projects/*/locations/*}/azureClusters
列出特定 Google Cloud 專案和區域的所有 AzureCluster 資源。
patch
(deprecated)
PATCH /v1/{azureCluster.name=projects/*/locations/*/azureClusters/*}
更新 AzureCluster

REST 資源:v1.projects.locations.azureClusters.azureNodePools

方法
create
(deprecated)
POST /v1/{parent=projects/*/locations/*/azureClusters/*}/azureNodePools
建立新的 AzureNodePool,並附加至指定的 AzureCluster
delete
(deprecated)
DELETE /v1/{name=projects/*/locations/*/azureClusters/*/azureNodePools/*}
刪除特定 AzureNodePool 資源。
get
(deprecated)
GET /v1/{name=projects/*/locations/*/azureClusters/*/azureNodePools/*}
說明特定 AzureNodePool 資源。
list
(deprecated)
GET /v1/{parent=projects/*/locations/*/azureClusters/*}/azureNodePools
列出指定 AzureCluster 上的所有 AzureNodePool 資源。
patch
(deprecated)
PATCH /v1/{azureNodePool.name=projects/*/locations/*/azureClusters/*/azureNodePools/*}
更新 AzureNodePool

REST 資源:v1.projects.locations.azureClusters.well-known

方法
getOpenid-configuration
(deprecated)
GET /v1/{azureCluster=projects/*/locations/*/azureClusters/*}/.well-known/openid-configuration
取得叢集的 OIDC 探索文件。

REST 資源:v1.projects.locations.operations

方法
cancel POST /v1/{name=projects/*/locations/*/operations/*}:cancel
開始非同步取消長時間執行的作業。
delete DELETE /v1/{name=projects/*/locations/*/operations/*}
刪除長時間執行的作業。
get GET /v1/{name=projects/*/locations/*/operations/*}
取得長時間執行作業的最新狀態。
list GET /v1/{name=projects/*/locations/*}/operations
列出符合要求中指定篩選器的作業。