Get the specified data center data

basic information

Get the specified data center data

请求路径

  1. GET /openapi/v2/manage/regions/{region_id}

request parameters

nameLocationtyperequiredChinese nameillustrate
region_idpathstringYesnone

return result

status codeStatus code meaningillustratedata model
200OKsuccessv2_RegionInfoSerializer
404Not Found404Fail

Model

v2_RegionInfoSerializer

  1. {
  2. "region_id": "string",
  3. "region_name": "string",
  4. "region_alias": "string",
  5. "url": "string",
  6. "token": "string",
  7. "wsurl" : "string",
  8. "httpdomain": "string",
  9. "tcpdomain": "string",
  10. "scope": "string",
  11. "ssl_ca_cert": "string",
  12. "cert_file": "string",
  13. "key_file": "string",
  14. "status": "st",
  15. "desc": "string"
  16. }

Attributes

nametyperequiredconstraintChinese nameillustrate
region_idstringtruenoneRegion idregion id
region_namestringtruenoneRegion nameData center name, cannot be modified
region_aliasstringtruenoneRegion aliasdata center alias
urlstringtruenoneUrlDatacenter API url
tokenstring¦nullfalsenoneTokendata center token
wsurlstringtruenoneWsurldatacenter websocket url
httpdomainstringtruenoneHttpdomainData center http application access root domain name
tcpdomainstringtruenoneTcpdomainData center tcp application access root domain name
scopestringfalsenoneScopedata center scope private
ssl_ca_certstring¦nullfalsenonessl ca certData center access ca certificate address
cert_filestring¦nullfalsenoneCert fileVerify documents
key_filestring¦nullfalsenoneKey fileverification key
statusstringtruenoneStatusData Center Status 0:Editing 1: Enabled 2:Disabled 3: In Maintenance
descstringfalsenoneDescData Center Description