Get instance configuration
Get instance configuration by id.
Path parameters
-
ID of the instance configuration
Query parameters
-
config_version integer
Optionally retrieve the specified config version of the IC (otherwise retrieves the latest/only version)
-
show_deleted boolean
If true, if the instance configuration has been marked for deletion it is still returned. Otherwise, instance configurations marked for deletion generate a 404
-
show_max_zones boolean
If true, will populate the max_zones field of the instance configuration.
Default value is
false
.
GET /platform/configuration/instances/{id}
curl \
-X GET https://{{hostname}}/api/v1/platform/configuration/instances/{id}
Response examples (200)
{
"id": "string",
"name": "string",
"config_version": 42,
"description": "string",
"instance_type": "elasticsearch",
"node_types": [
"string"
],
"discrete_sizes": {
"sizes": [
42
],
"default_size": 42,
"resource": "memory"
},
"allocator_filter": {
"match": {
"additionalProperty1": {
"query": "string",
"operator": "string",
"minimum_should_match": 42,
"analyzer": "string"
},
"additionalProperty2": {
"query": "string",
"operator": "string",
"minimum_should_match": 42,
"analyzer": "string"
}
},
"match_all": {},
"match_none": {},
"term": {
"additionalProperty1": {
"value": "string"
},
"additionalProperty2": {
"value": "string"
}
},
"bool": {
"must": [
{}
],
"should": [
{}
],
"must_not": [
{}
],
"filter": [
{}
],
"minimum_should_match": 42
},
"query_string": {
"query": "string",
"default_field": "string",
"analyzer": "string",
"default_operator": "string",
"allow_leading_wildcard": true
},
"nested": {
"query": {},
"path": "string",
"score_mode": "avg"
},
"prefix": {
"additionalProperty1": {
"value": "string",
"boost": 42.0
},
"additionalProperty2": {
"value": "string",
"boost": 42.0
}
},
"exists": {
"field": "string"
},
"range": {
"additionalProperty1": {
"gt": {},
"gte": {},
"lt": {},
"lte": {},
"boost": 42.0,
"format": "string",
"time_zone": "string"
},
"additionalProperty2": {
"gt": {},
"gte": {},
"lt": {},
"lte": {},
"boost": 42.0,
"format": "string",
"time_zone": "string"
}
},
"simple_query_string": {
"query": "string",
"fields": [
"string"
],
"default_operator": "string",
"analyze_wildcard": true,
"analyzer": "string",
"auto_generate_synonyms_phrase_query": true,
"flags": "string",
"fuzzy_max_expansions": 42,
"fuzzy_prefix_length": 42,
"fuzzy_transpositions": true,
"lenient": true,
"minimum_should_match": "string",
"quote_field_suffix": "string"
}
},
"storage_multiplier": 42.0,
"deleted_on": "2024-05-04T09:42:00+00:00",
"system_owned": true,
"metadata": {},
"cpu_multiplier": 42.0,
"allowed_zones": [
"string"
],
"max_zones": 42
}
Response examples (404)
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}