Queries the statistics of cloud services whose instances are protected by Security Center.
This API has been deprecated. We recommend migrating to Sas(2018-12-03) - GetCloudAssetSummary for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeCloudProductFieldStatistics |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
7E0618A9-D5EF-4220-9471-C42B5E92719F |
| GroupedFields |
object |
The statistics of cloud services that are protected by Security Center. |
|
| CategoryCount |
string |
The statistics of different types of assets. MachineType indicates the type of the asset. Count indicates the number of assets of a specific type. Valid values of MachineType:
|
[{"MachineType":1,"Count":11}] |
| InstanceCount |
integer |
The total number of cloud services that are protected by Security Center. |
100 |
| RiskInstanceCount |
integer |
The number of cloud services that are at risk. |
90 |
Examples
Success response
JSON format
{
"RequestId": "7E0618A9-D5EF-4220-9471-C42B5E92719F",
"GroupedFields": {
"CategoryCount": "[{\"MachineType\":1,\"Count\":11}]",
"InstanceCount": 100,
"RiskInstanceCount": 90
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | no permission | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.