deleteBlockStorageInstances
- Print
- PDF
deleteBlockStorageInstances
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
Deletes Block Storage instances, which must be detached first.
Request
Request parameters
Parameter | Required | Type | Limitations | Description |
---|---|---|---|---|
blockStorageInstanceNoList.N | Y | List<String> | Duplicates not allowed. | List of Block Storage instance numbers to delete Get available values by using the getBlockStorageInstanceList action. Example) blockStorageInstanceNoList.1=1089090&blockStorageInstanceNoList.2=121636 |
Response
Response body
Examples
Request example
GET {SERVER_API_URL}/deleteBlockStorageInstances
?blockStorageInstanceNoList.1=1089090
Response example
<deleteBlockStorageInstancesResponse>
<requestId>787ab14e-f87b-4ad7-bba0-4905dd94aeec</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>10737418240</blockStorageSize>
<deviceName>/dev/xvdb</deviceName>
<blockStorageProductCode>SPBSTBSTAD000002</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-11-28T13:15:06+0900</createDate>
<blockStorageInstanceDescription></blockStorageInstanceDescription>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
<diskDetailType>
<code>HDD</code>
<codeName>HDD</codeName>
</diskDetailType>
<zone>
<zoneNo>3</zoneNo>
<zoneName>KR-2</zoneName>
<zoneCode>KR-2</zoneCode>
<zoneDescription>Pyeongchon zone</zoneDescription>
<regionNo>1</regionNo>
</zone>
</blockStorageInstance>
</blockStorageInstanceList>
</deleteBlockStorageInstancesResponse>
Error codes
Errors that may occur while using this action are listed below. For information on common errors, refer to NAVER Cloud Platform API.
HTTP response code | Return code | Return message |
---|---|---|
400 | 10713 | Not found contract information. Please check your input parameter. |
400 | 24002 | It seems that storage {0} is mounted to server {1}. Please unmount the storage and try again. |
400 | 24109 | The input parameter instance number is invalid |
400 | 24121 | The input parameter storage instance number is invalid. |
400 | 25002 | Unable to perform deallocation command since (other) user is operating target server to be allocated with storage or an error in target server. |
400 | 25003 | Unable to perform deallocation command since (other) user is operating target server or the it has already been deallocated. |
400 | 25004 | Unable to return since (other) user is either operating the target storage or an error in target storage. |
Was this article helpful?