createBlockStorageSnapshotInstance
    • PDF

    createBlockStorageSnapshotInstance

    • PDF

    Article summary

    Available in VPC

    Overview

    Create block storage snapshot instances.

    Request

    Request parameters

    Parameter nameRequiredTypeRestrictionsDescription
    regionCodeNoString- Region code
    Enter regionCode applicable for originalBlockStorageInstanceNo (Snapshots can only be created where the block storage is located)
    regionCode can be obtained through the getRegionList action
    Default: Select the first Region of the getRegionList search result
    originalBlockStorageInstanceNoYesString- Source block storage instance number
    Determine the block storage you want to create a snapshot of
    originalBlockStorageInstanceNo can be obtained through the getBlockStorageInstanceList action
    blockStorageSnapshotNameNoStringMin: 3, Max: 30
    Only English letters, numbers, and special character "-" are allowed, and it 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
    Determine 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- Respond result's format type
    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 example

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

    Response example

    <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.