Updates an extension installed on an instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:UpdateInstancePackageState |
update |
*Template
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TemplateName |
string |
Yes |
The template name. |
ACS-ECS-InventoryDataCollection |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| InstanceId |
string |
Yes |
The ECS instance ID. |
i-bp1jaxa2bs4bps7***** |
| TemplateVersion |
string |
No |
The template version. |
v1 |
| ConfigureAction |
string |
Yes |
The operation. Valid values:
|
install |
| Parameters |
object |
No |
The parameters for installing or uninstalling the extension. |
{"username": "xx"} |
| ConfigurationInfo |
string |
No |
The extension configuration information. |
{\"publicUrl\": \"https://8.140.227.147:8888/a2d99671\", \"privateUrl\": \"https://172.17.144.28:8888/a2d99671\", \"username\": \"user\", \"password\": \"baotaVWIUA6Y\"}\n |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
2597E94B-5346-42D1-BB58-XXXXXXXXXXX |
Examples
Success response
JSON format
{
"RequestId": "2597E94B-5346-42D1-BB58-XXXXXXXXXXX"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.