UpdateInstanceResource
Updates a specified resource for 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 instance ID. You can obtain this ID by calling the ListInstances operation. |
pairec-cn-test1 |
| ResourceId |
string |
Yes |
The resource ID. |
reso-2s416t*** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| Uri |
string |
No |
The resource address. |
bucket-test-123 |
| Config |
string |
No |
The resource configuration. |
{} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
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.