最近更新时间:2023-09-07 19:35:53
支持用户自主预热自定义镜像
::: hljs-center
名称 | 类型 | 是否可缺省 | 有效值 | 描述 |
---|---|---|---|---|
Action | String | 是 | EnableImageCaching | 系统规定参数。取值:EnableImageCaching。 |
ImageId | String | 否 | —— | 预热的镜像ID。 |
:::
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 7a6fa859-85e6-40ba-95d2-69deb5e43b6a | 请求ID。 |
Return | 布尔型 | true(成功)/ false(失败) | 返回参数。 |
在cn-beijing-6这个region,为一个镜像创建预热
http://kec.cn-beijing-6.api.ksyun.com/?Action=EnableImageCaching&Version=2016-03-04
&ImageId=e007579f-bea2-483e-bfcb-fec760c58167
{
"RequestId": "7a6fa859-85e6-40ba-95d2-69deb5e43b6a",
"Return": "true"
}
纯净模式