Describes one or more 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. |
47.100.XX.XX |
| RegionNo |
string |
Yes |
The region ID. |
cn-shenzhen |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
67FD76C2-C493-5815-8107-643FD7AB77C7 |
| PrefixList |
array<object> |
An array of prefix lists. |
|
|
object |
The details of a prefix list. |
||
| PrefixListId |
string |
The prefix list ID. |
pl-uf64nco3ujjqchx6aaji |
| PrefixListName |
string |
The prefix list name. |
participant-name |
| Description |
string |
The description of the prefix list. |
TCP_14900-14911 |
| CreationTime |
string |
The time the prefix list was created. The timestamp is in ISO 8601 format: |
2023-10-16T08:31:06Z |
| AssociationCount |
integer |
The number of associated resources. |
2 |
| MaxEntries |
integer |
The maximum number of entries in the prefix list. |
20 |
| AddressFamily |
string |
The address family of the prefix list. Valid values:
|
IPv4 |
Examples
Success response
JSON format
{
"RequestId": "67FD76C2-C493-5815-8107-643FD7AB77C7",
"PrefixList": [
{
"PrefixListId": "pl-uf64nco3ujjqchx6aaji",
"PrefixListName": "participant-name",
"Description": "TCP_14900-14911",
"CreationTime": "2023-10-16T08:31:06Z",
"AssociationCount": 2,
"MaxEntries": 20,
"AddressFamily": "IPv4"
}
]
}
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.