All Products
Search
Document Center

Security Center:GetCloudAssetSummary

Last Updated:Nov 20, 2025
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.

获取云资产概要

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:GetCloudAssetSummaryget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
VendorsarrayNo

List of cloud vendors to be queried.

integerNo

Server vendor. Values:

  • 0: Alibaba Cloud Asset
  • 1: Non-cloud Asset
  • 2: IDC Asset
  • 3, 4, 5, 7: Other Cloud Assets
  • 8: Lightweight Asset
0
CloudAssetTypesarray<object>No

List of asset type information for cloud assets

objectNo

List of cloud asset types.

VendorintegerNo

Server vendor. Values:

  • 0: Alibaba Cloud Asset
  • 1: Non-cloud Asset
  • 2: IDC Asset
  • 3, 4, 5, 7: Other Cloud Assets
  • 8: Lightweight Asset
0
AssetTypeintegerNo

The type of asset. Values:

  • 0: Elastic Compute Service (ECS)
  • 1: Load Balancer
  • 3: ApsaraDB for RDS
  • 4: ApsaraDB for MongoDB
  • 5: ApsaraDB for Tair (Redis compatible)
  • 6: Container Registry
  • 8: Container Service for Kubernetes
  • 9: Virtual Private Cloud (VPC)
  • 11: ActionTrail
  • 12: Content Delivery Network (CDN)
  • 13: SSL Certificates (now known as Certificate Management Service)
  • 14: DevOps
  • 16: DDoS Protection
  • 17: Web Application Firewall
  • 18: Object Storage Service (OSS)
  • 19: PolarDB
  • 20: ApsaraDB for PostgreSQL
  • 21: Microservices Engine
  • 22: File Storage NAS
  • 23: Data Security Center
  • 24: Elastic IP Address
  • 25: Cloud Identity Service - EIAM
  • 26: PolarDB-X
  • 27: Elasticsearch
4
AssetSubTypeintegerNo

云产品的子类型。 资产的类型-子类型。取值:

  • 0:云服务器 ECS
    • 1:磁盘(存储)
    • 2:安全组
    • 100:实例
  • 1:负载均衡
    • 0:负载均衡
    • 1:应用型负载均衡
  • 3:云数据库 RDS
    • 0:实例
  • 4:云数据库 MongoDB 版
    • 0:实例
  • 5:云数据库 Tair(兼容 Redis)
    • 0:实例
  • 6:容器镜像服务
    • 1:企业版
    • 2:个人版
  • 8:容器服务 Kubernetes 版
    • 0:集群
  • 9:专有网络 VPC
    • 0:NAT 网关
    • 1:EIP
    • 2:VPN
    • 3:FLOW_LOG
  • 11:操作审计
    • 0:跟踪
  • 12:CDN
    • 0:实例
  • 13:数字证书管理服务(原 SSL 证书)
    • 0:证书
  • 14:云效
    • 0:组织
  • 16:DDoS 防护
    • 0:实例
  • 17:Web 应用防火墙
    • 0:域名
  • 18:对象存储
    • 0:Bucket
  • 19:云原生关系型数据库 PolarDB
    • 0:集群
  • 20:云数据库 PostgreSQL 版
    • 0:实例
  • 21:微服务引擎
    • 0:集群
  • 22:文件存储 NAS
    • 0:文件系统
  • 23:数据安全中心
    • 0:实例
  • 24:弹性公网 IP
    • 0:任播弹性公网 IP
  • 25:云身份服务-EIAM
    • 0:实例
  • 26:PolarDB-X
    • 0:实例
  • 27:Elasticsearch
    • 0:实例
0

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。

F5CF78A7-30AA-59DB-847F-13EE3AE7****
GroupedFieldsobject

Summary information of cloud assets.

CloudAssetSummaryMetasarray<object>

List of cloud product statistics

CloudAssetSummaryMetasobject

Statistical information of cloud products

AssetTypeinteger

云产品的类型。取值:

  • 0:云服务器 ECS
  • 1:负载均衡
  • 3:云数据库 RDS
  • 4:云数据库 MongoDB 版
  • 5:云数据库 Tair(兼容 Redis)
  • 6:容器镜像服务
  • 8:容器服务 Kubernetes 版
  • 9:专有网络 VPC
  • 11:操作审计
  • 12:CDN
  • 13:数字证书管理服务(原 SSL 证书)
  • 14:云效
  • 15:访问控制
  • 16:DDoS 防护
  • 17:Web 应用防火墙
  • 18:对象存储
  • 19:云原生关系型数据库 PolarDB
  • 20:云数据库 PostgreSQL 版
  • 21:微服务引擎
  • 22:文件存储 NAS
  • 23:数据安全中心
  • 24:弹性公网 IP
  • 25:云身份服务-EIAM
  • 26:PolarDB-X
  • 27:Elasticsearch
16
AssetSubTypeinteger

Subtype of the cloud product

0
InstanceCountinteger

Total number of this type of cloud product instances.

16
InstanceRiskCountinteger

Total number of risky instances for this type of cloud product.

5
Vendorinteger

服务器厂商。取值:

  • 0:阿里云资产
  • 1:云外资产
  • 2:IDC 资产
  • 3457:其它云资产
  • 8:轻量级资产
3
InstanceCountTotalinteger

Total number of cloud product instances.

919
InstanceRiskCountTotalinteger

Total number of cloud product instances at risk

544

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 codeError codeError messageDescription
400NoPermissionno permission-
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-12-21API Description Update. The Error code has changed. The request parameters of the API has changedView Change Details
2023-09-20The Error code has changed. The response structure of the API has changedView Change Details