Synchronizes assets.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
yundun-sas:RefreshAssets | none | *All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
AssetType | string | No | The type of the asset that you want to synchronize. Valid values:
| cloud_product |
CloudAssetType | integer | No | The type of the cloud service. Valid values:
| 0 |
CloudAssetSubType | integer | No | The subtype of the cloud service. Note
The following list describes the subtypes of cloud services.
| 0 |
Vendor | integer | No | The type of the server. Valid values:
| 0 |
| Cloud asset type | Cloud service subtype | Service name | Sub-service name | :---- :| : ----: | :----: | : ---- : | 0 | 0 | ECS | Instance 0 | 1 | Disk (storage) | Disk (storage) 0 | 2 | Security group | Security group 1 | 0 | SLB | SLB 1 | 1 | SLB | ALB 3 | 0 | ApsaraDB RDS | Instance 4 | 0 | MongoDB | Instance 5 | 0 | Redis | Instance 6 | 1 | Container Registry | Enterprise Edition 6 | 2 | Container Registry | Personal Edition 8 | 0 | ACK | Cluster 9 | 0 | VPC | NAT gateway 9 | 1 | VPC | EIP 9 | 2 | VPC | VPN 11 | 0 | ActionTrail | Tracking 12 | 0 | CDN | Instance 13 | 0 | Certificate Management Service (formerly SSL Certificates Service) | Certificate 14 | 0 | Apsara Devops | Organization 15 | 0 | RAM | Account alias 15 | 1 | RAM | User 15 | 2 | RAM | Policy 15 | 3 | RAM | Group 16 | 0 | Anti-DDoS | Instance 17 | 1 | WAF | Domain name 18 | 0 | OSS | Bucket 19 | 0 | PolarDB | Cluster 20 | 0 | ApsaraDB RDS for PostgreSQL | Instance 21 | 0 | MSE | Cluster 22 | 0 | NAS | File system 23 | 0 | DSC | Instance 24 | 0 | EIP | Anycast EIP
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "340D7FC4-D575-1661-8ACD-CFA7BE57B795"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | DuplicatedRefresh | Duplicated refresh | - |
400 | NoPermission | no permission | - |
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-09-20 | The Error code has changed. The request parameters of the API has changed | View Change Details |