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.
Configuration for one secondary cluster to add when converting a cluster to a global cluster. It requires clusterName and regionId.
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 "Request-Timeout: 5" \
--header "Content-Type: application/json" \
-d '{
"clusterId": "in01-xxxxxxxxxxxxxxx",
"globalClusterName": "my-global-cluster",
"secondaryClusters": [
{
"clusterName": "secondary-cluster-us-east",
"regionId": "aws-us-east-1"
}
]
}'
Returns the conversion job.
A response object representing the result of converting a cluster to a global cluster.
New Global Cluster ID.
Job ID for the asynchronous conversion operation.
Response payload; the type varies by endpoint.
ID of the resulting global cluster.
ID of the asynchronous job tracking the conversion.
Returns an error message.
Response code.
Error message.
{
"globalClusterId": "glo-xxxxxxxxxxxxxxx",
"jobId": "job-xxxxxxxxxxxxxxx"
}