Memasang klien cadangan pada satu atau beberapa Instance ECS.
Deskripsi operasi
-
This operation creates a background asynchronous task. The task uses Cloud Assistant to install backup clients on ECS instances.
-
Call the DescribeTask operation to get the task result.
-
The task timeout is 15 minutes. After the task is created, wait 60 seconds before making the first query. Then, query the result every 30 seconds.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:InstallBackupClients |
update |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceIds |
object |
Yes |
ID Instance ECS. Anda dapat menentukan maksimal 20 ID instans. |
["i-0xi5wj5*****v3j3bh2gj5"] |
| CrossAccountType |
string |
No |
Tipe cadangan lintas akun. Nilai valid:
|
CROSS_ACCOUNT |
| CrossAccountUserId |
integer |
No |
ID akun sumber yang digunakan untuk cadangan lintas akun. |
16392782xxxxxx |
| CrossAccountRoleName |
string |
No |
Nama Peran RAM yang dibuat di akun sumber untuk cadangan lintas akun. |
BackupRole |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The return code. A value of 200 indicates that the operation is successful. |
200 |
| Message |
string |
The message that is returned. If the request is successful, successful is returned. If the request fails, an error message is returned. |
successful |
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| TaskId |
string |
The ID of the asynchronous task. Call the DescribeTask operation to query the task result. |
t-********************* |
| Success |
boolean |
Indicates whether the request is successful.
|
true |
| InstanceStatuses |
array<object> |
The status of the ECS instances. |
|
|
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.