GET /api/hosts/:id/power
获取主机电源是否打开的状态。支持的主机是VM和具有BMC的物理主机。
参数
参数名字
描述
location_id
选填
设置请求的当前位置上下文
Validations:
Must be a Integer
organization_id
选填
设置请求的当前组织上下文
Validations:
Must be a Integer
id
必填
Validations:
Must be an identifier, string from 1 to 128 characters containing only
alphanumeric characters, dot(.), space, underscore(_), hypen(-) with no
leading or trailing space.