All Products
Search
Document Center

Security Center:RefreshAssets

Last Updated:Sep 17, 2026

Synchronizes asset data.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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: cloud product

  • ecs: server

  • container_image: container image

cloud_product

CloudAssetType

integer

No

The type of cloud product. Valid values:

  • 0: cloud server

  • 1: load balancing

  • 3: ApsaraDB RDS database

  • 4: ApsaraDB for MongoDB database

  • 5: Tair (Redis® OSS-Compatible) database

  • 6: Container Registry

  • 8: container service for Kubernetes

  • 9: VPC

  • 11: ActionTrail

  • 12: CDN

  • 13: Certificate Management Service (formerly SSL Certificates Service)

  • 14: Apsara Devops

  • 15: access control

  • 16: Anti-DDoS

  • 17: Web application firewall

  • 18: OSS

  • 19: cloud-native relational database PolarDB

  • 20: ApsaraDB RDS for PostgreSQL database

  • 21: microservices engine

  • 22: file storage NAS

  • 23: Data Security Center

  • 24: EIP

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: Alibaba Cloud asset

  • 1: Non-cloud asset

  • 2: IDC asset

  • 3, 4, 5, 7: Third-party cloud asset

  • 8: Lightweight asset

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****

AssetTypeAssetSubTypeAssetNameAssetSubName
00ECSINSTANCE
01ECSDISK
02ECSSECURITY_GROUP
10SLBCLB
11SLBALB
30RDSINSTANCE
40MONGODBINSTANCE
50KVSTOREINSTANCE
61ACRREPOSITORY_ENTERPRISE
62ACRREPOSITORY_PERSON
80CSKCLUSTER
90VPCNAT_GATEWAY
91VPCEIP
92VPCVPN
110ACTIONTRAILTRIAL
120CDNINSTANCE
130CASCERTIFICATE
140RDCORGANIZATION
150RAMALIAS
151RAMUSER
152RAMPOLICY
153RAMGROUP
160DDoSINSTANCE
171WAFDOMAIN
180OSSBucket
190POLARDBCLUSTER
200POSTGRESQLINSTANCE
210MSECLUSTER
220NASFILE_SYSTEM
230SDDPINSTANCE
240EIPANYCAST_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.