Queries the status of the safe mode.
Operation description
This operation performs a paged query for information about assets that are protected by Cloud Firewall.
QPS limit
The queries per second (QPS) limit for this operation is 10 calls per second for each user. If you exceed this limit, API calls are throttled. This may affect your business. We recommend that you call this operation at a reasonable rate.
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 safe 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.