修改私有域关联的VPC

最近更新时间: 2026-10-10 00:12:44

1. 接口描述

接口请求域名: vpcdns.api3.fincloud.tencent.com。

修改私有域关联的VPC

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

接口更新时间:2026-04-15 17:40:31。

接口只验签名不鉴权。

2. 输入参数

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

参数名称 必选 允许NULL 类型 描述
Action 是 否 String 公共参数,本接口取值:ModifyPrivateZoneVpc
Version 是 否 String 公共参数,本接口取值:2019-10-25
Region 是 否 String 公共参数,地域信息本接口不需要传递此参数。
AccountVpcSet 否 是 Array of AccountVpcInfo 私有域账号关联的全部VPC列表
示例值:查看
ForceBindVpc 否 是 Bool 是否强制绑定冲突的vpc
示例值: false
SystemUin 否 是 String 系统帐户uin,需要加白使用
示例值: 100000000328
ZoneId 是 是 String 私有域ID
示例值: zone-12e45ds6
VpcSet 否 是 Array of VpcInfo 私有域关联的全部VPC列表
示例值:查看

3. 输出参数

参数名称 类型 描述
ZoneId String 私有域ID, zone-12e45ds6
示例值: zone-12e45ds6
VpcSet Array of VpcInfo 解析域关联的VPC列表
示例值:查看
AccountVpcSet Array of AccountVpcInfoOutput 私有域账号关联的全部VPC列表
示例值:查看
CreatedAt Datetime 请求返回时间
示例值: 2014-08-03 12:00:00
CreatedAtIso Datetime_iso 请求响应时间Iso
示例值: 2024-06-04T15:30:00Z
RequestId String 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。

4. 错误码

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

错误码 描述
InvalidParameter
InvalidParameterValue
MissingParameter
UnknownParameter
InternalError
UnauthorizedOperation
UnsupportedOperation
ResourceNotFound
LimitExceeded
ResourceUnavailable
ResourceInsufficient
FailedOperation
ResourceInUse
DryRunOperation
ResourcesSoldOut
AuthFailure
OperationDenied
RequestLimitExceeded
InternalError.UndefiendError 错误未定义
InvalidParameter.ZoneNotExists 解析域不存在
InvalidParameter.IllegalVpcInfo VPC非法
InvalidParameter.VpcBinded
UnauthorizedOperation.UnauthorizedAccount
FailedOperation.BindZoneVpcFailed
UnauthorizedOperation.RoleUnAuthorized
AuthFailure.TokenFailure
InvalidParameter.VpcBindedMainDomain
LimitExceeded.TldOutOfLimit
ResourceUnavailable.TldPackageExpired
LimitExceeded.TldOutOfRange
FailedOperation.DataError

5. 示例

示例1 修改私有域关联的VPC

输入示例

{
    "ZoneId": "zone-12345ds6",
    "VpcSet": [
        {
            "Region": "ap-region",
            "UniqVpcId": "vpc-xxxxxx"
        }
    ],
    "AccountVpcSet": [
        {
            "Uin": "1002450010",
            "Region": "ap-region",
            "UniqVpcId": "vpc-dsd8ulf",
            "VpcName": "vpcName"
        }
    ],
   "ForceBindVpc": false
}

输出示例

{
  "Response": {
    "RequestId": "5cd964e2-b5e6-8a35-9ce5a1085860c845",
    "ZoneId": "zone-12345ds6",
    "VpcSet": [
      {
        "UniqVpcId": "vpc-dsd8ulf",
        "Region": "ap-region"
      }
    ],
    "AccountVpcSet": [
      {
        "Uin": "1002450010",
        "UniqVpcId": "vpc-dsd8sdw",
        "Region": "ap-region"
      }
    ]
  }
}