Skip to main content
POST
/
enterprise
/
v1
/
io-cloud
/
vmaas
/
deploy
Deploy VMs
curl --request POST \
  --url https://api.io.solutions/enterprise/v1/io-cloud/vmaas/deploy \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "resource_private_name": "<string>",
  "node_pool_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "duration_hours": 123,
  "gpus_per_vm": 4,
  "hardware_id": 123,
  "location_ids": [
    123
  ],
  "vms_qty": 123,
  "ssh_keys": {},
  "github_ids": [
    "<string>"
  ],
  "vm_image_type": "general",
  "network_services": {}
}'
"<any>"

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-api-key
string

io.net provided API Key

Body

application/json
resource_private_name
string
required
duration_hours
integer
required
Required range: 0 < x <= 8760
gpus_per_vm
integer
required
Required range: 1 <= x <= 8
hardware_id
integer
required
vms_qty
integer
required
node_pool_id
string<uuid> | null

ID of private node pool. Can't be used if location_ids are provided.

location_ids
integer[]

Only single locations is supported for now

Required array length: 1 element
ssh_keys
object | null
github_ids
string[] | null
vm_image_type
enum<string>
default:general
Available options:
general,
datascience
network_services
object

Response

Successful Response

The response is of type any.

I