Compute Cloud API, REST: DiskType.List
Retrieves the list of disk types for the specified folder.
HTTP request
GET https://compute.api.cloud.yandex.net/compute/v1/diskTypes
Query parameters
Field |
Description |
pageSize |
string (int64) The maximum number of results per page to return. If the number of available |
pageToken |
string Page token. To get the next page of results, set |
Response
HTTP Code: 200 - OK
{
"diskTypes": [
{
"id": "string",
"description": "string",
"zoneIds": [
"string"
]
}
],
"nextPageToken": "string"
}
Field |
Description |
diskTypes[] |
List of disk types. |
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number of results |
DiskType
Field |
Description |
id |
string ID of the disk type. |
description |
string Description of the disk type. 0-256 characters long. |
zoneIds[] |
string Array of availability zones where the disk type is available. |