云数据库 GeminiDB-查询实例参数配置:响应参数

时间:2025-02-12 15:04:07

响应参数

状态码: 200

表3 响应Body参数

参数

参数类型

描述

datastore_version_name

String

参数解释:

数据库版本名称。

取值范围:

不涉及。

datastore_name

String

参数解释:

数据库名称。

取值范围:

不涉及。

created

String

参数解释:

创建时间。

约束限制:

格式为"yyyy-MM-ddTHH:mm:ssZ",

其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。

取值范围:

不涉及。

updated

String

参数解释:

更新时间。

约束限制:

格式为"yyyy-MM-ddTHH:mm:ssZ",

其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。

取值范围:

不涉及。

id

String

参数解释:

参数模板ID。

取值范围:

不涉及。

mode

String

参数解释:

数据库实例类型。

取值范围:

  • GeminiDB Cassandra集群类型为"Cluster"。
  • GeminiDB Mongo副本集类型为"ReplicaSet"。
  • GeminiDB Mongo集群类型为"Sharding"。
  • GeminiDB Influx集群类型为"Cluster"。
  • GeminiDB Influx单节点类型为"InfluxdbSingle"。
  • GeminiDB Redis Proxy集群类型为“Cluster”。
  • GeminiDB Redis主备类型为“Replication”。

configuration_parameters

Array of ConfigurationParameterResult objects

参数解释:

参数对象,用户基于默认参数模板自定义的参数配置。

表4 ConfigurationParameterResult

参数

参数类型

描述

name

String

参数解释:

参数名称。

取值范围:

不涉及。

value

String

参数解释:

参数值。

取值范围:

不涉及。

restart_required

Boolean

参数解释:

是否需要重启。

取值范围:

  • 取值为“false”,不需要重启。
  • 取值为“true”,需要重启。

readonly

Boolean

参数解释:

是否只读。

取值范围:

  • 取值为“false”,非只读参数。
  • 取值为“true”,只读参数。

value_range

String

参数解释:

参数值范围。示例:Integer类型取值范围为0~1、Boolean类型取值为“true”或“false”。

取值范围:

不涉及。

type

String

参数解释:

参数类型。

取值范围:

取值为“string”、“integer”、“boolean”、“list”或“float”。

description

String

参数解释:

参数描述。

取值范围:

不涉及。

support.huaweicloud.com/api-nosql/nosql_06_0007.html