参数名称 | 类型 | 必填 | 描述 |
---|
Action | String | 是 | 公共参数,本接口取值:EnableImageCaching。 |
Version | String | 是 | 公共参数,本接口取值:2016-03-04。 |
ImageId.N | String | 是 | 预热的镜像ID。 |
参数名称 | 类型 | 描述 |
---|
RequestId | String | 示例值:3521113a-6cda-41e9-a1b3-e1d272c79501003 |
Return | Boolean | 示例值:true |
JSON格式
以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码
错误码 | 错误信息 | Http状态码 | 描述 |
---|
HasBeenWarmedUpImage | Image [{0}] has been warmed up. | 400 | 镜像[{0}]已预热. |
ImageSizeWarmUpLimit | can`t warm up the image greater than [{0}] G | 400 | 镜像大于[{0}]G 不能预热. |
AssembledImageNotSupportWarmUp | AssembledImage Not Support WarmUp. | 400 | 整机镜像不允许预热 |
ImageIdInvalidParameterValue | An invalid or out-of-range value was supplied for the "ImageId" parameter. | 400 | “镜像ID”参数的取值无效或者超出有效范围 |
LocalImageNotNeedWarmUp | You can use the local image to quickly start a KEC instance without caching the image. | 400 | 本地镜像可快速开机,无需预热 |
WarmUpImageNumLimit | The cloud server supports a maximum of [{0}] warm-up images. | 400 | 云服务器支持预热镜像的个数最多为[{0}]个. |
ImageTypeInvalidParameterValue | An invalid or out-of-range value was supplied for the "ImageType" parameter. | 400 | “镜像类型”参数的取值无效或者超出有效范围. |
ESSDVolumeImageNotSupportCaching | The specified image made from ESSD volume does not support caching. | 400 | ESSD盘制作的镜像不支持预热 |
纯净模式