查询启动配置,只支持异构实例(PCFarm裸金属)。
接口说明
查询启动配置,只支持异构实例(PCFarm 裸金属)。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ens:DescribeInstanceBootConfiguration |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| InstanceId |
string |
是 |
实例 ID。 |
i-**** |
| BootType |
string |
否 |
启动类型。 |
pxe |
| BootSet |
string |
否 |
启动方式。 |
legacy |
| DiskSet |
string |
否 |
启动依赖磁盘与否。 |
on |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
F3B261DD-3858-4D3C-877D-303ADF374600 |
| Instances |
object |
Schema of Response |
|
| BootType |
string |
启动类型。 |
disk |
| DiskSet |
string |
启动依赖磁盘与否。 |
off |
| BootSet |
string |
启动方式。 |
legacy |
| InstanceId |
string |
实例 ID。 |
i-**** |
示例
正常返回示例
JSON格式
{
"RequestId": "F3B261DD-3858-4D3C-877D-303ADF374600",
"Instances": {
"BootType": "disk",
"DiskSet": "off",
"BootSet": "legacy",
"InstanceId": "i-****"
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InstanceNotFound | Instance not found, please check the InstanceId. | 找不到实例,请检查实例ID |
| 400 | Parameter.Invalid | The parameter is invalid. Please check your parameters and try it again. | 参数不合法 |
| 400 | IncorrectInstanceStatus | The current status of the instance does not support this operation. | 当前实例状态不支持此操作。 |
| 400 | InvalidInstanceType.NotSupported | The specified InstanceType is not Supported. | 指定的实例规格不支持当前操作 |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。