You need to enable JavaScript to run this app.
导航

AddZoneToVpcEndpoint

最近更新时间2024.04.22 16:36:17

首次发布时间2023.03.17 21:09:38

调用AddZoneToVpcEndpoint接口,为指定的终端节点添加可用区。

调试

请求参数

名称类型是否必选示例值描述
ActionStringAddZoneToVpcEndpoint要执行的操作,取值为AddZoneToVpcEndpoint。
VersionString2020-04-01API版本信息,当前版本为2020-04-01。
EndpointIdStringep-273yuq6q7bgn47fap8squ****终端节点的ID。您可以调用DescribeVpcEndpoints接口获取终端节点的ID。
ZoneIdStringcn-guangzhou-a终端节点网卡所属可用区的ID。更多可用区信息请参见地域与可用区
SubnetIdStringsubnet-1g0f7rju1txj48ibuxxob****终端节点网卡所属子网的ID。您可以调用DescribeSubnets接口获取子网ID。
PrivateIpAddressString172..XX.XX.2终端节点网卡的私网IP地址,应属于子网网段内。您可以调用DescribeSubnets接口获取子网的网段。

返回数据

名称类型示例值描述
RequestIdString0ED8D006-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: open.volcengineapi.com
Service: privatelink
Region: cn-guangzhou

返回示例

{
    "ResponseMetadata": {
        "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28D****",
        "Action": "AddZoneToVpcEndpoint",
        "Version": "2020-04-01",
        "Service": "privatelink",
        "Region": "cn-guangzhou"
    },
    "Result": {
        "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28D****"
    }
}

错误码

此处仅展示当前API的错误码,更多错误码请参见公共错误码

HttpCode错误码错误信息描述

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表示缺少的参数名称。

400InvalidIP.MalformedThe specified IP is malformed.指定的参数IP格式不合法。
400EndpointZoneDuplicatedThe specified zone is duplicated for the Endpoint.终端节点服务的可用区重复。
400InvalidEndpoint.InvalidStatusThe specified endpoint is not in the correct status for the request.指定的终端节点所处的状态无法响应该请求。
400ErrEndpointServiceNotSupportedZoneThe specified endpoint service does not support the zone.指定的终端节点服务不支持当前可用区。
400UnsupportedOperation.AccountArrearsThe request on the specified instance is denied due to the account in arrears status.因账户处于欠费状态,对于该实例的操作请求被拒绝。
400InsufficientIpInSubnetThe specified subnet does not contain enough free private IP addresses to fulfill your request.指定子网下可用IP不足。
400InvalidServiceResource.InvalidLockThe operation is refused by the internal service resources of the endpoint service.终端节点服务内部服务资源无法支持该操作。
400InvalidServiceZone.InvalidLockThe operation is refused by the internal service zones of the endpoint service.终端节点服务内部服务可用区无法支持该操作。
400InvalidZone.ConflictThe specified zone is duplicated.指定的可用区重复。
400LimitExceeded.PrivateIpsPerEniYou've reached the limit on the number of private IPs per ENI that you can assign.已达到网卡可分配的辅助IP的数量上限。
400QuotaExceeded.SecurityGroupThe number of security groups bound to the ENI exceeded quota.已达到当前网卡可绑定安全组的数量上限。
400QuotaExceeded.EniSecurityGroupYou've reached the limit on the number of elastic network interfaces that a security group can associate.已达到安全组可关联的弹性网卡数量上限
400QuotaExceeded.EniENI number exceeded quota.已达到可创建网卡的数量上限。
400QuotaExceeded.SecurityGroupIpThe number of IP addresses bound to the security group exceeded quota.已达到安全组可绑定IP地址的数量上限。
400QuotaExceed.EndpointZoneEachInstanceYou've reached the limit on the number of service zones of endpoint service instances that you can create.已达到每个终端节点服务实例下创建服务资源所属可用区的数量的配额上限。
404InvalidEndpoint.NotFoundThe specified endpoint does not exist.指定的终端节点不存在。
404InvalidSubnet.NotFoundThe specified subnet does not exist.指定的子网不存在。
404InvalidSecurityGroupId.NotFoundThe specified security group does not exist.指定的安全组不存在。
404InvalidEndpointZone.NotFoundThe specified zone does not exist.指定的可用区不存在。
404InvalidEndpointService.NotFoundThe specified EndpointService does not exist.指定的终端节点服务不存在。
404InvalidEndpointService.NotFoundThe specified EndpointService does not exist.指定的终端节点服务不存在。
409InvalidSecurityGroupId.ConflictThe specified security group is duplicated with another security group associated with the same elastic network interface.指定的安全组已关联至该网卡,无法重复绑定。
409InvalidIpAddress.InUseThe specified IP address is in use.指定的IP地址已被占用。