Resets a honeypot to its initial state.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ResetHoneypot |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| HoneypotId |
string |
Yes |
The ID of the honeypot. Note
You can call the ListHoneypot operation to query the IDs of honeypots. |
945607c2ae2a1a737c04599d6608065688bfc6048d9b9d306ce8dc8191c***** |
| Lang |
string |
No |
The language of the content in the request and response. Default value: zh. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| Data |
object |
The honeypot information. |
|
| HoneypotId |
string |
The ID of the honeypot. |
9bf8cd373112263d4bc102fc5dba9d9f812ee05d4d35c487d330d52e937f**** |
| HoneypotName |
string |
The custom name of the honeypot. |
ruoyi |
| ControlNodeName |
string |
The name of the management node to which the honeypot belongs. |
managerNodename |
| HoneypotImageName |
string |
The name of the honeypot image. |
ruoyi |
| PresetId |
string |
The ID of the custom configuration for the honeypot. |
868a7579-00b5-4a74-999d-8bd3f411**** |
| State |
array |
The honeypot statuses. |
|
|
string |
The status of the honeypot. Valid values:
|
running |
|
| HoneypotImageDisplayName |
string |
The display name of the honeypot image. |
RuoYi |
| NodeId |
string |
The ID of the management node. |
a882e590-b87b-45a6-87b9-d0a3e5a0**** |
| RequestId |
string |
The request ID. |
A57C711B-AA15-55B2-8F61-4D09CEXXXXX |
Examples
Success response
JSON format
{
"Data": {
"HoneypotId": "9bf8cd373112263d4bc102fc5dba9d9f812ee05d4d35c487d330d52e937f****",
"HoneypotName": "ruoyi",
"ControlNodeName": "managerNodename",
"HoneypotImageName": "ruoyi",
"PresetId": "868a7579-00b5-4a74-999d-8bd3f411****",
"State": [
"running"
],
"HoneypotImageDisplayName": "RuoYi",
"NodeId": "a882e590-b87b-45a6-87b9-d0a3e5a0****"
},
"RequestId": "A57C711B-AA15-55B2-8F61-4D09CEXXXXX"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.