Queries the list of VPC honeypot probes.
Operation description
If you specify only the Action parameter without specifying any other request parameters, Security Center returns the list of all VPCs regardless of whether honeypot instances are created in the VPCs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeVpcHoneyPotList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| VpcId |
string |
No |
The ID of the VPC in which the honeypot instance that you want to query resides. Note
You can call the DescribeVpcList operation to obtain the VPC ID. |
vpc-d7o009q63fqy21r8u**** |
| VpcName |
string |
No |
The name of the VPC in which the honeypot instance that you want to query resides. Note
You can call the DescribeVpcList operation to obtain the VPC name. |
abcnet |
| VpcRegionId |
string |
No |
The region ID of the VPC in which the honeypot instance that you want to query resides. Note
You can call the DescribeVpcList operation to obtain the region ID of the VPC. |
ap-southeast-2 |
| HoneyPotExistence |
boolean |
No |
Specifies whether the VPCs to query have cloud honeypot enabled. Valid values:
|
true |
| PageSize |
integer |
No |
The number of entries per page. Default value: 20. If you leave this parameter empty, 20 entries are returned per page. Note
We recommend that you specify this parameter. |
20 |
| CurrentPage |
integer |
No |
The page number. Pages start from page 1. |
2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
4FEC7F58-FCDA-415F-AE25-CD8BC0931DF2 |
| PageInfo |
object |
The pagination information. |
|
| CurrentPage |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
20 |
| TotalCount |
integer |
The total number of entries. |
2 |
| Count |
integer |
The number of entries on the current page. |
2 |
| VpcHoneyPotDTOList |
array<object> |
The information about cloud honeypot instances. |
|
|
array<object> |
|||
| VpcName |
string |
The name of the VPC in which the cloud honeypot instance resides. |
abc-vpcname |
| VpcId |
string |
The ID of the VPC in which the cloud honeypot instance resides. |
vpc-p0w223apdl49sr5zv**** |
| HoneyPotEniInstanceId |
string |
The ID of the elastic network interface (ENI) that the cloud honeypot created in the VPC. |
eni-p0whwgg7bing8b80**** |
| CidrBlock |
string |
The CIDR block of the VPC. |
192.168.XX.XX/16 |
| VpcStatus |
string |
The status of the VPC. Valid values:
|
Available |
| CreateTime |
integer |
The time when the VPC was created. Unit: milliseconds. |
1607365213000 |
| HoneyPotVpcSwitchId |
string |
The ID of the vSwitch to which the ENI used by the cloud honeypot belongs. |
vsw-p0w7gdcfvn20tvdul**** |
| HoneyPotExistence |
boolean |
Indicates whether the VPC has cloud honeypot enabled. Valid values:
|
true |
| VpcRegionId |
string |
The region ID of the VPC in which the cloud honeypot instance resides. Note
For the mapping between region IDs and region names, see Regions and zones. |
ap-southeast-2 |
| HoneyPotEcsInstanceStatus |
string |
The status of the Elastic Compute Service (ECS) instance that corresponds to the cloud honeypot instance. Valid values:
|
Running |
| HoneyPotInstanceStatus |
string |
The status of the cloud honeypot instance. Valid values:
|
on |
| VpcSwitchIdList |
array<object> |
The information about vSwitches in the VPC. |
|
|
object |
|||
| VpcSwitchName |
string |
The name of the vSwitch. |
abc01 |
| ZoneId |
string |
The zone ID of the vSwitch. |
ap-southeast-2b |
| VpcSwitchId |
string |
The ID of the vSwitch. |
vsw-p0wdnyv4wzp6jkuu4**** |
Examples
Success response
JSON format
{
"RequestId": "4FEC7F58-FCDA-415F-AE25-CD8BC0931DF2",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 2,
"Count": 2
},
"VpcHoneyPotDTOList": [
{
"VpcName": "abc-vpcname",
"VpcId": "vpc-p0w223apdl49sr5zv****",
"HoneyPotEniInstanceId": "eni-p0whwgg7bing8b80****",
"CidrBlock": "192.168.XX.XX/16",
"VpcStatus": "Available",
"CreateTime": 1607365213000,
"HoneyPotVpcSwitchId": "vsw-p0w7gdcfvn20tvdul****",
"HoneyPotExistence": true,
"VpcRegionId": "ap-southeast-2",
"HoneyPotEcsInstanceStatus": "Running",
"HoneyPotInstanceStatus": "on",
"VpcSwitchIdList": [
{
"VpcSwitchName": "abc01",
"ZoneId": "ap-southeast-2b",
"VpcSwitchId": "vsw-p0wdnyv4wzp6jkuu4****"
}
]
}
]
}
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.