getRaidList

Prev Next

Available in VPC

Overview

Get the list of available RAID types.

Request

Request parameters

Parameter name Required Type Restrictions Description
regionCode No String - Region code
Determine the Region in which the server specifications will be queried.
regionCode can be obtained through the getRegionList action.
Default: Select the first Region of the getRegionList query result.
productTypeCode Yes String - Product type code
Get the list of available RAIDs by product type.
productTypeCode can be obtained through the getServerImageProductList action.
Options : LINUX | WINNT
output No String Response result's format type
  • Options: xml | json
  • Default: json

Response

Response data type

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

Examples

Request example

ncloud vserver getRaidList --regionCode KR --productTypeCode LINUX

Response example


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