Synchronizes the details of an asset.

Note You can call the RefreshAssets operation only once within a minute. If the limit is exceeded, throttling occurs.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes RefreshAssets

The operation that you want to perform.

Set the value to RefreshAssets.

AssetType String No cloud_product

The type of the asset that you want to synchronize.

  • cloud_product: an Alibaba Cloud service
  • ecs: an Elastic Compute Service (ECS) instance

Response parameters

Parameter Type Example Description
RequestId String 340D7FC4-D575-1661-8ACD-CFA7BE57B795

The ID of the request, which is used to locate and troubleshoot issues.

Examples

Sample requests

http(s)://[Endpoint]/?Action=RefreshAssets
&<Common request parameters>

Sample success responses

XML format

<RefreshAssetsResponse>
  <RequestId>340D7FC4-D575-1661-8ACD-CFA7BE57B795</RequestId>
</RefreshAssetsResponse>

JSON format

{
    "RequestId": "340D7FC4-D575-1661-8ACD-CFA7BE57B795"
}

Error codes

For a list of error codes, visit the API Error Center.