Updates the state of 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 name of the template. | ACS-ECS-InventoryDataCollection |
RegionId | string | No | The region ID. | cn-hangzhou |
InstanceId | string | Yes | The ID of the ECS instance. | i-bp1jaxa2bs4bps7***** |
TemplateVersion | string | No | The version of the template. | v1 |
ConfigureAction | string | Yes | The operation to perform on the extension. Valid values:
| install |
Parameters | object | No | The parameters for installing or uninstalling the extension. | {"username": "xx"} |
ConfigurationInfo | string | No | The configuration information for the extension. | {\"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.