Mengambil atribut dari titik akhir yang ditentukan.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah tempat titik akhir berada. Anda dapat memanggil operasi DescribeRegions untuk mendapatkan ID wilayah tersebut. |
cn-huhehaote |
| EndpointId |
string |
Yes |
ID titik akhir. |
ep-hp33b2e43fays7s8**** |
| RegionId |
string |
Yes |
ID wilayah tempat titik akhir berada. Anda dapat memanggil operasi DescribeRegions untuk mendapatkan ID wilayah tersebut. |
cn-huhehaote |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Payer |
string |
Pihak yang membayar. Nilai yang valid:
|
Endpoint |
| EndpointDomain |
string |
Nama domain titik akhir. |
ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com |
| RequestId |
string |
ID permintaan. |
8D8992C1-6712-423C-BAC5-E5E817484C6B |
| CreateTime |
string |
Waktu saat titik akhir dibuat. |
2021-09-24T18:00:07Z |
| ResourceOwner |
boolean |
Menunjukkan apakah titik akhir dan layanan titik akhir dimiliki oleh Akun Alibaba Cloud yang sama. Nilai yang valid:
|
true |
| EndpointBusinessStatus |
string |
Status bisnis titik akhir. Nilai yang valid:
|
Normal |
| EndpointDescription |
string |
Deskripsi titik akhir. |
This is my Endpoint. |
| ServiceId |
string |
ID layanan titik akhir yang terkait dengan titik akhir tersebut. |
epsrv-hp3vpx8yqxblby3i**** |
| EndpointStatus |
string |
Status titik akhir. Nilai yang valid:
|
Active |
| VpcId |
string |
ID virtual private cloud (VPC) tempat titik akhir berada. |
vpc-fdfhkjafhjvcvdjf**** |
| EndpointName |
string |
Nama titik akhir. |
test |
| ZonePrivateIpAddressCount |
integer |
Jumlah alamat IP pribadi dari elastic network interface (ENI) di setiap zona. Nilainya selalu 1. |
1 |
| EndpointType |
string |
Tipe titik akhir. Nilai yang valid:
|
Interface |
| ServiceName |
string |
Nama layanan titik akhir yang terkait dengan titik akhir tersebut. |
com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo**** |
| Bandwidth |
integer |
Bandwidth koneksi titik akhir. Satuan: Mbps. |
1024 |
| EndpointId |
string |
ID titik akhir. |
ep-hp33b2e43fays7s8**** |
| RegionId |
string |
ID wilayah tempat titik akhir berada. |
cn-huhehaote |
| ConnectionStatus |
string |
Status koneksi titik akhir. Nilai yang valid:
|
Connected |
| ZoneAffinityEnabled |
boolean |
Menunjukkan apakah nama domain layanan titik akhir diselesaikan ke alamat IP titik akhir di zona terdekat. Nilai yang valid:
|
true |
| ResourceGroupId |
string |
ID kelompok sumber daya. |
rg-acfmz7nocpei*** |
| PolicyDocument |
string |
Kebijakan akses RAM. Untuk informasi lebih lanjut mengenai elemen kebijakan, lihat Elemen dasar kebijakan. |
{ "Version": "1", "Statement": [ { "Effect": "Allow", "Action": [ "oss:List*", "oss:PutObject", "oss:GetObject" ], "Resource": [ "acs:oss:oss-*:*:pvl-policy-test/policy-test.txt" ], "Principal": { "RAM": [ "acs:ram::14199xxxxxx:*" ] } } ] } |
| AddressIpVersion |
string |
Versi alamat IP. Nilai yang valid:
|
IPv4 |
| ServiceRegionId |
string |
||
| CrossRegionBandwidth |
integer |
Contoh
Respons sukses
JSONformat
{
"Payer": "Endpoint",
"EndpointDomain": "ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com",
"RequestId": "8D8992C1-6712-423C-BAC5-E5E817484C6B",
"CreateTime": "2021-09-24T18:00:07Z",
"ResourceOwner": true,
"EndpointBusinessStatus": "Normal",
"EndpointDescription": "This is my Endpoint.",
"ServiceId": "epsrv-hp3vpx8yqxblby3i****",
"EndpointStatus": "Active",
"VpcId": "vpc-fdfhkjafhjvcvdjf****",
"EndpointName": "test",
"ZonePrivateIpAddressCount": 1,
"EndpointType": "Interface",
"ServiceName": "com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****",
"Bandwidth": 1024,
"EndpointId": "ep-hp33b2e43fays7s8****",
"RegionId": "cn-huhehaote",
"ConnectionStatus": "Connected",
"ZoneAffinityEnabled": true,
"ResourceGroupId": "rg-acfmz7nocpei***",
"PolicyDocument": "{\n \"Version\": \"1\",\n \"Statement\": [\n {\n \"Effect\": \"Allow\",\n \"Action\": [\n \"oss:List*\",\n \"oss:PutObject\",\n \"oss:GetObject\"\n ],\n \"Resource\": [\n \"acs:oss:oss-*:*:pvl-policy-test/policy-test.txt\"\n ],\n \"Principal\": {\n \"RAM\": [\n \"acs:ram::14199xxxxxx:*\"\n ]\n }\n }\n ]\n}",
"AddressIpVersion": "IPv4",
"ServiceRegionId": "",
"CrossRegionBandwidth": 0
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | EndpointNotFound | The specified Endpoint does not exist. | |
| 400 | EndpointConnectionNotFound | The specified endpoint connection does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.