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

新しい Dedicated Cluster へ移行 (V2)

ノート

このエンドポイントは非推奨です。

Dedicated Cluster を作成し、ソースクラスターから新しいクラスターへデータを移行します。

POST/v2/migrations/toNewDedicated
接続エンドポイント

このAPIのBase URLは以下の形式です:

https://api.cloud.zilliz.com

📘ノート

コントロールプレーンのエンドポイントは現在、ユーザーごと・エンドポイントごとに毎秒最大20リクエストまでサポートしています。

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

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

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

移行元 cluster の情報。

clusterIdstring必要

移行元 cluster の ID。

値の例: inxx-xxxxxxxxxxxxxxxxx
destinationobject必要

作成する新しい専用クラスターの仕様。

clusterNamestring必要

新しいクラスターの名前。

projectIdstring必要

新しいクラスターが属するプロジェクトの ID。

regionIdstring必要

新しいクラスターが作成されるリージョンの ID。

planstring

新しいクラスターのプラン。省略時は移行先プロジェクトのプランが使用されます。

cuTypestring必要

新しいクラスターの CU タイプ。

cuSizeinteger<int64>必要

新しいクラスターの CU サイズ。

dbCollectionsarray

移行元 database と移行先 database のペアの一覧。

[]dbCollectionsobject

移行元 database と移行先 database のペア。

dbNamestring

移行元 database の名前。このフィールドは省略可能です。省略した場合は default database が使用されます。

destDbNamestring

移行先 database の名前。

レスポンス

成功。

この操作が返す可能性のあるレスポンスボディの 1 つ。

codeinteger<int32>

レスポンスコード。

dataobject

移行先 cluster と移行 job の情報。

clusterIdstring

移行先 cluster の ID。

usernamestring

移行先 cluster へのアクセスに使用する username。

passwordstring

移行先 cluster へのアクセスに使用する password。この password は一度だけ表示されます。記録して安全な場所に保管してください。

jobIdstring

リクエストによって作成された job の ID。

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

codeinteger

レスポンスコード。

messagestring

エラーメッセージ。

Successjson
{
"clusterId": "inxx-xxxxxxxxxxxxxx",
"username": "db_admin",
"password": "xxxxxxxxx",
"jobId": "job-xxxxxxxxxxxxxxxxxxxxxx"
}