---
title: "executePolicy"
slug: "cli-autoscaling-executepolicy"
tags: ["Auto Scaling"]
updated: 2026-04-23T08:57:04Z
published: 2026-04-23T08:58:56Z
canonical: "cli.ncloud-docs.com/cli-autoscaling-executepolicy"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# executePolicy

## 개요<a name="개요"></a>


스케일링 정책 수행


## 설명<a name="설명"></a>


지정된 스케일링 정책(policy)을 수행합니다.


## 요청 파라미터<a name="요청파라미터"></a>


| 파라미터 명          | 필수   여부 | 타입    | 제약사항           | 설명                                                         |
| -------------------- | ----------- | ------- | ------------------ | ------------------------------------------------------------ |
| policyName           | Yes         | String  | Min : 1, Max : 255 | 수행할 스케일링 정책 이름                                    |
| autoScalingGroupName | Yes         | String  | Min : 1, Max : 255 | 정책을 수행할 오토 스케일링 그룹명 입력             |
| honorCooldown        | No          | Boolean | -                  | - Cooldown 시간 준수 여부<br>이   api를 호출했을 당시가 scaling action 도중이거나 cooldown 시간이면 이를 준수할 지 정함<br/> true이면 준수하고   false이면 준수하지 않음<br>디폴트 값은 false, 즉 명시적으로 true로 지정하지 않으면 준수하지 않음 |



## 응답 데이터 타입<a name="응답데이터타입"></a>


- CommonResponse 타입

| CommonResponse extends BaseObject                                                                 |
| ------------------------------------------------------------------------------------------------- |
| private String requestId;                                                                         |
| private String returnCode;                                                                        |
| private String returnMessage;                                                                     |



## 예시<a name="예시"></a>

### 호출<a name="호출"></a>

```
ncloud autoscaling executePolicy --policyName test-autoscaling-policy --autoScalingGroupName soso02
```

### 응답<a name="응답"></a>

 
```json
{
  "executePolicyResponse": {
    "requestId": "50281fd3-41e6-4ffe-a5e7-ef37103867b6",
    "returnCode": "0",
    "returnMessage": "success"
  }
}
```
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<executePolicyResponse>
  <requestId>50281fd3-41e6-4ffe-a5e7-ef37103867b6</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
</executePolicyResponse>
```
