Synchronizes asset data.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:RefreshAssets |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AssetType |
string |
No |
The type of asset to synchronize. Default value: ecs. Valid values:
|
cloud_product |
| CloudAssetType |
integer |
No |
The type of cloud product. Valid values:
|
0 |
| CloudAssetSubType |
integer |
No |
The subtype of the cloud product. Note
Refer to the following list for valid values. |
0 |
| Vendor |
integer |
No |
The server vendor. Valid values:
|
0 |
| ResourceDirectoryAccountId |
integer |
No |
The ID of the Alibaba Cloud account of the member accounts in the resource directory. Note
Call the DescribeMonitorAccounts operation to obtain this parameter. |
127608589417**** |
| AssetType | AssetSubType | AssetName | AssetSubName |
| 0 | 0 | ECS | INSTANCE |
| 0 | 1 | ECS | DISK |
| 0 | 2 | ECS | SECURITY_GROUP |
| 1 | 0 | SLB | CLB |
| 1 | 1 | SLB | ALB |
| 3 | 0 | RDS | INSTANCE |
| 4 | 0 | MONGODB | INSTANCE |
| 5 | 0 | KVSTORE | INSTANCE |
| 6 | 1 | ACR | REPOSITORY_ENTERPRISE |
| 6 | 2 | ACR | REPOSITORY_PERSON |
| 8 | 0 | CSK | CLUSTER |
| 9 | 0 | VPC | NAT_GATEWAY |
| 9 | 1 | VPC | EIP |
| 9 | 2 | VPC | VPN |
| 11 | 0 | ACTIONTRAIL | TRIAL |
| 12 | 0 | CDN | INSTANCE |
| 13 | 0 | CAS | CERTIFICATE |
| 14 | 0 | RDC | ORGANIZATION |
| 15 | 0 | RAM | ALIAS |
| 15 | 1 | RAM | USER |
| 15 | 2 | RAM | POLICY |
| 15 | 3 | RAM | GROUP |
| 16 | 0 | DDoS | INSTANCE |
| 17 | 1 | WAF | DOMAIN |
| 18 | 0 | OSS | Bucket |
| 19 | 0 | POLARDB | CLUSTER |
| 20 | 0 | POSTGRESQL | INSTANCE |
| 21 | 0 | MSE | CLUSTER |
| 22 | 0 | NAS | FILE_SYSTEM |
| 23 | 0 | SDDP | INSTANCE |
| 24 | 0 | EIP | ANYCAST_EIP |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| 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. |
340D7FC4-D575-1661-8ACD-CFA7BE57B795 |
Examples
Success response
JSON format
{
"RequestId": "340D7FC4-D575-1661-8ACD-CFA7BE57B795"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | no permission | |
| 400 | DuplicatedRefresh | Refresh in progress, please wait. | Refresh in progress, please wait. |
| 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.