Convert Cluster to Global Cluster (V2)
Converts an existing dedicated cluster into the primary member of a new Global Cluster, and creates one or more secondary member clusters.
The base URL for this API is in the following format:
https://api.cloud.zilliz.com
The endpoints on the control plane currently supports up to 20 requests per second per user per endpoint.
export BASE_URL="https://api.cloud.zilliz.com"
The authentication token should be an API key with appropriate privileges.
Existing dedicated cluster ID to convert into the primary Global Cluster member.
New Global Cluster display name.
Secondary clusters to create as Global Cluster members. At least one item is required.
Secondary cluster display name.
Secondary cluster region ID.
export TOKEN="YOUR_API_KEY"
curl --request POST \
--url "${BASE_URL}/v2/globalClusters/convert" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Content-Type: application/json" \
-d '{
"clusterId": "in01-xxxxxxxxxxxxxxx",
"globalClusterName": "my-global-cluster",
"secondaryClusters": [
{
"clusterName": "secondary-cluster-us-east",
"regionId": "aws-us-east-1"
}
]
}'
New Global Cluster ID.
Job ID for the asynchronous conversion operation.
Returns an error message.
Response code.
Error message.
{
"globalClusterId": "glo-xxxxxxxxxxxxxxx",
"jobId": "job-xxxxxxxxxxxxxxx"
}