Documentation Index

Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

getBlockStorageInstanceDetail

Prev Next

Available in VPC

Overview

It searches the block storage instance details using the block storage instance number.

Request

Request parameters

Parameter name Required Type Restrictions Description
regionCode No String - Region code
Determine the Region of the block storage instance whose details will be queried.
regionCode can be obtained through the getRegionList action.
Default: Select the first Region of the getRegionList search results.
blockStorageInstanceNo Yes String - The number of the block storage instance to be queried
blockStorageInstanceNo can be obtained through the getBlockStorageInstanceList action.
output No String - Format type of the response result
Options: xml | json
Default: json

Response

Response data type

  • BlockStorageInstanceList type
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;
private CommonCode blockStorageVolumeType;
private CommonCode hypervisorType;
private Long throughput;
private List<String> eventList;

Examples

Request example

ncloud vserver getBlockStorageInstanceDetail --regionCode KR --blockStorageInstanceNo ***7746

Response example

<getBlockStorageInstanceDetailResponse>
    <requestId></requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <totalRows>1</totalRows>
    <blockStorageInstanceList>
        <blockStorageInstance>
            <blockStorageInstanceNo>***7746</blockStorageInstanceNo>
            <serverInstanceNo>***4299</serverInstanceNo>
            <blockStorageName>test-***</blockStorageName>
            <blockStorageType>
                <code>BASIC</code>
                <codeName>Basic BS</codeName>
            </blockStorageType>
            <blockStorageSize>53687091200</blockStorageSize>
            <deviceName>/dev/xvda</deviceName>
            <blockStorageProductCode>SPBSTBSTBS000005</blockStorageProductCode>
            <blockStorageInstanceStatus>
                <code>ATTAC</code>
                <codeName>Block storage ATTACHED state</codeName>
            </blockStorageInstanceStatus>
            <blockStorageInstanceOperation>
                <code>NULL</code>
                <codeName>Block Storage NULLOP</codeName>
            </blockStorageInstanceOperation>
            <blockStorageInstanceStatusName>attached</blockStorageInstanceStatusName>
            <createDate>2020-08-19T15:05:07+0900</createDate>
            <blockStorageDescription>test-***'s basic storage</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>
            <blockStorageVolumeType>
                <code>CB1</code>
                <codeName>Common BlockStorage 1</codeName>
            </blockStorageVolumeType>
            <hypervisorType>
                <code>KVM</code>
                <codeName>KVM</codeName>
            </hypervisorType>
            <throughput>10000</throughput>
            <eventList>
                <event>Scheduled Maintenance Event | 2025-03-19 PM 10:11 (UTC+09:00) migration</event>
            </eventList>
        </blockStorageInstance>
    </blockStorageInstanceList>
</getBlockStorageInstanceDetailResponse>