You need to enable JavaScript to run this app.
文档中心
私网连接

私网连接

复制全文
下载 pdf
终端节点可用区
AddZoneToVpcEndpoint - 添加终端节点可用区
复制全文
下载 pdf
AddZoneToVpcEndpoint - 添加终端节点可用区
调用AddZoneToVpcEndpoint接口,为指定的终端节点添加可用区,操作说明和注意事项请参见修改可用区。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
Action String 必选 示例值:AddZoneToVpcEndpoint​
要执行的操作,取值:AddZoneToVpcEndpoint。​
​
Version String 必选 示例值:2020-04-01​
API的版本信息,当前版本为 2020-04-01。​
​
EndpointId String 必选 示例值:ep-273yuq6q7bgn47fap8squ****​
终端节点的ID。​
您可以调用DescribeVpcEndpoints接口,获取终端节点的ID。​
​
ZoneId String 必选 示例值:cn-guangzhou-a​
终端节点网卡所属可用区的ID。更多可用区信息请参见地域与可用区。​
​
SubnetId String 必选 示例值:subnet-1g0f7rju1txj48ibuxxob****​
终端节点网卡所属子网的ID。​
您可以调用DescribeSubnets接口,获取子网ID。​
​
PrivateIpAddress String 可选 示例值:172.XX.XX.2​
终端节点网卡的私网IPv4地址,应属于子网IPv4网段内。您可以调用DescribeSubnets接口,获取子网的网段。​
​
PrivateIpv6Address String 可选 示例值:2408::153:3921:XX:XX:7b12:1c5f​
终端节点网卡的私网IPv6地址,应属于子网IPv6网段内。您可以调用DescribeSubnets接口,获取子网的网段。​
说明​
该参数正在邀测中,如需使用,请联系客户经理。​
​
​
​
返回参数​
RequestId String 示例值:0ED8D006-F706-4D23-88ED-E11ED28D****​
请求ID。​
​
​
​
请求示例​
​
GET /?Action=AddZoneToVpcEndpoint&Version=2020-04-01&EndpointId=ep-273yuq6q7bgn47fap8squ****&ZoneId=cn-guangzhou-a&SubnetId=subnet-1g0f7rju1txj48ibuxxob**** HTTP/1.1​
Host: privatelink.cn-guangzhou.volcengineapi.com​
X-Date: 20251121T094038Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251121/cn-guangzhou/privatelink/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420****100232280022D31",​
"Action": "AddZoneToVpcEndpoint",​
"Version": "2020-04-01",​
"Service": "privatelink",​
"Region": "cn-guangzhou"​
},​
"Result": {​
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28D****"​
}​
}​
​
错误码​
此处仅展示当前API的错误码,更多错误码请参见公共错误码。​
​
状态码​
错误码​
错误信息​
说明​
400​
MissingParameter​
The request is missing a required parameter. Ensure that you have supplied all the required parameters for the request; for example, the 'XXX'.​
该请求缺少必要参数。请确保发起请求已提供全部必要参数,比如XXX。​
说明​
其中,XXX表示缺少的参数名称。​
400​
InvalidIP.Malformed​
The specified IP is malformed.​
指定的参数IP格式不合法。​
400​
EndpointZoneDuplicated​
The specified zone is duplicated for the Endpoint.​
终端节点服务的可用区重复。​
400​
InvalidEndpoint.InvalidStatus​
The specified endpoint is not in the correct status for the request.​
指定的终端节点所处的状态无法响应该请求。​
400​
ErrEndpointServiceNotSupportedZone​
The specified endpoint service does not support the zone.​
指定的终端节点服务不支持当前可用区。​
400​
UnsupportedOperation.AccountArrears​
The request on the specified instance is denied due to the account in arrears status.​
因账户处于欠费状态,对于该实例的操作请求被拒绝。​
400​
InsufficientIpInSubnet​
The specified subnet does not contain enough free private IP addresses to fulfill your request.​
指定子网下可用IP不足。​
400​
InvalidEndpointIpAddressVersions.EndpointServiceMisMatch​
The IpAddressVersions of associated EndpointService and Endpoint mismatch.​
终端节点的IP地址类型与所关联的终端节点服务不匹配。​
400​
InvalidEndpointService.InvalidLock​
The operation is refused by the endpoint service.​
终端节点服务无法支持该操作。​
400​
InvalidZone.Conflict​
The specified zone is duplicated.​
指定的可用区重复。​
400​
LimitExceeded.PrivateIpsPerEni​
You've reached the limit on the number of private IPs per ENI that you can assign.​
已达到网卡可分配的辅助IP的数量上限。​
400​
QuotaExceeded.SecurityGroup​
The number of security groups bound to the ENI exceeded quota.​
已达到当前网卡可绑定安全组的数量上限。​
400​
QuotaExceeded.EniSecurityGroup​
You've reached the limit on the number of elastic network interfaces that a security group can associate.​
已达到安全组可关联的弹性网卡数量上限​
400​
QuotaExceeded.Eni​
ENI number exceeded quota.​
已达到可创建网卡的数量上限。​
400​
QuotaExceeded.SecurityGroupIp​
The number of IP addresses bound to the security group exceeded quota.​
已达到安全组可绑定IP地址的数量上限。​
400​
InvalidEndpointZoneIPVersion.AddressMismatch​
The specified EndpointZone AddressIPVersion and address are not matched.​
指定的终端节点可用区地址与终端节点IP类型不匹配。​
400​
InvalidIPv6Address.Malformed​
The specified IPv6Address is malformed.​
指定的 IPv6Address 参数格式不合法。​
400​
InvalidPrivateDNSName.Conflict​
The PrivateDNSName of associated EndpointService and Endpoint mismatch.​
终端节点的DNS名称与所关联的终端节点服务不匹配。​
400​
InvalidPrivateDNS.UnsupportedOperation​
The request on the specified PrivateDNS is denied due to the PrivateDNS is disabled.​
因为未开启私有 DNS 功能,该请求被拒绝。​
400​
InvalidLocation.Intercepted​
The specified action has been intercepted by location.​
指定的操作已被 Location 拦截。​
400​
InvalidEndpoint.ServiceDeleted​
The specified endpoint's service has been deleted for the request.​
指定的终端节点的所属终端节点服务被删除,无法响应该请求。​
403​
Forbidden​
You are not authorized to perform operations on the specified service.​
无权限对指定服务进行操作。​
404​
InvalidEndpoint.NotFound​
The specified endpoint does not exist.​
指定的终端节点不存在。​
404​
InvalidSubnet.NotFound​
The specified subnet does not exist.​
指定的子网不存在。​
404​
InvalidSecurityGroupId.NotFound​
The specified security group does not exist.​
指定的安全组不存在。​
404​
InvalidEndpointZone.NotFound​
The specified zone does not exist.​
指定的可用区不存在。​
404​
InvalidEndpointService.NotFound​
The specified EndpointService does not exist.​
指定的终端节点服务不存在。​
409​
InvalidSecurityGroupId.Conflict​
The specified security group is duplicated with another security group associated with the same elastic network interface.​
指定的安全组已关联至该网卡,无法重复绑定。​
409​
InvalidIpAddress.InUse​
The specified IP address is in use.​
指定的IP地址已被占用。​
​
​
最近更新时间:2026.10.26 14:49:46
这个页面对您有帮助吗?
有用
有用
无用
无用