Calls this operation to update resources.
Operation description
You can go to OpenAPI Explorer to view the documentation and try out Cloud Control API.
If resources fail to be updated at any time, the Cloud Control API does not roll the resource back to the original status.
The resource APIs cannot be rolled back. If the API operation is partially failed to be called, you can call the GetResource operation to view the latest status of the resource. If necessary, you can call the UpdateResource or DeleteResource operation to manually compensate for the failure.
Debugging
Authorization information
Request syntax
PUT /api/v1/providers/{provider}/products/{product}/resources/* HTTP/1.1
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| requestPath | string | Yes | The request path. Specify this parameter in the following format: /api/v1/providers/{provider}/products/{product}/resources/{resourceType}/{resourceId} Variables in the request path: provider: the Cloud service provider. Only Aliyun is supported. product: the code of the service. resourceType: the type of resources. If parent resource is specified, the format is {parent resource type code}/parent resource ID/{resource type code}. resourceId: the resource ID. | /api/v1/providers/Aliyun/products/Redis/resources/Instance/r-8vbf5abe31cxxxxx/Account/cctest |
| regionId | string | No | The region ID. This parameter is required if a cloud service is a regionalized. | cn-beijing |
| clientToken | string | No | The client token that is used to ensure the idempotence of the request. If a cloud service supports idempotence, the parameter takes effect. | 1e810dfe1468721d0664a49b9d9f74f4 |
| body | object | No | The request body. The property of the resource to be updated is specified in JSON format. | { "AccountPassword": "4321****", "Description": "cctest" } |
Response parameters
Examples
Sample success responses
JSONformat
{
"requestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****\n",
"taskId": "task-433aead756057fff8189a7ce5****\n"
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|
