参数名称 | 类型 | 必填 | 描述 |
---|
Action | String | 是 | 公共参数,本接口取值:AddClusterInstanceToNodePool。 |
Version | String | 是 | 公共参数,本接口取值:2019-08-06。 |
ClusterId | String | 是 | 集群id |
NodePoolId | String | 是 | 节点池id |
InstanceIds.N | String | 是 | 节点id |
参数名称 | 类型 | 描述 |
---|
RequestId | String | 请求id 示例值:container-7a62c49f-347e-4fc4-9331-6e8e |
InstanceSet | Object[] | |
InstanceId | String | 节点ID 示例值:f1bdfe4e-1486-b34f-59bb-8d3bee97b328 |
Return | Boolean | 执行结果 示例值:true |
Message | String | 添加成功,该字段返回为空;添加失败,返回失败的原因 示例值:null |
JSON格式
以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码
错误码 | 错误信息 | Http状态码 | 描述 |
---|
ClusterIdRequired | ClusterId is required | 400 | 集群ID必须填写 |
ClusterIdInvalid | ClusterId must match `^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$` | 400 | 集群ID必须满足 `^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$` |
NodePoolNotFound | node pool is not found | 400 | 节点池不存在 |
InstanceIdsRequired | InstanceIds is required | 400 | 实例ID列表不能为空 |
InstanceIdsInvalid | InstanceIds contains repeat value | 400 | 实例ID列表包含重复值 |
AddInstanceToNodePoolFailed | the status of node pool is updating | 400 | 添加失败,节点池正在更新中 |
NodeNotFound | node is not found in cluster | 400 | 集群中不存在实例 |
纯净模式