createNasVolumeSnapshot

Prev Next

Can be used in a VPC environment.

Overview

Instantly creates snapshots for NAS volume instances.
Snapshot information needs to be checked in advance since snapshots may not be created or existing snapshots may be deleted if there's not enough snapshot capacity requested.

Request

Request parameter

Parameter name Requirement status Type Restrictions Description
regionCode No String - Region code
Determines the region of the NAS volume instance from which the snapshots will be created.
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 created from
nasVolumeInstanceNo: It can be obtained through the getNasVolumeInstanceList 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 createNasVolumeSnapshot --regionCode KR --nasVolumeInstanceNo ***3901

Response examples

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

<createNasVolumeSnapshotResponse>
  <requestId></requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <nasVolumeSnapshotList>
    <nasVolumeSnapshot>
      <nasVolumeSnapshotName>now.20210916.000000</nasVolumeSnapshotName>
      <createDate>2021-09-16T00:00:00+0900</createDate>
      <snapshotSize>139264</snapshotSize>
      <isBusy>false</isBusy>
    </nasVolumeSnapshot>
  </nasVolumeSnapshotList>
</createNasVolumeSnapshotResponse>