Memanggil InstallCloudAssistant untuk menginstal Agen Asisten Cloud pada satu atau beberapa instans ECS. Anda harus memulai ulang instans untuk menyelesaikan penginstalan Agen Asisten Cloud.
Deskripsi operasi
Deskripsi
Setelah Anda memanggil operasi InstallCloudAssistant, panggil RebootInstance agar penginstalan Agen Asisten Cloud berlaku.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:InstallCloudAssistant |
update |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah instans. Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar wilayah Alibaba Cloud terbaru. |
cn-hangzhou |
| RegionId |
string |
Yes |
The region ID of the instance. You can call the DescribeRegions operation to query the most recent list of Alibaba Cloud regions. |
cn-hangzhou |
| InstanceId |
array |
Yes |
ID instans. Jumlah elemen dalam daftar berkisar antara 1 hingga 50. |
i-bp1iudwa5b1tqa**** |
|
string |
No |
ID instans. |
i-bp1iudwa5b1tqa**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
Contoh
Respons sukses
JSONformat
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
Respons error
JSONformat
{
"RequestId": "928E2273-5715-46B9-A730-238DC996A533"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RegionId.ApiNotSupported | The api is not supported in this region. | |
| 400 | MissingParam.InstanceId | The parameter instanceId is missing or empty. | |
| 500 | InternalError.Dispatch | An error occurred when you dispatched the request. | |
| 403 | InstanceIds.ExceedLimit | The number of instance IDs exceeds the upper limit. | |
| 403 | Operation.Forbidden | The operation is not permitted. | |
| 403 | InvalidInstanceId.OSTypeUnsupported | The OS type of the instance %s corresponding to the parameter InstanceId does not support the operation. | |
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | |
| 404 | InvalidInstance.NotFound | The specified instance does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.