云数据库 GaussDB-查询实例列表:响应示例

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

响应示例

状态码: 200

Success.

{  "total_count" : 1,  "instances" : [ {    "id" : "d738399de028480fabb2b8120d4e01a4in07",    "name" : "gaussdb-mysql-instance01",    "status" : "ACTIVE",    "port" : 3306,    "type" : "Cluster",    "private_ips" : [ "192.168.0.142" ],    "db_user_name" : "root",    "region" : "cn-north-4",    "datastore" : {      "type" : "gaussdb-mysql",      "version" : "8.0"    },    "created" : "2018-08-20T02:33:49_0800",    "updated" : "2018-08-20T02:33:49_0800",    "volume" : {      "type" : "POOL",      "used_size" : 100    },    "vpc_id" : "3cedfc54-b105-4652-a4e0-847b11576b58",    "subnet_id" : "c1cfa53c-65d3-431e-8552-326bf310c7ad",    "security_group_id" : "fc577a1a-f202-424a-977f-24faec3fdd55",    "flavor_ref" : "gaussdb.mysql.c3.small.4",    "flavor_info" : {      "vcpus" : 8,      "ram" : 16    },    "backup_strategy" : {      "start_time" : "19:00-20:00",      "keep_days" : 7    },    "charge_info" : {      "charge_mode" : "postPaid"    },    "enterprise_project_id" : 0,    "time_zone" : "UTC",    "tags" : [ ]  } ]}
support.huaweicloud.com/api-gaussdb/ShowMysqlInstanceList.html