全部產品
Search
文件中心

:ListCloudResources - 擷取雲廠商及對應雲產品的資源清單

更新時間:Dec 17, 2025

您可以通過本介面擷取雲廠商及對應雲產品的資源清單。

調試

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

調試

授權資訊

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

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

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

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

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

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

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

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

操作

存取層級

資源類型

條件關鍵字

關聯操作

yundun-cert:ListCloudResources

list

*全部資源

*

請求參數

名稱

類型

必填

描述

樣本值

CloudName

string

根據云廠商過濾。

枚舉值:

  • Tencent :

    騰訊雲

  • Huawei :

    華為雲

  • Aws :

    亞馬遜

  • aliyun :

    阿里雲

aliyun

CloudProduct

string

根據云產品過濾。

阿里雲:

  • SLB:傳統型負載平衡 CLB(僅中國站)

  • LIVE:ApsaraVideo for Live(僅中國站)

  • webHosting:雲虛擬機器主機(僅中國站)

  • VOD:ApsaraVideo for VOD(僅中國站)

  • CR:Container Registry(僅中國站)

  • DCDN:全站加速

  • DDoS:DDos 防護

  • CDN:內容分發網路

  • ALB:應用負載平衡

  • APIGateway:API Gateway

  • FC:Function Compute

  • GA:Global Acceleration

  • MSE:微服務引擎

  • NLB:網路型負載平衡

  • OSS:Object Storage Service

  • SAE:Serverless 應用引擎

  • WAF:Web Application Firewall

騰訊云:

  • TencentCDN:騰訊雲 CDN

  • TencentCLB:騰訊雲 負載平衡

  • TencentWAF:騰訊雲 Web Application Firewall

華為云:

  • HuaweiCDN:華為雲 CDN

亞馬遜:

  • AwsCloudFront:亞馬遜 CloudFront

  • AwsCLB:亞馬遜 CLB

  • AwsALB:亞馬遜 ALB

  • AwsNLB:亞馬遜 NLB

SLB

SecretId

string

根據云資源存取金鑰 ID 過濾。

AK96*******6M

Keyword

string

根據云資源綁定網域名稱或執行個體 ID 關鍵字過濾。

cert-instanceId

CurrentPage

integer

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

1

ShowSize

integer

分頁查詢時,設定每頁包含的資源數量。預設值為 20

20

CertIds

array

根據認證 ID 過濾。

integer

認證 ID。

14440149

返回參數

名稱

類型

描述

樣本值

object

OpenApiPaginationResponse

Total

integer

總記錄條數。

440

CurrentPage

integer

分頁,當前頁,預設 1。

1

ShowSize

integer

分頁查詢時,設定每頁包含資源的數量。預設值為 20

20

Data

array<object>

請求介面返回的資料。

object

Id

integer

雲產品資源 ID。

2356

GmtCreate

string

同步資源建立時間(秒,時間戳記格式)。

1673423339000

GmtModified

string

同步資源最近一次修改時間(秒,時間戳記格式)。

1696911946000

CloudProduct

string

雲產品。

ALB

UserId

integer

阿里雲帳號 ID

1666884372******

CertId

integer

雲產品資源綁定的認證 ID。

12433121

CertName

string

雲產品資源綁定的認證名稱。

example

CertEndTime

string

雲產品資源綁定認證的結束日期(秒,時間戳記格式)。

1737795520000

CertStartTime

string

雲產品資源綁定認證的開始日期(秒,時間戳記格式)。

1706259520000

Domain

string

雲產品資源綁定的網域名稱。

example.com

InstanceId

string

雲產品資源執行個體 ID。

說明

僅部署 SLB、NLB、ALB 和 GA 才會返回該參數。

nlb-rv05a********14il5

ListenerId

string

雲產品資源監聽 ID。

說明

僅部署 SLB、NLB、ALB 和 GA 才會返回該參數。

lsn-jiug********66lsnc@443

ListenerPort

string

雲產品資源監聽連接埠。

說明

僅部署 SLB、NLB、ALB 和 GA 才會返回該參數。

443

EnableHttps

integer

雲產品資源是否開啟 HTTPS。

  • 1:開啟

  • 0:未開啟

枚舉值:

  • 0 :

    未開啟

  • 1 :

    開啟

1

DefaultResource

integer

雲產品資源是否為預設資源。

  • 1:預設資源

  • 0:非預設資源

說明

僅部署 SLB、NLB、ALB 和 GA 才會返回該參數。

0

Status

string

同步的雲產品資源狀態。

BUY

UseSsl

integer

是否使用阿里雲 SSL 憑證。

  • 1:使用

  • 0:未使用

說明

僅多雲部署才會返回該參數。

1

RegionId

string

同步的雲產品資源地區 ID。

cn-hangzhou

CloudName

string

雲廠商。

枚舉值:

  • Tencent :

    騰訊雲

  • Huawei :

    華為雲

  • Aws :

    亞馬遜

  • aliyun :

    阿里雲

aliyun

CloudRegion

string

雲產品資源在雲供應商的地區 ID。

cn-hangzhou

CloudAccessId

string

雲資源集訪問的金鑰識別碼。

說明

僅多雲部署才會返回該參數。

AK96*******6M

RequestId

string

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

12345678-1234-1234-1234-123456789ABC

樣本

正常返回樣本

JSON格式

{
  "Total": 440,
  "CurrentPage": 1,
  "ShowSize": 20,
  "Data": [
    {
      "Id": 2356,
      "GmtCreate": "1673423339000",
      "GmtModified": "1696911946000",
      "CloudProduct": "ALB",
      "UserId": 0,
      "CertId": 12433121,
      "CertName": "example",
      "CertEndTime": "1737795520000",
      "CertStartTime": "1706259520000",
      "Domain": "example.com",
      "InstanceId": "nlb-rv05a********14il5",
      "ListenerId": "lsn-jiug********66lsnc@443",
      "ListenerPort": "443",
      "EnableHttps": 1,
      "DefaultResource": 0,
      "Status": "BUY",
      "UseSsl": 1,
      "RegionId": "cn-hangzhou",
      "CloudName": "aliyun",
      "CloudRegion": "cn-hangzhou\n",
      "CloudAccessId": "AK96*******6M"
    }
  ],
  "RequestId": "12345678-1234-1234-1234-123456789ABC"
}

錯誤碼

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

變更歷史

更多資訊,參考變更詳情