UpdateResources
Updates the resource list. When you call this operation, an asynchronous task is triggered to update your resource list and data protection score.
Try it now
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
bdrc:UpdateResources | none | *All Resource
| None | None |
Request syntax
POST /api/v1/resources/update HTTP/1.1Request parameters
Parameter | Type | Required | Description | Example |
ResourceType | string | No | The resource type. If this parameter is not specified, all types of resources are updated. | ACS::ECS::Instance |
Response elements
Element | Type | Description | Example |
object | |||
| Data | object | The returned data. | |
TaskId | string | The unique identity of the asynchronous task. | t-bp1ewftyzmeg3bl4dtd2 |
RequestId | string | The unique identity of the request. | 5B2F09BF-CEBD-5A7E-AC01-E7F86169A5E5 |
Examples
Success response
JSON format
{
"Data": {
"TaskId": "t-bp1ewftyzmeg3bl4dtd2"
},
"RequestId": "5B2F09BF-CEBD-5A7E-AC01-E7F86169A5E5"
}Error codes
See for a complete list.
Release notes
See 变更详情 for a complete list.