Installs one or more Cloud Backup clients on a specified instance.
Operation description
Before you call this operation, make sure that you fully understand the Billable methods and pricing of Cloud Backup. For more information, see Billable methods and billable items.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:CreateClients |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| VaultId |
string |
Yes |
The ID of the backup vault. |
v-0001ufe******kgm |
| AlertSetting |
string |
No |
The alert settings. A value of INHERITED specifies that the alerting method of the backup vault is used. |
INHERITED |
| ClientInfo |
string |
No |
The client installation information. |
[ { "instanceId": "i-bp116lr******te9q2", "accessKeyId": "", "accessKeySecret": "", "clusterId": "cl-000csy09q******9rfz9", "sourceTypes": [ "HANA" ] }, { "instanceId": "i-bp116lrux******hte9q4", "accessKeyId": "", "accessKeySecret": "", "clusterId": "cl-000csy09q5094vw9rfz9", "sourceTypes": [ "HANA" ] }] |
| UseHttps |
boolean |
No |
Specifies whether to use HTTPS for data transmission. Valid values:
|
false |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-aekzvx7d3c4kpny |
| CrossAccountType |
string |
No |
The cross-account backup type. Valid values:
|
CROSS_ACCOUNT |
| CrossAccountUserId |
integer |
No |
The ID of the source account for cross-account backups managed by the current account. |
158975xxxxx4625 |
| CrossAccountRoleName |
string |
No |
The name of the RAM role created in the source account for cross-account backups managed by the current account. |
hbrcrossrole |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The return code. A value of 200 indicates success. |
200 |
| Message |
string |
The response message. The value is usually successful if the call succeeds. If an error occurs, the corresponding error message is returned. |
successful |
| RequestId |
string |
The ID of the request. |
4A8A9AE4-F798-5E6D-853E-10F9F5A1BD4E |
| TaskId |
string |
The ID of the asynchronous task. You can call DescribeTask to query the task result. |
t-000h9x5t02vhyksf1x7k |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
| InstanceStatuses |
object |
||
| InstanceStatus |
array<object> |
The ECS instance status. If the status of an ECS instance does not meet the requirements for client installation and the request contains more than one instance ID, this field returns the error message. |
|
|
object |
The ECS instance status. If the status of an ECS instance does not meet the requirements for client installation and the request contains more than one instance ID, this field returns the error message. |
||
| ValidInstance |
boolean |
Indicates whether a backup client can be installed on the ECS instance. Valid values:
|
true |
| InstanceId |
string |
The ECS instance ID. |
i-2zegp3cdu******uj9i |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "successful",
"RequestId": "4A8A9AE4-F798-5E6D-853E-10F9F5A1BD4E",
"TaskId": "t-000h9x5t02vhyksf1x7k",
"Success": true,
"InstanceStatuses": {
"InstanceStatus": [
{
"ValidInstance": true,
"InstanceId": "i-2zegp3cdu******uj9i"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.