Updates the check scope configuration.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ConfigId |
string |
No |
The ID of the configuration. Note
Call the GetCheckScopeConfig operation to obtain this parameter. |
00cfa8161da093089e6804ba6a33**** |
| Type |
integer |
No |
The scan scope configuration type. Valid values:
|
1 |
| AutoType |
integer |
No |
The automatic scan configuration type. Valid values:
|
1 |
| AutoConfig |
string |
No |
The automatic scan configuration as a JSON string. The following fields are included:
Note
For more information, refer to the GetCloudAssetCriteria operation. |
"{\"autoInclude\":true,\"autoRule\":{\"ruleOperator\":\"include\",\"operator\":\"or\",\"rule\":[{\"condition\":\"assetSubType\",\"ruleOperator\":\"include\",\"value\":[{\"vendor\":\"0\",\"assetType\":\"0\",\"assetSubType\":\"100\"}]}]}}" |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
UpdateCheckScopeConfigResponse |
||
| RequestId |
string |
The request ID. |
676F80E3-4B3F-43DA-9CBB-5FF79F202AA2 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Code |
string |
The result code. A value of 200 indicates success. Other values indicate failure. You can use this field to determine the cause of the failure. |
200 |
| Message |
string |
The response message. |
successful |
| Data |
object |
The returned data. |
|
| GmtCreate |
string |
The creation time. |
2022-10-16 18:17:16 |
| GmtModified |
string |
The modification time. |
2026-04-09 18:56:15 |
| ConfigId |
string |
The ID of the configuration. |
97a1fed216908e417407344e1505xxxx |
| Type |
integer |
The scan scope configuration type. Valid values:
|
1 |
| AutoType |
integer |
The automatic scan configuration type. Valid values:
|
1 |
| AutoConfig |
string |
The automatic scan configuration as a JSON string. The following fields are included:
Note
For more information, refer to the GetCloudAssetCriteria operation. |
"{\"autoInclude\":true,\"autoRule\":{\"ruleOperator\":\"include\",\"operator\":\"or\",\"rule\":[{\"condition\":\"assetSubType\",\"ruleOperator\":\"include\",\"value\":[{\"vendor\":\"0\",\"assetType\":\"0\",\"assetSubType\":\"100\"}]}]}}" |
Examples
Success response
JSON format
{
"RequestId": "676F80E3-4B3F-43DA-9CBB-5FF79F202AA2",
"Success": true,
"Code": "200",
"Message": "successful",
"Data": {
"GmtCreate": "2022-10-16 18:17:16",
"GmtModified": "2026-04-09 18:56:15",
"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\\\"}]}]}}\""
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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 |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.