---
title: "getPlacementGroupList"
slug: "cli-vserver-server-placementgroup-getplacementgrouplist"
tags: ["Placement Group", "Server"]
updated: 2026-04-23T09:04:52Z
published: 2026-04-23T09:07:28Z
---

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

# getPlacementGroupList

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

서버 인스턴스(VM)가 소속되는 물리 배치 그룹 리스트를 조회합니다.

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


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


| 파라미터명                            | 필수 여부      | 타입                   | 제약 사항                   | 설명                                         |
| ---------------------------------- | ------------ | --------------------- | ------------------------- | ------------------------------------------- |
| regionCode                         | No           | String                |                           | - 리전 코드<br>물리 배치 그룹 리스트가 조회될 리전(Region) 결정 가능<br>regionCode는 [getRegionList](/docs/cli-vserver-server-common-getregionlist) 액션을 통해 획득 가능<br>Default : getRegionList 조회 결과의 첫 번째 리전을 선택   |
| placementGroupNoList.N             | No           | List&lt;String&gt;    |                           | - 물리 배치 그룹 번호 리스트<br>물리 배치 그룹 번호로 필터링하여 검색 가능<br>placementGroupNo는 [getPlacementGroupList](/docs/cli-vserver-server-placementgroup-getplacementgrouplist) 액션을 통해 획득 가능<br>ex) --placementGroupNoList 1234 2345   |
| placementGroupName                 | No           | String                |                           | - 물리 배치 그룹 이름<br>물리 배치 그룹 이름으로 필터링하여 검색 가능   |
| output | No | String | | 응답 결과의 포맷 타입<ul><li>Options: xml \| json</li><li>Default: json</li></ul> |

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


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

- PlacementGroupList 타입

| PlacementGroupList extends CommonResponse |
| ---------- |
| private Integer totalRows; |
| private List<PlacementGroup> placementGroupList = new ArrayList<>(); |

| PlacementGroup |
| ---------- |
| private String placementGroupNo; |
| private String placementGroupName; |
| private CommonCode placementGroupType; |


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

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


```
ncloud vserver getPlacementGroupList --regionCode FKR --placementGroupNoList ***61 --placementGroupName test-***
```

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


```xml
<getPlacementGroupListResponse>
  <requestId></requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <placementGroupList>
    <placementGroup>
      <placementGroupNo>***61</placementGroupNo>
      <placementGroupName>test-***</placementGroupName>
      <placementGroupType>
        <code>AA</code>
        <codeName>Anti-Affinity</codeName>
      </placementGroupType>
    </placementGroup>
  </placementGroupList>
</getPlacementGroupListResponse>
```
