Retrieves information about one or more backup clients that meet the specified conditions.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:DescribeBackupClients |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
The page number. Pages start from 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Minimum value: 1. Maximum value: 99. Default value: 10. |
10 |
| ClientType |
string |
Yes |
The type of the backup client. Valid values:
Valid values:
|
ECS_CLIENT |
| ClusterId |
string |
No |
The ID of the backup cluster. |
cl-000ge4wa61b4d337xblq |
| ClientIds |
array |
No |
The list of backup client IDs. |
["c-*********************"] |
|
string |
No |
The ID of the backup client. |
c-********************* |
|
| InstanceIds |
array |
No |
The list of ECS instance IDs. |
["i-*********************"] |
|
string |
No |
The instance ID of the ECS instance. |
i-********************* |
|
| Tag |
array<object> |
No |
The tag information to return. |
33738719# |
|
object |
No |
The tag information. |
||
| Key |
string |
No |
The tag key of the backup vault. Valid values of N: 1 to 20.
|
TestKey |
| Value |
string |
No |
The tag value of the backup vault. Valid values of N: 1 to 20.
|
TestValue |
| CrossAccountType |
string |
No |
The type of cross-account backup. Valid values:
|
CROSS_ACCOUNT |
| CrossAccountUserId |
integer |
No |
The ID of the source account used for cross-account backup. |
129374672382xxxx |
| CrossAccountRoleName |
string |
No |
The name of the RAM role created in the source account for cross-account backup. |
hbrcrossrole |
| Filters |
array<object> |
No |
The query filters. |
|
|
object |
No |
The query filters. |
||
| Key |
string |
No |
The key of the query filter. |
InstanceId |
| Values |
array |
No |
The values to match in the query filter. |
|
|
string |
No |
The values to match in the query filter. |
i-********************* |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| Success |
boolean |
Indicates whether the request was successful.
|
true |
| Code |
string |
The response code. 200 indicates success. |
200 |
| Message |
string |
The returned message. The value "successful" is returned for successful requests. An error message is returned for failed requests. |
successful |
| PageNumber |
integer |
The page number. Pages start from 1. Default value: 1. |
1 |
| PageSize |
integer |
The number of entries per page. Minimum value: 1. Maximum value: 99. Default value: 10. |
10 |
| TotalCount |
integer |
The total number of backup clients that meet the specified conditions. |
8 |
| Clients |
array<object> |
The list of backup clients. |
{'Client': []} |
|
array<object> |
|||
| Status |
string |
The status of the backup client. Valid values:
|
ACTIVATED |
| BackupStatus |
string |
The protection status of the backup client. Valid values:
|
PROTECTED |
| ArchType |
string |
This parameter is valid only when ClientType is set to ECS_CLIENT. The system architecture of the backup client. Valid values:
|
amd64 |
| ClientId |
string |
The ID of the backup client. |
c-********************* |
| MaxClientVersion |
string |
The latest version number of the backup client. |
2.4.5 |
| PrivateIpV4 |
string |
This parameter is valid only when ClientType is set to ECS_CLIENT. The internal IP address of the ECS instance. |
192.168.1.1 |
| InstanceName |
string |
This parameter is valid only when ClientType is set to ECS_CLIENT. The name of the ECS instance. |
instancename |
| CreatedTime |
integer |
The time when the backup client was created. This value is a UNIX timestamp. Unit: seconds. |
1554347313 |
| LastHeartBeatTime |
integer |
The time of the last heartbeat of the backup client. This value is a UNIX timestamp. Unit: seconds. |
1554347313 |
| ClientType |
string |
The type of the backup client. The value ECS_CLIENT indicates an ECS File Backup client. |
ECS_CLIENT |
| Hostname |
string |
The hostname of the backup client. |
hostname |
| InstanceId |
string |
The instance ID.
|
i-********************* |
| Appliance |
boolean |
Indicates whether the client is a hardware monitoring appliance client.
|
false |
| UpdatedTime |
integer |
The time when the backup client was last updated. This value is a UNIX timestamp. Unit: seconds. |
1554347313 |
| OsType |
string |
This parameter is valid only when ClientType is set to ECS_CLIENT. The operating system type of the client. Valid values:
|
linux |
| ZoneId |
string |
This parameter is valid only when ClientType is set to ECS_CLIENT. The zone ID. |
cn-hangzhou-f |
| ClientVersion |
string |
The version number of the backup client. |
2.4.5 |
| Tags |
array<object> |
The tag information. |
|
|
object |
|||
| Key |
string |
The tag key of the repository. N can be an integer from 1 to 20.
|
TestKey |
| Value |
string |
The tag value of the repository. N can be an integer from 1 to 20.
|
TestValue |
| Settings |
object |
The configuration information of the backup client. |
|
| ProxyHost |
string |
The IP address of the custom proxy server for the data plane. |
192.168.11.100 |
| MaxCpuCore |
string |
The number of CPU cores that are used by a single backup job. A value of 0 indicates that the number of CPU cores is not limited. |
1 |
| ProxyPort |
integer |
The port number of the custom proxy server for the data plane. |
3128 |
| UseHttps |
string |
Indicates whether data is transmitted over HTTPS on the data plane.
|
false |
| ProxyPassword |
string |
The password for the custom proxy server for the data plane. |
****** |
| ProxyUser |
string |
The username for the custom proxy server for the data plane. |
user |
| DataProxySetting |
string |
The proxy settings for the data plane. Valid values:
|
USE_CONTROL_PROXY |
| DataNetworkType |
string |
The network type of the data plane. Valid values:
|
VPC |
| MaxWorker |
string |
The number of concurrent backup jobs. A value of 0 indicates that the number of concurrent backup jobs is not limited. |
1 |
| MaxMemory |
integer |
The maximum memory that the client can use. Unit: bytes. This parameter is supported only for client versions 2.13.0 and later. |
0 |
| AlertOnPartialComplete |
boolean |
Indicates whether to generate an alert for partially completed jobs. This parameter is valid only for local file backup and ECS file backup. |
false |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"Success": true,
"Code": "200",
"Message": "successful",
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 8,
"Clients": [
{
"Status": "ACTIVATED",
"BackupStatus": "PROTECTED",
"ArchType": "amd64",
"ClientId": "c-*********************",
"MaxClientVersion": "2.4.5",
"PrivateIpV4": "192.168.1.1",
"InstanceName": "instancename",
"CreatedTime": 1554347313,
"LastHeartBeatTime": 1554347313,
"ClientType": "ECS_CLIENT",
"Hostname": "hostname",
"InstanceId": "i-*********************",
"Appliance": false,
"UpdatedTime": 1554347313,
"OsType": "linux",
"ZoneId": "cn-hangzhou-f",
"ClientVersion": "2.4.5",
"Tags": [
{
"Key": "TestKey",
"Value": "TestValue"
}
],
"Settings": {
"ProxyHost": "192.168.11.100",
"MaxCpuCore": "1",
"ProxyPort": 3128,
"UseHttps": "false",
"ProxyPassword": "******",
"ProxyUser": "user",
"DataProxySetting": "USE_CONTROL_PROXY",
"DataNetworkType": "VPC",
"MaxWorker": "1",
"MaxMemory": 0,
"AlertOnPartialComplete": false
}
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.