数据仓库服务 GaussDB(DWS)-创建集群前检查:请求参数

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

请求参数

表2 请求Body参数

参数

是否必选

参数类型

描述

cluster

ClusterCheckBody object

集群校验对象。

表3 ClusterCheckBody

参数

是否必选

参数类型

描述

enterprise_project_id

String

企业项目ID。

flavor

String

集群规格名称。

availability_zones

Array of strings

可用区列表。

num_node

Integer

实例节点个数。

security_group_id

String

集群安全组ID。

datastore_version

String

集群版本。

vpc_id

String

集群虚拟私有云ID。

subnet_id

String

集群子网ID。

public_ip

OpenPublicIp object

弹性IP对象。

cross_spec_restore

String

跨规格恢复。

volume

Volume object

磁盘。

old_cluster_hostname

String

旧主机名。

restore_point

RestorePoint object

恢复指针。

tag_list

Array of Tag objects

标签列表。

dss_pool_id

String

存储池ID。

db_port

String

数据库端口。

db_password

String

管理员密码。

db_name

String

管理员用户。

num_cn

Integer

cn节点数量。

name

String

集群名称。

表4 OpenPublicIp

参数

是否必选

参数类型

描述

public_bind_type

String

弹性IP绑定类型,取值如下:

  • auto_assign:现在购买
  • not_use:暂未使用
  • bind_existing :使用已有

eip_id

String

弹性IP的ID。

表5 Volume

参数

是否必选

参数类型

描述

volume

String

磁盘名称,取值范围为:

  • SSD(超高IO)
  • 高IO(SAS)
  • 普通IO(SATA)

capacity

Integer

磁盘容量。

表6 RestorePoint

参数

是否必选

参数类型

描述

back_ref

String

快照ID。

restore_time

Long

恢复时间。

cluster_id

String

集群ID。

表7 Tag

参数

是否必选

参数类型

描述

key

String

标签key。

value

String

标签值。

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