Operasi `ListVpcEndpoints` membuat daftar titik akhir.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
privatelink:ListVpcEndpoints |
get |
*VpcEndpoint
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah tempat titik akhir di-deploy. Anda dapat memanggil operasi DescribeRegions untuk mendapatkan ID wilayah. |
cn-huhehaote |
| NextToken |
string |
No |
Token yang digunakan untuk mengambil halaman hasil berikutnya.
|
caeba0bbb2be03f84eb48b699f0a4883 |
| MaxResults |
integer |
No |
Jumlah entri yang dikembalikan per halaman. Nilai valid: 1 hingga 1000. Nilai default: 50. |
50 |
| EndpointId |
string |
No |
ID titik akhir. |
ep-hp33b2e43fays7s8**** |
| ServiceName |
string |
No |
Nama layanan titik akhir yang terkait dengan titik akhir. |
com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i**** |
| VpcId |
string |
No |
ID VPC tempat titik akhir berada. |
vpc-fdjkf789dfdfdfde**** |
| EndpointName |
string |
No |
Nama titik akhir. |
test |
| EndpointType |
string |
No |
Tipe titik akhir. Nilai valid:
|
Interface |
| EndpointStatus |
string |
No |
Status titik akhir. Nilai valid:
|
Active |
| ConnectionStatus |
string |
No |
Status koneksi titik akhir. Nilai valid:
|
Disconnected |
| Tag |
array<object> |
No |
Tag. |
|
|
object |
No |
A tag that consists of a key-value pair. |
||
| Key |
string |
No |
The tag key. 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. 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 |
| RegionId |
string |
Yes |
The ID of the region where the endpoint is deployed. You can call the DescribeRegions operation to obtain the region ID. |
cn-huhehaote |
| ResourceGroupId |
string |
No |
ID kelompok sumber daya. |
1 |
| AddressIpVersion |
string |
No |
Versi IP. Nilai valid:
|
IPv4 |
| ServiceRegionId |
string |
No |
ID wilayah tempat layanan titik akhir di-deploy. |
cn-huhehaote |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Endpoints |
array<object> |
A list of endpoints. |
|
|
array<object> |
|||
| VpcId |
string |
The ID of the VPC to which the endpoint belongs. |
vpc-hp356stwkxg3fn2xe**** |
| EndpointName |
string |
The name of the endpoint. |
test |
| EndpointType |
string |
The type of the endpoint. Valid values:
|
Interface |
| CreateTime |
string |
The time when the endpoint was created. |
2021-09-24T18:00:07Z |
| ServiceId |
string |
The ID of the associated endpoint service. |
epsrv-hp3vpx8yqxblby3i**** |
| ZoneAffinityEnabled |
boolean |
Indicates whether zone-aware DNS resolution is enabled. Valid values:
|
true |
| EndpointDomain |
string |
The domain name of the endpoint. |
ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com |
| EndpointStatus |
string |
The status of the endpoint. Valid values:
|
Active |
| RegionId |
string |
The ID of the region that contains the endpoint. |
cn-huhehaote |
| ResourceOwner |
boolean |
Indicates whether the endpoint and the endpoint service belong to the same Alibaba Cloud account. Valid values:
|
true |
| Bandwidth |
integer |
The connection bandwidth of the endpoint, in Mbps. |
1024 |
| ConnectionStatus |
string |
The connection status of the endpoint. Valid values:
|
Disconnected |
| EndpointDescription |
string |
The description of the endpoint. |
This is my Endpoint. |
| EndpointId |
string |
The ID of the endpoint. |
ep-hp33b2e43fays7s8**** |
| EndpointBusinessStatus |
string |
The business status of the endpoint. Valid values:
|
Normal |
| ServiceName |
string |
The name of the associated endpoint service. |
com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo**** |
| Tags |
array<object> |
A list of tags. |
|
|
object |
|||
| Key |
string |
The tag key. |
FinanceDept |
| Value |
string |
The tag value. |
FinanceJoshua |
| ResourceGroupId |
string |
The ID of the resource group. |
1 |
| PolicyDocument |
string |
The RAM access policy. For details on the policy syntax, see Basic elements of a RAM policy. |
{\n \"Version\": \"1\",\n \"Statement\": [\n {\n \"Effect\": \"Allow\",\n \"Action\": \"*\",\n \"Principal\": \"*\",\n \"Resource\": \"*\"\n }\n ]\n} |
| AddressIpVersion |
string |
The IP address family. Valid values:
|
IPv4 |
| ServiceRegionId |
string |
The ID of the region where the associated endpoint service is deployed. |
cn-huhehaote |
| CrossRegionBandwidth |
integer |
The bandwidth of the cross-region connection, in Mbps. |
1000 |
| NextToken |
string |
The token to retrieve the next page of results.
|
caeba0bbb2be03f84eb48b699f0a**** |
| RequestId |
string |
The request ID. |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
| MaxResults |
integer |
The number of entries returned per page. |
50 |
| TotalCount |
integer |
The total number of entries that match the query. |
12 |
Contoh
Respons sukses
JSONformat
{
"Endpoints": [
{
"VpcId": "vpc-hp356stwkxg3fn2xe****",
"EndpointName": "test",
"EndpointType": "Interface",
"CreateTime": "2021-09-24T18:00:07Z",
"ServiceId": "epsrv-hp3vpx8yqxblby3i****",
"ZoneAffinityEnabled": true,
"EndpointDomain": "ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com",
"EndpointStatus": "Active",
"RegionId": "cn-huhehaote",
"ResourceOwner": true,
"Bandwidth": 1024,
"ConnectionStatus": "Disconnected",
"EndpointDescription": "This is my Endpoint.",
"EndpointId": "ep-hp33b2e43fays7s8****",
"EndpointBusinessStatus": "Normal",
"ServiceName": "com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****",
"Tags": [
{
"Key": "FinanceDept",
"Value": "FinanceJoshua"
}
],
"ResourceGroupId": "1",
"PolicyDocument": "{\\n \\\"Version\\\": \\\"1\\\",\\n \\\"Statement\\\": [\\n {\\n \\\"Effect\\\": \\\"Allow\\\",\\n \\\"Action\\\": \\\"*\\\",\\n \\\"Principal\\\": \\\"*\\\",\\n \\\"Resource\\\": \\\"*\\\"\\n }\\n ]\\n}",
"AddressIpVersion": "IPv4",
"ServiceRegionId": "cn-huhehaote",
"CrossRegionBandwidth": 1000
}
],
"NextToken": "caeba0bbb2be03f84eb48b699f0a****",
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0",
"MaxResults": 50,
"TotalCount": 12
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.