Compute

Create Instance

Creates a new compute instance in the specified workspace with the provided configuration. The request must include instance specifications like CPU, memory, disk, and networking details.

post/compute/v2/thr1/workspaces/{workspaceUUID}/instances

Path parameters

workspaceUUIDstring required

UUID of the workspace

Request body

apiVersion'compute/v2' required

Version identifier of the API schema

kind'Instance' required

The string value 'Instance' that identifies the schema

Example request

{
  "apiVersion": "compute/v2",
  "kind": "Instance",
  "metadata": {
    "resourceVersion": "519597875",
    "uid": "00000000-0000-0000-0000-000000000000",
    "workspace": "00000000-0000-0000-0000-000000000000"
  },
  "spec": {
    "imageSource": {
      "image": "ubuntu-22.04"
    },
    "type": "g1d60-1"
  }
}

Response

The instance was successfully created and is being provisioned. The response contains the complete instance details including the assigned unique identifier.

apiVersion'compute/v2' required

Version identifier of the API schema

kind'Instance' required

The string value 'Instance' that identifies the schema

Example response

{
  "apiVersion": "compute/v2",
  "kind": "Instance",
  "metadata": {
    "resourceVersion": "519597875",
    "uid": "00000000-0000-0000-0000-000000000000",
    "workspace": "00000000-0000-0000-0000-000000000000"
  },
  "spec": {
    "imageSource": {
      "image": "ubuntu-22.04"
    },
    "type": "g1d60-1"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.