Get the specified data center data

basic information

Get the specified data center data

请求路径

  1. 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

  1. {
  2. "region_name": "string",
  3. "region_alias": "string",
  4. "url": "string",
  5. "wsurl": "string",
  6. "httpdomain": "string",
  7. "tcpdomain" : "string",
  8. "scope": "string",
  9. "ssl_ca_cert": "string",
  10. "cert_file": "string",
  11. "key_file": "string",
  12. "desc": "string",
  13. "used_disk": 0,
  14. "total_disk": 0,
  15. "used_memory": 0,
  16. "total_memory": 0,
  17. "used_cpu": 0,
  18. "total_cpu": 0,
  19. "health_status": "string" ,
  20. "status": "string"
  21. }

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