Skip to main content

Component horizontal scaling

Basic Information

This interface is mainly used for horizontal scaling of components

请求路径
POST /openapi/v1/teams/{team_id}/regions/{region_name}/apps/{app_id}/services/{service_id}/telescopic/horizontal
Body 请求体示例
{
"new_node": 0
}

request parameters

nameLocationtyperequiredChinese nameillustrate
app_idpathintegerYesapp id
team_idpathstringYesnone
region_namepathstringYesnone
service_idpathstringYesnone
bodybodyAppServiceTelescopicHorizontalnonone

return result

status codeStatus code meaningillustratedata model
201CreatedsuccessAppServiceTelescopicHorizontal

Model

AppServiceTelescopicHorizontal

{
"new_node": 0
}

Attributes

nametyperequiredconstraintChinese nameillustrate
new_nodeintegertruenonenew nodecomponent node