getBlockStorageSnapshotInstanceList
    • PDF

    getBlockStorageSnapshotInstanceList

    • PDF

    Article summary

    Available in VPC

    Overview

    Views the snapshot instance list of the Block Storage.

    Requests

    Request parameters

    Parameter nameEssential parameter (True/False)TypeLimitationsDescription
    regionCodeNoString- Region code
    It can determine the Region for which the Block Storage snapshot instance list is to be viewed
    regionCode can be acquired through getRegionList action
    Default: select the first region shown through getRegionList
    blockStorageSnapshotInstanceNoList.NNoList<String>- Views the snapshot instance number list of the Block Storage.
    You can search by filtering with a Block Storage snapshot instance number.
    blockStorageSnapshotInstanceNo can be obtained through getBlockStorageSnapshotInstanceList action
    e.g., --blockStorageSnapshotInstanceNoList 1234 2345
    blockStorageSnapshotNameNoString- Name of Block Storage snapshot
    You can search by filtering with a Block Storage snapshot name.
    blockStorageSnapshotInstanceStatusCodeNoString- Views the snapshot instance status code of the Block Storage.
    You can search by filtering with a Block Storage snapshot instance status code.
    Options : INIT | CREAT
    originalBlockStorageInstanceNoList.NNoList<String>- Original instance number list of the Block Storage
    You can search by filtering with the original Block Storage instance number.
    originalBlockStorageInstanceNo can be obtained through getBlockStorageInstanceList action
    e.g., --originalBlockStorageInstanceNoList 1234 2345
    blockStorageSnapshotVolumeSizeNoInteger- Size of Block Storage snapshot volume
    Block Storage snapshots of sizes equal or less than the GB-level size entered can be filtered and searched
    isEncryptedOriginalBlockStorageVolumeNoBoolean- Whether the original Block Storage volume is encrypted
    You can search by filtering based on whether the original Block Storage volume is encrypted
    Options : true | false
    hypervisorTypeCodeListNoList<String>- List of hypervisor type codes
    You can search by filtering by hypervisor type
    Options : XEN | KVM
    e.g., --hypervisorTypeCodeList KVM XEN
    isBootableNoBoolean- Whether an image for my server can be generated
    You can search by filtering based on whether an image for my server can be generated
    Options : true | false
    pageNoNoInteger- Page number of paged result
    The results can be paged using page No. and page size
    pageSizeConditionalInteger- Size of each page to be shown during paging
    The results can be paged using page No. and page size
    Must be entered when entering pageNo
    sortedByNoString- Items subject to sorting
    Results can be sorted by Block Storage snapshot name
    Options : blockStorageSnapshotName
    sortingOrderNoString- Sorting order
    When using sortedBy, set for sort in ascending/descending order
    Options: ASC (ascending order) | DESC (descending order)
    Default : ASC
    responseFormatTypeNoString- Format type of responses
    Options : xml | json
    Default : xml

    Responses

    Response data type

    • Type of BlockStorageSnapshotInstanceList
    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;
    private CommonCode hypervisorType;
    private Boolean isBootable;

    Examples

    Request examples

    ncloud vserver getBlockStorageSnapshotInstanceList --regionCode KR --blockStorageSnapshotInstanceNoList ***1951 --blockStorageSnapshotName test-*** --blockStorageSnapshotInstanceStatusCode CREAT --originalBlockStorageInstanceNoList ***7746 --blockStorageSnapshotVolumeSize 50 --isEncryptedOriginalBlockStorageVolume false --hypervisorTypeCodeList KVM --isBootable true
    

    Response examples

    <getBlockStorageSnapshotInstanceListResponse>
      <requestId>08cacedf-cfd7-4a8d-a495-89aa0d72f7ca</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>CREAT</code>
            <codeName>Block storage CREATED state</codeName>
          </blockStorageSnapshotInstanceStatus>
          <blockStorageSnapshotInstanceOperation>
            <code>NULL</code>
            <codeName>Block Storage NULLOP</codeName>
          </blockStorageSnapshotInstanceOperation>
          <blockStorageSnapshotInstanceStatusName>created</blockStorageSnapshotInstanceStatusName>
          <createDate>2020-08-25T10:18:15+0900</createDate>
          <isEncryptedOriginalBlockStorageVolume>false</isEncryptedOriginalBlockStorageVolume>
          <blockStorageSnapshotDescription></blockStorageSnapshotDescription>
          <snapshotType>
            <code>FULL</code>
            <codeName>Full Storage Snapshot</codeName>
          </snapshotType>
          <baseSnapshotInstanceNo/>
          <snapshotChainDepth>0</snapshotChainDepth>
          <isBootable>true</isBootable>
          <hypervisorType>
            <code>KVM</code>
            <codeName>KVM</codeName>
          </hypervisorType>
        </blockStorageSnapshotInstance>
      </blockStorageSnapshotInstanceList>
    </getBlockStorageSnapshotInstanceListResponse>
    

    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.