setBlockStorageReturnProtection
- 인쇄
- PDF
setBlockStorageReturnProtection
- 인쇄
- PDF
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
VPC 환경에서 이용 가능합니다.
개요
블록 스토리지 반납 보호 여부를 설정합니다.
요청
요청 파라미터
파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
---|---|---|---|---|
regionCode | No | String | - 리전 코드 반납 보호 여부를 설정할 블록 스토리지 인스턴스의 리전(Region) 결정 가능 regionCode는 getRegionList 액션을 통해 획득 가능 Default : getRegionList 조회 결과의 첫 번째 리전을 선택 | |
blockStorageInstanceNo | Yes | String | - 반납 보호 여부를 설정할 블록 스토리지 인스턴스 번호 blockStorageInstanceNo는 getBlockStorageInstanceList 액션을 통해 획득 가능 | |
isReturnProtection | Yes | Boolean | - 반납 보호 여부 Options : true | false |
응답
응답 데이터 타입
- BlockStorageInstanceList 타입
BlockStorageInstanceList extends CommonResponse |
---|
private Integer totalRows; |
private List<BlockStorageInstance> blockStorageInstanceList = new ArrayList<>(); |
BlockStorageInstance |
---|
private String blockStorageInstanceNo; |
private String serverInstanceNo; |
private String blockStorageName; |
private CommonCode blockStorageType; |
private Long blockStorageSize; |
private String deviceName; |
private String blockStorageProductCode; |
private CommonCode blockStorageInstanceStatus; |
private CommonCode blockStorageInstanceOperation; |
private String blockStorageInstanceStatusName; |
private Date createDate; |
private String blockStorageDescription; |
private CommonCode blockStorageDiskType; |
private CommonCode blockStorageDiskDetailType; |
private Integer maxIopsThroughput; |
private Boolean isEncryptedVolume; |
private String zoneCode; |
private String regionCode; |
private Boolean isReturnProtection; |
예시
요청 예시
ncloud vserver setBlockStorageReturnProtection --regionCode KR --blockStorageInstanceNo ***7746 --isReturnProtection true
응답 예시
<setBlockStorageReturnProtectionResponse>
<requestId>17b3bcf6-8e52-47e5-b822-1352ec765a97</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<blockStorageInstanceList>
<blockStorageInstance>
<blockStorageInstanceNo>***7746</blockStorageInstanceNo>
<serverInstanceNo>***4299</serverInstanceNo>
<blockStorageName>test-***</blockStorageName>
<blockStorageType>
<code>SVRBS</code>
<codeName>Server BS</codeName>
</blockStorageType>
<blockStorageSize>64424509440</blockStorageSize>
<deviceName>/dev/xvdb</deviceName>
<blockStorageProductCode>SPBSTBSTAD000006</blockStorageProductCode>
<blockStorageInstanceStatus>
<code>ATTAC</code>
<codeName>Block storage ATTACHED state</codeName>
</blockStorageInstanceStatus>
<blockStorageInstanceOperation>
<code>NULL</code>
<codeName>Block Storage NULL OP</codeName>
</blockStorageInstanceOperation>
<blockStorageInstanceStatusName>attached</blockStorageInstanceStatusName>
<createDate>2020-08-25T09:38:49+0900</createDate>
<blockStorageDescription></blockStorageDescription>
<blockStorageDiskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</blockStorageDiskType>
<blockStorageDiskDetailType>
<code>SSD</code>
<codeName>SSD</codeName>
</blockStorageDiskDetailType>
<maxIopsThroughput>4000</maxIopsThroughput>
<isEncryptedVolume>false</isEncryptedVolume>
<zoneCode>KR-1</zoneCode>
<regionCode>KR</regionCode>
<isReturnProtection>true</isReturnProtection>
</blockStorageInstance>
</blockStorageInstanceList>
</setBlockStorageReturnProtectionResponse>
이 문서가 도움이 되었습니까?