deleteBlockStorageInstances
    • PDF

    deleteBlockStorageInstances

    • PDF

    Article summary

    Overview

    Deleting a block storage instance

    Description

    Delete a block storage instance after detaching.

    Request Parameters

    Parameter NameRequirednessTypeLimitationDescription
    blockStorageInstanceNoListYesListRepeat not allowedList of block storage instance No. to be deleted
    You can get one by calling getBlockStorageInstanceList.

    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

    Requset

    ncloud server deleteBlockStorageInstances --blockStorageInstanceNoList 397260
    

    Response

    {
      "deleteBlockStorageInstancesResponse": {
        "requestId": "b6664b7f-c8c9-4f40-94ae-e7819938b6fa",
        "returnCode": "0",
        "returnMessage": "success",
        "totalRows": 1,
        "blockStorageInstanceList": [
          {
            "blockStorageInstanceNo": "397260",
            "serverInstanceNo": "397255",
            "serverName": "ncloud-mktest",
            "blockStorageType": {
              "code": "SVRBS",
              "codeName": "Server BS"
            },
            "blockStorageName": "bst-a3e9783e47c71f3",
            "blockStorageSize": 107374182400,
            "deviceName": "/dev/xvdc",
            "blockStorageProductCode": "SPBSTBSTAD000006",
            "blockStorageInstanceStatus": {
              "code": "ATTAC",
              "codeName": "Block storage ATTACHED state"
            },
            "blockStorageInstanceOperation": {
              "code": "DETAC",
              "codeName": "Block Storage RESTART OP"
            },
            "blockStorageInstanceStatusName": "detaching",
            "createDate": "2018-02-23T14:00:55+0900",
            "blockStorageInstanceDescription": "",
            "diskType": {
              "code": "NET",
              "codeName": "Network Storage"
            },
            "diskDetailType": {
              "code": "SSD",
              "codeName": "SSD"
            },
            "maxIopsThroughput": 4000,
            "zone": {
              "zoneNo": "2",
              "zoneName": "KR-1",
              "zoneDescription": "KR-1 zone"
            }
          }
        ]
      }
    }
    
    <?xml version="1.0" encoding="UTF-8" ?>
    <deleteBlockStorageInstancesResponse>
      <requestId>b6664b7f-c8c9-4f40-94ae-e7819938b6fa</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <blockStorageInstanceList>
        <blockStorageInstanceNo>397260</blockStorageInstanceNo>
        <serverInstanceNo>397255</serverInstanceNo>
        <serverName>ncloud-mktest</serverName>
        <blockStorageType>
          <code>SVRBS</code>
          <codeName>Server BS</codeName>
        </blockStorageType>
        <blockStorageName>bst-a3e9783e47c71f3</blockStorageName>
        <blockStorageSize>107374182400</blockStorageSize>
        <deviceName>/dev/xvdc</deviceName>
        <blockStorageProductCode>SPBSTBSTAD000006</blockStorageProductCode>
        <blockStorageInstanceStatus>
          <code>ATTAC</code>
          <codeName>Block storage ATTACHED state</codeName>
        </blockStorageInstanceStatus>
        <blockStorageInstanceOperation>
          <code>DETAC</code>
          <codeName>Block Storage RESTART OP</codeName>
        </blockStorageInstanceOperation>
        <blockStorageInstanceStatusName>detaching</blockStorageInstanceStatusName>
        <createDate>2018-02-23T14:00:55+0900</createDate>
        <blockStorageInstanceDescription></blockStorageInstanceDescription>
        <diskType>
          <code>NET</code>
          <codeName>Network Storage</codeName>
        </diskType>
        <diskDetailType>
          <code>SSD</code>
          <codeName>SSD</codeName>
        </diskDetailType>
        <maxIopsThroughput>4000</maxIopsThroughput>
        <zone>
          <zoneNo>2</zoneNo>
          <zoneName>KR-1</zoneName>
          <zoneDescription>KR-1 zone</zoneDescription>
        </zone>
      </blockStorageInstanceList>
    </deleteBlockStorageInstancesResponse>
    

    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.