---
title: "setBlockStorageReturnProtection"
slug: "cli-vserver-storage-setblockstoragereturnprotection"
tags: ["Block Storage", "Server", "Storage"]
updated: 2026-06-25T09:10:27Z
published: 2026-06-25T09:10:27Z
canonical: "cli-fin.ncloud-docs.com/cli-vserver-storage-setblockstoragereturnprotection"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://cli-fin.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.
# setBlockStorageReturnProtection
블록 스토리지 인스턴스의 반납 보호 여부를 설정합니다.
## 구문
`setBlockStorageReturnProtection` 구문은 다음과 같습니다.
```shell
./ncloud vserver setBlockStorageReturnProtection \
--blockStorageInstanceNo \
--isReturnProtection \
[--regionCode ] \
[--output ]
```
## 옵션
`setBlockStorageReturnProtection` 실행 시 지정할 수 있는 옵션을 설명합니다.
### 필수 옵션
`setBlockStorageReturnProtection`의 필수 옵션입니다.
| 옵션 | 타입 | 필수 여부 | 설명 |
| :--- | :--- | :--- | :--- |
| `--blockStorageInstanceNo` | String | Required | 블록 스토리지 인스턴스 번호- [getBlockStorageInstanceList](/docs/cli-vserver-storage-getblockstorageinstancelist) 참조
|
| `--isReturnProtection` | Boolean | Required | 반납 보호 여부- `true` \| `false`
- `true`: 보호
- `false`: 보호 안 함
|
### 공통 옵션
`vserver` 명령에서 공통으로 사용하는 옵션에 대한 정보는 [Server 옵션](/docs/cli-vserver#옵션)을 참조해 주십시오.
## 예시
반납 보호 설정 요청이 성공하면 블록 스토리지의 최신 정보가 반환됩니다.
### 명령
명령 예시는 다음과 같습니다.
```shell
./ncloud vserver setBlockStorageReturnProtection \
--blockStorageInstanceNo 89012345 \
--isReturnProtection true \
--regionCode FKR \
--output json
```
### 출력
출력 예시는 다음과 같습니다.
```json
{
"setBlockStorageReturnProtectionResponse": {
"totalRows": 1,
"blockStorageInstanceList": [
{
"blockStorageInstanceNo": "89012345",
"blockStorageName": "test-block-storage-01",
"blockStorageType": {
"code": "SVRBS",
"codeName": "서버 BS"
},
"blockStorageSize": 75161927680,
"blockStorageProductCode": "SPBSTBSTAD000006",
"blockStorageInstanceStatus": {
"code": "CREAT",
"codeName": "블록스토리지 CREATED 상태"
},
"blockStorageInstanceOperation": {
"code": "NULL",
"codeName": "블록스토리지 NULL OP"
},
"blockStorageInstanceStatusName": "detached",
"createDate": "2026-05-27T09:09:31+0900",
"blockStorageDescription": "Test block storage",
"blockStorageDiskType": {
"code": "NET",
"codeName": "네트웍 스토리지"
},
"blockStorageDiskDetailType": {
"code": "SSD",
"codeName": "SSD"
},
"maxIopsThroughput": 4000,
"isEncryptedVolume": false,
"zoneCode": "FKR-1",
"regionCode": "FKR",
"isReturnProtection": true,
"blockStorageVolumeType": {
"code": "SSD",
"codeName": "SSD"
},
"hypervisorType": {
"code": "XEN",
"codeName": "XEN"
}
}
],
"requestId": "2d395cfb-4140-4826-acef-28c94e022c46",
"returnCode": "0",
"returnMessage": "success"
}
}
```