参数名称 | 类型 | 必填 | 描述 |
---|
Action | String | 是 | 公共参数,本接口取值:RebootInstances。 |
Version | String | 是 | 公共参数,本接口取值:2016-03-04。 |
InstanceId.N | String | 是 | 待重启实例ID列表,N的范围为1-100 示例值:13536cc1-0dbd-4741-87d3-f7abbb0db329 |
ForceReboot | Boolean | 否 | 强制重启 示例值:- |
参数名称 | 类型 | 描述 |
---|
RequestId | String | 示例值:KEC-df6b45b2-8468-4d00-b2b2-d3c7eb961662004 |
InstancesSet | Object[] | |
InstanceId | String | 示例值:b174d8e1-0ea1-4a0f-819e-a78ee01c |
Return | Boolean | 示例值:true |
JSON格式
以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码
错误码 | 错误信息 | Http状态码 | 描述 |
---|
InstanceStateNotSupportedReboot | The InstanceState for this action not supported. | 400 | 本操作执行时“实例状态”不支持 |
InstanceIdInvalid | Instance Resource id is invalid | 400 | 实例资源ID无效 |
InvalidParameter | 暂无 | 400 | 暂无 |
InstanceIdLimitExceeded | The request was rejected because it attempted to handle instance resources beyond limits. | 400 | 请求被拒绝,因其处理的实例资源数量超过限制(100) |
InstanceIdRequired | InstanceId is required | 400 | InstanceId必传 |
ServiceUnavailable | {"RequestId":"KEC-51711cc3-1914-403d-903c-9257ff423723562002","Error":{"Code":"ServiceUnavailable","Message":"I/O error on POST request for \"http://rusone.openstack.sdns.ksyun.com:6004/v2/0516e9b105464bbe93adfcdaa96c5987/os-ksc-resources/check\": connect timed out"}} | 400 | 服务不可到达 |
OperationNotAllowedForOtherLine | The operation is not allowed for otherLine. | 400 | 非主机业务线实例,不允许在主机控制台做此操作 |
纯净模式