Queries the supported types of custom defense rules.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ListClientUserDefineRuleTypes |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request, which is used to locate and troubleshoot issues. |
340D7FC4-D575-1661-8ACD-CFA7BE57**** |
| UserDefineRuleTypes |
array |
An array consisting of the rule types that are supported. |
|
|
string |
The rule type that is supported. Valid values:
|
1 |
Examples
Success response
JSON format
{
"RequestId": "340D7FC4-D575-1661-8ACD-CFA7BE57****",
"UserDefineRuleTypes": [
"1"
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.