Menguninstall Klien Cloud Backup dari satu atau beberapa Instance ECS.
Deskripsi operasi
This operation creates an asynchronous job at the backend and calls Cloud Assistant to uninstall a backup client from an ECS instance.
You can call the DescribeTask operation to query the execution result of an asynchronous job.
The timeout period of an asynchronous job is 15 minutes. We recommend that you call the DescribeTask operation to run the first query 30 seconds after you call the UninstallBackupClients operation to uninstall backup clients. Then, run the next queries at an interval of 30 seconds.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:UninstallBackupClients |
update |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceIds |
object |
No |
ID Instance ECS. Anda dapat menentukan maksimal 20 Instance ECS. |
["i-0xi5wj5*****v3j3bh2gj5"] |
| ClientIds |
object |
No |
ID Klien Cloud Backup. Jumlah ID Klien Cloud Backup dan ID Instance ECS tidak boleh melebihi 20. Jika tidak, akan terjadi error. |
["c-*********************"] |
| CrossAccountType |
string |
No |
Apakah akan mencadangkan dan memulihkan data dalam akun Alibaba Cloud yang sama atau lintas akun Alibaba Cloud. Nilai valid:
|
CROSS_ACCOUNT |
| CrossAccountUserId |
integer |
No |
ID akun Alibaba Cloud sumber yang mengizinkan akun Alibaba Cloud saat ini untuk mencadangkan dan memulihkan data lintas akun Alibaba Cloud. |
129349237xxxxx |
| CrossAccountRoleName |
string |
No |
Nama Peran RAM yang dibuat dalam akun Alibaba Cloud sumber dan ditetapkan ke akun Alibaba Cloud saat ini untuk mengizinkan akun Alibaba Cloud saat ini mencadangkan dan memulihkan data lintas akun Alibaba Cloud. |
BackupRole |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The HTTP status code. The status code 200 indicates that the request is successful. |
200 |
| Message |
string |
The message that is returned. If the request is successful, a value of successful is returned. If the request fails, an error message is returned. |
successful |
| RequestId |
string |
The ID of the request. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| TaskId |
string |
The ID of the asynchronous job. You can call the DescribeTask operation to query the execution result of the asynchronous job. |
t-********************* |
| Success |
boolean |
Indicates whether the request is successful.
|
true |
| InstanceStatuses |
array<object> |
The status of the ECS instance. |
|
|
object |
|||
| ValidInstance |
boolean |
Indicates whether a backup client can be installed on the ECS instance.
|
true |
| InstanceId |
string |
The ID of the ECS instance. |
i-0xi5w***v3j3bh2gj5 |
| ErrorCode |
string |
The error code. Valid values:
|
InstanceNotExists |
Contoh
Respons sukses
JSONformat
{
"Code": "200",
"Message": "successful",
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"TaskId": "t-*********************",
"Success": true,
"InstanceStatuses": [
{
"ValidInstance": true,
"InstanceId": "i-0xi5w***v3j3bh2gj5",
"ErrorCode": "InstanceNotExists"
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.