deleteNasVolumeSnapshot

Prev Next

Available in VPC

Delete NAS volume instance snapshots. If you delete a snapshot, then the NAS volume can't be recovered with that snapshot.

Syntax

The deleteNasVolumeSnapshot syntax is as follows:

./ncloud vnas deleteNasVolumeSnapshot \
    --nasVolumeInstanceNo <nas-volume-instance-no> \
    --nasVolumeSnapshotName <nas-volume-snapshot-name> \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running deleteNasVolumeSnapshot.

Required options

The following options are required for deleteNasVolumeSnapshot.

Options Type Required Description
--nasVolumeInstanceNo String Required NAS volume instance number
--nasVolumeSnapshotName String Required Name of snapshot to be deleted

Common options

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

Examples

If the request to delete a snapshot is successful, the list of remaining snapshots after deletion is returned.

Command

The command example is as follows:

./ncloud vnas deleteNasVolumeSnapshot \
    --nasVolumeInstanceNo 10234567 \
    --nasVolumeSnapshotName now.20260819.102353 \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "deleteNasVolumeSnapshotResponse": {
    "totalRows": 0,
    "nasVolumeSnapshotList": [],
    "requestId": "",
    "returnCode": "0",
    "returnMessage": "success"
  }
}