EnableVpcEndpointZoneConnection_私网连接_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

接口说明

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

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

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

流控信息

请求速率为200/60(s)。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
privatelink:EnableVpcEndpointZoneConnection
Update
VpcEndpointService
acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#vpcendpointserviceId}

请求参数

字段名称字段详情
RegionIdstring

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

示例值:cn-hangzhou参考取值来源:
    DescribeRegions
ClientTokenstring

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

示例值:0c593ea1-3bea-11e9-b96b-88e9fe637760
DryRunboolean

是否只预检此次请求。取值:展开详情

示例值:false
ServiceIdstring

终端节点服务 ID。

示例值:epsrv-hp3vpx8yqxblby3i****参考取值来源:
    ListVpcEndpointServices
    CreateVpcEndpointService
    AddUserToVpcEndpointService
EndpointIdstring

终端节点 ID。

示例值:ep-hp33b2e43fays7s8****参考取值来源:
    ListVpcEndpoints
    AddZoneToVpcEndpoint
    CreateVpcEndpoint
ZoneIdstring

终端节点连接可用区 ID。

示例值:cn-hangzhou-b参考取值来源:
    DescribeZones

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:0ED8D006-F706-4D23-88ED-E11ED28DCAC0

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
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.诊断

变更历史

变更时间变更内容概要操作
2024-09-18
变更错误码400
2021-06-22
新增OpenAPI,允许终端节点可用区连接

相关示例

终端节点服务侧示例
2022-12-29