Create disk
documentedCreates a disk in the specified folder.
POST /compute/v1/disksCompute Cloudno implementation yet0 runsInput
folder_id*
Folder ID
folder-1234567890abcdef
name*
Disk name
my-disk
description
Description
Primary data disk
labels
Labels (JSON object)
{"env":"prod"}
type_id*
Disk type ID
network-ssd
zone_id*
Zone ID
ru-central1-a
size*
Disk size (bytes)
1073741824
image_id
Source image ID
image-1234abcd
snapshot_id
Source snapshot ID
snapshot-1234abcd
block_size
Block size (bytes)
4096
placement_group_id
Placement group ID
pg-1234abcd
placement_group_partition
Placement group partition
0
snapshot_schedule_id
Snapshot schedule ID
schedule-1234abcd
pci_topology
PCI topology (PCI_TOPOLOGY_V1|PCI_TOPOLOGY_V2)
PCI_TOPOLOGY_V2
generation2_features
Hardware generation features
{...}
kms_key_id
KMS key ID
kms-key-1234
Calls Yandex as you (your API key is your account); keychains.dev holds the credentials.