メインコンテンツまでスキップ

グローバルクラスターの作成 (V2)

This operation creates a global cluster. A global cluster consists of multiple member clusters deployed in different regions. The member clusters in a global cluster share the same CU type and CU size. You can create global clusters to provide disaster recovery and low latency access across regions.

POST/v2/globalClusters/create
接続エンドポイント

https://api.cloud.zilliz.com

shell
export BASE_URL="https://api.cloud.zilliz.com"
パラメータ
Authorizationstringheader必要

認証トークンには、適切な権限を持つ API key を使用する必要があります。

値の例: Bearer {{TOKEN}}
リクエスト・ボディ
globalClusterNamestring必要

global cluster の名前。

値の例: my-global-cluster
projectIdstring必要

global cluster が属する project の ID。

値の例: proj-xxxxxxxxxxxxxxx
cuTypestring必要

global cluster の Compute unit (CU) type。global cluster のメンバーは同じ CU type を共有します。

値の例: Performance-optimized
cuSizeinteger必要

global cluster の Compute unit (CU) size。global cluster のメンバーは同じ CU size を共有します。
global cluster 内のメンバーでは、この値は 11,024 を指定でき、使用可能な値は 1, 2, 4, 8, 12, 16, 20, 24, 28, 32,...,64, 72, 80, 88,...,256, 272, 288, ...,1024 です。
CU size の増分ルールの詳細については、Detailed Plan ComparisonDeployment セクションを参照してください。

値の例: 4
primaryClusterobject必要

global cluster の primary cluster のパラメーター。

clusterNamestring必要

primary cluster の名前。

値の例: my-primary-cluster
regionIdstring必要

primary cluster がデプロイされるリージョン ID。リージョンは、指定された project で利用可能なリージョンのいずれかである必要があります。

secondaryClustersarray必要

global cluster の secondary cluster のパラメーター。1 つ以上の secondary cluster を指定できます。

[]secondaryClustersobject必要
clusterNamestring必要

secondary cluster の名前。

値の例: my-secondary-cluster-1
regionIdstring必要

secondary cluster がデプロイされるリージョン ID。リージョンは、指定された project で利用可能なリージョンのいずれかである必要があり、かつ primary cluster がデプロイされるリージョンとは異なる必要があります。

レスポンス

作成された global cluster の情報を返します。

globalClusterIdstring

作成された global cluster の ID。

値の例: glo-xxxxxxxxxxxxxxx
usernamestring

global cluster へのアクセスに使用するユーザー名。

値の例: admin
passwordstring

global cluster へのアクセスに使用するパスワード。

値の例: Passw0rd!
jobIdstring

global cluster 作成ジョブの ID。この ID を使用して作成ジョブの進行状況を照会できます。

値の例: job-xxxxxxxxxxxxxxx

エラーメッセージを返します。

codeinteger

レスポンスコード。

messagestring

エラーメッセージ。

Successjson
{
"globalClusterId": "glo-xxxxxxxxxxxxxxx",
"username": "db_admin",
"password": "Passw0rd!",
"jobId": "job-xxxxxxxxxxxxxxx"
}
Ctrl I