Skip to main content

Vertical scaling of components

Basic Information

This interface is mainly used for vertical scaling of components

请求路径
POST /openapi/v1/teams/{team_id}/regions/{region_name}/apps/{app_id}/services/{service_id}/telescopic/vertical
Body 请求体示例
{
"new_memory": 0,
"new_gpu": 0,
"new_cpu": 0
}

request parameters

nameLocationtyperequiredChinese nameillustrate
app_idpathintegerYesapp id
team_idpathstringYesnone
region_namepathstringYesnone
service_idpathstringYesnone
bodybodyAppServiceTelescopicVerticalnonone

return result

status codeStatus code meaningillustratedata model
201CreatedsuccessAppServiceTelescopicVertical

Model

AppServiceTelescopicVertical

{
"new_memory": 0,
"new_gpu": 0,
"new_cpu": 0
}

Attributes

nametyperequiredconstraintChinese nameillustrate
new_memoryintegertruenoneNew memorycomponent memory
new_gpuintegertruenoneNew gpuComponent gpu memory application
new_cpuintegertruenonenew cpuComponent CPU quota application