Component horizontal scaling

Basic Information

This interface is mainly used for horizontal scaling of components

请求路径

  1. POST /openapi/v1/teams/{team_id}/regions/{region_name}/apps/{app_id}/services/{service_id}/telescopic/horizontal

Body 请求体示例

  1. {
  2. "new_node": 0
  3. }

request parameters

nameLocationtyperequiredChinese nameillustrate
app_idpathintegerYesapp id
team_idpathstringYesnone
region_namepathstringYesnone
service_idpathstringYesnone
bodybodyAppServiceTelescopicHorizontalnonone

return result

status codeStatus code meaningillustratedata model
201CreatedsuccessAppServiceTelescopicHorizontal

Model

AppServiceTelescopicHorizontal

  1. {
  2. "new_node": 0
  3. }

Attributes

nametyperequiredconstraintChinese nameillustrate
new_nodeintegertruenonenew nodecomponent node