POST
/
fleets
/
{fleet}
/
machines
{
  "config": {
    "auto_destroy": true,
    "guest": {
      "cpu_kind": "<string>",
      "cpus": 2,
      "memory_mb": 2
    },
    "stop_config": {
      "signal": "<string>",
      "timeout": 123
    },
    "workload": {
      "env": [
        "<string>"
      ],
      "image": "<string>",
      "init": {
        "cmd": [
          "<string>"
        ],
        "entrypoint": [
          "<string>"
        ],
        "user": "<string>"
      },
      "restart_policy": {
        "max_retries": 123,
        "policy": "<string>"
      },
      "type": "<string>"
    }
  },
  "created_at": "2023-11-07T05:31:56Z",
  "fleet": "<string>",
  "id": "<string>",
  "instance_id": "<string>",
  "machine_version": "<string>",
  "namespace": "<string>",
  "region": "<string>",
  "state": "<string>",
  "updated_at": "2023-11-07T05:31:56Z"
}

Path Parameters

fleet
string
required

Query Parameters

namespace
string

Body

application/json
config
object
required
region
string
required
skip_start
boolean
required

Response

200
application/json
OK
config
object
required
created_at
string
required
fleet
string
required
id
string
required
instance_id
string
required
machine_version
string
required
namespace
string
required
region
string
required
state
string
required
updated_at
string
required