---
title: "应用垂直伸缩"
method: PUT
path: "/v2/tenants/{tenant_name}/services/{service_alias}/vertical"
tags: ["v2"]
---

# 应用垂直伸缩

`PUT /v2/tenants/{tenant_name}/services/{service_alias}/vertical`

## Request

- The document declares no server URL.
- Auth: none declared

service vertical

## Path parameters

- `tenant_name` string, required
- `service_alias` string, required

## Request body

- object
  - `container_cpu` integer: cpu数量 in: body
  - `container_memory` integer: 内存大小 in: body
  - `event_id` string, required: the event id in: body

## Response `default`

统一返回格式

- CommandResponse (unresolved $ref)

---

[API](https://skmtc.dev/goodrain/apis/goodrain-cmd-api.md) - [All operations](https://skmtc.dev/goodrain/apis/goodrain-cmd-api/llms.txt) - [OpenAPI document](https://skmtc.dev/goodrain/apis/goodrain-cmd-api/revisions/8c773e222448?raw)
