---
title: "应用水平伸缩"
method: PUT
path: "/v2/tenants/{tenant_name}/services/{service_alias}/horizontal"
tags: ["v2"]
---

# 应用水平伸缩

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

## Request

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

service horizontal

## Path parameters

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

## Request body

- object
  - `event_id` string, required: the event id in: body
  - `node_num` integer: 伸缩数量 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)
