--- title: "setNasVolumeReturnProtection" slug: "cli-vnas-volume-setnasvolumereturnprotection" updated: 2026-10-08T05:03:10Z published: 2026-10-08T05:03:10Z canonical: "cli.ncloud-docs.com/cli-vnas-volume-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 Available in VPC Set the termination protection status of a NAS volume instance. ## Syntax The `setNasVolumeReturnProtection` syntax is as follows: ``` ./ncloud vnas setNasVolumeReturnProtection \ --nasVolumeInstanceNo \ --isReturnProtection \ [--regionCode ] \ [--output ] ``` ## Options This section describes the options available when running `setNasVolumeReturnProtection`. ### Required options The following options are required for `setNasVolumeReturnProtection`. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--nasVolumeInstanceNo` | String | Required | NAS volume instance number - See [getNasVolumeInstanceList](/docs/en/cli-vnas-volume-getnasvolumeinstancelist). | | `--isReturnProtection` | Boolean | Required | Set termination protection - `true` \| `false` - `true`: Set - `false`: Not set | ### Common options For information about the options common to all `vnas` subcommands, see [NAS (VPC) options](/docs/en/cli-vnas#%EC%98%B5%EC%85%98). ## Examples If the request to set termination protection is successful, the instance's configuration information and the status of the termination protection setting are returned. ### Command The command example is as follows: ``` ./ncloud vnas setNasVolumeReturnProtection \ --nasVolumeInstanceNo 10234568 \ --isReturnProtection true \ --regionCode KR \ --output json ``` ### Output The output example is as follows: ``` { "setNasVolumeReturnProtectionResponse": { "totalRows": 1, "nasVolumeInstanceList": [ { "nasVolumeInstanceNo": "10234568", "nasVolumeInstanceStatus": { "code": "CREAT", "codeName": "NAS creation status" }, "nasVolumeInstanceOperation": { "code": "NULL", "codeName": "NAS NULL OP" }, "nasVolumeInstanceStatusName": "created", "createDate": "2026-08-19T11:33:18+0900", "nasVolumeDescription": "", "mountInformation": "192.0.2.11:/n123456_testnas02", "volumeAllotmentProtocolType": { "code": "NFS", "codeName": "NFS" }, "volumeName": "n123456_testnas02", "volumeTotalSize": 644245094400, "volumeSize": 644245094400, "snapshotVolumeConfigurationRatio": 0.0, "snapshotVolumeSize": 0, "isSnapshotConfiguration": false, "isEventConfiguration": false, "regionCode": "KR", "zoneCode": "KR-1", "nasVolumeServerInstanceNoList": [], "isEncryptedVolume": false, "nasVolumeInstanceCustomIpList": [], "isReturnProtection": true } ], "requestId": "", "returnCode": "0", "returnMessage": "success" } } ```