Skip to main content
Version: V6.0

获取指定数据中心数据

基础信息

获取指定数据中心数据

请求路径
GET /openapi/v1/regions/{region_id}

请求参数

名称位置类型必选中文名说明
region_idpathstringnone
region_idquerystring数据中心名称、id
extend_infoquerystring是否需要额外数据

返回结果

状态码状态码含义说明数据模型
200OK成功RegionInfoR

模型

RegionInfoR

{
"region_name": "string",
"region_alias": "string",
"url": "string",
"wsurl": "string",
"httpdomain": "string",
"tcpdomain": "string",
"scope": "string",
"ssl_ca_cert": "string",
"cert_file": "string",
"key_file": "string",
"desc": "string",
"used_disk": 0,
"total_disk": 0,
"used_memory": 0,
"total_memory": 0,
"used_cpu": 0,
"total_cpu": 0,
"health_status": "string",
"status": "string"
}

属性

名称类型必选约束中文名说明
region_namestringtruenoneRegion name数据中心名
region_aliasstringtruenoneRegion alias数据中心昵称
urlstringtruenoneUrlnone
wsurlstringtruenoneWsurlnone
httpdomainstringtruenoneHttpdomainnone
tcpdomainstringtruenoneTcpdomainnone
scopestringtruenoneScopenone
ssl_ca_certstringtruenoneSsl ca certnone
cert_filestringtruenoneCert filenone
key_filestringtruenoneKey filenone
descstringtruenoneDescnone
used_disknumberfalsenoneUsed disk使用的存储
total_disknumberfalsenoneTotal disk全部存储
used_memorynumberfalsenoneUsed memory使用内存
total_memorynumberfalsenoneTotal memory全部内存
used_cpunumberfalsenoneUsed cpu使用cpu
total_cpunumberfalsenoneTotal cpu全部cpu
health_statusstringfalsenoneHealth status集群状态
statusstringfalsenoneStatus状态