Queries the attributes of a specified endpoint.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
privatelink:GetVpcEndpointAttribute | get | *VpcEndpoint
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
RegionId | string | Yes | The ID of the region where the endpoint is located. You can call the DescribeRegions operation to obtain the region ID. | cn-huhehaote |
EndpointId | string | Yes | The ID of the endpoint. | ep-hp33b2e43fays7s8**** |
RegionId | string | Yes | The ID of the region where the endpoint is located. You can call the DescribeRegions operation to obtain the region ID. | cn-huhehaote |
Response elements
Element | Type | Description | Example |
object | |||
Payer | string | The payer. Valid values:
| Endpoint |
EndpointDomain | string | The domain name of the endpoint. | ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com |
RequestId | string | The request ID. | 8D8992C1-6712-423C-BAC5-E5E817484C6B |
CreateTime | string | The time when the endpoint was created. | 2021-09-24T18:00:07Z |
ResourceOwner | boolean | Indicates whether the endpoint and the endpoint service belong to the same Alibaba Cloud account. Valid values:
| true |
EndpointBusinessStatus | string | The business status of the endpoint. Valid values:
| Normal |
EndpointDescription | string | The description of the endpoint. | This is my Endpoint. |
ServiceId | string | The ID of the endpoint service with which the endpoint is associated. | epsrv-hp3vpx8yqxblby3i**** |
EndpointStatus | string | The status of the endpoint. Valid values:
| Active |
VpcId | string | The ID of the virtual private cloud (VPC) to which the endpoint belongs. | vpc-fdfhkjafhjvcvdjf**** |
EndpointName | string | The name of the endpoint. | test |
ZonePrivateIpAddressCount | integer | The number of private IP addresses of the elastic network interface (ENI) in each zone. The value is always 1. | 1 |
EndpointType | string | The type of the endpoint. Valid values:
| Interface |
ServiceName | string | The name of the endpoint service with which the endpoint is associated. | com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo**** |
Bandwidth | integer | The connection bandwidth of the endpoint. Unit: Mbps. | 1024 |
EndpointId | string | The endpoint ID. | ep-hp33b2e43fays7s8**** |
RegionId | string | The ID of the region to which the endpoint belongs. | cn-huhehaote |
ConnectionStatus | string | The state of the endpoint connection. Valid values:
| Connected |
ZoneAffinityEnabled | boolean | Indicates whether the domain name of the endpoint service is resolved to the IP address of the endpoint in the nearest zone. Valid values:
| true |
ResourceGroupId | string | The resource group ID. | rg-acfmz7nocpei*** |
PolicyDocument | string | The RAM access policy. For more information about policy elements, see Basic elements of a policy. | { "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 | The IP address version. Valid values:
| IPv4 |
ServiceRegionId | string | ||
CrossRegionBandwidth | integer |
Examples
Success response
JSON format
{
"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",
"ServiceRegionId": "",
"CrossRegionBandwidth": 0
}Error codes
HTTP status code | Error code | Error message | Description |
400 | EndpointNotFound | The specified Endpoint does not exist. | The specified Endpoint does not exist. |
400 | EndpointConnectionNotFound | The specified endpoint connection does not exist. | The specified endpoint connection does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.