getRaidList

Prev Next

VPC 환경에서 이용 가능합니다.

개요

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

요청

요청 파라미터

파라미터명 필수 여부 타입 제약 사항 설명
productTypeCode Yes String - 상품 유형 코드
상품 유형별로 사용 가능한 RAID 리스트를 조회
productTypeCode는 getServerImageProductList 액션을 통해서 획득 가능
Options : LINUX | WINNT
output No String 응답 결과의 포맷 타입
  • Options : xml | json
  • Default : json

응답

응답 데이터 타입

  • RaidList 타입
RaidList extends CommonResponse
private Integer totalRows;
private List<Raid> raidList = new ArrayList<>();
Raid
private String raidTypeName;
private String raidName;
private CommonCode productType;

예시

요청 예시

ncloud vserver getRaidList --productTypeCode LINUX

응답 예시


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