Migrate Elasticsearch and associated Kibana resources to enable CCR
Migrates the specified Elasticsearch resource and its associated Kibana to enable CCR (if supported).
Path parameters
-
Identifier for the Deployment.
-
User-specified RefId for the Resource (or '_main' if there is only one).
Query parameters
-
validate_only boolean
When
true
, will not enable CCR but returns warnings if any elements may lose availability during CCR enablementDefault value is
false
.
POST /deployments/{deployment_id}/elasticsearch/{ref_id}/_enable-ccr
curl \
-X POST https://{{hostname}}/api/v1/deployments/{deployment_id}/elasticsearch/{ref_id}/_enable-ccr
Response examples (200)
{
"warnings": [
{
"code": "string",
"message": "string"
}
]
}
Response examples (404)
# Headers
x-cloud-error-codes: deployments.deployment_not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}