Queries the cores of servers that are protected by Security Center.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameter

Parameter Type Required Example Description
Action String Yes DescribeAssetSummary

The operation that you want to perform. Set the value to DescribeAssetSummary.

Response parameters

Parameter Type Example Description
AssetsSummary Struct

The statistics of your servers.

TotalCoreNum Integer 1022

The total number of cores of your servers.

RequestId String 340D7FC4-D575-1661-8ACD-CFA7BE57B795

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeAssetSummary
&<Common request parameters>

Sample success responses

XML format

<DescribeAssetSummaryResponse>
  <AssetsSummary>
        <TotalCoreNum>1022</TotalCoreNum>
  </AssetsSummary>
  <RequestId>340D7FC4-D575-1661-8ACD-CFA7BE57B795</RequestId>
</DescribeAssetSummaryResponse>

JSON format

{
    "AssetsSummary": {
        "TotalCoreNum": 1022
    },
    "RequestId": "340D7FC4-D575-1661-8ACD-CFA7BE57B795"
}

Error codes

For a list of error codes, visit the API Error Center.