tencent cloud

Feedback

DescribeScreenMachines

Last updated: 2024-12-06 15:40:22

1. API Description

Domain name for API request: cwp.intl.tencentcloudapi.com.

This API is used to obtain the visualized list of host regions on the large screen.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeScreenMachines.
Version Yes String Common Params. The value used for this API: 2018-02-28.
Region No String Common Params. This parameter is not required.
MachineRegion No String Host region
MachineIpOrAlias No String Private IP address or host alias
SecurityStatus No Integer Risky host type. 0: all types; 1: risky host; 2: host with potential risks; 3: host that is shut down or offline; 4: host with no risk.

3. Output Parameters

Parameter Name Type Description
List Array of ScreenRegionMachines List details
Note: This field may return null, indicating that no valid values can be obtained.
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Example

Input Example

https://cwp.intl.tencentcloudapi.com/?Action=DescribeScreenMachines
&<Common request parameters>

Output Example

{
    "Response": {
        "List": [
            {
                "AttackCnt": 0,
                "IgnoreCnt": 0,
                "Machines": [
                    {
                        "BaselineNum": 147,
                        "CoreVersion": "3.10.0",
                        "CpuLoad": "低",
                        "CpuSize": 2,
                        "CyberAttackNum": 162,
                        "DiskLoad": "32.07",
                        "DiskSize": 50,
                        "InvasionNum": 38479,
                        "MachineExtraInfo": {
                            "HostName": "hn",
                            "InstanceID": "ins-id",
                            "NetworkName": "vpc-id",
                            "NetworkType": 0,
                            "PrivateIP": "1.1.1.1",
                            "WanIP": "1.1.1.1"
                        },
                        "MachineIp": "1.2.3.*",
                        "MachineName": "ha2",
                        "MachineOs": "CentOS 7.9 64位",
                        "MachineStatus": 9,
                        "MachineType": "CVM",
                        "MachineWanIp": "1.2.3.*",
                        "MemLoad": "36.52",
                        "MemSize": 4,
                        "Quuid": "1c26308c-5493-4eaf-***-112ec25f499e",
                        "SecurityStatus": "RISK",
                        "Uuid": "1c26308c-5493-4eaf-****-112ec25f499e",
                        "VulNum": 18
                    }
                ],
                "Region": "ap-guangzhou",
                "RegionName": "华南地区(广州)",
                "RiskCnt": 1,
                "SafetyCnt": 1,
                "TotalCount": 1,
                "UnAgentOfflineCnt": 1
            }
        ],
        "RequestId": "1c26308c-1234-5678-9101-112ec25f499e"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
InternalError Internal error
InternalError.MainDBFail Failed to manipulate the data.
InvalidParameter Incorrect parameter.
ResourceNotFound The resource does not exist.
UnauthorizedOperation Unauthorized operation.