DescribeSecurityMode
Retrieves the safe mode pattern.
Operation description
This operation is typically used to perform a paged query for information about assets protected by Cloud Firewall. You can use paging to retrieve the data.
QPS limit
The QPS limit per user for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your services. Invoke this operation at a reasonable frequency.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeSecurityMode |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the requester. |
218.108.54.XX |
| Lang |
string |
No |
The language type. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
Module
deprecated
|
string |
The application module. |
sg_server |
| SecurityMode |
integer |
The safe mode pattern. Valid values: 0: shutdown 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.