Queries a list of honeypots.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ListHoneypot |
get |
*HoneyPot
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| HoneypotName |
string |
No |
The name of the honeypot. |
mx-rouyi |
| NodeName |
string |
No |
The name of the honeypot management node. |
honeypot_master |
| NodeId |
string |
No |
The ID of the honeypot management node. |
a882e590-b87b-45a6-87b9-d0a3e5a0**** |
| HoneypotIds |
array |
No |
The list of honeypot IDs. |
|
|
string |
No |
The honeypot ID. |
76c2a1c72ef259777d96d55a7834e5f5d98f85666c49f76ad9caa447d8b7**** |
|
| CurrentPage |
integer |
No |
The page number of the current page in a paged query. |
1 |
| PageSize |
integer |
No |
The maximum number of entries to return per page in a paged query. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PageResult |
||
| List |
array<object> |
The list of honeypot data. |
|
|
object |
|||
| HoneypotId |
string |
The honeypot ID. |
76c2a1c72ef259777d96d55a7834e5f5d98f85666c49f76ad9caa447d8b7**** |
| HoneypotName |
string |
The name of the honeypot. |
mx-rouyi |
| ControlNodeName |
string |
The name of the honeypot management node. |
0804-pre |
| HoneypotImageName |
string |
The name of the honeypot image. |
tcp_proxy |
| PresetId |
string |
The ID of the custom honeypot parameter. |
a882e590-b87b-45a6-87b9-d0a3e5a0**** |
| State |
array |
The status of the honeypot. |
|
|
string |
The status of the honeypot. Valid values:
|
running |
|
| HoneypotImageDisplayName |
string |
The display name of the honeypot image. |
MongoDB |
| NodeId |
string |
The ID of the management node. |
c94eff5b-ea48-4805-8b7f-e04d3509b117 |
| HoneypotImageId |
string |
The ID of the honeypot image. |
sha256:eca5ced3757e46c24701e9ced4e652f2d730262d5685a4e001da22c4fb418fd4 |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The page number of the current page in a paged query. |
1 |
| PageSize |
integer |
The maximum number of entries to return per page in a paged query. |
20 |
| TotalCount |
integer |
The total number of entries. |
69 |
| Count |
integer |
The number of entries on the current page. |
2 |
| Success |
boolean |
Indicates whether the call was successful. Valid values:
|
true |
| Code |
string |
The result code. A value of 200 indicates success. Any other value indicates failure. You can use this field to determine the cause of the failure. |
200 |
| Message |
string |
The detailed information about the error code. |
successful |
| RequestId |
string |
The ID of the request. Alibaba Cloud generates a unique identifier for the request. You can use this ID to troubleshoot issues. |
C80AFF1F-CC20-502C-A4D4-F5433E529B69 |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
Examples
Success response
JSON format
{
"List": [
{
"HoneypotId": "76c2a1c72ef259777d96d55a7834e5f5d98f85666c49f76ad9caa447d8b7****",
"HoneypotName": "mx-rouyi",
"ControlNodeName": "0804-pre",
"HoneypotImageName": "tcp_proxy",
"PresetId": "a882e590-b87b-45a6-87b9-d0a3e5a0****",
"State": [
"running"
],
"HoneypotImageDisplayName": "MongoDB",
"NodeId": "c94eff5b-ea48-4805-8b7f-e04d3509b117",
"HoneypotImageId": "sha256:eca5ced3757e46c24701e9ced4e652f2d730262d5685a4e001da22c4fb418fd4"
}
],
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 69,
"Count": 2
},
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "C80AFF1F-CC20-502C-A4D4-F5433E529B69",
"HttpStatusCode": 200
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.