查询检查范围配置
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| ConfigId |
integer |
否 |
配置对应的 ID,可不传,默认生成。 |
435f626256ebf564cf5ba966a539**** |
| ResourceDirectoryAccountId |
integer |
否 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
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 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。