Managed Service for Redis API, gRPC: ResourcePresetService.Get
Статья создана
Обновлена 17 октября 2024 г.
Returns the specified resource preset.
To get the list of available resource presets, make a List request.
gRPC request
rpc Get (GetResourcePresetRequest) returns (ResourcePreset)
GetResourcePresetRequest
{
"resourcePresetId": "string"
}
Field |
Description |
resourcePresetId |
string Required field. ID of the resource preset to return. |
ResourcePreset
{
"id": "string",
"zoneIds": [
"string"
],
"memory": "int64",
"cores": "int64"
}
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 |
int64 RAM volume for a Redis host created with the preset, in bytes. |
cores |
int64 Number of CPU cores for a Redis host created with the preset. |