Available in VPC
Get the list of block storage instances.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
GET | POST | /vserver/v2/getBlockStorageInstanceList |
Note
This guide is based on the GET method. POST method call tests can be performed through Swagger in the API Gateway service of the NAVER Cloud Platform console.
Request headers
For information about the headers common to all Server APIs, see Server request headers.
Request query parameters
You can use the following query parameters with your request:
Field | Type | Required | Description |
---|---|---|---|
regionCode |
String | Optional | Region code
|
zoneCode |
String | Optional | Zone code
|
blockStorageInstanceNoList.N |
Array | Optional | Block storage instance number list
|
blockStorageInstanceStatusCode |
String | Optional | Filter by the block storage instance status code.
|
blockStorageDiskTypeCode |
String | Optional | Filter by the block storage disk type code.
|
blockStorageDiskDetailTypeCode |
String | Optional | Filter by the detailed type code of block storage disk.
|
blockStorageSize |
Integer | Optional | Filter by the block storage size.
|
blockStorageTypeCodeList.N |
Array | Optional | Block storage type code list
|
serverInstanceNo |
String | Optional | Filter by the server instance number. |
blockStorageName |
String | Optional | Filter by the block storage name.
|
serverName |
String | Optional | Filter by the server name connected to the block storage.
|
connectionInfo |
String | Optional | Filter by the block storage connection information.
|
blockStorageVolumeTypeCodeList.N |
Array | Optional | Block storage volume type code list
|
hypervisorTypeCodeList.N |
Array | Optional | Hypervisor type code list
|
pageNo |
Integer | Optional | Page number
|
pageSize |
Integer | Conditional | Number of items per page
|
responseFormatType |
String | Optional | Format of the response data
|
Request example
The request example is as follows:
curl --location --request GET 'https://ncloud.apigw.ntruss.com/vserver/v2/getBlockStorageInstanceList
?regionCode=KR
&blockStorageTypeCodeList.1=SVRBS
&blockStorageInstanceStatusCode=CREAT
&hypervisorTypeCodeList.1=KVM
&responseFormatType=json' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
Response
This section describes the response format.
Response body
The response body includes the following data:
Field | Type | Required | Description |
---|---|---|---|
getBlockStorageInstanceListResponse |
Object | - | Response result |
getBlockStorageInstanceListResponse.requestId |
String | - | ID for the request
|
getBlockStorageInstanceListResponse.returnCode |
String | - | Response code |
getBlockStorageInstanceListResponse.returnMessage |
String | - | Response message |
Response status codes
For information about the response status codes common to all Server APIs, see Server response status codes.
Response example
The response example is as follows:
{
"getBlockStorageInstanceListResponse": {
"totalRows": 1,
"blockStorageInstanceList": [
{
"blockStorageInstanceNo": "10*****68",
"blockStorageName": "storageX",
"blockStorageType": {
"code": "SVRBS",
"codeName": "Server BS"
},
"blockStorageSize": 10737418240,
"blockStorageProductCode": "BST.CB.CB1.V001",
"blockStorageInstanceStatus": {
"code": "CREAT",
"codeName": "Block storage CREATED status"
},
"blockStorageInstanceOperation": {
"code": "NULL",
"codeName": "Block storage NULL OP"
},
"blockStorageInstanceStatusName": "detached",
"createDate": "2025-06-20T15:35:25+0900",
"blockStorageDiskType": {
"code": "NET",
"codeName": "Network storage"
},
"blockStorageDiskDetailType": {
"code": "SSD",
"codeName": "SSD"
},
"maxIopsThroughput": 100,
"isEncryptedVolume": false,
"zoneCode": "KR-2",
"regionCode": "KR",
"isReturnProtection": true,
"blockStorageVolumeType": {
"code": "CB1",
"codeName": "Common BlockStorage 1"
},
"hypervisorType": {
"code": "KVM",
"codeName": "KVM"
},
"throughput": 104857600,
"iops": 100
}
],
"requestId": "4c0c5ebb-****-****-****-fb47d14bd21a",
"returnCode": "0",
"returnMessage": "success"
}
}