All Products
Search
Document Center

Cloud Backup:DescribeBackupClients

Last Updated:Mar 03, 2024

Queries the information about one or more HBR clients that meet the specified conditions.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
PageNumberintegerNo

The number of the page to return. Pages start from page 1. Default value: 1.

1
PageSizeintegerNo

The number of entries to return on each page. Valid values: 1 to 99. Default value: 10.

10
ClientTypestringYes

The type of the HBR client. Valid values:

  • ECS_CLIENT: HBR client for Elastic Compute Service (ECS) file backup
  • CONTAINER_CLIENT: HBR client for container backup
ECS_CLIENT
ClusterIdstringNo

The ID of the cluster for the backup.

cl-000ge4wa61b4d337xblq
ClientIdsarrayNo

The IDs of HBR clients.

stringNo

The ID of the HBR client.

c-*********************
InstanceIdsarrayNo

The IDs of ECS instances.

stringNo

The ID of the ECS instance.

i-*********************
Tagobject []No

The tags.

33738719#
KeystringNo

The tag key of the backup vault. Valid values of N: 1 to 20.

  • The tag key cannot start with aliyun or acs:.
  • The tag key cannot contain http:// or https://.
  • The tag key cannot be an empty string.
TestKey
ValuestringNo

The tag value of the backup vault. Valid values of N: 1 to 20.

  • The tag value cannot start with aliyun or acs:.
  • The tag value cannot contain http:// or https://.
  • The tag value cannot be an empty string.
TestValue
CrossAccountTypestringNo

Specifies whether data is backed up within the same Alibaba Cloud account or across Alibaba Cloud accounts. Valid values:

  • SELF_ACCOUNT: Data is backed up within the same Alibaba Cloud account.
  • CROSS_ACCOUNT: Data is backed up across Alibaba Cloud accounts.
CROSS_ACCOUNT
CrossAccountUserIdlongNo

The ID of the source Alibaba Cloud account that authorizes the current Alibaba Cloud account to back up data across Alibaba Cloud accounts.

129374672382xxxx
CrossAccountRoleNamestringNo

The name of the RAM role that is created within the source Alibaba Cloud account and assigned to the current Alibaba Cloud account to authorize the current Alibaba Cloud account to back up data across Alibaba Cloud accounts.

hbrcrossrole

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
Successboolean

Indicates whether the call is successful. Valid values:

  • true: The call is successful.
  • false: The call fails.
true
Codestring

The HTTP status code. The status code 200 indicates that the call is successful.

200
Messagestring

The message that is returned. If the call is successful, "successful" is returned. If the call fails, an error message is returned.

successful
PageNumberinteger

The page number of the returned page. Pages start from page 1. Default value: 1.

1
PageSizeinteger

The number of entries returned on each page. Valid values: 1 to 99. Default value: 10.

10
TotalCountlong

The total number of returned HBR clients that meet the specified conditions.

8
Clientsobject []

The HBR clients.

{'Client': []}
Statusstring

The status of the HBR client. Valid values:

  • REGISTERED: The HBR client is registered.
  • ACTIVATED: The HBR client is enabled.
  • DEACTIVATED: The HBR client fails to be enabled.
  • INSTALLING: The HBR client is being installed.
  • INSTALL_FAILED: The HBR client fails to be installed.
  • NOT_INSTALLED: The HBR client is not installed.
  • UPGRADING: The HBR client is being upgraded.
  • UPGRADE_FAILED: The HBR client fails to be upgraded.
  • UNINSTALLING: The HBR client is being uninstalled.
  • UNINSTALL_FAILED: The HBR client fails to be uninstalled.
  • STOPPED: The HBR client is out of service.
  • UNKNOWN: The HBR client is disconnected.
ACTIVATED
BackupStatusstring

The protection status of the HBR client. Valid values:

  • UNPROTECTED: The HBR client is not protected.
  • PROTECTED: The HBR client is protected.
PROTECTED
ArchTypestring

This parameter is valid only if the ClientType parameter is set to ECS_CLIENT. This parameter indicates the system architecture where the HBR client resides. Valid values:

  • amd64
  • 386
amd64
ClientIdstring

The ID of the HBR client.

c-*********************
MaxClientVersionstring

The latest version number of the HBR client.

2.4.5
PrivateIpV4string

This parameter is valid only if the ClientType parameter is set to ECS_CLIENT. This parameter indicates the internal IP address of the ECS instance.

192.168.1.1
InstanceNamestring

This parameter is valid only if the ClientType parameter is set to ECS_CLIENT. This parameter indicates the name of the ECS instance.

instancename
CreatedTimelong

The time when the HBR client was created. The value is a UNIX timestamp. Unit: seconds.

1554347313
LastHeartBeatTimelong

The last heartbeat time of the HBR client. The value is a UNIX timestamp. Unit: seconds.

1554347313
ClientTypestring

The type of the HBR client. Valid value: ECS_CLIENT, which indicates an HBR client for ECS file backup.

ECS_CLIENT
Hostnamestring

The hostname of the HBR client.

hostname
InstanceIdstring

The ID of the instance.

  • If the HBR client is used to back up ECS files, this parameter indicates the ID of an ECS instance.
  • If the HBR client is used to back up on-premises files, this parameter indicates the hardware fingerprint that is generated based on the system information.
i-*********************
Applianceboolean

Indicates whether the HBR client is installed on an all-in-one PC that integrates hardware and monitoring program. Valid values:

  • true: The HBR client is installed on an all-in-one PC that integrates hardware and monitoring program.
  • false: The HBR client is not installed on an all-in-one PC that integrates hardware and monitoring program.
false
UpdatedTimelong

The time when the HBR client was updated. The value is a UNIX timestamp. Unit: seconds.

1554347313
OsTypestring

This parameter is valid only if the ClientType parameter is set to ECS_CLIENT. This parameter indicates the operating system type of the HBR client. Valid values:

  • windows
  • linux
linux
ZoneIdstring

This parameter is valid only if the ClientType parameter is set to ECS_CLIENT. This parameter indicates the zone of the HBR client.

cn-hangzhou-f
ClientVersionstring

The version number of the HBR client.

2.4.5
Tagsobject []

The tag information.

Keystring

The tag key of the backup vault. Valid values of N: 1 to 20.

  • The tag key cannot start with aliyun or acs:.
  • The tag key cannot contain http:// or https://.
  • The tag key cannot be an empty string.
TestKey
Valuestring

The tag value of the backup vault. Valid values of N: 1 to 20.

  • The tag value cannot start with aliyun or acs:.
  • The tag value cannot contain http:// or https://.
  • The tag value cannot be an empty string.
TestValue
Settingsobject

The configuration information of the HBR client.

ProxyHoststring

The custom host IP address of the proxy server on the data plane.

192.168.11.100
MaxCpuCorestring

The number of CPU cores used by a single backup job. The value 0 indicates that the number is unlimited.

1
ProxyPortinteger

The custom host port of the proxy server on the data plane.

3128
UseHttpsstring

Indicates whether data on the data plane is transmitted over HTTPS. Valid values:

  • true: Data is transmitted over HTTPS.
  • false: Data is transmitted over HTTP.
false
ProxyPasswordstring

The custom password of the proxy server on the data plane.

******
ProxyUserstring

The custom username of the proxy server on the data plane.

user
DataProxySettingstring

The proxy configuration on the data plane. Valid values:

  • DISABLE: The proxy is not used.
  • **USE_CONTROL_PROXY ** (default value): The configuration is the same as that on the control plane.
  • CUSTOM: The configuration is customized (HTTP).
USE_CONTROL_PROXY
DataNetworkTypestring

The type of the endpoint on the data plane. Valid values:

  • PUBLIC: Internet
  • VPC: virtual private cloud (VPC)
  • CLASSIC: classic network
VPC
MaxWorkerstring

The number of concurrent backup jobs. The value 0 indicates that the number is unlimited.

1

Examples

Sample success responses

JSONformat

{
  "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"
      }
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-08-08The response structure of the API has changedsee changesets
Change itemChange content
Output ParametersThe response structure of the API has changed.
2023-07-31The response structure of the API has changedsee changesets
Change itemChange content
Output ParametersThe response structure of the API has changed.