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

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

请求示例

创建集群操作前检查是否具备创建条件,比如在cn-north-7c可用区下是否有dws.m3.xlarge规格、3节点、公网IP、安全组、虚拟私有云等创建条件:

https://{Endpoint}/v2/4cf650fd46704908aa071b4df2453e1e/cluster-precheck{  "cluster" : {    "flavor" : "dws.m3.xlarge",    "num_node" : 3,    "availability_zones" : [ "cn-north-7c" ],    "vpc_id" : "c9f1171e-dc90-4ae9-bf22-f9736983ce2d",    "subnet_id" : "ad9ef23f-1d03-4e52-af80-69604645e109",    "security_group_id" : "f54a4572-d5d2-40b6-823a-79049bd5b71c",    "public_ip" : {      "public_bind_type" : "bind_existing",      "eip_id" : "1923e8b0-cd40-4469-8cb1-64546c7b530c"    },    "datastore_version" : "8.2.0"  }}
support.huaweicloud.com/api-dws/dws_02_0511.html