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