Overwrites or creates the list of certificate based remote clusters for the elasticsearch resource.
Path parameters
-
Identifier for the Deployment.
-
User-specified RefId for the Resource (or '_main' if there is only one).
PUT
/deployments/{deployment_id}/elasticsearch/{ref_id}/remote-clusters
curl \
--request PUT 'https://{{hostname}}/api/v1/deployments/{deployment_id}/elasticsearch/{ref_id}/remote-clusters' \
--user "username:password" \
--header "Content-Type: application/json" \
--data '{
"resources": [
{
"deployment_id": "string",
"elasticsearch_ref_id": "string",
"alias": "string",
"skip_unavailable": true,
"info": {
"healthy": true,
"connected": true,
"compatible": true,
"trusted": true,
"trusted_back": true
}
}
]
}'