Mengkueri detail daftar awalan tertentu, termasuk nama, family alamat IP, jumlah entri maksimum, dan entri daftar awalan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:DescribePrefixListAttributes |
get |
*PrefixList
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah. Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar wilayah Alibaba Cloud terbaru. |
cn-chengdu |
| RegionId |
string |
Yes |
The region ID. You can call the DescribeRegions operation to query the most recent list of Alibaba Cloud regions. |
cn-chengdu |
| PrefixListId |
string |
Yes |
ID daftar awalan. |
pl-x1j1k5ykzqlixdcy**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| CreationTime |
string |
Waktu pembuatan daftar awalan. |
2021-02-20T07:11Z |
| MaxEntries |
integer |
Jumlah entri maksimum yang dapat dimuat daftar awalan. |
10 |
| RequestId |
string |
ID permintaan. |
38793DB8-A4B2-4AEC-BFD3-111234E9188D |
| Description |
string |
Deskripsi daftar awalan. |
This is description. |
| AddressFamily |
string |
Family alamat IP daftar awalan. Nilai valid:
|
IPv4 |
| PrefixListName |
string |
Nama daftar awalan. |
PrefixListNameSample |
| PrefixListId |
string |
ID daftar awalan. |
pl-x1j1k5ykzqlixdcy**** |
| Entries |
object |
||
| Entry |
array<object> |
Entri dalam daftar awalan. |
|
|
object |
|||
| Description |
string |
The description in entry N. |
Description Sample 01 |
| Cidr |
string |
The CIDR block in entry N. |
192.168.1.0/24 |
Contoh
Respons sukses
JSONformat
{
"CreationTime": "2021-02-20T07:11Z",
"MaxEntries": 10,
"RequestId": "38793DB8-A4B2-4AEC-BFD3-111234E9188D",
"Description": "This is description.",
"AddressFamily": "IPv4",
"PrefixListName": "PrefixListNameSample",
"PrefixListId": "pl-x1j1k5ykzqlixdcy****",
"Entries": {
"Entry": [
{
"Description": "Description Sample 01",
"Cidr": "192.168.1.0/24"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidPrefixListId.NotFound | The specified prefix list was not found. | |
| 404 | InvalidRegionId.NotFound | The specified RegionId does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.