Managed Service for YDB API, REST: StorageType.List
Returns the list of available storage types.
HTTP request
GET https://ydb.api.cloud.yandex.net/ydb/v1/storageTypes
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
{
"storageTypes": [
{
"id": "string",
"deviceType": "string",
"redundancyType": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
storageTypes[] |
Requested list of storage types. |
nextPageToken |
string This token allows you to get the next page of results for ListStorageTypes requests, |
StorageType
Field |
Description |
id |
string |
deviceType |
string |
redundancyType |
string |