Attach a volume to a cloud VM
Attaches a persistent block storage volume to a cloud VM. Asynchronous: the response carries operation_id; poll GET /compute/operations/{operation_id} until status is succeeded, failed, cancelled or timed_out. If your client times out, read the status; never resubmit the request. Requires scope: vm.write.
Authentication
IBEE platform API token. Production tokens start with ibee_prod_key_; development tokens start with ibee_dev_key_. Use a token only with its matching gateway environment.
Path parameters
Headers
Query parameters
The positive numeric workspace ID to scope this request to. Zero, negative, and non-numeric values are rejected.
Request
Required. The Block Storage SKU from the Billing catalog that the VM engine records for this attachment. Copy it from the volume’s metadata.billing_catalog (GET /block-storage/volumes/{volume_id}).
single-writer: only this VM may write to the volume (default).multi-writer: the volume may be attached to several VMs.
Response
Always accepted.
When the operation was accepted (ISO 8601).
