---
title: "setNasVolumeReturnProtection"
slug: "cli-server-setnasvolumereturnprotection"
updated: 2026-09-17T10:11:03Z
published: 2026-09-17T10:11:03Z
canonical: "cli.ncloud-docs.com/cli-server-setnasvolumereturnprotection"
---
> ## 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.
# setNasVolumeReturnProtection
Classic環境で利用できます。
## 概要
NASボリュームを返却保護するかどうかを設定します。
## リクエスト
### リクエストパラメータ
| パラメータ名 | 必須の有無 | タイプ | 制約事項 | 説明 |
| --- | --- | --- | --- | --- |
| nasVolumeInstanceNo | Yes | String | | - 返却保護するかどうかを設定するNASボリュームインスタンス番号 nasVolumeInstanceNoは、[getNasVolumeInstanceList](/docs/ja/cli-server-getnasvolumeinstancelist)アクションを通じて取得可能 |
| isReturnProtection | Yes | Boolean | | - 返却保護するかどうか オプション:true \| false |
## レスポンス
## レスポンスデータのタイプ
- NasVolumeInstanceListタイプ
| NasVolumeInstanceList extends CommonResponse |
| --- |
| private int totalRows; |
| private List nasVolumeInstanceList = new ArrayList(); |
| NasVolumeInstance |
| --- |
| private String nasVolumeInstanceNo; |
| private CommonCode nasVolumeInstanceStatus; |
| private CommonCode nasVolumeInstanceOperation; |
| private String nasVolumeInstanceStatusName; |
| private Date createDate; |
| private String nasVolumeInstanceDescription; |
| private String mountInformation; |
| private CommonCode volumeAllotmentProtocolType; |
| private CommonCode snapshotVolumeConfigDayOfWeekType; |
| private String volumeName; |
| private long volumeTotalSize; |
| private long volumeSize; |
| private float snapshotVolumeConfigurationRatio; |
| private CommonCode snapshotVolumeConfigPeriodType; |
| private Integer snapshotVolumeConfigTime; |
| private long snapshotVolumeSize; |
| private Boolean isSnapshotConfiguration; |
| private Boolean isEventConfiguration; |
| private Region region; |
| private Zone zone; |
| private Boolean isReturnProtection; |
| private List nasVolumeInstanceCustomIpList = new ArrayList(); |
| private List nasVolumeServerInstanceList = new ArrayList(); |
## 例
### リクエスト例
```
ncloud server setNasVolumeReturnProtection --nasVolumeInstanceNo ***3901 --isReturnProtection true
```
### レスポンス例
```
4bdfecee-76a8-487e-8c00-54733badf386
0
success
1
1084361
CREAT
NAS create
NULL
NAS NULL OP
created
2018-11-26T19:40:14+0900
10.250.53.74:/n2532613_testnas
NFS
NFS
n2532613_testnas
536870912000
536870912000
0.0
0
false
false
1
KR
Korea
3
KR-2
KR-2
坪村ゾーン
1
true
```