All Products
Search
Document Center

Security Center:GetCloudAssetSummary

Last Updated:Sep 17, 2026

Retrieves the summary of cloud 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:GetCloudAssetSummary

get

*All Resource

*

None None

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: Alibaba Cloud asset

  • 1: Non-cloud asset

  • 2: IDC asset

  • 3, 4, 5, 7: Other cloud asset

  • 8: Lightweight asset

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: Alibaba Cloud asset

  • 1: Non-cloud asset

  • 2: IDC asset

  • 3, 4, 5, 7: Other cloud asset

  • 8: Lightweight asset

0

AssetType

integer

No

The type of the asset. Valid values:

  • 0: Elastic Compute Service (ECS) server

  • 1: load balancing

  • 3: ApsaraDB RDS database

  • 4: ApsaraDB for MongoDB database

  • 5: Tair (Redis® OSS-Compatible) database

  • 6: Container Registry

  • 8: Container Service for Kubernetes (ACK)

  • 9: Virtual Private Cloud (VPC)

  • 11: ActionTrail

  • 12: CDN

  • 13: Certificate Management Service (formerly SSL Certificates Service)

  • 14: Apsara Devops

  • 16: Anti-DDoS

  • 17: Web Application Firewall (WAF)

  • 18: Object Storage Service (OSS)

  • 19: cloud-native relational database PolarDB

  • 20: ApsaraDB RDS for PostgreSQL database

  • 21: Microservices Engine (MSE)

  • 22: Apsara File Storage NAS

  • 23: Data Security Center (DSC)

  • 24: Elastic IP Address (EIP)

  • 25: Alibaba Cloud IDaaS EIAM

  • 26: PolarDB-X

  • 27: Elasticsearch

4

AssetSubType

integer

No

The subtype of the cloud service. Asset type-subtype. Valid values:

  • 0: Elastic Compute Service (ECS) server
    • 1: Cloud disk (storage)

    • 2: Security group

    • 100: Instance

  • 1: load balancing
    • 0: Classic Load Balancer (CLB)

    • 1: Application Load Balancer (ALB)

  • 3: ApsaraDB RDS database
    • 0: Instance

  • 4: ApsaraDB for MongoDB database
    • 0: Instance

  • 5: Tair (Redis® OSS-Compatible) database
    • 0: Instance

  • 6: Container Registry
    • 1: Enterprise Edition

    • 2: Personal Edition

  • 8: Container Service for Kubernetes (ACK)
    • 0: Cluster

  • 9: Virtual Private Cloud (VPC)
    • 0: NAT gateway

    • 1: EIP

    • 2: VPN

    • 3: FLOW_LOG

  • 11: ActionTrail
    • 0: Trail

  • 12: CDN
    • 0: Instance

  • 13: Certificate Management Service (formerly SSL Certificates Service)
    • 0: Certificate

  • 14: Apsara Devops
    • 0: Organization

  • 16: Anti-DDoS
    • 0: Instance

  • 17: Web Application Firewall (WAF)
    • 0: Domain name

  • 18: Object Storage Service (OSS)
    • 0: Bucket

  • 19: cloud-native relational database PolarDB
    • 0: Cluster

  • 20: ApsaraDB RDS for PostgreSQL database
    • 0: Instance

  • 21: Microservices Engine (MSE)
    • 0: Cluster

  • 22: Apsara File Storage NAS
    • 0: File system

  • 23: Data Security Center (DSC)
    • 0: Instance

  • 24: Elastic IP Address (EIP)
    • 0: Anycast EIP

  • 25: Alibaba Cloud IDaaS EIAM
    • 0: Instance

  • 26: PolarDB-X
    • 0: Instance

  • 27: Elasticsearch
    • 0: Instance

0

IsSaleData

boolean

No

Specifies whether to return sale-related data. Valid values:

  • true: Returns sale-related data.

  • false: Does not return sale-related data.

true

ResourceDirectoryAccountId

integer

No

The ID of the Alibaba Cloud account of the resource directory member accounts.

Note

Call the DescribeMonitorAccounts operation to obtain this parameter.

127608589417****

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 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:

  • 0: Elastic Compute Service (ECS) server

  • 1: load balancing

  • 3: ApsaraDB RDS database

  • 4: ApsaraDB for MongoDB database

  • 5: Tair (Redis® OSS-Compatible) database

  • 6: Container Registry

  • 8: Container Service for Kubernetes (ACK)

  • 9: Virtual Private Cloud (VPC)

  • 11: ActionTrail

  • 12: CDN

  • 13: Certificate Management Service (formerly SSL Certificates Service)

  • 14: Apsara Devops

  • 15: Resource Access Management (RAM)

  • 16: Anti-DDoS

  • 17: Web Application Firewall (WAF)

  • 18: Object Storage Service (OSS)

  • 19: cloud-native relational database PolarDB

  • 20: ApsaraDB RDS for PostgreSQL database

  • 21: Microservices Engine (MSE)

  • 22: Apsara File Storage NAS

  • 23: Data Security Center (DSC)

  • 24: Elastic IP Address (EIP)

  • 25: Alibaba Cloud IDaaS EIAM

  • 26: PolarDB-X

  • 27: Elasticsearch

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:

  • 0: Alibaba Cloud asset

  • 1: Non-cloud asset

  • 2: IDC asset

  • 3, 4, 5, 7: Other cloud asset

  • 8: Lightweight asset

3

InstanceSaleCount

integer

The number of assets billed by instance.

1

IsInstanceSale

boolean

Indicates whether the asset is billed by instance. Valid values:

  • true: Billed by instance.

  • false: Not billed by instance.

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