参数名称 | 类型 | 必填 | 描述 |
---|
Action | String | 是 | 公共参数,本接口取值:CopyImage。 |
Version | String | 是 | 公共参数,本接口取值:2016-03-04。 |
ImageId.N | String | 是 | 源自定义镜像的ID列表。 cc27b87a-b74c-4da8-93b0-33edce5399cf |
DestinationRegion.N | String | 是 | 复制到目标地域的列表。 =cn-beijing-6 |
DestinationImageName | String | 否 | 复制后的镜像的名称,默认值:源镜像名称。 2-64个字符,支持中文、字母、数字以及-_@#.字符 |
参数名称 | 类型 | 描述 |
---|
RequestId | String | 示例值:d6dbb06c-46d3-4ceb-9152-1e5edc200713002 |
Return | Boolean | 示例值:true |
Message | String |
JSON格式
以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码
错误码 | 错误信息 | Http状态码 | 描述 |
---|
CopyImageMaxExceeded | image copy every time Exceeded 10 | 400 | 镜像复制每次最多10个 |
CustomImageQuotaNotEnough | custom image quota not enough. | 400 | 可创建自定义镜像限额已满. |
RegionPermissionDenied | this region function permission denied. | 400 | 当前机房未开放该服务. |
ImageNameInvalidParameterValue | An invalid or out-of-range value was supplied for the "ImageName" parameter. | 400 | “镜像名称”参数的取值无效或者超出有效范围 |
ImageIdInvalidParameterValue | An invalid or out-of-range value was supplied for the "ImageId" parameter. | 400 | “镜像ID”参数的取值无效或者超出有效范围 |
InvalidParameter | 暂无 | 400 | 暂无 |
ImageCopyUrlInvalid | An invalid or out-of-range value was supplied for the image "URL". | 400 | 复制镜像的“存储地址”无效或者超出有效范围. |
纯净模式