Get remote clusters
开发环境
http://127.0.0.1
开发环境
http://127.0.0.1
GET
/deployments/{deployment_id}/elasticsearch/{ref_id}/remote-clusters
Deployments
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1/deployments//elasticsearch//remote-clusters' \
--header 'Authorization: ApiKey {{EC_API_KEY}}'
响应示例响应示例
200 - 示例 1
{
"resources": [
{
"info": {
"healthy": true,
"compatible": true,
"connected": true,
"trusted": true,
"trusted_back": true
},
"elasticsearch_ref_id": "string",
"deployment_id": "string",
"skip_unavailable": true,
"alias": "string"
}
]
}
请求参数
Path 参数
deployment_id
必需
ref_id
必需
Header 参数
Authorization
string
可选
默认值:
ApiKey {{EC_API_KEY}}