Queries the cleanup configurations for offline hosts whose provider cannot be identified.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ListAssetCleanConfig |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
20456DD5-5CBF-5015-9173-12CA4246B*** |
| Data |
array<object> |
The asset cleanup configurations. |
|
|
object |
|||
| Type |
integer |
The type of hosts to clean up.
|
1 |
| CleanDays |
integer |
The number of days before offline hosts whose provider cannot be identified are automatically cleaned up. Valid values: 1 to 30. |
7 |
| Status |
integer |
Indicates whether the configuration is active. Valid values:
|
1 |
| Count |
integer |
The total number of cleanup configurations. |
1 |
Examples
Success response
JSON format
{
"RequestId": "20456DD5-5CBF-5015-9173-12CA4246B***",
"Data": [
{
"Type": 1,
"CleanDays": 7,
"Status": 1
}
],
"Count": 1
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 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.