This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.
Get Cloud Asset Summary
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Vendors | array | No | List of cloud vendors to be queried. | |
| integer | No | Server vendor. Values:
| 0 | |
| CloudAssetTypes | array<object> | No | List of asset type information for cloud assets | |
| object | No | List of cloud asset types. | ||
| Vendor | integer | No | Server vendor. Values:
| 0 |
| AssetType | integer | No | The type of asset. Values:
| 4 |
| AssetSubType | integer | No | Subtypes of cloud products. Asset type-subtype. Values:
| 0 |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "F5CF78A7-30AA-59DB-847F-13EE3AE7****",
"GroupedFields": {
"CloudAssetSummaryMetas": [
{
"AssetType": 16,
"AssetSubType": 0,
"InstanceCount": 16,
"InstanceRiskCount": 5,
"Vendor": 3
}
],
"InstanceCountTotal": 919,
"InstanceRiskCountTotal": 544
}
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 400 | NoPermission | no permission | - |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
| 500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2023-12-21 | API Description Update. The Error code has changed. The request parameters of the API has changed | View Change Details |
| 2023-09-20 | The Error code has changed. The response structure of the API has changed | View Change Details |
