文档

EnableVpcEndpointZoneConnection - 允许终端节点可用区连接

更新时间:

调用EnableVpcEndpointZoneConnection接口,允许终端节点可用区连接。

接口说明

  • 当终端节点连接状态为已连接且终端节点可用区状态为已断开时,才能调用此接口。

  • EnableVpcEndpointZoneConnection 接口属于异步接口,即系统会返回一个请求 ID,但尚未接受终端节点在此可用区的连接请求,系统后台接受任务仍在进行中。您可以调用 ListVpcEndpointZones 查询终端节点可用区的连接请求状态:

    • 当终端节点可用区处于 Connecting 状态时,表示连接请求正在接受中。
    • 当终端节点可用区处于 Connected 状态时,表示连接请求已接受。
  • EnableVpcEndpointZoneConnection 接口不支持在同一个终端节点实例下并发接受可用区的连接请求。

调试

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

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
RegionIdstring

要接受终端节点连接的地域 ID。您可以通过调用 DescribeRegions 接口获取地域 ID。

cn-hangzhou
ClientTokenstring

客户端 Token,用于保证请求的幂等性。

从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken 只支持 ASCII 字符。

0c593ea1-3bea-11e9-b96b-88e9fe637760
DryRunboolean

是否只预检此次请求。取值:

  • true:发送检查请求,不会接受连接请求。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码DryRunOperation
  • false(默认值):发送正常请求,通过检查后返回 HTTP 2xx 状态码并直接进行操作。
false
ServiceIdstring

终端节点服务 ID。

epsrv-hp3vpx8yqxblby3i****
EndpointIdstring

终端节点 ID。

ep-hp33b2e43fays7s8****
ZoneIdstring

终端节点连接可用区 ID。

cn-hangzhou-b

返回参数

名称类型描述示例值
object
RequestIdstring

请求 ID。

0ED8D006-F706-4D23-88ED-E11ED28DCAC0

示例

正常返回示例

JSON格式

{
  "RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}

错误码

HTTP status code错误码错误信息描述
400EndpointServiceNotFoundThe specified Service does not exist.当前终端节点服务不存在
400EndpointConnectionNotFoundThe specified endpoint connection does not exist.当前终端节点连接未找到。
400EndpointConnectionOperationDeniedThe endpoint is being connected.终端节点连接正在处理中,不允许操作。
400EndpointOperationDeniedThe specified operation of endpoint is not allowed.当前终端节点正在处理中,不允许操作。
400IncorrectBusinessStatus.VpcEndpointThe business status of %s [%s] is incorrect.资源%s [%s]的业务状态无效。
400IncorrectBusinessStatus.VpcEndpointServiceThe business status of %s [%s] is incorrect.资源%s [%s]的业务状态无效。
400IncorrectStatus.VpcEndpointThe status of %s [%s] is incorrect.资源%s [%s]的状态无效。
400IncorrectStatus.VpcEndpointConnectionThe status of %s [%s] is incorrect.资源%s [%s]的状态无效。
400IncorrectStatus.VpcEndpointServiceThe status of %s [%s] is incorrect.资源%s [%s]的状态无效。
400IncorrectStatus.VpcEndpointZoneThe status of %s [%s] is incorrect.资源%s [%s]的状态无效。
404ResourceNotFound.VpcEndpointThe specified resource %s is not found.资源%s不存在。
404ResourceNotFound.VpcEndpointConnectionThe specified resource %s is not found.资源%s不存在。
404ResourceNotFound.VpcEndpointServiceThe specified resource %s is not found.资源%s不存在。
404ResourceNotFound.VpcEndpointZoneThe specified resource %s is not found.资源%s不存在。

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

变更历史

变更时间变更内容概要操作
暂无变更历史
  • 本页导读 (1)
文档反馈