恢复集群 (V1)
Deprecated说明
该接口已废弃。建议您使用对应的 V2 接口。
本接口可以恢复处于暂停状态的集群。
POST/v1/clusters/{CLUSTER_ID}/resume
该 API 的 Base URL 格式如下:
https://controller.api.${CLOUD_REGION}.zilliz.com.cn
📘说明
- 你需要将
${CLOUD_REGION}替换为您的集群所在区域。 - 获取云区域 ID 请参考 Zilliz Cloud 控制台 或使用查看云区域接口。
shell
export CLOUD_REGION="ali-cn-hangzhou"
export BASE_URL="https://controller.api.${CLOUD_REGION}.zilliz.com.cn"
参数
Authorizationstringheader必填项
认证令牌,应为具备适当权限的 API 密钥。
示例值:Bearer {{TOKEN}}
CLUSTER_IDstringpath必填项
需要恢复的集群 ID。
示例值:{{CLUSTER_ID}}
bash
export TOKEN="YOUR_API_KEY"
export CLUSTER_ID="{{CLUSTER_ID}}"
curl --request POST \
--url "${BASE_URL}/v1/clusters/${CLUSTER_ID}/resume" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Request-Timeout: 5" \
--header "Content-Type: application/json"
响应200 OK - application/json
返回受此操作影响的集群 ID。
成功响应
codeinteger
响应码。
dataobject
响应载荷,包含受此操作影响的集群 ID。
clusterIdstring
集群 ID。
promptstring
提示信息,表示当前操作成功。
返回错误消息。
codeinteger
响应码。
messagestring
错误描述。
Successjson
{
"code": 200,
"data": {
"clusterId": "inxx-xxxxxxxxxxxxxxx",
"prompt": "successfully Submitted. Cluster is being resumed, which is expected to takes several minutes. You can access data about the creation progress and status of your cluster by DescribeCluster API. Once the cluster status is RUNNING, you may access your vector database using the SDK."
}
}