Call GetVpcEndpointServiceAttribute to retrieve the properties of an endpoint service in your account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
privatelink:GetVpcEndpointServiceAttribute |
get |
*VpcEndpointService
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the endpoint service is located. You can call the DescribeRegions operation to obtain the region ID. |
cn-huhehaote |
| ServiceId |
string |
Yes |
The ID of the endpoint service. |
epsrv-hp3vpx8yqxblby3i**** |
| RegionId |
string |
Yes |
The ID of the region where the endpoint service 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 party that pays for the service. Valid values:
|
Endpoint |
| RequestId |
string |
The request ID. |
8D8992C1-6712-423C-BAC5-E5E817484C6B |
| ServiceDescription |
string |
The description of the service. |
This is my EndpointService. |
| CreateTime |
string |
The time the service was created. |
2020-01-02T19:11:12Z |
| MaxBandwidth |
integer |
The maximum bandwidth of the endpoint connection, in Mbps. |
1024 |
| MinBandwidth |
integer |
The minimum bandwidth of the endpoint connection, in Mbps. |
100 |
| ServiceDomain |
string |
The domain name of the service. |
epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com |
| AutoAcceptEnabled |
boolean |
Specifies whether to automatically accept endpoint connections. Valid values:
|
true |
| ZoneAffinityEnabled |
boolean |
Specifies whether zone affinity is enabled. Valid values:
|
true |
| ServiceId |
string |
The ID of the service. |
epsrv-hp3vpx8yqxblby3i**** |
| Zones |
array |
The zones where the service is available. |
|
|
string |
A zone where the service is available. |
cn-huhehaote-b |
|
| ServiceBusinessStatus |
string |
The business status of the service. Valid values:
|
Normal |
| ServiceName |
string |
The name of the service. |
com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i**** |
| ServiceStatus |
string |
The status of the service. Valid values:
|
Active |
| ConnectBandwidth |
integer |
The default maximum bandwidth of an endpoint connection, in Mbps. Valid values are 100 to 10,240. |
3072 |
| RegionId |
string |
The region where the service is deployed. |
cn-huhehaote |
| ServiceType |
string |
The endpoint type.
|
Interface |
| ServiceResourceType |
string |
The type of the service resource. Valid values:
|
slb |
ServiceSupportIPv6
deprecated
|
boolean |
Specifies whether the service supports IPv6. Valid values:
|
false |
| ResourceGroupId |
string |
The ID of the resource group. |
rg-acfmy***** |
| AddressIpVersion |
string |
The IP address version. Valid values:
|
IPv4 |
| SupportedRegionSet |
array<object> |
The regions where the service is supported. Service consumers can create endpoint connections to the service from these regions. |
|
|
object |
|||
ServiceRegionId
deprecated
|
string |
||
| RegionServiceStatus |
string |
The status of the endpoint service in the supported region. Valid values:
|
Available |
| RegionBusinessStatus |
string |
The business status of the endpoint service in the supported region. Valid values:
|
Normal |
| SupportedRegionId |
string |
The ID of the supported region. |
cn-hangzhou |
Examples
Success response
JSON format
{
"Payer": "Endpoint",
"RequestId": "8D8992C1-6712-423C-BAC5-E5E817484C6B",
"ServiceDescription": "This is my EndpointService.",
"CreateTime": "2020-01-02T19:11:12Z",
"MaxBandwidth": 1024,
"MinBandwidth": 100,
"ServiceDomain": "epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com",
"AutoAcceptEnabled": true,
"ZoneAffinityEnabled": true,
"ServiceId": "epsrv-hp3vpx8yqxblby3i****",
"Zones": [
"cn-huhehaote-b"
],
"ServiceBusinessStatus": "Normal",
"ServiceName": "com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****",
"ServiceStatus": "Active",
"ConnectBandwidth": 3072,
"RegionId": "cn-huhehaote",
"ServiceType": "Interface",
"ServiceResourceType": "slb",
"ServiceSupportIPv6": false,
"ResourceGroupId": "rg-acfmy*****",
"AddressIpVersion": "IPv4",
"SupportedRegionSet": [
{
"ServiceRegionId": "",
"RegionServiceStatus": "Available",
"RegionBusinessStatus": "Normal",
"SupportedRegionId": "cn-hangzhou"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | EndpointServiceNotFound | The specified Service does not exist. | The specified Service does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.