---
title: "executePolicy "
slug: "cli-autoscaling-executepolicy"
updated: 2026-05-21T09:02:04Z
published: 2026-05-21T09:11:33Z
canonical: "cli-gov.ncloud-docs.com/cli-autoscaling-executepolicy"
---

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

# executePolicy 

## 개요

스케일링 정책 수행

## 설명

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

## 요청 파라미터

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

## 응답 데이터 타입

- CommonResponse 타입

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

## 예시

### 호출

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

### 응답

```
{
  "executePolicyResponse": {
    "requestId": "50281fd3-41e6-4ffe-a5e7-ef37103867b6",
    "returnCode": "0",
    "returnMessage": "success"
  }
}
```

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