getRaidList

Prev Next

VPC環境で利用できます。

概要

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

リクエスト

リクエストパラメータ

パラメータ名 要否 タイプ 制約事項 説明
productTypeCode Yes String - 商品タイプコード
商品タイプ別に使用可能な RAIDリストを照会
productTypeCodeは getServerImageProductListアクションを通じて取得可能
Options : LINUX | WINNT

レスポンス

レスポンスデータのタイプ

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