Retrieves the summary of cloud assets.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Vendors |
array |
No |
The list of cloud vendors to query. |
|
|
integer |
No |
The server vendor. Valid values:
|
0 |
|
| CloudAssetTypes |
array<object> |
No |
The list of asset type information for cloud assets. |
|
|
object |
No |
The list of asset type information for cloud assets. |
||
| Vendor |
integer |
No |
The server vendor. Valid values:
|
0 |
| AssetType |
integer |
No |
The type of the asset. Valid values:
|
4 |
| AssetSubType |
integer |
No |
The subtype of the cloud service. The value is in the format of asset type - subtype. Valid values:
|
0 |
| IsSaleData |
boolean |
No |
Specifies whether to return sale-related data. Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. Alibaba Cloud generates a unique identifier for each request. You can use the request ID to troubleshoot issues. |
F5CF78A7-30AA-59DB-847F-13EE3AE7**** |
| GroupedFields |
object |
The cloud asset summary information. |
|
| CloudAssetSummaryMetas |
array<object> |
The list of cloud service statistics information. |
|
|
object |
The statistics information of the cloud service. |
||
| AssetType |
integer |
The type of the cloud service. Valid values:
|
16 |
| AssetSubType |
integer |
The subtype of the cloud service. |
0 |
| InstanceCount |
integer |
The total number of instances of this cloud service type. |
16 |
| InstanceRiskCount |
integer |
The total number of at-risk instances of this cloud service type. |
5 |
| Vendor |
integer |
The server vendor. Valid values:
|
3 |
| InstanceSaleCount |
integer |
1 |
|
| IsInstanceSale |
boolean |
||
| InstanceCountTotal |
integer |
The total number of cloud service instances. |
919 |
| InstanceRiskCountTotal |
integer |
The total number of at-risk cloud service instances. |
544 |
| InstanceSaleCountTotal |
integer |
The total number of cloud services billed by instance. |
10 |
Examples
Success response
JSON format
{
"RequestId": "F5CF78A7-30AA-59DB-847F-13EE3AE7****",
"GroupedFields": {
"CloudAssetSummaryMetas": [
{
"AssetType": 16,
"AssetSubType": 0,
"InstanceCount": 16,
"InstanceRiskCount": 5,
"Vendor": 3,
"InstanceSaleCount": 1,
"IsInstanceSale": false
}
],
"InstanceCountTotal": 919,
"InstanceRiskCountTotal": 544,
"InstanceSaleCountTotal": 10
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | no permission | |
| 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.