Managed Service for Redis API, REST: ResourcePreset.get
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-redis/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"
],
"memory": "string",
"cores": "string"
}
A resource preset that describes hardware configuration for a host.
Field | Description |
---|---|
id | string ID of the resource preset. |
zoneIds[] | string IDs of availability zones where the resource preset is available. |
memory | string (int64) RAM volume for a Redis host created with the preset, in bytes. |
cores | string (int64) Number of CPU cores for a Redis host created with the preset. |