Get allocator
Retrieves the allocator by the ID.
Path parameters
-
The allocator identifier.
GET /platform/infrastructure/allocators/{allocator_id}
curl \
-X GET https://{{hostname}}/api/v1/platform/infrastructure/allocators/{allocator_id}
Response examples (200)
{
"status": {
"connected": true,
"healthy": true,
"health_checks": {
"is_docker_healthy": true,
"is_connected_to_zk": true,
"has_instances": true
},
"maintenance_mode": true,
"maintenance_mode_timestamp": "2024-05-04T09:42:00+00:00"
},
"allocator_id": "string",
"zone_id": "string",
"host_ip": "string",
"public_hostname": "string",
"capacity": {
"memory": {
"total": 42,
"used": 42
},
"storage": {
"total": 42
},
"available_cpus": 42,
"additional_master_bonus": 42.0
},
"settings": {
"capacity": 42
},
"instances": [
{
"cluster_type": "elasticsearch",
"cluster_id": "string",
"cluster_name": "string",
"instance_name": "string",
"node_memory": 42,
"healthy": true,
"cluster_healthy": true,
"instance_configuration_id": "string",
"moving": true,
"plans_info": {
"pending": true,
"version": "string",
"zone_count": 42
},
"deployment_id": "string"
}
],
"metadata": [
{
"key": "string",
"value": "string"
}
],
"build_info": {
"commit_hash": "string",
"version": "string"
},
"features": [
"string"
],
"external_links": [
{
"id": "string",
"label": "string",
"uri": "string"
}
],
"region": "string"
}
Response examples (404)
# Headers
x-cloud-error-codes: allocators.allocator_not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}