自动快照策略的跨账号复制

最近更新时间: 2026-11-06 00:09:13

1. 接口描述

接口请求域名: cbs.api3.fincloud.tencent.cn。

自动快照策略的跨账号复制

默认接口请求频率限制:20次/秒。

接口更新时间:2025-05-06 18:49:31。

接口只验签名不鉴权。

2. 输入参数

以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见公共请求参数。

参数名称 必选 允许NULL 类型 描述
Action 是 否 String 公共参数,本接口取值:CopyAutoSnapshotPolicyCrossAccount
Version 是 否 String 公共参数,本接口取值:2017-03-12
Region 是 否 String 公共参数,地域信息可通过DescribeRegions接口查看产品支持的地域列表
AutoSnapshotPolicyIds 是 否 Array of String 要备份的定期快照策略ID列表
示例值: ["asp-ljylgbyo"]
TargetAccountUin 是 否 String 目标账户uin
示例值: 597568700

3. 输出参数

参数名称 类型 描述
AutoSnapshotPolicyIds Array of String 已备份的定期快照策略ID列表
示例值: ["asp-ljylgbyo"]
TargetAccountUin String 目标账户uin
示例值: 597568700
Code String 返回状态码
示例值:
MESSAGE String 返回信息
示例值:
RequestId String 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。

4. 错误码

以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码。

错误码 描述
MissingParameter 参数缺失。请求没有带必选参数。
InvalidParameter 参数错误
ResourceInsufficient 资源不足

5. 示例

示例1 自动快照策略跨账号复制

自动快照策略跨账号复制

输入示例

POST / HTTP/1.1
Host: cbs.api3.fincloud.tencent.cn
Content-Type: application/json
X-TC-Action: CopyAutoSnapshotPolicyCrossAccount
<Common Parameters>
{"AutoSnapshotPolicyIds": ["asp-ljylgbyo"], "TargetAccountUin": "597568700"}

{
    "AutoSnapshotPolicyIds": [
        "asp-1h6gs2"
    ], 
    "TargetAccountUin": "1044849112"
}

输出示例

{
  "Response": {
    "AutoSnapshotPolicyIds": [
      "asp-1h6gs2"
    ],
    "TargetAccountUin": "1044849112",
    "RequestId": "sfqw134-fcdsf21-e534f42-12few"
  }
}