查詢檢查範圍配置。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ConfigId |
integer |
否 |
配置對應的 ID,可不傳,預設生成。 |
435f626256ebf564cf5ba966a539**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
GetCheckScopeConfigResponse |
||
| RequestId |
string |
唯一請求 ID。 |
7BC55C8F-226E-5AF5-9A2C-2EC43864**** |
| Success |
boolean |
請求是否成功。取值:
|
true |
| Code |
string |
結果代碼,200 表示成功,若為別的值則表示失敗,呼叫方可根據此欄位判斷失敗原因。 |
200 |
| Message |
string |
請求結果返回資訊。 |
successful |
| Data |
object |
返回資料。 |
|
| GmtCreate |
string |
建立時間。 |
2022-10-16 18:17:16 |
| GmtModified |
string |
修改時間。 |
2026-01-09 10:19:57 |
| ConfigId |
string |
配置對應的 ID。 |
97a1fed216908e417407344e1505xxxx |
| Type |
integer |
掃描範圍配置類型。取值:
|
1 |
| AutoType |
integer |
自動掃描配置類型。取值:
|
1 |
| AutoConfig |
string |
自動掃描配置 JSON 字串。欄位說明如下:
說明
具體含義參考介面 GetCloudAssetCriteria |
"{\"autoInclude\":true,\"autoRule\":{\"ruleOperator\":\"include\",\"operator\":\"or\",\"rule\":[{\"condition\":\"assetSubType\",\"ruleOperator\":\"include\",\"value\":[{\"vendor\":\"0\",\"assetType\":\"0\",\"assetSubType\":\"100\"}]}]}}" |
樣本
正常返回樣本
JSON格式
{
"RequestId": "7BC55C8F-226E-5AF5-9A2C-2EC43864****",
"Success": true,
"Code": "200",
"Message": "successful",
"Data": {
"GmtCreate": "2022-10-16 18:17:16",
"GmtModified": "2026-01-09 10:19:57",
"ConfigId": "97a1fed216908e417407344e1505xxxx",
"Type": 1,
"AutoType": 1,
"AutoConfig": "\"{\\\"autoInclude\\\":true,\\\"autoRule\\\":{\\\"ruleOperator\\\":\\\"include\\\",\\\"operator\\\":\\\"or\\\",\\\"rule\\\":[{\\\"condition\\\":\\\"assetSubType\\\",\\\"ruleOperator\\\":\\\"include\\\",\\\"value\\\":[{\\\"vendor\\\":\\\"0\\\",\\\"assetType\\\":\\\"0\\\",\\\"assetSubType\\\":\\\"100\\\"}]}]}}\""
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | |
| 500 | ServerError | ServerError | |
| 500 | RdCheckInnerError | Resource directory account service internal error. | |
| 403 | NoPermission | caller has no permission |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。