全部產品
Search
文件中心

Security Center:GetCloudAssetCriteria - 擷取雲資產列表查詢條件

更新時間:Mar 21, 2026

擷取雲資產列表查詢條件。

調試

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

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

yundun-sas:GetCloudAssetCriteria

get

*全部資源

*

請求參數

名稱

類型

必填

描述

樣本值

Value

string

查詢雲資產時輸入的模糊比對值。

testwww

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

9

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:執行個體

2

返回參數

名稱

類型

描述

樣本值

object

RequestId

string

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

24A20733-10A0-4AF6-BE6B-E3322413BB68

CriteriaList

array<object>

雲產品資產支援檢索項資訊列表。

object

雲產品資產支援檢索項資訊。

Type

string

查詢條件的類型。取值:

  • input:需要手動輸入查詢欄位。

  • select:需要從下拉式清單中選取查詢條件的子類型。

select

Name

string

查詢條件的名稱。

  • instanceId:執行個體 ID。

  • instanceName:執行個體名稱。

  • internetIp:公網 IP。

  • riskStatus:風險狀態。

  • vendorRegionId:按廠商分類 RegionId。

instanceId

Values

string

Type(查詢條件的類型)為 select(選擇型)時,可選項的值。

說明

Type(查詢條件的類型)為 input(輸入型)時,該參數傳回值為空白。

fvt*

MultiValues

string

輸入的模糊比對值對應的資產的具體結構化屬性值。JSON 格式,包含以下欄位:

  • vendor:供應商

  • regionIds:支援地區

[{"vendor":0,"regionIds":{"default":["ap-southeast-1","ap-northeast-2","ap-southeast-3","ap-southeast-5","ap-southeast-7","me-central-1"]}},{"vendor":1,"regionIds":{"default":["outside-of-aliyun"]}}]

樣本

正常返回樣本

JSON格式

{
  "RequestId": "24A20733-10A0-4AF6-BE6B-E3322413BB68",
  "CriteriaList": [
    {
      "Type": "select",
      "Name": "instanceId",
      "Values": "fvt*",
      "MultiValues": "[{\"vendor\":0,\"regionIds\":{\"default\":[\"ap-southeast-1\",\"ap-northeast-2\",\"ap-southeast-3\",\"ap-southeast-5\",\"ap-southeast-7\",\"me-central-1\"]}},{\"vendor\":1,\"regionIds\":{\"default\":[\"outside-of-aliyun\"]}}]"
    }
  ]
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

400 NoPermission no permission 無此服務的存取權限。
500 ServerError ServerError 服務故障,請稍後重試!
403 NoPermission caller has no permission 當前操作未被授權,請聯絡主帳號在RAM控制台進行授權後再執行操作。

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

變更歷史

更多資訊,參考變更詳情