deleteBlockStorageSnapshotInstances
    • PDF

    deleteBlockStorageSnapshotInstances

    • PDF

    Article Summary

    Can be used in a VPC environment.

    Overview

    Delete the list of block storage snapshot instances.

    Request

    Request parameter

    Parameter NameRequired StatusTypeRestrictionsDescription
    regionCodeNoStringRegion Code
    You can decide the region of the block storage snapshot instance to be deleted.
    The regionCode can be obtained through the getRegionList action.
    Default: Select the first region of the getRegionList query results.
    blockStorageSnapshotInstanceNoList.NYesList<String>List of the block storage snapshot instance numbers to be deleted
    The blockStorageSnapshotInstanceNo can be obtained through the getBlockStorageSnapshotInstanceList action.
    ex) --blockStorageSnapshotInstanceNoList 1234 2345
    responseFormatTypeNoStringFormat type for 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;

    Example

    Request example

    ncloud vserver deleteBlockStorageSnapshotInstances --regionCode KR --blockStorageSnapshotInstanceNoList ***1951
    

    Response example

    <deleteBlockStorageSnapshotInstancesResponse>
      <requestId>d57144e3-dcc5-4d73-8ed8-59b31fbe2102</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>TERMT</code>
            <codeName>Block Storage TERMINATE OP</codeName>
          </blockStorageSnapshotInstanceOperation>
          <blockStorageSnapshotInstanceStatusName>terminating</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>
    </deleteBlockStorageSnapshotInstancesResponse>
    

    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.