POST

授权

x-api-key
string
header
必填

请求头

bma-workspace-id
string

Project scope. Required when the API key can access more than one project. Also accepted as anthropic-workspace-id; headers sent together must agree, otherwise the request is a 400 workspace_id_conflict.

路径参数

machine_id
string
必填

查询参数

project_id
string

响应

Success.

type
string
必填

Always machine_power_status.

Allowed value: "machine_power_status"
machine_id
string
必填

Machine ID (mch_...).

Pattern: ^mch_[a-z2-7]{26}$
connection_state
enum<string>
必填
可用选项:
online,
asleep,
offline
power_state
enum<string>
必填

Compute state of a pool machine. paused keeps the disk (and memory when the provider supports it) without compute; resuming means a resume or restore is in flight; archived means the machine image is stored durably and is restored on the next access.

可用选项:
running,
pausing,
paused,
resuming,
archiving,
archived