调用AddIPv6TranslatorAclListEntry在访问控制策略组中添加IP条目。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String AddIPv6TranslatorAclListEntry

要执行的操作。取值:AddIPv6TranslatorAclListEntry

AclEntryIp String 12XX:0:0:dc30::0102

访问控制策略组条目中要添加的单个IPv6地址或IPv6地址段,例如12XX:0:0:dc30::0102或12XX:0:0:dc30::/60。

AclId String ipv6transacl-bp1dcdvfe2****

IP条目的访问控制策略组ID。

RegionId String cn-hangzhou

访问控制策略组的地域ID。 您可以通过调用DescribeRegions接口获取地域ID。

AclEntryComment String clientIP1

访问控制策略组条目的备注信息。

长度为2~100个字符,以英文大小字母或中文开头,可包含数字、下划线(_)和短划线(-)。

返回数据

名称 类型 示例值 描述
AclEntryId String ipv6transaclentry-bp105jrs****

访问控制策略组条目ID。

RequestId String 8B2F5262-6B57-43F2-defr345

请求ID。

示例

请求示例

http(s)://[Endpoint]/?Action=AddIPv6TranslatorAclListEntry
&AclEntryIp=12XX:0:0:dc30::0102
&AclId=ipv6transacl-bp1dcdvfe2****
&RegionId=cn-hangzhou
&<公共请求参数>

正常返回示例

XML格式

<CreateIPv6TranslatorAclListResponse>
      <AclEntryId>ipv6transaclentry-bp105jrs****</AclEntryId>
	  <RequestId>8B2F5262-6B57-43F2-xcdvf</RequestId>
</CreateIPv6TranslatorAclListResponse>

JSON格式

{
	"RequestId":"8B2F5262-6B57-43F2-xxxxx",
    "AclEntryId":"ipv6transaclentry-bp105jrs****"
}

错误码

HttpCode 错误码 错误信息 描述
403 Forbbiden.SubUser User not authorized to operate on the specified resource as your account is created by another user. 您没有权限操作该资源,请您申请操作权限后再试。
403 Forbidden User not authorized to operate on the specified resource. 您没有权限操作指定资源,请提交工单咨询。
400 Resource.QuotaFull The quota of resource is full 资源配额已达上限。

访问错误中心查看更多错误码。