Updates the check scope configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:UpdateCheckScopeConfig |
update |
*All Resource
|
None | None |
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 type of the scan scope configuration. Valid values:
|
1 |
| AutoType |
integer |
No |
The type of the automatic scan configuration. Valid values:
|
1 |
| AutoConfig |
string |
No |
The JSON string of the automatic scan configuration. The following fields are included:
Note
For specific meanings, refer to the GetCloudAssetCriteria operation. This parameter is required when AutoType is set to 1 (automatic scan enabled). Provide a valid JSON configuration string. This parameter is not required when AutoType is set to 0. |
"{\"autoInclude\":true,\"autoRule\":{\"ruleOperator\":\"include\",\"operator\":\"or\",\"rule\":[{\"condition\":\"assetSubType\",\"ruleOperator\":\"include\",\"value\":[{\"vendor\":\"0\",\"assetType\":\"0\",\"assetSubType\":\"100\"}]}]}}" |
| ResourceDirectoryAccountId |
integer |
No |
The ID of the Alibaba Cloud account that corresponds to the member accounts in the resource folder. Note
Invoke the DescribeMonitorAccounts operation to obtain this parameter. |
127608589417**** |
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. Any other value indicates failure. You can use this field to determine the cause of the failure. |
200 |
| Message |
string |
The returned message of the request result. |
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 type of the scan scope configuration. Valid values:
|
1 |
| AutoType |
integer |
The type of the automatic scan configuration. Valid values:
|
1 |
| AutoConfig |
string |
The JSON string of the automatic scan configuration. The following fields are included:
Note
For specific meanings, 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 | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.