You can call the GetVpcEndpointServiceAttribute operation to query the attributes of an endpoint service.
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 deployed. Call the DescribeRegions operation to obtain a 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 deployed. Call the DescribeRegions operation to obtain a region ID. | cn-huhehaote |
Response elements
Element | Type | Description | Example |
object | |||
Payer | string | The payer. Valid values:
| Endpoint |
RequestId | string | The request ID. | 8D8992C1-6712-423C-BAC5-E5E817484C6B |
ServiceDescription | string | The description of the endpoint service. | This is my EndpointService. |
CreateTime | string | The time when the endpoint 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 endpoint service. | epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com |
AutoAcceptEnabled | boolean | Indicates whether endpoint connections are automatically accepted. Valid values:
| true |
ZoneAffinityEnabled | boolean | Indicates whether zone affinity is enabled. Valid values:
| true |
ServiceId | string | The ID of the endpoint service. | epsrv-hp3vpx8yqxblby3i**** |
| Zones | array | The zones where the service resources are deployed. | |
string | The zone where the service resource is deployed. | cn-huhehaote-b | |
ServiceBusinessStatus | string | The business status of the endpoint service. Valid values:
| Normal |
ServiceName | string | The name of the endpoint service. | com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i**** |
ServiceStatus | string | The status of the endpoint service. Valid values:
| Active |
ConnectBandwidth | integer | The default maximum bandwidth. Unit: Mbps. The value must be in the range of 100 to 10240. | 3072 |
RegionId | string | The region where the endpoint service is deployed. | cn-huhehaote |
ServiceType | string | The endpoint type.
| Interface |
ServiceResourceType | string | The type of the service resource. Valid values:
| slb |
ServiceSupportIPv6 | boolean | Indicates whether the endpoint 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> | ||
object | |||
ServiceRegionId | string | ||
RegionServiceStatus | string | ||
RegionBusinessStatus | string |
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": "",
"RegionBusinessStatus": ""
}
]
}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.