跳到主要内容

查看云服务提供商

Lists all cloud providers available on Zilliz Cloud.

GET
/v2/clouds
Base URL

该 API 的 Base URL 格式如下:

https://api.cloud.zilliz.com

export BASE_URL="https://api.cloud.zilliz.com"
参数
Authorizationstringheaderrequired

认证令牌,应为具备适当权限的 API 密钥。

示例值:Bearer {{TOKEN}}
export TOKEN="YOUR_API_KEY"

curl --request GET \
--url "${BASE_URL}/v2/clouds" \
--header "Authorization: Bearer ${TOKEN}" \
--header "Content-Type: application/json"
响应200 - application/json
codeinteger

响应码。

dataarray

响应负载,是一个包含当前可用云服务商列表的数组。

[]dataobject

List of applicable cloud providers.

cloudIdstring

云服务商 ID。

descriptionstring

云服务商描述。

Returns an error message.

codeinteger

响应码。

messagestring

错误描述。

{
"code": 0,
"data": [
{
"cloudId": "ali",
"description": "Alibaba Cloud"
},
{
"cloudId": "tc",
"description": "Tencent Cloud"
}
]
}