调用EnableVpcEndpointZoneConnection接口,允许终端节点可用区连接。
接口说明
-
当终端节点连接状态为已连接且终端节点可用区状态为已断开时,才能调用此接口。
-
EnableVpcEndpointZoneConnection 接口属于异步接口,即系统会返回一个请求 ID,但尚未接受终端节点在此可用区的连接请求,系统后台接受任务仍在进行中。您可以调用 ListVpcEndpointZones 查询终端节点可用区的连接请求状态:
当终端节点可用区处于 Connecting 状态时,表示连接请求正在接受中。
当终端节点可用区处于 Connected 状态时,表示连接请求已接受。
-
EnableVpcEndpointZoneConnection 接口不支持在同一个终端节点实例下并发接受可用区的连接请求。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
privatelink:EnableVpcEndpointZoneConnection |
update |
*VpcEndpointService
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
要接受终端节点连接的地域 ID。您可以通过调用 DescribeRegions 接口获取地域 ID。 |
cn-hangzhou |
| ClientToken |
string |
否 |
客户端 Token,用于保证请求的幂等性。 从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。 |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| DryRun |
boolean |
否 |
是否只预检此次请求。取值:
|
false |
| ServiceId |
string |
是 |
终端节点服务 ID。 |
epsrv-hp3vpx8yqxblby3i**** |
| EndpointId |
string |
是 |
终端节点 ID。 |
ep-hp33b2e43fays7s8**** |
| ZoneId |
string |
是 |
终端节点连接可用区 ID。 |
cn-hangzhou-b |
| RegionId |
string |
是 |
要接受终端节点连接的地域 ID。您可以通过调用 DescribeRegions 接口获取地域 ID。 |
cn-hangzhou |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
示例
正常返回示例
JSON格式
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | EndpointServiceNotFound | The specified Service does not exist. | 当前终端节点服务不存在 |
| 400 | EndpointConnectionNotFound | The specified endpoint connection does not exist. | 当前终端节点连接未找到。 |
| 400 | EndpointConnectionOperationDenied | The endpoint is being connected. | 终端节点连接正在处理中,不允许操作。 |
| 400 | EndpointOperationDenied | The specified operation of endpoint is not allowed. | 当前终端节点正在处理中,不允许操作。 |
| 400 | IncorrectBusinessStatus.VpcEndpoint | The business status of %s [%s] is incorrect. | |
| 400 | IncorrectBusinessStatus.VpcEndpointService | The business status of %s [%s] is incorrect. | |
| 400 | IncorrectStatus.VpcEndpoint | The status of %s [%s] is incorrect. | |
| 400 | IncorrectStatus.VpcEndpointConnection | The status of %s [%s] is incorrect. | |
| 400 | IncorrectStatus.VpcEndpointService | The status of %s [%s] is incorrect. | |
| 400 | IncorrectStatus.VpcEndpointZone | The status of %s [%s] is incorrect. | |
| 400 | GatewayLoadBalancerNotSupportZoneConnection | The gateway load balancer not support zone connection. | 网关型负载均衡类型不支持操作可用区连接 |
| 404 | ResourceNotFound.VpcEndpoint | The specified resource %s is not found. | |
| 404 | ResourceNotFound.VpcEndpointConnection | The specified resource %s is not found. | |
| 404 | ResourceNotFound.VpcEndpointService | The specified resource %s is not found. | |
| 404 | ResourceNotFound.VpcEndpointZone | The specified resource %s is not found. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。