All Products
Search
Document Center

ApsaraDB for OceanBase (Deprecated):DescribeRestorableTenants

Last Updated:Jan 13, 2026

Queries information about restorable OceanBase Database tenants.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
InstanceIdstringYes

The ID of the OceanBase cluster.

ob317v4uif****
IsRemotebooleanNo

This parameter is provided for compatibility with earlier versions and can be left empty.

true
SetIdstringNo

The ID of the backup set.

bak-xxxxx
RestoreModestringNo

The restore method. This parameter is required when IsRemote is set to true, and is optional otherwise.

Enumeration Value:
  • from_backup_set
  • from_time_point
from_time_point
MethodstringNo

The backup method.

Enumeration Value:
  • logical
  • physical
  • native_logical
native_logical
IsOnlinebooleanNo

Specifies whether the target cluster is online.

Note This parameter is used for compatibility with earlier versions and can be left empty. When left empty, it specifies negation for the value of isRemote.

true
RestoreObjectTypestringNo

The type of the restore object.

Enumeration Value:
  • cluster
  • tenant
  • database
  • table
  • serverless
tenant

Response parameters

ParameterTypeDescriptionExample
object

The return result of the request.

TotalCountinteger

The total number.

6
RequestIdstring

The request ID.

EE205C00-30E4-****-****-87E3A8A2AA0C
Tenantsarray<object>

The information about the tenants.

Dataobject

The list of tenant information.

TenantNamestring

The name of the tenant.

sbtest1
Methodstring

The backup method.

logical
TenantIdstring

The ID of the tenant.

ob317v4uif****
TimeIntervalListarray<object>

The list of restorable periods of the tenant.

TimeIntervalListobject

Information about the restorable periods.

StartTimestring

The start time of the restorable period.

2023-01-20T16:00:00Z
EndTimestring

The end time of the restorable period.

2023-03-13T02:43:03Z
FromArchiveboolean

Indicates whether the restore is based on archiving.

true
StorageTypestring

The storage type of backup data.

standard
ClusterIdstring

The ID of the cluster.

objnf3b2****
ObRpmVersionstring

The version of the OceanBase Database RPM package.

3.2.3.1-2022080510****
ObVersionstring

The major version of OceanBase Database.

3.2.3.1
SourceRegionstring

The region of the cluster.

cn-hangzhou
TenantAliasstring

The alias of the tenant.

aaa
CpuNumlong

The number of CPU cores.

1
MemoryNumlong

The size of memory for the tenant.

100
BackupBucketNamestring

The name of the backup directory.

backup
ObTenantIdstring

The ID of the tenant.

tvd43v****
ClusterNamestring

The name of the cluster.

testCluster
BackupSetsarray<object>

The list of backup sets.

BackupSetsobject

The information about the backupsets.

Checkpointstring

The checkpoint of the backup set.

2024-01-01'T'12:10:10.000'Z'
SetIdstring

The ID of the backup set.

bak-xxxxx
BackupSetIdstring

The ID of the full backup set used for restore.

bak-4n****gacpa8
TenantIdstring

The ID of the tenant.

t5********
UsedDisklong

The size of disk space for the tenant.

50
UnitNumlong

The number of nodes of the tenant.

2
TenantModeinteger

The mode of the tenant.

Oracle
TenantDataBackupRemainDaysinteger

The remaining validity period, in days, of the backup data of the tenant.

7

Examples

Sample success responses

JSONformat

{
  "TotalCount": 6,
  "RequestId": "EE205C00-30E4-****-****-87E3A8A2AA0C",
  "Tenants": [
    {
      "TenantName": "sbtest1",
      "Method": "logical",
      "TenantId": "ob317v4uif****",
      "TimeIntervalList": [
        {
          "StartTime": "2023-01-20T16:00:00Z",
          "EndTime": "2023-03-13T02:43:03Z",
          "FromArchive": true,
          "StorageType": "standard"
        }
      ],
      "ClusterId": "objnf3b2****",
      "ObRpmVersion": "3.2.3.1-2022080510****",
      "ObVersion": "3.2.3.1",
      "SourceRegion": "cn-hangzhou",
      "TenantAlias": "aaa",
      "CpuNum": 1,
      "MemoryNum": 100,
      "BackupBucketName": "backup",
      "ObTenantId": "tvd43v****",
      "ClusterName": "testCluster",
      "BackupSets": [
        {
          "Checkpoint": "2024-01-01'T'12:10:10.000'Z'",
          "SetId": "bak-xxxxx",
          "BackupSetId": "bak-4n****gacpa8",
          "TenantId": "t5********"
        }
      ],
      "UsedDisk": 50,
      "UnitNum": 2,
      "TenantMode": 0,
      "TenantDataBackupRemainDays": 7
    }
  ]
}

Error codes

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

Change history

Change timeSummary of changesOperation
2024-09-02The response structure of the API has changedView Change Details