查詢異常的雲產品接入資源。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
yundun-waf:DescribeAbnormalCloudResources |
none |
*全部資源
|
|
無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| InstanceId |
string |
是 |
WAF 執行個體 ID。 說明
您可以通過調用 DescribeInstance 介面查看當前 WAF 執行個體 ID。 |
waf_v3prepaid_public_cn-*** |
| RegionId |
string |
否 |
WAF 執行個體所屬地區。取值:
|
cn-hangzhou |
| ResourceManagerResourceGroupId |
string |
否 |
阿里雲資源群組 ID。 |
rg-acfm***q |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
66A98669-CC6E-4F3E-80A6-*** |
| AbnormalCloudResources |
array<object> |
異常狀態的雲產品接入資訊 |
|
|
array<object> |
異常狀態的雲產品接入資訊 |
||
| ResourceInstanceId |
string |
已接入 WAF 的執行個體 ID。 |
lb-*** |
| ResourceInstancePort |
integer |
已接入 WAF 的執行個體連接埠。 |
80 |
| ResourceInstanceName |
string |
已接入 WAF 的執行個體名稱。 |
test-name |
| ResourceProduct |
string |
資源所屬雲產品,預設返回 ALB、MSE、FC 和 SAE 產品的執行個體,取值:
說明
每個產品支援的地區不同,產品篩選欄位有值時,需要參考地區支援的產品,否則可能導致篩選失敗。 |
clb7 |
| Reason |
string |
異常原因,取值:
|
CertExpired |
| Details |
array<object> |
異常的具體資訊。 |
|
|
object |
異常的具體資訊。 |
||
| Code |
string |
異常原因,取值: InvalidCert:表示無效認證。 ClientCertOpend:表示開啟了雙向認證。 NetworkConfigLost:表示網路異常。 UserUploadCert:表示存在使用者上傳的認證。 CertNotExistInCertCenter:表示認證 ID 在數位憑證管理服務不存在。 CertExpired:表示認證到期。 EmptyCertCN:表示 CommonName 空。 |
CertExpired |
| CertName |
string |
數位憑證管理服務的認證名稱。 |
test-name |
| ProductCertId |
string |
在雲產品控制台配置的認證 ID。 |
123-cn-hangzhou |
| ProductCertName |
string |
在雲產品控制台配置認證的認證名稱。 |
test-cert-name |
| ProductDomainExtension |
string |
雲產品控制台配置的擴充網域名稱。 |
www.test.com |
| AppliedType |
string |
HTTPS 協議的認證類型。取值:
|
default |
| CommonName |
string |
通用名稱(CN)。 |
www.test.com |
| ExpireTime |
integer |
認證的到期時間。使用時間戳表示,單位:毫秒。 |
1735009193 |
| CloudResourceId |
string |
接入的資源 ID,由 WAF 自動產生。 |
lb-***-80-clb7 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "66A98669-CC6E-4F3E-80A6-***",
"AbnormalCloudResources": [
{
"ResourceInstanceId": "lb-***",
"ResourceInstancePort": 80,
"ResourceInstanceName": "test-name",
"ResourceProduct": "clb7",
"Reason": "CertExpired",
"Details": [
{
"Code": "CertExpired",
"CertName": "test-name",
"ProductCertId": "123-cn-hangzhou",
"ProductCertName": "test-cert-name",
"ProductDomainExtension": "www.test.com",
"AppliedType": "default",
"CommonName": "www.test.com\n",
"ExpireTime": 1735009193
}
],
"CloudResourceId": "lb-***-80-clb7"
}
]
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | Waf.Pullin.CertNotExist | Certificate does not exist in SSL Certificate Center, certificate type:%s, certificate ID:%s. | 認證在SSL認證中心不存在,認證類型:%s,認證ID:%s。 |
| 400 | Waf.Pullin.ResourceNotExist | The accessed resource already exists. Resource:%s. | 接入的資源已存在,資源:%s. |
| 400 | Waf.Pullin.AlreadyAccessed | The cloud product has been accessed. Instance ID:%s, Port:%s, Product Type:%s. | 雲產品已接入,執行個體ID:%s,連接埠:%s,產品類型:%s. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。