changeBlockStorageVolumeSize
    • PDF

    changeBlockStorageVolumeSize

    • PDF

    Article Summary

    VPC環境で利用できます。

    概要

    ブロックストレージボリュームのサイズを変更します。

    注意

    KVMブロックストレージには対応していません。

    リクエスト

    リクエストパラメータ

    パラメータ名要否タイプ制約事項説明
    regionCodeNoString-- リージョンコード
    ボリュームサイズを変更するブロックストレージインスタンスのリージョン(Region)を決定できる
    regionCodeは、getRegionListアクションを通じて取得可能
    Default: getRegionList照会結果の最初のリージョンを選択
    blockStorageInstanceNoYesString-- ボリュームサイズを変更するブロックストレージインスタンス番号
    blockStorageInstanceNoは、getBlockStorageInstanceListアクションを通じて取得可能
    blockStorageSizeYesIntegerMin : 10, Max : 2000 GB
    10GB単位で入力
    - 変更するブロックストレージサイズ
    ボリュームサイズは拡大のみ可能で、縮小機能は提供しない
    追加されたボリュームサイズは、サーバーでファイルストレージサイズを拡張して適用可能
    ユーザーガイド [Compute > ストレージサイズを変更する > ストレージサイズ変更ガイド]を参照
    responseFormatTypeNoString-- レスポンス結果のフォーマットタイプ
    Options : xml | json
    Default : xml

    レスポンス

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

    • BlockStorageInstanceListタイプ
    BlockStorageInstanceList extends CommonResponse
    private Integer totalRows;
    private List<BlockStorageInstance> blockStorageInstanceList = new ArrayList<>();
    BlockStorageInstance
    private String blockStorageInstanceNo;
    private String serverInstanceNo;
    private String blockStorageName;
    private CommonCode blockStorageType;
    private Long blockStorageSize;
    private String deviceName;
    private String blockStorageProductCode;
    private CommonCode blockStorageInstanceStatus;
    private CommonCode blockStorageInstanceOperation;
    private String blockStorageInstanceStatusName;
    private Date createDate;
    private String blockStorageDescription;
    private CommonCode blockStorageDiskType;
    private CommonCode blockStorageDiskDetailType;
    private Integer maxIopsThroughput;
    private Boolean isEncryptedVolume;
    private String zoneCode;
    private String regionCode;
    private Boolean isReturnProtection;

    リクエスト例

    ncloud vserver changeBlockStorageVolumeSize --regionCode KR --blockStorageInstanceNo ***7746 --blockStorageSize 60
    

    レスポンス例

    <changeBlockStorageVolumeSizeResponse>
      <requestId>17b3bcf6-8e52-47e5-b822-1352ec765a97</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <blockStorageInstanceList>
        <blockStorageInstance>
          <blockStorageInstanceNo>***7746</blockStorageInstanceNo>
          <serverInstanceNo>***4299</serverInstanceNo>
          <blockStorageName>test-***</blockStorageName>
          <blockStorageType>
            <code>SVRBS</code>
            <codeName>Server BS</codeName>
          </blockStorageType>
          <blockStorageSize>64424509440</blockStorageSize>
          <deviceName>/dev/xvdb</deviceName>
          <blockStorageProductCode>SPBSTBSTAD000006</blockStorageProductCode>
          <blockStorageInstanceStatus>
            <code>ATTAC</code>
            <codeName>Block storage ATTACHED state</codeName>
          </blockStorageInstanceStatus>
          <blockStorageInstanceOperation>
            <code>CHNG</code>
            <codeName>Block Storage Resize OP</codeName>
          </blockStorageInstanceOperation>
          <blockStorageInstanceStatusName>changingSpec</blockStorageInstanceStatusName>
          <createDate>2020-08-25T09:38:49+0900</createDate>
          <blockStorageDescription></blockStorageDescription>
          <blockStorageDiskType>
            <code>NET</code>
            <codeName>Network Storage</codeName>
          </blockStorageDiskType>
          <blockStorageDiskDetailType>
            <code>SSD</code>
            <codeName>SSD</codeName>
          </blockStorageDiskDetailType>
          <maxIopsThroughput>4000</maxIopsThroughput>
          <isEncryptedVolume>false</isEncryptedVolume>
          <zoneCode>KR-1</zoneCode>
          <regionCode>KR</regionCode>
          <isReturnProtection>false</isReturnProtection>
        </blockStorageInstance>
      </blockStorageInstanceList>
    </changeBlockStorageVolumeSizeResponse>
    

    この記事は役に立ちましたか?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.