Disk

A set of methods for managing Disk resources.

JSON Representation

 {
  "id": "string",
  "folderId": "string",
  "createdAt": "string",
  "name": "string",
  "description": "string",
  "labels": "object",
  "typeId": "string",
  "zoneId": "string",
  "size": "string",
  "productIds": [
    "string"
  ],
  "status": "string",
  "instanceIds": [
    "string"
  ],

  // includes only one of the fields `sourceImageId`, `sourceSnapshotId`
  "sourceImageId": "string",
  "sourceSnapshotId": "string",
  // end of the list of possible fields

}

Methods

Method Description
create Creates a disk in the specified folder.
delete Deletes the specified disk.
get Returns the specified Disk resource.
list Retrieves the list of Disk resources in the specified folder.
listOperations Lists operations for the specified disk.
update Updates the specified disk.