调用GetVpcEndpointAttribute接口,获取终端节点属性信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
RegionId |
string |
是 |
获取属性信息的终端节点所属的地域 ID。 您可以通过调用 DescribeRegions 接口获取地域 ID。 |
cn-huhehaote |
EndpointId |
string |
是 |
获取属性信息的终端节点 ID。 |
ep-hp33b2e43fays7s8**** |
RegionId |
string |
是 |
获取属性信息的终端节点所属的地域 ID。 您可以通过调用 DescribeRegions 接口获取地域 ID。 |
cn-huhehaote |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
|||
Payer |
string |
付费方。取值:
|
Endpoint |
EndpointDomain |
string |
终端节点域名。 |
ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com |
RequestId |
string |
请求 ID。 |
8D8992C1-6712-423C-BAC5-E5E817484C6B |
CreateTime |
string |
终端节点的创建时间。 |
2021-09-24T18:00:07Z |
ResourceOwner |
boolean |
终端节点和终端节点服务是否同一账号。取值:
|
true |
EndpointBusinessStatus |
string |
终端节点的业务状态。取值:
|
Normal |
EndpointDescription |
string |
终端节点描述。 |
This is my Endpoint. |
ServiceId |
string |
终端节点关联的终端节点服务的 ID。 |
epsrv-hp3vpx8yqxblby3i**** |
EndpointStatus |
string |
终端节点状态。取值:
|
Active |
VpcId |
string |
终端节点所属的专有网络 ID。 |
vpc-fdfhkjafhjvcvdjf**** |
EndpointName |
string |
终端节点名称。 |
test |
ZonePrivateIpAddressCount |
integer |
每个可用区 ENI 的私网 IP 的数量。仅取值:1。 |
1 |
EndpointType |
string |
终端节点类型。取值:
|
Interface |
ServiceName |
string |
终端节点关联的终端节点服务的名称。 |
com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo**** |
Bandwidth |
integer |
终端节点的连接带宽。单位:Mbps。 |
1024 |
EndpointId |
string |
终端节点 ID。 |
ep-hp33b2e43fays7s8**** |
RegionId |
string |
终端节点所属的地域 ID。 |
cn-huhehaote |
ConnectionStatus |
string |
终端节点连接状态。取值:
|
Connected |
ZoneAffinityEnabled |
boolean |
是否支持连接服务的终端节点域名就近解析。取值:
|
true |
ResourceGroupId |
string |
资源组 ID。 |
rg-acfmz7nocpei*** |
PolicyDocument |
string |
RAM 权限策略。关于策略定义的更多信息,请参见权限策略基本元素。 |
{ "Version": "1", "Statement": [ { "Effect": "Allow", "Action": [ "oss:List*", "oss:PutObject", "oss:GetObject" ], "Resource": [ "acs:oss:oss-*:*:pvl-policy-test/policy-test.txt" ], "Principal": { "RAM": [ "acs:ram::14199xxxxxx:*" ] } } ] } |
AddressIpVersion |
string |
协议版本。取值:
|
IPv4 |
示例
正常返回示例
JSON
格式
{
"Payer": "Endpoint",
"EndpointDomain": "ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com",
"RequestId": "8D8992C1-6712-423C-BAC5-E5E817484C6B",
"CreateTime": "2021-09-24T18:00:07Z",
"ResourceOwner": true,
"EndpointBusinessStatus": "Normal",
"EndpointDescription": "This is my Endpoint.",
"ServiceId": "epsrv-hp3vpx8yqxblby3i****",
"EndpointStatus": "Active",
"VpcId": "vpc-fdfhkjafhjvcvdjf****",
"EndpointName": "test",
"ZonePrivateIpAddressCount": 1,
"EndpointType": "Interface",
"ServiceName": "com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****",
"Bandwidth": 1024,
"EndpointId": "ep-hp33b2e43fays7s8****",
"RegionId": "cn-huhehaote",
"ConnectionStatus": "Connected",
"ZoneAffinityEnabled": true,
"ResourceGroupId": "rg-acfmz7nocpei***",
"PolicyDocument": "{\n \"Version\": \"1\",\n \"Statement\": [\n {\n \"Effect\": \"Allow\",\n \"Action\": [\n \"oss:List*\",\n \"oss:PutObject\",\n \"oss:GetObject\"\n ],\n \"Resource\": [\n \"acs:oss:oss-*:*:pvl-policy-test/policy-test.txt\"\n ],\n \"Principal\": {\n \"RAM\": [\n \"acs:ram::14199xxxxxx:*\"\n ]\n }\n }\n ]\n}",
"AddressIpVersion": "IPv4"
}
错误码
HTTP status code |
错误码 |
错误信息 |
描述 |
---|---|---|---|
400 | EndpointNotFound | The specified Endpoint does not exist. | |
400 | EndpointConnectionNotFound | The specified endpoint connection does not exist. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。