Queries the list of servers on which the custom defense rule against brute-force attacks takes effect.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
CurrentPage | integer | No | The page number. Default value: 1. | 8 |
Status | integer | No | Specifies whether the rule is enabled for the server.
| 1 |
BlockIp | string | No | The IP address that you want to specify in the rule. Note
You can call the DescribeCustomBlockRecords operation to obtain the IP address.
| 47.92.33.1xx |
PageSize | integer | No | The number of entries per page. Default value: 20. | 20 |
Bound | string | No | The traffic direction that you want to specify in the custom rule. Valid values:
| in |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "D81DD78E-E006-5C65-A171-C8CB09XXXXX",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 83,
"Count": 10
},
"InstanceList": [
{
"Status": 1,
"Uuid": "f2d6e901-1004-4ca8-9dae-53ec04a9****",
"InternetIp": "116.62.121.1xx",
"IntranetIp": "192.168.1.xx",
"InstanceName": "myInstance",
"BlockType": "group",
"ErrorCode": "AliNetNotOnline",
"SuccessInfo": "{\"aliUid\":*******,\"groupId\":\"sg-xxxx\",\"groupName\":\"Sas_Malicious_Ip_Security_Group\",\"groupType\":\"normal\",\"instanceId\":\"i-xxxx\",\"regionId\":\"cn-shenzhen\",\"vpcId\":\"vpc-xxxxxxxx\"}",
"AliNetOnline": true
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.