Open a cluster for a team

Basic Information

This interface is mainly used to open a new cluster for a team

请求路径

  1. POST /openapi/v1/teams/{team_id}/regions

Body 请求体示例

  1. {
  2. "region": "string"
  3. }

request parameters

nameLocationtyperequiredChinese nameillustrate
team_idpathstringYesnone
bodybodyTeamRegionReqnonone

return result

status codeStatus code meaningillustratedata model
201CreatedsuccessTeamBaseInfo

Model

TeamRegionReq

  1. {
  2. "region": "string"
  3. }

Attributes

nametyperequiredconstraintChinese nameillustrate
regionstringfalsenoneRegiondata center name

TeamBaseInfo

  1. {
  2. "tenant_id": "string",
  3. "tenant_name": "string",
  4. "region": "",
  5. "is_active": true,
  6. "create_time": "string",
  7. "creater": 0,
  8. "limit_memory": 1024,
  9. "update_time": "string",
  10. "expired_time": "string",
  11. "tenant_alias": "",
  12. "enterprise_id": ""
  13. }

Attributes

nametyperequiredconstraintChinese nameillustrate
tenant_idstringtruenoneTenant idtenant id
tenant_namestringtruenoneTenant nameTenant name
regionstringfalsenoneRegionregional center, deprecated
is_activebooleanfalsenoneIs activeactive state
create_timestringtruenoneCreate timecreation time
creatorintegerfalsenoneCreaterTenant creator
limit_memoryintegerfalsenoneLimit memoryMemory size unit (M)
update_timestringtruenoneUpdate timeupdate time
expired_timestringtruenoneExpired timeExpiration
tenant_aliasstring¦nullfalsenoneTenant aliasteam alias
enterprise_idstring¦nullfalsenoneEnterprise identerprise id