cURL
curl --request POST \ --url https://api.example.com/fleets/{fleet}/machines \ --header 'Content-Type: application/json' \ --data ' { "config": { "guest": { "cpu_kind": "<string>", "cpus": 2, "memory_mb": 2 }, "workload": { "image": "<string>", "type": "<string>", "env": [ "<string>" ], "init": { "cmd": [ "<string>" ], "entrypoint": [ "<string>" ], "user": "<string>" }, "restart_policy": { "max_retries": 123, "policy": "<string>" } }, "auto_destroy": true, "stop_config": { "signal": "<string>", "timeout": 123 } }, "region": "<string>", "skip_start": true } '
{ "config": { "guest": { "cpu_kind": "<string>", "cpus": 2, "memory_mb": 2 }, "workload": { "image": "<string>", "type": "<string>", "env": [ "<string>" ], "init": { "cmd": [ "<string>" ], "entrypoint": [ "<string>" ], "user": "<string>" }, "restart_policy": { "max_retries": 123, "policy": "<string>" } }, "auto_destroy": true, "stop_config": { "signal": "<string>", "timeout": 123 } }, "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" }
Documentation IndexFetch the complete documentation index at: https://docs.valyent.cloud/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.valyent.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Show child attributes
OK