Managed Service for Elasticsearch API, REST: ResourcePreset.get
Written by
Updated at May 26, 2023
Returns the specified resource preset.
To get the list of available resource presets, make a list request.
HTTP request
GET https://mdb.api.cloud.yandex.net/managed-elasticsearch/v1/resourcePresets/{resourcePresetId}
Path parameters
Parameter | Description |
---|---|
resourcePresetId | Required. ID of the resource preset to return. To get the resource preset ID, use a list request. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"zoneIds": [
"string"
],
"cores": "string",
"memory": "string"
}
A ResourcePreset resource for describing hardware configuration presets.
Field | Description |
---|---|
id | string ID of the resource preset. |
zoneIds[] | string IDs of availability zones where the resource preset is available. |
cores | string (int64) Number of CPU cores for an Elasticsearch node created with the preset. |
memory | string (int64) RAM volume for an Elasticsearch node created with the preset, in bytes. |