deleteNasVolumeSnapshot

Prev Next

Can be used in a VPC environment.

Overview

Deletes NAS volume instance snapshots.
If you delete a snapshot, then the NAS volume can't be recovered with that snapshot. The snapshot capacity expands by as much as the size of the snapshot deleted.

Request

Request parameter

Parameter name Requirement status Type Restrictions Description
regionCode No String - Region code
Determines the region of the NAS volume instance where snapshots will be deleted.
regionCode: It can be obtained through the getRegionList action.
Default: Selects the first region of the getRegionList search results.
nasVolumeInstanceNo Yes String - Instance number of NAS volume where the snapshot will be deleted
nasVolumeInstanceNo: It can be obtained through the getNasVolumeInstanceList action.
nasVolumeSnapshotName Yes String - Name of the snapshot to delete
nasVolumeSnapshotName: It can be obtained through the getNasVolumeSnapshotList action.

Response

Response data type

  • NasVolumeSnapshotList type
NasVolumeSnapshotList extends CommonResponse
private Integer totalRows;
private List<NasVolumeSnapshot> nasVolumeSnapshotList = new ArrayList<>();
NasVolumeSnapshot
private String nasVolumeSnapshotName;
private Date createDate;
private Long snapshotSize;
private Boolean isBusy;

Examples

Request examples

ncloud vnas deleteNasVolumeSnapshot --regionCode KR --nasVolumeInstanceNo ***3901 --nasVolumeSnapshotName "now.20210916.000000"

Response examples

The snapshot list of the corresponding NAS volume instance after completing the request

<deleteNasVolumeSnapshotResponse>
  <requestId></requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>0</totalRows>
  <nasVolumeSnapshotList></nasVolumeSnapshotList>
</deleteNasVolumeSnapshotResponse>