---
title: "getRaidList"
slug: "cli-vserver-server-common-getraidlist"
tags: ["Server", "VPC"]
updated: 2026-04-23T08:56:56Z
published: 2026-04-23T08:58:53Z
canonical: "cli.ncloud-docs.com/cli-vserver-server-common-getraidlist"
---

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

# getRaidList

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

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

사용 가능한 RAID 리스트를 조회합니다.

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

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

| 파라미터명           | 필수 여부 | 타입     | 제약 사항 | 설명                                                                                                                                                                                                |
|-----------------|-------|--------|-------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| regionCode     | No    | String |       | - 리전 코드<br>서버 스펙이 조회될 리전(Region) 결정 가능<br>regionCode는 [getRegionList](/docs/cli-vserver-server-common-getregionlist) 액션을 통해 획득 가능<br>Default : getRegionList 조회 결과의 첫 번째 리전을 선택 |
| productTypeCode | Yes   | String |       | - 상품 유형 코드<br/>상품 유형별로 사용 가능한 RAID 리스트를 조회<br/>productTypeCode는 [getServerImageProductList](/docs/cli-vserver-server-common-getserverimageproductlist) 액션을 통해서 획득 가능<br/>Options : LINUX \| WINNT |
| output | No | String | | 응답 결과의 포맷 타입<ul><li>Options : xml \| json</li><li>Default : json</li></ul> |

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

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

- RaidList 타입

| RaidList extends CommonResponse                    |
|----------------------------------------------------|
| private Integer totalRows;                         |
| private List\<Raid\> raidList = new ArrayList<>(); |

| Raid                            |
|---------------------------------|
| private String raidTypeName;    |
| private String raidName;        |
| private CommonCode productType; |

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

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

```
ncloud vserver getRaidList --regionCode KR --productTypeCode LINUX
```

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

```xml

<getRaidListResponse>
    <requestId>9b0ed68f-b044-4fd8-b138-22397fba64df</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <totalRows>2</totalRows>
    <raidList>
        <raid>
            <raidTypeName>5</raidTypeName>
            <raidName>RAID 5</raidName>
            <productType>
                <code>LINUX</code>
                <codeName>Linux</codeName>
            </productType>
        </raid>
        <raid>
            <raidTypeName>1</raidTypeName>
            <raidName>RAID 1+0</raidName>
            <productType>
                <code>LINUX</code>
                <codeName>Linux</codeName>
            </productType>
        </raid>
    </raidList>
</getRaidListResponse>
```
