全部產品
Search
文件中心

Security Center:ListCloudAssetSchemas - 擷取資產結構定義列表。

更新時間:Mar 21, 2026

擷取雲產品資產結構列表

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求參數

名稱

類型

必填

描述

樣本值

PageSize

integer

分頁查詢時,每頁顯示的白名單規則數量。預設值為 10,表示每頁顯示 10 條白名單規則。

10

CurrentPage

integer

分頁查詢時,設定當前頁面的頁碼。預設值為 1

1

CloudAssetTypes

array<object>

雲資產的資產類型資訊列表。

object

雲資產的資產類型資訊。

AssetType

integer

資產的類型。取值:

  • 0:Elastic Compute Service

  • 1:負載平衡

  • 3:雲資料庫 RDS

  • 4:ApsaraDB for MongoDB

  • 5:雲資料庫 Tair(相容 Redis)

  • 6:Container Registry

  • 8:Container Service Kubernetes 版

  • 9:Virtual Private Cloud

  • 11:Action Trail

  • 12:CDN

  • 13:數位憑證管理服務(原 SSL 憑證)

  • 14:雲效

  • 16:DDoS 防護

  • 17:Web Application Firewall

  • 18:Object Storage Service

  • 19:雲原生關係型資料庫 PolarDB

  • 20:ApsaraDB for PostgreSQL

  • 21:微服務引擎

  • 22:Apsara File Storage NAS

  • 23:資料資訊安全中心

  • 24:彈性公網 IP

  • 25:雲身份服務-EIAM

  • 26:PolarDB-X

  • 27:Elasticsearch

0

AssetSubType

integer

雲產品的子類型。 資產的類型-子類型。取值:

  • 0:Elastic Compute Service
    • 1:磁碟(儲存)

    • 2:安全性群組

    • 100:執行個體

  • 1:負載平衡
    • 0:負載平衡

    • 1:應用型負載平衡

  • 3:雲資料庫 RDS
    • 0:執行個體

  • 4:ApsaraDB for MongoDB
    • 0:執行個體

  • 5:雲資料庫 Tair(相容 Redis)
    • 0:執行個體

  • 6:Container Registry
    • 1:企業版

    • 2:個人版

  • 8:Container Service Kubernetes 版
    • 0:叢集

  • 9:Virtual Private Cloud
    • 0:NAT Gateway

    • 1:EIP

    • 2:VPN

    • 3:FLOW_LOG

  • 11:Action Trail
    • 0:跟蹤

  • 12:CDN
    • 0:執行個體

  • 13:數位憑證管理服務(原 SSL 憑證)
    • 0:認證

  • 14:雲效
    • 0:組織

  • 16:DDoS 防護
    • 0:執行個體

  • 17:Web Application Firewall
    • 0:網域名稱

  • 18:Object Storage Service
    • 0:Bucket

  • 19:雲原生關係型資料庫 PolarDB
    • 0:叢集

  • 20:ApsaraDB for PostgreSQL
    • 0:執行個體

  • 21:微服務引擎
    • 0:叢集

  • 22:Apsara File Storage NAS
    • 0:檔案系統

  • 23:資料資訊安全中心
    • 0:執行個體

  • 24:彈性公網 IP
    • 0:任播彈性公網 IP

  • 25:雲身份服務-EIAM
    • 0:執行個體

  • 26:PolarDB-X
    • 0:執行個體

  • 27:Elasticsearch
    • 0:執行個體

0

Vendor

integer

伺服器廠商。取值:

  • 0:阿里雲資產

  • 1:雲外資產

  • 2:IDC 資產

  • 3457:其它雲資產

  • 8:輕量級資產

0

DataNames

array

資產資料名稱列表。

string

資產資料名稱。

ACS_ECS_Disk

AssociatedDataOnly

boolean

是否過濾出可以關聯其他資產的屬性。

true

Lang

string

請求和接收訊息的語言類型,預設值 zh。取值:

  • zh:中文

  • en:英文

zh

返回參數

名稱

類型

描述

樣本值

object

Success

boolean

是否調用成功。取值:

  • true:調用成功。

  • false:調用失敗。

true

RequestId

string

本次調用請求的 ID,是由阿里雲為該請求產生的唯一識別碼,可用於排查和定位問題。

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

PageInfo

object

PageInfo 頁面顯示的資訊。

CurrentPage

integer

當前頁碼

1

PageSize

integer

分頁查詢時,每頁顯示的賬戶資產的指紋資訊的數量。預設值為 10,表示每頁顯示 10 條賬戶資產的指紋資訊。

10

TotalCount

integer

查詢到的資料總條數。

54

Count

integer

查詢到的檢查項的當前頁顯示資料條數。

10

CloudAssetSchemas

array<object>

資產結構定義列表。

object

DataName

string

資產結構定義名稱。

ACS_ECS_Disk

Vendor

integer

伺服器廠商。取值:

  • 0:阿里雲資產

  • 1:雲外資產

  • 2:IDC 資產

  • 3457:其它雲資產

  • 8:輕量級資產

0

AssetType

integer

雲資產的類型。取值:

  • 0:Elastic Compute Service

  • 1:負載平衡

  • 3:雲資料庫 RDS

  • 4:ApsaraDB for MongoDB

  • 5:ApsaraDB for Redis

  • 6:Container Registry

  • 8:Container Service Kubernetes 版

  • 9:Virtual Private Cloud

  • 11:Action Trail

  • 12:CDN

  • 13:數位憑證管理服務(原 SSL 憑證)

  • 14:雲效

  • 15:存取控制

  • 16:DDoS 防護

  • 17:Web Application Firewall

  • 18:Object Storage Service

  • 19:雲原生關係型資料庫 PolarDB

  • 20:ApsaraDB for PostgreSQL

  • 21:微服務引擎

  • 22:Apsara File Storage NAS

  • 23:資料資訊安全中心

  • 24:彈性公網 IP

  • 25:雲身份服務-EIAM

  • 26:PolarDB-X

  • 27:Elasticsearch

0

AssetSubType

integer

雲產品資產的子類型。

說明

您可以調用 ListCloudAssetInstances 查詢雲產品資產的子類型。

1

Properties

string

當前資產結構定義文本。

[{\"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\"}]

樣本

正常返回樣本

JSON格式

{
  "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\\\"}]"
    }
  ]
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

400 AccountIdNotExist AccountId not exist 賬戶不存在,請檢查您的賬戶資訊是否正確。
400 NoPermission no permission 無此服務的存取權限。
500 ServerError ServerError 服務故障,請稍後重試!
403 NoPermission caller has no permission 當前操作未被授權,請聯絡主帳號在RAM控制台進行授權後再執行操作。

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情