You can call the DescribeDcdnAclFields operation to query the fields that are available for access control rules.
Operation description
The call frequency for a single user is limited to 3 calls per second.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeDcdnAclFields |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
Yes |
The language of the response. Valid values:
|
en |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
30A3A25A-86B3-4C1D-BAA8-12B8607A5CFD |
| Content |
array<object> |
The rule details. |
|
|
object |
|||
| Fields |
string |
The supported rule items and configuration policies. The value is a JSON string that requires decoding. |
\"fieldList\":[{\"name\":\"alert\",\"display\":\"observe\",\"tip\":\"mark the request in the log without blocking it\"},{\"name\":\"bypass\",\"display\":\"bypass\",\"tip\":\"bypass security modules\"}],\"module\":[{\"name\":\"cc\",\"display\":\"Rate Limit\",\"tip\":\"bypass Rate Limit\"},{\"name\":\"bot\",\"display\":\"Bot Traffic Management\",\"tip\":\"bypass Bot Manager\"}] |
Examples
Success response
JSON format
{
"RequestId": "30A3A25A-86B3-4C1D-BAA8-12B8607A5CFD",
"Content": [
{
"Fields": "\\\"fieldList\\\":[{\\\"name\\\":\\\"alert\\\",\\\"display\\\":\\\"observe\\\",\\\"tip\\\":\\\"mark the request in the log without blocking it\\\"},{\\\"name\\\":\\\"bypass\\\",\\\"display\\\":\\\"bypass\\\",\\\"tip\\\":\\\"bypass security modules\\\"}],\\\"module\\\":[{\\\"name\\\":\\\"cc\\\",\\\"display\\\":\\\"Rate Limit\\\",\\\"tip\\\":\\\"bypass Rate Limit\\\"},{\\\"name\\\":\\\"bot\\\",\\\"display\\\":\\\"Bot Traffic Management\\\",\\\"tip\\\":\\\"bypass Bot Manager\\\"}]"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.