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

私网连接

复制全文
下载 pdf
服务资源
DescribeVpcEndpointServiceResources-查询终端节点服务已绑定资源列表
复制全文
下载 pdf
DescribeVpcEndpointServiceResources-查询终端节点服务已绑定资源列表
调用DescribeVpcEndpointServiceResources接口,查询指定终端节点服务绑定的服务资源。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
Action String 必选 示例值:DescribeVpcEndpointServiceResources​
要执行的操作,取值:DescribeVpcEndpointServiceResources。​
​
Version String 必选 示例值:2020-04-01​
API的版本信息,当前版本为 2020-04-01。​
​
ServiceId String 必选 示例值:epsvc-2fe630gurkl37k5gfuy33****​
终端节点服务的ID。​
您可以调用DescribeVpcEndpointServices接口,获取终端节点服务的ID。​
​
PageNumber Integer 可选 示例值:1​
列表的页码。默认值为1。​
​
PageSize Integer 可选 示例值:10​
分页查询时每页的行数。最大值为100,默认值为10。​
​
ZoneId String 可选 示例值:cn-guangzhou-a​
服务资源提供服务的可用区ID。​
说明​
查询RDS类型的服务资源时,不支持传入该参数。​
​
​
返回参数​
RequestId String 可选 示例值:0ED8D006-F706-4D23-88ED-E11ED28D****​
请求ID。​
​
PageNumber Integer 可选 示例值:1​
当前页码。​
​
PageSize Integer 可选 示例值:10​
当前分页的行数。​
​
TotalCount Integer 可选 示例值:2​
符合条件的服务资源总数。​
​
Resources Object[] 可选 示例值:-​
服务资源的详细信息。​
ResourceId String 可选 示例值:clb-bp1o94dp5i6ea****​
服务资源的ID。​
​
ResourceType String 可选 示例值:CLB​
服务资源的类型。​
  • CLB:负载均衡CLB。​
  • ALB:应用型负载均衡ALB。​
  • RDSMySQL:云数据库 MySQL版。​
​
ZoneId String 可选 示例值:cn-guangzhou-a​
服务资源所属可用区的ID。​
说明​
参数ResourceType返回值为RDSMySQL时,该参数返回空值。​
​
ResourceAutoAllocated Object[] 可选 示例值:--​
服务资源自动分配的详细信息。​
AutoAllocatedEnabled Boolean 可选 示例值:true​
是否开启自动分配。​
  • true:是​
  • false:否​
​
ZoneId String 可选 示例值:cn-guangzhou-a​
可用区ID。​
​
​
​
​
请求示例​
​
GET /?Action=DescribeVpcEndpointServiceResources&Version=2020-04-01&ServiceId=epsvc-2fe630gurkl37k5gfuy33**** 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": "DescribeVpcEndpointServiceResources",​
"Version": "2020-04-01",​
"Service": "privatelink",​
"Region": "cn-guangzhou"​
},​
"Result": {​
"PageNumber": 1,​
"PageSize": 10,​
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28D****",​
"Resources": [​
{​
"ZoneId": "cn-guangzhou-a",​
"ResourceId": "clb-bp1o94dp5i6ea****",​
"ResourceType": "CLB",​
"ResourceAutoAllocated": [​
{​
"ZoneId": "cn-guangzhou-a",​
"AutoAllocatedEnabled": true​
}​
]​
}​
],​
"TotalCount": 2​
}​
}​
​
错误码​
此处仅展示当前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​
InvalidPaging.Malformed​
The specified PageNumber or PageSize is malformed.​
指定的分页参数格式不合法。​
400​
ErrInterfaceNotSupportedResourceType​
The Interface does not support the resource type.​
终端节点服务接口不支持操作该服务资源类型。​
400​
InvalidZoneID.Malformed​
The specified ZoneID is malformed.​
指定的 ZoneID 参数格式不合法。​
404​
InvalidEndpointService.NotFound​
The specified EndpointService does not exist.​
指定的终端节点服务不存在。​
​
最近更新时间:2025.12.09 10:33:57
这个页面对您有帮助吗?
有用
有用
无用
无用