createBlockStorageSnapshotInstance
    • PDF

    createBlockStorageSnapshotInstance

    • PDF

    Article Summary

    Can be used in a VPC environment.

    Overview

    Creates block storage snapshot instances.

    Request

    Request parameter

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- Region code
    Decides the region in which the block storage snapshot instance will be created.
    regionCode can be obtained through the getRegionList action.
    Default: Selects the first region of the getRegionList search results.
    originalBlockStorageInstanceNoYesString- Source block storage instance number
    Determines the block storage to create the snapshot from.
    originalBlockStorageInstanceNo can be obtained through the getBlockStorageInstanceList action.
    blockStorageSnapshotNameNoStringMin : 3, Max : 30
    Only English letters, numbers, and "-" can be used, and this must start with an English letter.
    It must end with an English letter or number.
    - Block storage snapshot name
    Default: NAVER Cloud Platform automatically assigns it.
    blockStorageSnapshotDescriptionNoStringMin : 0, Max : 1000 BytesDescription of the block storage snapshot to be created
    snapshotTypeCodeNoString- Snapshot type code
    Decides the snapshot type.
    A full storage snapshot must be created first to create incremental snapshots.
    Up to 7 incremental snapshots can be created.
    Options : FULL | INCREMENTAL
    Default : FULL
    responseFormatTypeNoString- Format type of the response result
    Options : xml | json
    Default : xml

    Response

    Response data type

    • BlockStorageSnapshotInstanceList type
    BlockStorageSnapshotInstanceList extends CommonResponse
    private Integer totalRows;
    private List<BlockStorageSnapshotInstance> blockStorageSnapshotInstanceList = new ArrayList<>();
    BlockStorageSnapshotInstance
    private String blockStorageSnapshotInstanceNo;
    private String blockStorageSnapshotName;
    private Long blockStorageSnapshotVolumeSize;
    private String originalBlockStorageInstanceNo;
    private CommonCode blockStorageSnapshotInstanceStatus;
    private CommonCode blockStorageSnapshotInstanceOperation;
    private String blockStorageSnapshotInstanceStatusName;
    private Date createDate;
    private Boolean isEncryptedOriginalBlockStorageVolume;
    private String blockStorageSnapshotDescription;
    private CommonCode snapshotType;
    private String baseSnapshotInstanceNo;
    private Integer snapshotChainDepth;

    Examples

    Request examples

    ncloud vserver createBlockStorageSnapshotInstance --regionCode KR --originalBlockStorageInstanceNo ***7746 --blockStorageSnapshotName test-*** --snapshotTypeCode FULL
    

    Response examples

    <createBlockStorageSnapshotInstanceResponse>
      <requestId>82de18de-f08f-4490-84c7-5849fbfd9a5d</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <blockStorageSnapshotInstanceList>
        <blockStorageSnapshotInstance>
          <blockStorageSnapshotInstanceNo>***1951</blockStorageSnapshotInstanceNo>
          <blockStorageSnapshotName>test-***</blockStorageSnapshotName>
          <blockStorageSnapshotVolumeSize>53687091200</blockStorageSnapshotVolumeSize>
          <originalBlockStorageInstanceNo>***7746</originalBlockStorageInstanceNo>
          <blockStorageSnapshotInstanceStatus>
            <code>INIT</code>
            <codeName>Block storage INIT state</codeName>
          </blockStorageSnapshotInstanceStatus>
          <blockStorageSnapshotInstanceOperation>
            <code>NULL</code>
            <codeName>Block Storage NULLOP</codeName>
          </blockStorageSnapshotInstanceOperation>
          <blockStorageSnapshotInstanceStatusName>initialized</blockStorageSnapshotInstanceStatusName>
          <createDate>2020-08-25T10:50:30+0900</createDate>
          <isEncryptedOriginalBlockStorageVolume>false</isEncryptedOriginalBlockStorageVolume>
          <blockStorageSnapshotDescription></blockStorageSnapshotDescription>
          <snapshotType>
            <code>FULL</code>
            <codeName>Full Storage Snapshot</codeName>
          </snapshotType>
          <baseSnapshotInstanceNo/>
          <snapshotChainDepth>0</snapshotChainDepth>
        </blockStorageSnapshotInstance>
      </blockStorageSnapshotInstanceList>
    </createBlockStorageSnapshotInstanceResponse>
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.