Compute Cloud API, REST: DiskType.Get
Статья создана
Обновлена 17 октября 2024 г.
Returns the information about specified disk type.
To get the list of available disk types, make a List request.
HTTP request
GET https://compute.api.cloud.yandex.net/compute/v1/diskTypes/{diskTypeId}
Path parameters
Field |
Description |
diskTypeId |
string Required field. ID of the disk type to return information about. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"description": "string",
"zoneIds": [
"string"
]
}
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. |