DescribeBackupClients

Updated at:

Queries the details of one or more backup clients that meet the specified conditions.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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. Valid values: 1 to 99. Default value: 10.

10

ClientType

string

Yes

The type of the backup client. Valid values:

  • ECS_CLIENT: ECS file backup client.

  • CONTAINER_CLIENT: container backup client.

  • LOCAL_CLIENT: local NAS backup, CPFS backup, archiving, or data synchronization client.

Valid values:

  • CONTAINER_CLIENT :

    CONTAINER_CLIENT

  • LOCAL_CLIENT :

    LOCAL_CLIENT

  • ECS_CLIENT :

    ECS_CLIENT

ECS_CLIENT

ClusterId

string

No

The ID of the backup cluster.

cl-000ge4wa61b4d337xblq

ClientIds

array

No

The IDs of the backup clients.

["c-*********************"]

string

No

The ID of the backup client.

c-*********************

InstanceIds

array

No

The ECS instance IDs.

["i-*********************"]

string

No

The ECS instance ID.

i-*********************

Tag

array<object>

No

The tag information.

33738719#

object

No

The tag information.

Key

string

No

The tag key of the 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

Value

string

No

The tag value of the 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

CrossAccountType

string

No

The cross-account backup type. Valid values:

  • SELF_ACCOUNT: same-account backup.

  • CROSS_ACCOUNT: cross-account backup.

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 in 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 is successful. Valid values:

  • true: The request is successful.

  • false: The request fails.

true

Code

string

The return code. A value of 200 indicates success.

200

Message

string

The return message. If the request is successful, "successful" is returned. If the request fails, an error message is returned.

successful

PageNumber

integer

The page number. Pages start from 1. Default value: 1.

1

PageSize

integer

The number of entries per page. Valid values: 1 to 99. Default value: 10.

10

TotalCount

integer

The total number of backup clients that meet the query conditions.

8

Clients

array<object>

The backup clients.

{'Client': []}

array<object>

Status

string

The status of the backup client. Valid values:

  • REGISTERED: registered

  • ACTIVATED: activated

  • DEACTIVATED: deactivated

  • INSTALLING: installing

  • INSTALL_FAILED: installation failed

  • NOT_INSTALLED: not installed

  • UPGRADING: upgrading

  • UPGRADE_FAILED: upgrade failed

  • UNINSTALLING: uninstalling

  • UNINSTALL_FAILED: uninstallation failed

  • STOPPED: client service stopped

  • UNKNOWN: client disconnected

ACTIVATED

BackupStatus

string

The protection status of the backup client. Valid values:

  • UNPROTECTED: unprotected

  • PROTECTED: protected

PROTECTED

ArchType

string

The system architecture of the backup client. This parameter is valid only when ClientType is set to ECS_CLIENT. Valid values:

  • amd64

  • 386

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

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

192.168.1.1

InstanceName

string

The name of the ECS instance. This parameter is valid only when ClientType is set to ECS_CLIENT.

instancename

CreatedTime

integer

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

1554347313

LastHeartBeatTime

integer

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

1554347313

ClientType

string

The type of the backup client. A value of ECS_CLIENT indicates an ECS file backup client.

ECS_CLIENT

Hostname

string

The hostname of the host where the backup client resides.

hostname

InstanceId

string

The instance ID.

  • If the client type is ECS file backup client, this parameter indicates the ECS instance ID.

  • If the client type is local file backup client, this parameter indicates the hardware fingerprint generated based on system information.

i-*********************

Appliance

boolean

Indicates whether the client is a hardware monitoring all-in-one client. Valid values:

  • true: The client is a hardware monitoring all-in-one client.

  • false: The client is not a hardware monitoring all-in-one client.

false

UpdatedTime

integer

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

1554347313

OsType

string

The operating system type of the client. This parameter is valid only when ClientType is set to ECS_CLIENT. Valid values:

  • windows

  • linux

linux

ZoneId

string

The region. This parameter is valid only when ClientType is set to ECS_CLIENT.

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 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

Value

string

The tag value of the 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

Settings

object

The configuration information of the backup client.

ProxyHost

string

The IP address of the custom data plane proxy server.

192.168.11.100

MaxCpuCore

string

The number of CPU cores used by a single backup job. A value of 0 indicates no limit.

1

ProxyPort

integer

The port of the custom data plane proxy server.

3128

UseHttps

string

Indicates whether to use HTTPS to transmit data plane data. Valid values:

  • true: HTTPS is used.

  • false: HTTP is used.

false

ProxyPassword

string

The password of the custom data plane proxy server.

******

ProxyUser

string

The username of the custom data plane proxy server.

user

DataProxySetting

string

The data plane proxy settings. Valid values:

  • DISABLE: no proxy

  • USE_CONTROL_PROXY (default): same as the control plane configuration

  • CUSTOM: custom configuration (HTTP protocol)

USE_CONTROL_PROXY

DataNetworkType

string

The type of the data plane access point. Valid values:

  • PUBLIC: public network

  • VPC: VPC

  • CLASSIC: classic network

VPC

MaxWorker

string

The number of concurrent workers for a single backup job. A value of 0 indicates no limit.

1

MaxMemory

integer

The maximum memory that the client can use. Unit: bytes. This parameter is supported only in version 2.13.0 and later.

0

AlertOnPartialComplete

boolean

Indicates whether to trigger an alert for partially completed jobs. This parameter takes effect only for local file backup and ECS File Backup Standard Edition.

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.