Retrieves the asset refresh configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ListAssetRefreshTaskConfig |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region of the Security Center instance. |
cn-hangzhou |
| RefreshConfigType |
integer |
No |
The configuration type. Valid values:
|
2 |
| TargetId |
integer |
No |
The ID of the AccessKey record specified when querying an AccessKey scheduled verification task. |
2295 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AssetRefreshConfig |
array<object> |
The asset refresh configuration. |
|
|
object |
The asset refresh configuration. |
||
| Vendor |
integer |
The cloud asset vendor. Valid values:
|
3 |
| SchedulePeriod |
integer |
The synchronization period. Valid values:
|
360 |
| Status |
integer |
The enabling status of the configuration. Valid values:
|
1 |
| RefreshConfigType |
integer |
The configuration type. Valid values:
|
1 |
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
D65AADFC-1D20-5A6A-8F6A-9FA53C0DC1F8 |
Examples
Success response
JSON format
{
"AssetRefreshConfig": [
{
"Vendor": 3,
"SchedulePeriod": 360,
"Status": 1,
"RefreshConfigType": 1
}
],
"RequestId": "D65AADFC-1D20-5A6A-8F6A-9FA53C0DC1F8"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.