数据仓库服务 GaussDB(DWS)-查询集群快照列表:响应参数

时间:2023-11-01 16:20:35

响应参数

状态码: 200

表3 响应Body参数

参数

参数类型

描述

snapshots

Array of Snapshots objects

快照对象列表。

count

Integer

快照对象列表总数

project_id

String

项目ID。

cluster_id

String

集群ID。

表4 Snapshots

参数

参数类型

描述

id

String

快照ID。

name

String

快照名称。

description

String

快照描述。

started

String

快照创建的日期时间,格式为 ISO8601: YYYY-MM-DDThh:mm:ssZ。

updated

String

快照记录更新时间,格式为 ISO8601: YYYY-MM-DDThh:mm:ssZ。

size

Double

快照大小,单位 GB。

status

String

快照状态:

  • CREATING:创建中。

  • AVAILABLE:可用。

  • UNAVAILABLE:不可用,备份失败。

  • RESTORING: 恢复中。

type

String

快照创建类型。其中:

  • MANUAL为手动快照。
  • AUTO为自动快照。

cluster_id

String

快照对应的集群ID。

cluster_name

String

快照对应的集群名称。

backup_key

String

备份产生的Key。

prior_backup_key

String

增量快照使用前一个快照的BakupKey。当取值为FULL时表示这是一个全量快照。

base_backup_key

String

对应全量快照的BackupKey。

backup_device

String

备份介质。

total_backup_size

Long

快照累计大小,表示从全量开始到当前增量的累计大小。单位KB

base_backup_name

String

对应全量快照名称。

support_inplace_restore

Boolean

是否支持恢复至原集群。

fine_grained_backup

Boolean

是否是细粒度备份。

fine_grained_backup_detail

FineGrainedSnapshotDetail

object

细粒度备份信息。

guest_agent_version

String

集群guestAgent版本号。

cluster_status

String

集群状态

  • AVAILABLE:可用

  • UNAVAILABLE:不可用

  • FROZEN:已冻结

bak_expected_start_time

String

预计快照开始时间。

bak_keep_day

Integer

备份保留天数。

bak_period

String

集群策略。

db_user

String

备份用户。

datastore

DataStore object

数据库版本

progress

String

备份进度。

backup_level

String

备份级别

  • cluster
  • schema
表5 FineGrainedSnapshotDetail

参数

参数类型

描述

database

String

备份数据库。

schema_list

Array of String

备份模式集合。

table_list

Array of String

备份表集合。

表6 DataStore

参数

参数类型

描述

type

String

数据库类型。

version

String

数据库版本。

support.huaweicloud.com/api-dws/dws_02_0523.html