Queries information about restorable OceanBase Database tenants.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| InstanceId | string | Yes | The ID of the OceanBase cluster. | ob317v4uif**** |
| IsRemote | boolean | No | This parameter is provided for compatibility with earlier versions and can be left empty. | true |
| SetId | string | No | The ID of the backup set. | bak-xxxxx |
| RestoreMode | string | No | The restore method. This parameter is required when Enumeration Value:
| from_time_point |
| Method | string | No | The backup method. Enumeration Value:
| native_logical |
| IsOnline | boolean | No | 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 | true |
| RestoreObjectType | string | No | The type of the restore object. Enumeration Value:
| tenant |
Response parameters
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 time | Summary of changes | Operation |
|---|---|---|
| 2024-09-02 | The response structure of the API has changed | View Change Details |
