Get Block Storage list
- Print
- PDF
Get Block Storage list
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Get the list of all block storage.
Request
The following describes the request format for the endpoint. The request format is as follows:
Method | URI |
---|---|
GET | /blk-storages |
Request headers
For headers common to all CLOVA NSML APIs, see Common CLOVA NSML headers.
Request query parameters
The following describes the request query parameters.
Field | Type | Required | Description |
---|---|---|---|
page | Integer | Optional | Page number
|
pageSize | Integer | Optional | Page output count
|
Request example
The following is a sample request.
curl --location --request GET 'https://nsml.apigw.ntruss.com/nsml/v1/blk-storages?page=1&pageSize=5' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
--header 'x-ncp-apigw-api-key: {API Key}' \
--header 'Content-Type: application/json'
Response
The following describes the response format.
Response body
The following describes the response body.
Field | Type | Required | Description |
---|---|---|---|
page | Integer | - | Page number |
pageSize | Integer | - | Number of page outputs |
totalCount | Integer | - | Number of response results |
blockStorageMgmtList | Array | - | Block storage list |
blockStorageMgmtList
The following describes blockStorageMgmtList
.
Field | Type | Required | Description |
---|---|---|---|
blockStorageNo | Integer | - | Block storage number |
blockStorageNm | String | - | Block storage name |
projectId | String | - | Project ID |
status | String | - | Image status
|
nodeId | String | - | Node ID |
createTime | String | - | Block storage creation date and time |
updateTime | String | - | Block storage update date and time |
Response status codes
For response status codes common to all CLOVA NSML APIs, see Common CLOVA NSML response status codes.
Response example
The following is a sample example.
{
"page": 1,
"pageSize": 5,
"totalCount": 2,
"blockStorageMgmtList": [
{
"blockStorageNo": 2635****,
"blockStorageNm": "node-******0lonwq7k******-block-storage",
"projectId": "******ygz0iujn******",
"status": "USED",
"nodeId": "******0lonwq7k******",
"createTime": "2024-09-03T10:39:07",
"updateTime": "2024-09-03T10:39:07"
},
{
"blockStorageNo": 2635****,
"blockStorageNm": "node-******nstkot26******-block-storage",
"projectId": "******ygz0iujn******",
"status": "DETACHED",
"createTime": "2024-09-03T10:25:41",
"updateTime": "2024-09-03T10:38:52"
}
]
}
Was this article helpful?