Mengkueri koneksi titik akhir dengan memanggil operasi ListVpcEndpointConnections.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
privatelink:ListVpcEndpointConnections |
list |
*VpcEndpointService
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah koneksi titik akhir yang ingin Anda kueri. Anda dapat memanggil operasi DescribeRegions untuk mengkueri ID wilayah. |
cn-huhehaote |
| NextToken |
string |
No |
Token yang digunakan untuk kueri berikutnya. Nilai valid:
|
caeba0bbb2be03f84eb48b699f0a4883 |
| MaxResults |
integer |
No |
Jumlah entri per halaman. Nilai valid: 1 hingga 1000. Nilai default: 50. |
50 |
| ServiceId |
string |
No |
ID layanan titik akhir. |
epsrv-hp3vpx8yqxblby3i**** |
| EniId |
string |
No |
ID antarmuka jaringan elastis (ENI) titik akhir. |
eni-hp32lk0pyv6o94hs**** |
| EndpointId |
string |
No |
ID titik akhir. |
ep-hp33b2e43fays7s8**** |
| ConnectionStatus |
string |
No |
Status koneksi titik akhir. Nilai valid:
|
Disconnected |
| EndpointOwnerId |
integer |
No |
ID akun Alibaba Cloud tempat titik akhir berada. |
25346073170691**** |
| ResourceId |
string |
No |
ID sumber daya layanan. |
lb-hp32z1wp5peaoox2q**** |
| ReplacedResourceId |
string |
No |
ID sumber daya layanan yang diganti dalam skenario migrasi lancar. |
lb-hp32z1wp5peaoox2q**** |
| RegionId |
string |
Yes |
The region ID of the endpoint connections that you want to query. You can call the DescribeRegions operation to query the region ID. |
cn-huhehaote |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya tempat titik akhir berada. |
rg-acfmy***** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Connections |
array<object> |
The information about the endpoint connections. |
|
|
array<object> |
The information about the endpoint connections. |
||
| Zones |
array<object> |
The zone information. |
|
|
object |
The zone information. |
||
| VSwitchId |
string |
The ID of the vSwitch to which the endpoint belongs. |
vsw-hp3uf6045ljdhd5zr**** |
| ZoneId |
string |
The ID of the zone. |
cn-huhehaote-b |
| ResourceId |
string |
The ID of the service resource. |
lb-hp32z1wp5peaoox2q**** |
| EniId |
string |
The ID of the endpoint ENI. |
eni-hp32lk0pyv6o94hs**** |
| ZoneDomain |
string |
The domain name of the zone. |
ep-hp34jaz8ykl0exwt****-cn-huhehaote.epsrv-hp3vpx8yqxblby3i****.cn-huhehaote-b.privatelink.aliyuncs.com |
| ZoneStatus |
string |
The status of the zone. Valid values:
|
Connected |
| ReplacedResourceId |
string |
The ID of the service resource that is replaced during a smooth migration. |
lb-hp32z1wp5peaoox2q**** |
| ReplacedEniId |
string |
The ID of the endpoint ENI that is replaced during a smooth migration. |
eni-hp32lk0pyv6o94hs**** |
| ModifiedTime |
string |
The time when the connection was modified. |
2021-09-28T10:34:46Z |
| Bandwidth |
integer |
The bandwidth of the endpoint connection. Unit: Mbit/s. |
3072 |
| EndpointOwnerId |
integer |
The ID of the Alibaba Cloud account to which the endpoint belongs. |
25346073170691**** |
| ResourceOwner |
boolean |
Indicates whether the endpoint and the endpoint service belong to the same Alibaba Cloud account. Valid values:
|
true |
| ServiceId |
string |
The endpoint service ID. |
epsrv-hp3vpx8yqxblby3i**** |
| ConnectionStatus |
string |
The state of the endpoint connection. Valid values:
|
Disconnected |
| EndpointId |
string |
The endpoint ID. |
ep-hp33b2e43fays7s8**** |
| EndpointVpcId |
string |
The ID of the virtual private cloud (VPC) to which the endpoint belongs. |
vpc-hp356stwkxg3fn2xe**** |
| ResourceGroupId |
string |
The ID of the resource group to which the endpoint belongs. |
rg-acfmw353z35v*** |
| TrafficControlMode |
string |
|
BandwidthLimit |
| EndpointRegionId |
string |
The region ID of the endpoint. |
cn-hangzhou |
| ServiceRegionId |
string |
The region ID of the endpoint service. |
cn-huhehaote |
| NextToken |
string |
The token that is used for the next query. Valid values:
|
caeba0bbb2be03f84eb48b699f0a4883 |
| RequestId |
string |
The request ID. |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
| MaxResults |
integer |
The number of entries per page. |
50 |
| TotalCount |
string |
The number of entries returned in the endpoint connection list. |
1 |
Contoh
Respons sukses
JSONformat
{
"Connections": [
{
"Zones": [
{
"VSwitchId": "vsw-hp3uf6045ljdhd5zr****",
"ZoneId": "cn-huhehaote-b",
"ResourceId": "lb-hp32z1wp5peaoox2q****",
"EniId": "eni-hp32lk0pyv6o94hs****",
"ZoneDomain": "ep-hp34jaz8ykl0exwt****-cn-huhehaote.epsrv-hp3vpx8yqxblby3i****.cn-huhehaote-b.privatelink.aliyuncs.com",
"ZoneStatus": "Connected",
"ReplacedResourceId": "lb-hp32z1wp5peaoox2q****",
"ReplacedEniId": "eni-hp32lk0pyv6o94hs****"
}
],
"ModifiedTime": "2021-09-28T10:34:46Z",
"Bandwidth": 3072,
"EndpointOwnerId": 0,
"ResourceOwner": true,
"ServiceId": "epsrv-hp3vpx8yqxblby3i****",
"ConnectionStatus": "Disconnected",
"EndpointId": "ep-hp33b2e43fays7s8****",
"EndpointVpcId": "vpc-hp356stwkxg3fn2xe****",
"ResourceGroupId": "rg-acfmw353z35v***",
"TrafficControlMode": "BandwidthLimit",
"EndpointRegionId": "cn-hangzhou",
"ServiceRegionId": "cn-huhehaote"
}
],
"NextToken": "caeba0bbb2be03f84eb48b699f0a4883",
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0",
"MaxResults": 50,
"TotalCount": "1"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | EndpointServiceNotFound | The specified Service does not exist. | The specified Service does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.