应用跨地域同步。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
AppId | string | 是 | 应用 ID。 | ci-vm-rYfypJKwlN9Y |
TargetRegionIds | array | 否 | 同步至指定地域的数组列表。若包含'all',则默认同步至所有其它未同步地域。 | |
string | 否 | 地域 ID。 | cn-shanghai |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "896D338C-E4F4-41EC-A154-D605E5DE****"
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | ImageAlreadyExists | The image id already exists. | 镜像已存在 |
403 | InvalidParams | Invalid parameters: %s. | 请求参数错误:%s。 |
404 | ImageNotFound | The specified image does not exist. | 指定的镜像不存在,请您检查该参数是否正确。 |
406 | DbError | A database error occurred. | 数据库错误 |
406 | ServiceAPIError | Failed to call the operation. Cause:%s. | API调用失败。%s |
406 | EcsError | An error occurred while calling the ECS API operation. | ECS API调用出错 |
406 | AliyunError | An Alibaba Cloud product error occurred. | 阿里云产品错误. %s |
503 | ServiceUnavailable | The request has failed due to a temporary failure of the server. | 请求失败,服务暂时不可用 |
访问错误中心查看更多错误码。