createBlockStorageSnapshotInstance
- Print
- PDF
createBlockStorageSnapshotInstance
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Can be used in a VPC environment.
Overview
Creates block storage snapshot instances.
Request
Request parameter
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - 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. | |
originalBlockStorageInstanceNo | Yes | String | - Source block storage instance number Determines the block storage to create the snapshot from. originalBlockStorageInstanceNo can be obtained through the getBlockStorageInstanceList action. | |
blockStorageSnapshotName | No | String | Min : 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. |
blockStorageSnapshotDescription | No | String | Min : 0, Max : 1000 Bytes | Description of the block storage snapshot to be created |
snapshotTypeCode | No | String | - 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 | |
responseFormatType | No | String | - 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?