Skip to content

create_disk

Creates disk with specific size. Disk does not belong to any given VM.

Arguments

  • size [Integer]: Size of the disk in MiB.
  • cloud_properties [Hash]: Cloud properties hash specified in the deployment manifest under the disk pool.
  • vm_cid [String]: Cloud ID of the VM created disk will most likely be attached; it could be used to .optimize disk placement so that disk is located near the VM.

Returned

  • disk_cid [String]: Cloud ID of the created disk.

Examples

API Request

[
  25000,
  {
    "type": "gp2",
    "encrypted": true
  },
  "i-2387475"
]

Implementations