Installs the cloud assistant client on one or more instances.

Debugging

You can use API Explorer to perform debugging. API Explorer allows you to perform various operations to simplify API usage. For example, you can retrieve APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Name Type Required Example Description
InstanceId.N RepeatList Yes InstanceID1

The ID of the instance. Valid values of N: 1 to 20.

RegionId String Yes cn-hangzhou

The ID of the region where the instance is located. You can call DescribeRegions to view the latest regions of Alibaba Cloud.

Action String No InstallCloudAssistant
The operation that you want to perform. Set the value to InstallCloudAssistant.
Note After you call InstallCloudAssistant and RebootInstance in sequence, the cloud assistant client takes effect.

Response parameters

Name Type Example Description
RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

The ID of the request.

Examples

Sample requests

https://ecs.aliyuncs.com/?Action=InstallCloudAssistant
&InstanceId.1=["i-bp11f7trr4hbi1xxxxxx", "i-bp1iudwa5b1tqaxxxxxx"]
&RegionId=cn-hangzhou 
&<Common request parameters>

Successful response examples

XML format

<DeleteInstanceResponse>
  <RequestId>928E2273-5715-46B9-A730-238DC996A533</RequestId>
</DeleteInstanceResponse>

JSON format

{
	"RequestId":"928E2273-5715-46B9-A730-238DC996A533"
}

Error codes

HTTP status code Error code Error message Description
500 InternalError.Dispatch An error occurred when you dispatched the request. The error message returned when an unknown error occurs.
404 InvalidInstance.NotFound The specified instance does not exist. The error message returned when the specified instance does not exist.

View error codes