Queries information about servers to which the defense rules against brute-force attacks are applied.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeInstanceAntiBruteForceRules |
The operation that you want to perform. Set the value to DescribeInstanceAntiBruteForceRules. |
SourceIp | String | No | 1.2.3.4 |
The source IP address of the request. |
UuidList.N | RepeatList | No | 4fe8e1cd-3c37-4851-b9de-124da32c**** |
The list of the server UUIDs. Note You can call the DescribeCloudCenterInstances operation to obtain the UUIDs.
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
PageInfo | Struct |
The page information. |
|
Count | Integer | 4 |
The number of servers to which the defense rules are applied is displayed on the current page. |
CurrentPage | Integer | 1 |
The page number of the current page. Pages start from page 1. Default value: 1. |
PageSize | Integer | 20 |
The number of entries returned per page. Default value: 20. |
TotalCount | Integer | 4 |
The total number of servers to which the defense rules are applied. |
RequestId | String | 97286A-4A6B-4A4-95FA-EC7E3E2451 |
The ID of the request. |
Rules | Array of InstanceAntiBruteForceRule |
The list of servers to which the defense rules are applied. |
|
Id | Long | 1612 |
The ID of the defense rule. |
Name | String | Alibaba Cloud best practices against brute-force attacks |
The name of the defense rule. |
Uuid | String | 4fe8e1cd-3c37-4851-b9de-124da32c**** |
The UUID of the server to which the defense rule is applied. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeInstanceAntiBruteForceRules
&<Common request parameters>
Sample success responses
XML
format
<DescribeInstanceAntiBruteForceRulesResponse>
<PageInfo>
<TotalCount>4</TotalCount>
<PageSize>20</PageSize>
<CurrentPage>1</CurrentPage>
<Count>4</Count>
</PageInfo>
<Rules>
<Uuid>5f5d204b-aa63-4b3e-867b-1d56cf4d****</Uuid>
<Id>1639</Id>
<Name>Alibaba Cloud best practices against brute-force attacks</Name>
</Rules>
<Rules>
<Uuid>uuid-a-a75d-c87c9fbf****</Uuid>
<Id>1639</Id>
<Name>Alibaba Cloud best practices against brute-force attacks</Name>
</Rules>
<Rules>
<Uuid>uuid-7f-8ff4-7ecc42f89c****</Uuid>
<Id>1781</Id>
<Name>abc</Name>
</Rules>
<Rules>
<Uuid>uuid-639774d6-****</Uuid>
<Id>1639</Id>
<Name>Alibaba Cloud best practices against brute-force attacks</Name>
</Rules>
<requestId>97286A-4A6B-4A4-95FA-EC7E3E2451</requestId>
</DescribeInstanceAntiBruteForceRulesResponse>
JSON
format
{
"PageInfo": {
"TotalCount": 4,
"PageSize": 20,
"CurrentPage": 1,
"Count": 4
},
"Rules": [{
"Uuid": "5f5d204b-aa63-4b3e-867b-1d56cf4d****",
"Id": 1639,
"Name": "Alibaba Cloud best practices against brute-force attacks"
}, {
"Uuid": "uuid-a-a75d-c87c9fbf****",
"Id": 1639,
"Name": "Alibaba Cloud best practices against brute-force attacks"
}, {
"Uuid": "uuid-7f-8ff4-7ecc42f89c****",
"Id": 1781,
"Name": "abc"
}, {
"Uuid": "uuid-639774d6-****",
"Id": 1639,
"Name": "Alibaba Cloud best practices against brute-force attacks"
}],
"requestId": "97286A-4A6B-4A4-95FA-EC7E3E2451"
}
Error codes
For a list of error codes, visit the API Error Center.