Queries the settings of the safe mode.
Operation description
You can use this operation to query the safe mode of Cloud Firewall.
QPS limits
This operation is limited to 10 queries per second (QPS) for each user. If you exceed this limit, your API calls are throttled. Throttling can affect your business operations. We recommend that you plan your API calls accordingly.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the visitor. |
218.108.54.XX |
| Lang |
string |
No |
The language of the response. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
Module
deprecated
|
string |
The application module. |
sg_server |
| SecurityMode |
integer |
The security mode. Valid values: 0: disabled. 1: enabled. |
1 |
| RequestId |
string |
The request ID. |
C6D68A02-54D5-5F5C-A8AA-6D6C2874**** |
Examples
Success response
JSON format
{
"Module": "sg_server",
"SecurityMode": 1,
"RequestId": "C6D68A02-54D5-5F5C-A8AA-6D6C2874****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorParamsNotEnough | Parameters are insufficient. | Parameters are insufficient. |
| 400 | ErrorDbFailed | Query db failed. | DB access error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.