deleteNasVolumeInstances

Prev Next

Available in VPC

Delete a NAS volume instance.

Syntax

The deleteNasVolumeInstances syntax is as follows:

./ncloud vnas deleteNasVolumeInstances \
    --nasVolumeInstanceNoList <nas-volume-instance-no-list> \
    [--isAsync <true|false>] \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running deleteNasVolumeInstances.

Required options

The following options are required for deleteNasVolumeInstances.

Options Type Required Description
--nasVolumeInstanceNoList List Required NAS volume instance list
  • You can enter multiple items separated by spaces (e.g., --nasVolumeInstanceNoList 1234 2345).
  • See getNasVolumeInstanceList.

Optional options

These are the optional options for deleteNasVolumeInstances. Options that are not specified will use their default values.

Options Type Required Description
--isAsync Boolean Optional Set async
  • true | false (default)
    • true: Set
    • false: Not set

Common options

For information about the options common to all vnas subcommands, see NAS (VPC) options.

Examples

If the request to delete a NAS volume instance is successful, the instance's configuration information and termination status are returned.

Command

The command example is as follows:

./ncloud vnas deleteNasVolumeInstances \
    --nasVolumeInstanceNoList 10234568 \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "deleteNasVolumeInstancesResponse": {
    "totalRows": 1,
    "nasVolumeInstanceList": [
      {
        "nasVolumeInstanceNo": "10234568",
        "nasVolumeInstanceStatus": {
          "code": "TERMT",
          "codeName": "NAS termination status"
        },
        "nasVolumeInstanceOperation": {
          "code": "NULL",
          "codeName": "NAS NULL OP"
        },
        "nasVolumeInstanceStatusName": "terminated",
        "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": false
      }
    ],
    "requestId": "",
    "returnCode": "0",
    "returnMessage": "success"
  }
}