All Products
Search
Document Center

Security Center:GetHoneypotNode

Last Updated:Feb 20, 2024

Queries the details of a specified management node.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:GetHoneypotNodeRead
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
NodeIdstringYes

The ID of the management node.

Note You can call the ListHoneypotNode operation to query the IDs of management nodes.
d3dd3864-4e02-4abd-8b6a-8f5f6fec4715
LangstringNo

The language of the content within the request and response. Valid values:

  • zh: Chinese
  • en: English
zh

Response parameters

ParameterTypeDescriptionExample
object

The data returned.

HoneypotNodeobject

The details of the management node.

NodeIdstring

The ID of the management node.

a7409a58-bc60-41af-9d36-080d58ae****
NodeNamestring

The name of the management node.

gmmc
HoneypotTotalCountinteger

The maximum number of honeypots that can be deployed to the management node.

10
HoneypotUsedCountinteger

The number of honeypots that are deployed to the management node.

5
ProbeTotalCountinteger

The maximum number of probes that can be deployed for the management node.

20
ProbeUsedCountinteger

The number of probes that are deployed for the management node.

15
TotalStatusinteger

The status of the management node. Valid values:

  • 0: preparing
  • 1: normal
  • 2: abnormal
  • 4: starting
  • 5: upgrading
2
EcsInstanceIdstring

The ID of the instance.

i-2vccskxjunf1ag6w****
CreateTimestring

The time when the management node was created.

2022-12-02 17:13:43
SecurityGroupProbeIpListarray

An array consisting of the CIDR blocks that are allowed to access the management node.

string

The CIDR block that is allowed to access the management node.

10.0.0.0/24
AllowHoneypotAccessInternetboolean

Indicates whether a honeypot is allowed to access the Internet. Valid values:

  • true: The honeypot is allowed to access the Internet.
  • false: The honeypot is not allowed to access the Internet.
true
NodeIpstring

The IP address of the management node.

101.37.XX.XX
UpgradeAvailableboolean

Indicates whether the management node can be upgraded. Valid values:

  • true: yes
  • false: no
true
Successboolean

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.
true
Codestring

The status code returned. The status code 200 indicates that the request was successful. Other status codes indicate that the request failed. You can identify the cause of the failure based on the status code.

200
Messagestring

The message returned.

successful
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

0A453658-070B-5554-B46C-867425BE4FD4
HttpStatusCodeinteger

The HTTP status code returned.

200

Examples

Sample success responses

JSONformat

{
  "HoneypotNode": {
    "NodeId": "a7409a58-bc60-41af-9d36-080d58ae****",
    "NodeName": "gmmc",
    "HoneypotTotalCount": 10,
    "HoneypotUsedCount": 5,
    "ProbeTotalCount": 20,
    "ProbeUsedCount": 15,
    "TotalStatus": 2,
    "EcsInstanceId": "i-2vccskxjunf1ag6w****",
    "CreateTime": "2022-12-02 17:13:43",
    "SecurityGroupProbeIpList": [
      "10.0.0.0/24"
    ],
    "AllowHoneypotAccessInternet": true,
    "NodeIp": "101.37.XX.XX",
    "UpgradeAvailable": true
  },
  "Success": true,
  "Code": "200",
  "Message": "successful",
  "RequestId": "0A453658-070B-5554-B46C-867425BE4FD4",
  "HttpStatusCode": 200
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-03-01The Error code has changed. The request parameters of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 500
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: Lang