- Documentation
Elastic Compute Service
Elastic Compute Service
API Reference
Cloud assistant
UpgradeCloudAssistants - Upgrades cloud assistant Agent
Cloud assistant
UpgradeCloudAssistants - Upgrades cloud assistant Agent
UpgradeCloudAssistants - Upgrades cloud assistant Agent
Call the UpgradeCloudAssistants operation to upgrade the cloud assistant Agent installed in ECS instances to the latest version.
Debugging
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
Request parameters
Only the request parameters specific to this operation and some common parameters are listed below. For more information, refer to Common parameters. Action string required Sample value: UpgradeCloudAssistants
The action that you want to perform. Value: UpgradeCloudAssistants.
Version string required Sample value: 2020-04-01
The version of the API. Valid value: 2020-04-01.
InstanceIds.N string[] required Sample value: InstanceIds.1=i-ervasv*****&InstanceIds.2=i-uihrdgh*****
The instance ID. Up to 50 instance IDs are supported. You can call the DescribeInstances operation to query and obtain the instance ID. - Argument - N: specifies the serial number of the instance.
- Multiple instance IDs are separated by &.
Response parameters
Only the response parameters specific to this operation are listed below. For more information, refer to the response structure. UpgradingInstanceIds string[] Sample value: \["i-ycm4ru8\*\*\*\*" \]
The ID list of instances for which upgrade requests are successfully submitted.
FailedInstances object[] Sample value: --
Information about the instance that failed to upgrade and meets the specified conditions.
Id string Sample value: i-yci89z1gpml8j1\*\*\*\*
The ID of the instance for which the installation fails.
ErrorMessage string Sample value: --
The failure information.
Id string Sample value: i-yci89z1gpml8j1\*\*\*\*
The ID of the instance for which the installation fails.
ErrorMessage string Sample value: --
The failure information.
Sample request
Sample response
Error codes
The table below lists the business-related error codes of the operation. For more information, refer to Common error codes.
Last updated: 2026.04.17 10:57:34