changeBlockStorageVolumeSize
    • PDF

    changeBlockStorageVolumeSize

    • PDF

    Article summary

    Overview

    Changing the volume size of block storage

    Description

    Change the volume size of block storage.

    Request Parameters

    Parameter NameRequired StatusTypeRestrictionsDescription
    blockStorageInstanceNoYesStringThe number of the block storage instance that will resize the volume
    The blockStorageInstanceNo can be obtained through the getBlockStorageInstanceList action.
    blockStorageSizeYesIntegerMin : 10, Max : 2000 GB
    10 GB unit input
    Block storage size to be changed
    The volume size can be expanded only and the reduction feature is not available.
    The added volume size can only be applied when the file storage size is expanded in the server.
    Please refer to the User Manual [Compute > Server > Add-ons].

    Response Data Type

    • BlockStorageInstanceList type
    BlockStorageInstanceList extends CommonResponse
    private Integer totalRows;
    private List blockStorageInstanceList = new ArrayList();
    BlockStorageInstance
    private String blockStorageInstanceNo;
    private String serverInstanceNo;
    private String serverName;
    private CommonCode blockStorageType;
    private String blockStorageName;
    private Long blockStorageSize;
    private String deviceName;
    private String blockStorageProductCode;
    private CommonCode blockStorageInstanceStatus;
    private CommonCode blockStorageInstanceOperation;
    private String blockStorageInstanceStatusName;
    private Date createDate;
    private String blockStorageInstanceDescription;
    private CommonCode diskTypeCode;
    private CommonCode diskType;
    private CommonCode diskDetailType;
    private Integer maxIopsThroughput;

    Examples

    Request

    ncloud server changeBlockStorageVolumeSize --blockStorageInstanceNo 1089090 --blockStorageSize 20
    

    Response

    {
      "changeBlockStorageVolumeSizeResponse": {
        "requestId": "2fa29b38-daf8-4658-953c-4d39dfc30095",
        "returnCode": "0",
        "returnMessage": "success",
        "totalRows": 1,
        "blockStorageInstanceList": [
          {
            "blockStorageInstanceNo": "1089090",
            "serverInstanceNo": "1021003",
            "serverName": "s1669aa4e78c",
            "blockStorageType": {
              "code": "SVRBS",
              "codeName": "Server BS"
            },
            "blockStorageName": "bst167588711f2",
            "blockStorageSize": 21474836480,
            "deviceName": "",
            "blockStorageProductCode": "SPBSTBSTAD000002",
            "blockStorageInstanceStatus": {
              "code": "CREAT",
              "codeName": "Block storage CREATED state"
            },
            "blockStorageInstanceOperation": {
              "code": "CHNG",
              "codeName": "Block Storage Resize OP"
            },
            "blockStorageInstanceStatusName": "changingSpec",
            "createDate": "2018-11-28T13:15:06+0900",
            "blockStorageInstanceDescription": "",
            "diskType": {
              "code": "NET",
              "codeName": "Network Storage"
            },
            "diskDetailType": {
              "code": "SSD",
              "codeName": "SSD"
            },
            "region": {
              "regionNo": "1",
              "regionCode": "KR",
              "regionName": "Korea"
            },
            "zone": {
              "zoneNo": "3",
              "zoneName": "KR-2",
              "zoneCode": "KR-2",
              "zoneDescription": "평촌 zone",
              "regionNo": "1"
            }
          }
        ]
      }
    }
    
    <?xml version="1.0" encoding="UTF-8" ?>
    <changeBlockStorageVolumeSizeResponse>
      <requestId>2fa29b38-daf8-4658-953c-4d39dfc30095</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <blockStorageInstanceList>
        <blockStorageInstance>
          <blockStorageInstanceNo>1089090</blockStorageInstanceNo>
          <serverInstanceNo>1021003</serverInstanceNo>
          <serverName>s1669aa4e78c</serverName>
          <blockStorageType>
            <code>SVRBS</code>
            <codeName>Server BS</codeName>
          </blockStorageType>
          <blockStorageName>bst167588711f2</blockStorageName>
          <blockStorageSize>21474836480</blockStorageSize>
          <deviceName></deviceName>
          <blockStorageProductCode>SPBSTBSTAD000002</blockStorageProductCode>
          <blockStorageInstanceStatus>
            <code>CREAT</code>
            <codeName>Block storage CREATED state</codeName>
          </blockStorageInstanceStatus>
          <blockStorageInstanceOperation>
            <code>CHNG</code>
            <codeName>Block Storage Resize OP</codeName>
          </blockStorageInstanceOperation>
          <blockStorageInstanceStatusName>changingSpec</blockStorageInstanceStatusName>
          <createDate>2018-11-28T13:15:06+0900</createDate>
          <blockStorageInstanceDescription></blockStorageInstanceDescription>
          <diskType>
            <code>NET</code>
            <codeName>Network Storage</codeName>
          </diskType>
          <diskDetailType>
            <code>SSD</code>
            <codeName>SSD</codeName>
          </diskDetailType>
          <maxIopsThroughput>4000</maxIopsThroughput>
          <region>
            <regionNo>1</regionNo>
            <regionCode>KR</regionCode>
            <regionName>Korea</regionName>
          </region>
          <zone>
            <zoneNo>3</zoneNo>
            <zoneName>KR-2</zoneName>
            <zoneCode>KR-2</zoneCode>
            <zoneDescription>평촌 zone</zoneDescription>
            <regionNo>1</regionNo>
          </zone>
        </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.