All Products
Search
Document Center

Security Center:DescribeFieldStatistics

Last Updated:Oct 20, 2026

Queries the statistics information of servers in assets.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-sas:DescribeFieldStatistics

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

No

The ID of the region where the server resides.

cn-hangzhou

MachineTypes

string

No

The type of asset to query. If you do not specify an asset type, the statistics information of all types of assets is queried. Valid values:

  • ecs: server

  • cloud_product: cloud service

ecs

ResourceDirectoryAccountId

integer

No

The ID of the main account of the member accounts in the resource folder.

Note

You can invoke the DescribeMonitorAccounts operation to obtain the value of this parameter.

1232428423234****

Response elements

Element

Type

Description

Example

object

The response data.

GroupedFields

object

The information about the queried server assets.

AliYunInstanceCount

integer

The number of assets that belong to Alibaba Cloud server groups.

100

AwsInstanceCount

integer

The number of third-party cloud servers.

100

AzureInstanceCount

integer

The number of third-party cloud servers.

5

BaiduInstanceCount

integer

The number of third-party cloud servers.

5

ExposedInstanceCoreCount

integer

The number of CPU cores of exposed assets.

30

ExposedInstanceCount

integer

The number of exposed assets.

1

GeneralAssetCount

integer

The number of general assets.

10

GoogleInstanceCount

integer

The number of third-party cloud servers.

10

GroupCount

integer

The number of server groups.

20

HuaweiInstanceCount

integer

The number of third-party cloud servers.

0

IdcInstanceCount

integer

The number of assets that can be detected by Security Center.

100

ImportantAssetCount

integer

The number of important assets.

10

InstanceCoreCount

integer

The total number of CPU cores of all assets of the specified type. If no asset type is specified, this value is the sum of the CPU cores of all servers and cloud services in your assets.

301

InstanceCount

integer

The total number of assets of the specified type. If no asset type is specified, this value is the sum of all servers and cloud services in your assets.

100

InstanceSyncTaskCount

integer

The number of tasks for the specified asset type. If no asset type is specified, this value is the sum of tasks for all servers and cloud services in your assets.

10

KingsoftInstanceCount

integer

The number of third-party cloud servers.

5

NewInstanceCoreCount

integer

The number of CPU cores of newly added servers.

30

NewInstanceCount

integer

The number of newly added servers.

10

NoRiskInstanceCount

integer

The number of assets that are not a risky asset.

10

NotBindMachineInstanceCount

integer

The number of Asset Types that do not attach or have no authorization under the specified asset type.

10

NotRunningStatusCoreCount

integer

The number of CPU cores of stopped servers.

30

NotRunningStatusCount

integer

The number of stopped servers.

10

OfflineInstanceCount

integer

The number of offline servers.

21

OracleInstanceCount

integer

The number of third-party cloud servers.

1

OutMachineInstanceCount

integer

The number of instances outside Alibaba Cloud.

20

PauseInstanceCount

integer

The number of paused servers.

10

RegionCount

integer

The number of regions to which the servers belong.

11

RiskInstanceCoreCount

integer

The number of CPU cores of assets with risks.

201

RiskInstanceCount

integer

The number of assets with risks.

90

StateCloudInstanceCount

integer

The number of third-party cloud servers.

5

TencentInstanceCount

integer

The number of third-party cloud servers.

10

TestAssetCount

integer

The number of test assets.

10

TripartiteInstanceCount

integer

The number of Simple Application Server instances.

2

UcloudInstanceCount

integer

The number of third-party cloud servers.

5

UnKnowStatusInstanceCount

integer

The number of assets with an unknown enabling status.

1

UnprotectedInstanceCoreCount

integer

The number of CPU cores of unprotected assets.

30

UnprotectedInstanceCount

integer

The number of unprotected assets.

10

VolcengineInstanceCount

integer

The number of third-party cloud servers.

10

VpcCount

integer

The number of virtual private clouds (VPCs).

5

RequestId

string

The ID of the request. The ID is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot issues.

7E0618A9-D5EF-4220-9471-C42B5E92719F

Examples

Success response

JSON format

{
  "GroupedFields": {
    "AliYunInstanceCount": 100,
    "AwsInstanceCount": 100,
    "AzureInstanceCount": 5,
    "BaiduInstanceCount": 5,
    "ExposedInstanceCoreCount": 30,
    "ExposedInstanceCount": 1,
    "GeneralAssetCount": 10,
    "GoogleInstanceCount": 10,
    "GroupCount": 20,
    "HuaweiInstanceCount": 0,
    "IdcInstanceCount": 100,
    "ImportantAssetCount": 10,
    "InstanceCoreCount": 301,
    "InstanceCount": 100,
    "InstanceSyncTaskCount": 10,
    "KingsoftInstanceCount": 5,
    "NewInstanceCoreCount": 30,
    "NewInstanceCount": 10,
    "NoRiskInstanceCount": 10,
    "NotBindMachineInstanceCount": 10,
    "NotRunningStatusCoreCount": 30,
    "NotRunningStatusCount": 10,
    "OfflineInstanceCount": 21,
    "OracleInstanceCount": 1,
    "OutMachineInstanceCount": 20,
    "PauseInstanceCount": 10,
    "RegionCount": 11,
    "RiskInstanceCoreCount": 201,
    "RiskInstanceCount": 90,
    "StateCloudInstanceCount": 5,
    "TencentInstanceCount": 10,
    "TestAssetCount": 10,
    "TripartiteInstanceCount": 2,
    "UcloudInstanceCount": 5,
    "UnKnowStatusInstanceCount": 1,
    "UnprotectedInstanceCoreCount": 30,
    "UnprotectedInstanceCount": 10,
    "VolcengineInstanceCount": 10,
    "VpcCount": 5
  },
  "RequestId": "7E0618A9-D5EF-4220-9471-C42B5E92719F"
}

Error codes

HTTP status code

Error code

Error message

Description

400 NoPermission no permission
400 RdCheckNoPermission Resource directory account verification has no permission.
500 RdCheckInnerError Resource directory account service internal error.
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.