changeBlockStorageVolumeSize
    • PDF

    changeBlockStorageVolumeSize

    • PDF

    Article summary

    Available in VPC

    Overview

    Resizes the block storage volume.

    Caution

    KVM block storage is not supported.

    Requests

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString-- Region code
    Decides the Region of block storage instance that will resize the volume
    regionCode can be obtained through the getRegionList action
    Default: select the first Region shown in the getRegionList search results
    blockStorageInstanceNoYesString-- The number of the block storage instance to be resized
    blockStorageInstanceNo can be obtained through the getBlockStorageInstanceList action
    blockStorageSizeYesIntegerMin : 10, Max : 2000 GB
    Enter in 10 GB units
    - Block storage to be resized
    The storage size can only be increased. A decreasing function is not available
    The added volume size can be applied only when the file storage size is expanded in the server
    See [Compute > Resizing storage > Resizing storage guide] in the user guide
    responseFormatTypeNoString-- Format type of responses
    Options : xml | json
    Default : xml

    Responses

    Response data type

    • Type of 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;

    Examples

    Request examples

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

    Response examples

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

    Was this article helpful?

    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.