tencent cloud

Feedback

DescribeAssetInitServiceList

Last updated: 2024-08-27 11:44:48

1. API Description

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

This API is used to query the list of asset management start services.

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: DescribeAssetInitServiceList.
Version Yes String Common Params. The value used for this API: 2018-02-28.
Region No String Common Params. This parameter is not required.
Uuid No String Server UUID
Quuid No String Server QUUID
Filters.N No Array of AssetFilters Filter criteria
  • IP - String - required: no - host IP address
  • MachineName - String - required: no - host name
  • InstanceID - string - required: no - instance ID
  • Name- string - required: no - package name
  • User- string - required: no - user
  • IsAutoRun - string - required: no - whether it starts at boot: 0: no; 1: yes
  • Status- string - required: no - default enabling status: 0: unenabled; 1: enabled (Linux only)
  • Type- string - required: no - type: type (Windows only)
    1: Encoder
    2: IE plugin
    3: Network provider
    4: Mirror hijacking
    5: LSA provider
    6:KnownDLLs
    7: Start execution
    8:WMI
    9: Scheduled task
    10: Winsock provider
    11: Printing monitor
    12: Resource manager
    13: Driver service
    14: Log-in
  • Offset No Integer Offset. Default value: 0.
    Limit No Integer Number of items to be returned. It is 10 by default, and the maximum value is 100.
    Order No String Sorting method: asc for ascending order or desc for descending order
    By No String Sorting method: [FirstTime]

    3. Output Parameters

    Parameter Name Type Description
    Services Array of AssetInitServiceBaseInfo List
    Note: This field may return null, indicating that no valid values can be obtained.
    Total Integer Total number
    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 Querying the List of Asset Management Startup Services

    This example shows you how to query the list of asset management startup services.

    Input Example

    POST / HTTP/1.1
    Host: cwp.tencentcloudapi.com
    Content-Type: application/json
    X-TC-Action: DescribeAssetInitServiceList
    <Common request parameters>
    
    {
        "Uuid": "01fa34d3-db26-48ab-9f14-e8d3a48be951",
        "Limit": 1,
        "Quuid": "01fa34d3-db26-48ab-9f14-e8d3a48be951",
        "Filters": [
            {
                "Values": [
                    "1"
                ],
                "Name": "IsAutoRun",
                "ExactMatch": true
            }
        ],
        "Offset": 1
    }
    

    Output Example

    {
        "Response": {
            "RequestId": "b7b8a9cd-2470-4ea2-87fb-dd6fea05c32a",
            "Services": [
                {
                    "Quuid": "01fa34d3-db26-48ab-9f14-e8d3a48be95e",
                    "Uuid": "01fa34d3-db26-48ab-9f14-e8d3a48be95e",
                    "Name": "efslsaext.dll",
                    "Type": 7,
                    "Status": 1,
                    "User": "",
                    "Path": "C:\\Windows\\System32\\efslsaext.dll",
                    "MachineIp": "172.16.0.1",
                    "MachineWanIp": "43.138.242.17",
                    "MachineName": "win-test",
                    "OsInfo": "Windows Server 2016 Datacenter Edition 64-bit Chinese",
                    "UpdateTime": "2023-09-20 10:40:21",
                    "FirstTime": "2023-09-20 10:40:29",
                    "IsAutoRun": 1,
                    "IsNew": 1,
                    "MachineExtraInfo": {
                        "WanIP": "43.138.242.17",
                        "PrivateIP": "172.16.0.1",
                        "NetworkType": 0,
                        "NetworkName": "",
                        "InstanceID": "ins-4b90g85x",
                        "HostName": ""
                    }
                }
            ],
            "Total": 1
        }
    }
    

    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
    InvalidParameter.InvalidFormat Incorrect parameter format.
    InvalidParameter.MissingParameter Missing parameter.
    InvalidParameter.ParsingError Incorrect parameter parsing.
    ResourceNotFound The resource does not exist.