getRaidList

Prev Next

VPC環境で利用できます。

概要

使用可能な RAIDリストを照会します。

リクエスト

リクエストパラメータ

パラメータ名 必須の有無 タイプ 制限事項 説明
regionCode No String - リージョンコード
サーバスペックが照会されるリージョン(Region)を決定可能
regionCodeはgetRegionListアクションを通じて取得可能
デフォルト: getRegionList照会結果の最初のリージョンを選択
productTypeCode Yes String - 商品タイプコード
商品タイプごとに使用可能な RAIDリストを照会
productTypeCodeはgetServerImageProductListアクションを通じて取得可能
オプション: LINUX | WINNT
output No String レスポンス結果の形式タイプ
  • オプション: xml | json
  • デフォルト: 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 --regionCode KR --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>