---
title: "setNasVolumeReturnProtection"
slug: "cli-vnas-volume-setnasvolumereturnprotection"
updated: 2026-06-25T09:10:30Z
published: 2026-06-25T09:10:30Z
canonical: "cli-fin.ncloud-docs.com/cli-vnas-volume-setnasvolumereturnprotection"
---
> ## 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.
# setNasVolumeReturnProtection
## 개요
NAS 볼륨 반납 보호 여부를 설정합니다.
## 요청
### 요청 파라미터
|파라미터명|필수 여부|타입|제약 사항|설명|
|-|-|-|-|-|
|regionCode|No|String||- 리전 코드
반납 보호 여부를 설정할 NAS 볼륨 인스턴스의 리전(Region) 결정
regionCode : [getRegionList](/docs/cli-vserver-server-common-getregionlist) 액션을 통해 획득
Default : getRegionList 조회 결과의 첫 번째 리전 선택|
|nasVolumeInstanceNo|Yes|String||- 반납 보호 여부를 설정할 NAS 볼륨 인스턴스 번호
nasVolumeInstanceNo : [getNasVolumeInstanceList](/docs/cli-vnas-volume-getnasvolumeinstancelist) 액션을 통해 획득|
|isReturnProtection|Yes|Boolean||- 반납 보호 여부
Options : true \| false|
## 응답
### 응답 데이터 타입
- NasVolumeInstanceList 타입
| NasVolumeInstanceList extends CommonResponse |
| ---------- |
| private Integer totalRows; |
| private List\ nasVolumeInstanceList = new ArrayList<>(); |
| NasVolumeInstance |
| ---------- |
| private String nasVolumeInstanceNo; |
| private CommonCode nasVolumeInstanceStatus; |
| private CommonCode nasVolumeInstanceOperation; |
| private String nasVolumeInstanceStatusName; |
| private Date createDate; |
| private String nasVolumeDescription; |
| private String mountInformation; |
| private CommonCode volumeAllotmentProtocolType; |
| private String volumeName; |
| private Long volumeTotalSize; |
| private Long volumeSize; |
| private Float snapshotVolumeConfigurationRatio; |
| private CommonCode snapshotVolumeConfigPeriodType; |
| private CommonCode snapshotVolumeConfigDayOfWeekType; |
| private Integer snapshotVolumeConfigTime; |
| private Long snapshotVolumeSize; |
| private Boolean isSnapshotConfiguration; |
| private Boolean isEventConfiguration; |
| private String regionCode; |
| private String zoneCode; |
| private ServerInstanceNoList nasVolumeServerInstanceNoList; |
| private Boolean isEncryptedVolume; |
| private List\ nasVolumeInstanceCustomIpList; |
| private Boolean isReturnProtection; |
| NasVolumeInstanceCustomIp |
| ---------- |
| private String customIp; |
## 예시
### 요청 예시
```
ncloud vnas setNasVolumeReturnProtection --regionCode FKR --nasVolumeInstanceNo ***3901 --isReturnProtection true
```
### 응답 예시
```xml
b6a4308d-48f3-4f0d-90a0-c00f3c41da54
0
success
1
***3901
CREAT
NAS create
NULL
NAS NULL OP
1970-01-01T09:00:02+0900
***.***.0.20:/n***4567_test***
NFS
NFS
n***4567_test***
536870912000
536870912000
0.0
0
false
false
FKR
FKR-1
***4299
false
true
```