最近更新时间:2025-11-13 11:55:45
本接口(RestartMetalInstanceFromPXE)用于重装单个裸金属实例。
GET、POST
固定值为:"/2020-08-01/kms/instance/RestartMetalInstanceFromPXE"
参数名称 | 类型 | 是否必须 | 描述 |
|---|---|---|---|
X-Ksc-Account-Id | int | 是 | 账户ID,不携带或者携带account不存在,返回400错误 |
Host | String | 是 | 请求host |
参数名称 | 类型 | 是否必须 | 示例值 | 描述 |
|---|---|---|---|---|
NamespaceID | String | 是 | default-UID | 命名空间;不携带或者携带ns不存在,返回400错误;携带ns但没关联account,返回403错误 |
InstanceID | String | 是 | abdh0927927 | 裸金属实例id,不携带返回400错误;携带必须合法,否则返回400错误。 |
ImageId | String | 是 | slkdj809034 | 裸金属镜像id,不携带或者携带非法,返回400错误 |
RootPassword | String | 是 | Abcd1234 | 重装系统密码,不携带或者携带非法,返回400错误 |
http://kenc.api.ksyun.com/?Action=RestartMetalInstanceFromPXE&Version=2020-08-01&NamespaceID=default-2000168175&InstanceID=mi-gjsdcnjygmzdsmbs-jxmp35&ImageId=kimg-hbstizlfgvrdemjx&RootPassword=Ksyun@123
纯净模式
