DescribePrefixLists
Queries prefix lists.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribePrefixLists |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the requester. |
47.100.XX.XX |
| RegionNo |
string |
Yes |
The ID of the region where the instance resides. |
cn-shenzhen |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| PrefixList |
array<object> |
The array of prefix list information. |
|
|
object |
The array of prefix list information. |
||
| AddressFamily |
string |
The address family of the prefix list. Valid values:
|
IPv4 |
| AssociationCount |
integer |
The number of associated resources. |
2 |
| CreationTime |
string |
The time when the prefix list was created. The time is displayed in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. |
2023-10-16T08:31:06Z |
| Description |
string |
The description. |
TCP_14900-14911 |
| MaxEntries |
integer |
The maximum number of entries supported by the prefix list. |
20 |
| PrefixListId |
string |
The ID of the prefix list. |
pl-uf64nco3ujjqchx6aaji |
| PrefixListName |
string |
The name of the prefix list. |
participant-name |
| RequestId |
string |
The ID of the request. |
67FD76C2-C493-5815-8107-643FD7AB77C7 |
Examples
Success response
JSON format
{
"PrefixList": [
{
"AddressFamily": "IPv4",
"AssociationCount": 2,
"CreationTime": "2023-10-16T08:31:06Z",
"Description": "TCP_14900-14911",
"MaxEntries": 20,
"PrefixListId": "pl-uf64nco3ujjqchx6aaji",
"PrefixListName": "participant-name"
}
],
"RequestId": "67FD76C2-C493-5815-8107-643FD7AB77C7"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorParameters | parameters invalid. | Parameter error, please check and try again. |
| 400 | ErrorMarshalJSON | An error occurred while encoding JSON. | An error occurred while encoding JSON. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.