Compute

compute

compute.vms

Methods

Create VM ->
post/v1/compute/vms

Create a VM

Delete VM ->
delete/v1/compute/vms/{vm_id}

Delete a VM

Get VM Details ->
get/v1/compute/vms/{vm_id}

Get details about a VM

List VMs ->
get/v1/compute/vms

List all VMs

Update VM ->
patch/v1/compute/vms/{vm_id}

Update a VM

path Parameters
vm_id: string
Response fields
Request example
200Example

Domain types

CPUConfig = { vcpu }

CPU configuration for the VM.

MemoryConfig = { size }

Memory configuration for the VM.

OSImage = { created_at, display_name, name }

OS Image details.

SSHKey = { public_key }

Public SSH key configuration for the VM.

VM = { id, boot_volume_id, cpu_config, 13 more... }

VM details.

VMList = { items }
ComputeVMs

Availability

compute.vms.availability

Methods

Check VM Create Availability -> string
post/v1/compute/vms/availability

Check VM Create Availability

Check VM Update Availability -> string
patch/v1/compute/vms/{vm_id}/availability

Check VM Update Availability

ComputeVMs

OS Images

compute.vms.os_images

Methods

List OS Images -> Array<>
get/v1/compute/vms/os_images

List all OS Images

ComputeVMs

Volumes

compute.vms.volumes

Methods

List VM S Volumes ->
get/v1/compute/vms/{vm_id}/volumes

List VM's Volumes

Compute

Volumes

compute.volumes

Methods

Create Volume ->
post/v1/compute/volumes

Create a Volume. Only data volumes can be created.

Delete Volume ->
delete/v1/compute/volumes/{volume_id}

Delete a Volume. Boot or data volumes can be deleted.

Get Volume ->
get/v1/compute/volumes/{volume_id}

Get a Volume.

List Volumes ->
get/v1/compute/volumes

List all volumes

Update Volume ->
patch/v1/compute/volumes/{volume_id}

Update a Volume. Boot or data volumes can be updated.

Domain types

StorageType = "nvme"

Storage type the volume is using.

Volume = { id, created_at, kind, 7 more... }

Volume details.

VolumeKind = "boot" | "data"

Volume kind.

VolumeList = { items }
ComputeVolumes

Availability

compute.volumes.availability

Methods

Check Volume Create Availability -> string
post/v1/compute/volumes/availability

Check Volume Create Availability

Check Volume Update Availability -> string
patch/v1/compute/volumes/{volume_id}/availability

Check Volume Update Availability