Queries the list of endpoint services that belong to the current account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
privatelink:ListVpcEndpointServices |
get |
*VpcEndpointService
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the endpoint service. You can call the DescribeRegions operation to query the most recent region list. |
cn-huhehaote |
| NextToken |
string |
No |
Specifies whether to have a token for the next query. Valid values:
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
| MaxResults |
integer |
No |
The number of entries per page. Valid values: 1 to 1000. Default value: 50. |
50 |
| ServiceId |
string |
No |
The ID of the endpoint service. |
epsrv-hp3vpx8yqxblby3i**** |
| ServiceName |
string |
No |
The name of the endpoint service. |
com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i**** |
| ResourceId |
string |
No |
The service resource ID. |
lb-hp32z1wp5peaoox2q**** |
| ServiceResourceType |
string |
No |
The EPS resource type. Valid values:
|
slb |
| AutoAcceptEnabled |
boolean |
No |
Specifies whether to automatically accept endpoint connections. Valid values:
|
false |
| ServiceStatus |
string |
No |
The endpoint service status. Valid values:
|
Active |
| ServiceBusinessStatus |
string |
No |
The business status of the endpoint service. Valid values:
|
Normal |
| ZoneAffinityEnabled |
boolean |
No |
Specifies whether zone affinity is enabled for the endpoint that connects to the endpoint service. Valid values:
|
true |
| Tag |
array<object> |
No |
The tags. |
|
|
object |
No |
The tag. |
||
| Key |
string |
No |
The tag key of the instance. You can specify up to 20 tag keys. The tag key cannot be an empty string. The tag key can be up to 64 characters in length and cannot start with |
FinanceDept |
| Value |
string |
No |
The tag value of the instance. You can specify up to 20 tag values. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot start with |
FinanceJoshua |
| ResourceGroupId |
string |
No |
The resource group ID. |
rg-acfmy***** |
| AddressIpVersion |
string |
No |
The protocol version. Valid values:
|
IPv4 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Services |
array<object> |
The endpoint services. |
|
|
array<object> |
The endpoint services. |
||
| AutoAcceptEnabled |
boolean |
Specifies whether to automatically accept endpoint connections. Valid values:
|
true |
| ServiceId |
string |
The ID of the endpoint service. |
epsrv-hp3vpx8yqxblby3i**** |
| CreateTime |
string |
The time when the endpoint service was created. The time is in the YYYY-MM-DDTHH:mm:ssZ format and displayed in UTC. |
2021-09-24T17:15:10Z |
| MinBandwidth |
integer |
The minimum bandwidth of the endpoint connection. Unit: Mbit/s. |
100 |
| MaxBandwidth |
integer |
The maximum bandwidth of the endpoint connection. Unit: Mbit/s. |
1024 |
| ServiceStatus |
string |
The endpoint service status. Valid values:
|
Active |
| ZoneAffinityEnabled |
boolean |
Indicates whether zone affinity is enabled. Valid values:
|
true |
| RegionId |
string |
The region ID of the endpoint service. |
cn-huhehaote |
| ServiceDomain |
string |
The domain name of the endpoint service. |
epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com |
| Payer |
string |
The payer. Valid values:
|
Endpoint |
| ServiceBusinessStatus |
string |
The business status of the endpoint service. Valid values:
|
Normal |
| ConnectBandwidth |
integer |
The default bandwidth limit. Unit: Mbit/s. |
1024 |
| ServiceName |
string |
The name of the endpoint service. |
com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i**** |
| ServiceDescription |
string |
The description of the endpoint service. |
This is my EndpointService. |
| ServiceResourceType |
string |
The EPS resource type. Valid values:
|
slb |
| ServiceType |
string |
The endpoint service type. Valid values:
|
Interface |
ServiceSupportIPv6
deprecated
|
boolean |
Indicates whether the endpoint service supports IPv6. Valid values:
|
false |
| Tags |
array<object> |
The tags. |
|
|
object |
The tags. |
||
| Key |
string |
The tag key of the instance. |
FinanceDept |
| Value |
string |
The tag value of the instance. |
FinanceJoshua |
| ResourceGroupId |
string |
The resource group ID. |
rg-acfmy***** |
| AddressIpVersion |
string |
The protocol version. Valid values:
|
IPv4 |
| SupportedRegionSet |
array<object> |
The regions supported by the endpoint service. Service consumers can create endpoint connections from these regions. |
|
|
object |
|||
ServiceRegionId
deprecated
|
string |
[Deprecated] The region ID supported by the endpoint service. Use SupportedRegionId instead. |
|
| RegionServiceStatus |
string |
The status of the region supported by the endpoint service. Valid values:
|
Available |
| RegionBusinessStatus |
string |
The business status of the region supported by the endpoint service. Valid values:
|
Normal |
| SupportedRegionId |
string |
The region ID supported by the endpoint service. |
cn-hangzhou |
| NextToken |
string |
Indicates whether a next query exists. Valid values:
|
FFmyTO70tTpLG6I3FmYAXGKPd**** |
| RequestId |
string |
The request ID. |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
| MaxResults |
integer |
The number of entries per page. |
50 |
| TotalCount |
integer |
The total number of entries returned. |
12 |
Examples
Success response
JSON format
{
"Services": [
{
"AutoAcceptEnabled": true,
"ServiceId": "epsrv-hp3vpx8yqxblby3i****",
"CreateTime": "2021-09-24T17:15:10Z",
"MinBandwidth": 100,
"MaxBandwidth": 1024,
"ServiceStatus": "Active",
"ZoneAffinityEnabled": true,
"RegionId": "cn-huhehaote",
"ServiceDomain": "epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com",
"Payer": "Endpoint",
"ServiceBusinessStatus": "Normal",
"ConnectBandwidth": 1024,
"ServiceName": "com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****",
"ServiceDescription": "This is my EndpointService.",
"ServiceResourceType": "slb",
"ServiceType": "Interface",
"ServiceSupportIPv6": false,
"Tags": [
{
"Key": "FinanceDept",
"Value": "FinanceJoshua"
}
],
"ResourceGroupId": "rg-acfmy*****",
"AddressIpVersion": "IPv4",
"SupportedRegionSet": [
{
"ServiceRegionId": "",
"RegionServiceStatus": "Available",
"RegionBusinessStatus": "Normal",
"SupportedRegionId": "cn-hangzhou"
}
]
}
],
"NextToken": "FFmyTO70tTpLG6I3FmYAXGKPd****",
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0",
"MaxResults": 50,
"TotalCount": 12
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.