All Products
Search
Document Center

Security Center:ListCloudAssetSchemas

Last Updated:Aug 28, 2026

Queries the list of cloud asset schema definitions.

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

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

PageSize

integer

No

The number of entries per page.

10

CurrentPage

integer

No

The number of the page to return. Default value: 1.

1

CloudAssetTypes

array<object>

No

The types of cloud assets.

object

No

The types of cloud assets.

AssetType

integer

No

The type of the asset. Valid values:

  • 0: Elastic Compute Service (ECS)

  • 1: Server Load Balancer (SLB)

  • 3: ApsaraDB RDS

  • 4: ApsaraDB for MongoDB (MongoDB)

  • 5: ApsaraDB for Redis (Redis)

  • 6: Container Registry

  • 8: Container Service for Kubernetes (ACK)

  • 9: Virtual Private Cloud (VPC)

  • 11: ActionTrail

  • 12: Alibaba Cloud CDN (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: PolarDB

  • 20: ApsaraDB RDS for PostgreSQL

  • 21: Microservices Engine (MSE)

  • 22: File Storage NAS (NAS)

  • 23: Data Security Center (DSC)

  • 24: Elastic IP Address (EIP)

  • 25: IDaaS EIAM

  • 26: PolarDB-X

  • 27: Elasticsearch

0

AssetSubType

integer

No

The subtype of the cloud service or asset. Valid values:

  • 0: ECS

    • 0: instance

    • 1: disk (storage)

    • 2: security group

  • 1: SLB

    • 0: SLB

    • 1: Application Load Balancer (ALB)

  • 3: ApsaraDB RDS

    • 0: instance

  • 4: MongoDB

    • 0: instance

  • 5: Redis

    • 0: instance

  • 6: Container Registry

    • 1: Enterprise Edition

    • 2: Personal Edition

  • 8: ACK

    • 0: cluster

  • 9: VPC

    • 0: NAT gateway

    • 1: Elastic IP address (EIP)

    • 2: VPN

    • 3: VPC Flow Logs

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

    • 0: domain name

  • 18: OSS

    • 0: bucket

  • 19: PolarDB

    • 0: cluster

  • 20: ApsaraDB RDS for PostgreSQL

    • 0: instance

  • 21: MSE

    • 0: cluster

  • 22: NAS

    • 0: file system

  • 23: DSC

    • 0: instance

  • 24: EIP

    • 0: Anycast EIP

  • 25: IDaaS EIAM

    • 0: instance

  • 26: PolarDB-X

    • 0: instance

  • 27: Elasticsearch

    • 0: instance

0

Vendor

integer

No

The server type. Valid values:

  • 0: a cloud asset provided by Alibaba Cloud

  • 1: a cloud asset outside Alibaba Cloud

  • 2: a cloud asset in a data center

  • 3, 4, 5, and 7: a cloud asset provided by a third-party service provider

  • 8: a lightweight cloud asset

0

DataNames

array

No

The list of asset data names.

string

No

The asset data name.

ACS_ECS_Disk

AssociatedDataOnly

boolean

No

Specifies whether to filter out attributes that can be associated with other assets.

true

Lang

string

No

The language of the request and response. Default value: zh. Valid values: - zh: Chinese - en: English

zh

Response elements

Element

Type

Description

Example

object

Success

boolean

Indicates whether the request was successful. Valid values:

  • true: The request was successful.

  • false: The request failed.

true

RequestId

string

The request ID.

F8B6F758-BCD4-597A-8A2C-DA5A552C****

PageInfo

object

The pagination information.

CurrentPage

integer

The current page number.

1

PageSize

integer

The number of entries returned per page.

10

TotalCount

integer

The total number of entries returned.

54

Count

integer

The number of entries returned on the current page.

10

CloudAssetSchemas

array<object>

The list of asset schema definitions.

object

DataName

string

The name of the asset schema definition.

ACS_ECS_Disk

Vendor

integer

The source of the server. Valid values:

  • 0: an asset provided by Alibaba Cloud.

  • 1: a third-party cloud server

  • 2: a server in a data center

  • 3, 4, 5, and 7: other cloud asset

  • 8: a lightweight asset

0

AssetType

integer

The type of the cloud asset. Valid values:

  • 0: Elastic Compute Service (ECS).

  • 1: Server Load Balancer (SLB).

  • 3: ApsaraDB RDS.

  • 4: ApsaraDB for MongoDB.

  • 5: ApsaraDB for Redis.

  • 6: Container Registry.

  • 8: Container Service for Kubernetes.

  • 9: Virtual Private Cloud (VPC).

  • 11: ActionTrail.

  • 12: Alibaba Cloud CDN (CDN).

  • 13: Certificate Management Service.

  • 14: Apsara Devops.

  • 15: Resource Access Management (RAM).

  • 16: Anti-DDoS.

  • 17: Web Application Firewall (WAF).

  • 18: Object Storage Service (OSS).

  • 19: PolarDB.

  • 20: ApsaraDB RDS for PostgreSQL.

  • 21: Microservices Engine (MSE).

  • 22: File Storage NAS (NAS).

  • 23: Data Security Center (DSC).

  • 24: Elastic IP Address (EIP).

  • 25: Identity as a Service (IDaaS)-Employee Identity and Access Management (EIAM).

  • 26: PolarDB-X.

  • 27: Elasticsearch.

0

AssetSubType

integer

The subtype of the cloud asset.

1

Properties

string

The asset schema definition in JSON format.

[{\"associatedData\":[{\"assetSubType\":100,\"assetType\":0,\"dataName\":\"ACS_ECS_Instance\",\"properties\":[{\"name\":\"InstanceId\",\"path\":\"InstanceId\"}],\"vendor\":0}],\"description\":\"The ID of the instance to which the disk is attached.\",\"example\":\"i-bp67acfmxazb4q****\",\"name\":\"InstanceId\",\"type\":\"STRING\",\"withAssociatedData\":true},{\"description\":\"Disk name\",\"example\":\"testDiskName\",\"name\":\"DiskName\",\"type\":\"STRING\"},{\"description\":\"Only encrypted disks\",\"example\":\"false\",\"name\":\"Encrypted\",\"type\":\"BOOLEAN\"},{\"description\":\"Disk status\",\"example\":\"In_use\",\"name\":\"Status\",\"type\":\"STRING\"},{\"description\":\"Disk category\",\"example\":\"cloud_ssd\",\"name\":\"Category\",\"type\":\"STRING\"},{\"description\":\"Disk type\",\"example\":\"system\",\"name\":\"Type\",\"type\":\"STRING\"},{\"description\":\"Specifies whether to set an automatic snapshot policy for the disk.\",\"example\":\"false\",\"name\":\"EnableAutomatedSnapshotPolicy\",\"type\":\"BOOLEAN\"},{\"description\":\"The ID of the automatic snapshot policy.\",\"example\":\"sp-bp67acfmxazb4p****\",\"name\":\"AutoSnapshotPolicyId\",\"type\":\"STRING\"},{\"description\":\"Disk, local disk, or elastic ephemeral disk ID\",\"example\":\"d-bp18um4r4f2fve24****\",\"name\":\"DiskId\",\"type\":\"STRING\"}]

Examples

Success response

JSON format

{
  "Success": true,
  "RequestId": "F8B6F758-BCD4-597A-8A2C-DA5A552C****",
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 10,
    "TotalCount": 54,
    "Count": 10
  },
  "CloudAssetSchemas": [
    {
      "DataName": "ACS_ECS_Disk",
      "Vendor": 0,
      "AssetType": 0,
      "AssetSubType": 1,
      "Properties": "[{\\\"associatedData\\\":[{\\\"assetSubType\\\":100,\\\"assetType\\\":0,\\\"dataName\\\":\\\"ACS_ECS_Instance\\\",\\\"properties\\\":[{\\\"name\\\":\\\"InstanceId\\\",\\\"path\\\":\\\"InstanceId\\\"}],\\\"vendor\\\":0}],\\\"description\\\":\\\"The ID of the instance to which the disk is attached.\\\",\\\"example\\\":\\\"i-bp67acfmxazb4q****\\\",\\\"name\\\":\\\"InstanceId\\\",\\\"type\\\":\\\"STRING\\\",\\\"withAssociatedData\\\":true},{\\\"description\\\":\\\"Disk name\\\",\\\"example\\\":\\\"testDiskName\\\",\\\"name\\\":\\\"DiskName\\\",\\\"type\\\":\\\"STRING\\\"},{\\\"description\\\":\\\"Only encrypted disks\\\",\\\"example\\\":\\\"false\\\",\\\"name\\\":\\\"Encrypted\\\",\\\"type\\\":\\\"BOOLEAN\\\"},{\\\"description\\\":\\\"Disk status\\\",\\\"example\\\":\\\"In_use\\\",\\\"name\\\":\\\"Status\\\",\\\"type\\\":\\\"STRING\\\"},{\\\"description\\\":\\\"Disk category\\\",\\\"example\\\":\\\"cloud_ssd\\\",\\\"name\\\":\\\"Category\\\",\\\"type\\\":\\\"STRING\\\"},{\\\"description\\\":\\\"Disk type\\\",\\\"example\\\":\\\"system\\\",\\\"name\\\":\\\"Type\\\",\\\"type\\\":\\\"STRING\\\"},{\\\"description\\\":\\\"Specifies whether to set an automatic snapshot policy for the disk.\\\",\\\"example\\\":\\\"false\\\",\\\"name\\\":\\\"EnableAutomatedSnapshotPolicy\\\",\\\"type\\\":\\\"BOOLEAN\\\"},{\\\"description\\\":\\\"The ID of the automatic snapshot policy.\\\",\\\"example\\\":\\\"sp-bp67acfmxazb4p****\\\",\\\"name\\\":\\\"AutoSnapshotPolicyId\\\",\\\"type\\\":\\\"STRING\\\"},{\\\"description\\\":\\\"Disk, local disk, or elastic ephemeral disk ID\\\",\\\"example\\\":\\\"d-bp18um4r4f2fve24****\\\",\\\"name\\\":\\\"DiskId\\\",\\\"type\\\":\\\"STRING\\\"}]"
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 AccountIdNotExist AccountId not exist
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.