Managed Service for YDB API, gRPC: ResourcePresetService.List
Returns the list of available resource presets.
gRPC request
rpc List (ListResourcePresetsRequest) returns (ListResourcePresetsResponse)
ListResourcePresetsRequest
{
"page_size": "int64",
"page_token": "string"
}
Field |
Description |
page_size |
int64 The maximum number of results per page that should be returned. If the number of available |
page_token |
string Page token. Set |
ListResourcePresetsResponse
{
"resource_presets": [
{
"id": "string",
"cores": "int64",
"memory": "int64"
}
],
"next_page_token": "string"
}
Field |
Description |
resource_presets[] |
Requested list of resource presets. |
next_page_token |
string This token allows you to get the next page of results for ListResourcePresets requests, |
ResourcePreset
Field |
Description |
id |
string |
cores |
int64 |
memory |
int64 |