Managed Service for OpenSearch API, gRPC: ResourcePresetService.Get
Статья создана
Обновлена 26 ноября 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
{
"resource_preset_id": "string"
}
Field |
Description |
resource_preset_id |
string Required field. ID of the resource preset to return. To get the resource preset ID, use a ResourcePresetService.List request. |
ResourcePreset
{
"id": "string",
"zone_ids": [
"string"
],
"cores": "int64",
"memory": "int64"
}
A preset of resources for hardware configuration of the OpenSearch hosts.
Field |
Description |
id |
string ID of the resource preset. |
zone_ids[] |
string IDs of the availability zones where the resource preset is available. |
cores |
int64 Number of the CPU cores for an OpenSearch host created with the preset. |
memory |
int64 RAM volume for an OpenSearch host created with the preset, in bytes. |