Skip to main content

Get the specified data center data

basic information

Get the specified data center data

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

request parameters

nameLocationtyperequiredChinese nameillustrate
region_idpathstringYesnone
region_idquerystringnoData center name, id
extend_infoquerystringnoWhether additional data is required

return result

status codeStatus code meaningillustratedata model
200OKsuccessRegionInfoR

Model

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"
}

Attributes

nametyperequiredconstraintChinese nameillustrate
region_namestringtruenoneRegion namedata center name
region_aliasstringtruenoneRegion aliasdata center nickname
urlstringtruenoneUrlnone
wsurlstringtruenoneWsurlnone
httpdomainstringtruenoneHttpdomainnone
tcpdomainstringtruenoneTcpdomainnone
scopestringtruenoneScopenone
ssl_ca_certstringtruenonessl ca certnone
cert_filestringtruenoneCert filenone
key_filestringtruenoneKey filenone
descstringtruenoneDescnone
used_disknumberfalsenoneUsed diskused storage
total_disknumberfalsenoneTotal diskStore all
used_memorynumberfalsenoneUsed memoryuse memory
total_memorynumberfalsenoneTotal memoryAll memory
used_cpunumberfalsenoneused cpuuse cpu
total_cpunumberfalsenonetotal cpuall cpus
health_statusstringfalsenonehealth statuscluster status
statusstringfalsenoneStatusstate