UpdateInstanceResource
Updates the information of a specified resource in a specified instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pairec:UpdateInstanceResource |
update |
*All Resource
|
None | None |
Request syntax
PUT /api/v1/instances/{InstanceId}/resources/{ResourceId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. You can call the ListInstances operation to query the instance ID. |
pairec-cn-test1 |
| ResourceId |
string |
Yes |
The ID of the resource. |
reso-2s416t*** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request struct. |
|
| Uri |
string |
No |
The URI of the resource. |
bucket-test-123 |
| Config |
string |
No |
The resource configuration information. |
{} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
3AAA45F6-0798-5461-9360-81D133823CE7 |
Examples
Success response
JSON format
{
"RequestId": "3AAA45F6-0798-5461-9360-81D133823CE7"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.