Managed Service for YDB API, REST: ResourcePreset.List
Returns the list of available resource presets.
HTTP request
GET https://ydb.api.cloud.yandex.net/ydb/v1/resourcePresets
Query parameters
Field |
Description |
pageSize |
string (int64) The maximum number of results per page that should be returned. If the number of available |
pageToken |
string Page token. Set |
Response
HTTP Code: 200 - OK
{
"resourcePresets": [
{
"id": "string",
"cores": "string",
"memory": "string"
}
],
"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 |
string (int64) |
memory |
string (int64) |