Upgrades the version of a specified honeypot management node.
Operation description
Before calling this operation to upgrade a honeypot management node version, ensure the following prerequisites are met:
A honeypot management node already exists. If no node exists, call the CreateHoneypotNode operation to create one first.
The probe quota is greater than zero (TotalProbeCount is greater than 0). The probe quota is allocated by purchasing a Security Center honeypot subscription.
You can call the ListHoneypotNode operation to obtain the NodeId of the management node to be upgraded.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:UpgradeHoneypotNode |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AllowHoneypotAccessInternet |
boolean |
No |
Specifies whether to allow the honeypot to access the Internet. Valid values:
|
true |
| NodeId |
string |
No |
The ID of the management node to upgrade. Note
You can call the ListHoneypotNode operation to obtain this parameter. Note: This parameter is actually required. If it is not provided, the API returns InvalidParam (400). |
a882e590-b87b-45a6-87b9-d0a3e5a0**** |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| 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 message returned for the request. |
successful |
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for this request. You can use it to troubleshoot issues. |
F832F2D0-C4CD-507B-8C14-CE1F25A7***** |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
Examples
Success response
JSON format
{
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "F832F2D0-C4CD-507B-8C14-CE1F25A7*****",
"HttpStatusCode": 200
}
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.