---
title: "getTargetList"
slug: "cli-vloadbalancer-targetgroup-gettargetlist"
updated: 2026-04-23T08:57:17Z
published: 2026-04-23T08:59:03Z
canonical: "cli.ncloud-docs.com/cli-vloadbalancer-targetgroup-gettargetlist"
---

> ## 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.

# getTargetList

<p class="platform-info type-vpc">VPC 환경에서 이용 가능합니다.</p>

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

타겟 그룹에 적용된 타겟 리스트를 조회합니다.

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


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


| 파라미터명                            | 필수 여부      | 타입                   | 제약 사항                   | 설명                                         |
| ---------------------------------- | ------------ | --------------------- | ------------------------- | ------------------------------------------- |
| regionCode                         | No           | String                |                           | - 리전 코드<br/>타겟 리스트를 조회할 타겟 그룹의 리전(Region) 결정 가능<br/>regionCode는 [getRegionList](/docs/cli-vserver-server-common-getregionlist) 액션을 통해 획득 가능<br/>Default : getRegionList 조회 결과의 첫 번째 리전을 선택    |
| targetGroupNo                      | Yes          | String                |                           | - 타겟 그룹 번호<br/>targetGroupNo는 [getTargetGroupList](/docs/cli-vloadbalancer-targetgroup-gettargetgrouplist) 액션을 통해 획득 가능  |
| responseFormatType                 | No           | String                |                           | - 응답 결과의 포맷 타입<br/>Options : xml \| json<br/>Default : xml |

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


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

- TargetList 타입

| TargetList extends CommonResponse |
| ---------- |
| private Integer totalRows; |
| private List<Target> targetList = new ArrayList<>(); |

| Target |
| ---------- |
| private String targetNo; |
| private String targetName; |
| private String targetIp; |
| private CommonCode healthCheckStatus; |
| private String healthCheckResponse; |


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


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


```
ncloud vloadbalancer getTargetList --regionCode KR --targetGroupNo ***095
```

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


```xml
<getTargetListResponse>
  <requestId>a4f8aa8d-aab1-4bb8-bad6-1d9006453945</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <targetList>
    <target>
      <targetNo>***4299</targetNo>
      <targetName>test-***</targetName>
      <targetIp>***.***.1.6</targetIp>
      <healthCheckStatus>
        <code>UNUSED</code>
        <codeName>unused Target</codeName>
      </healthCheckStatus>
      <healthCheckResponse></healthCheckResponse>
    </target>
  </targetList>
</getTargetListResponse>
```
