参数名称 | 类型 | 必填 | 描述 |
---|
Action | String | 是 | 公共参数,本接口取值:ModifyInstanceAutoDeleteTime。 |
Version | String | 是 | 公共参数,本接口取值:2016-03-04。 |
InstanceId.N | String | 是 | 待重启实例ID列表,N的范围为1-100 示例值:13536cc1-0dbd-4741-87d3-f7abbb0db320 |
AutoDeleteTime | String | 否 | 自动删除时间 示例值:格式:2019-07-16 18:56;该时间必须至少大于当前时间30分钟。如果不传入此参数,启动此接口则是关闭自动删除功能;此参数同时可以用于修改自动删除时间 |
AutoDeleteEip | Boolean | 否 | 随主机定时删除绑定的弹性IP,包年包月的弹性IP只解绑,不删除;只有AutoDeleteTime有效值生效时,该参数才生效 示例值:false |
参数名称 | 类型 | 描述 |
---|
RequestId | String | 示例值:1884ac77-606b-4172-8dd7 |
Return | Boolean | 示例值:true |
JSON格式
以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码
错误码 | 错误信息 | Http状态码 | 描述 |
---|
InstanceTypeOrBillTypeIsInvalid | InstanceType or BillType are not supported | 400 | 实例的机型或计费方式不支持 |
AutoDeleteTimeIsInvalid | The deletion time must be 30 minutes or more later than the current time. | 400 | 删除时间必须晚于当前时间30分钟及以上 |
IsDockerInstanceCanNotDelete | The container master node can no longer be deleted regularly in the console settings. | 400 | 容器主节点不能在主机控制台设置定时删除 |
AutoPreMigrateTimeShouldBeforeAutoDeleteTime | The auto preMigrate time cannot be later than the auto deletion time. | 400 | 定时预迁移时间不能晚于定时删除时间。 |
InstanceIdInvalidParameterValue | An invalid or out-of-range value was supplied for the "instanceId" parameter. | 400 | “实例ID”参数的取值无效或者超出有效范围 |
纯净模式