deleteBlockStorageInstances
- 인쇄
- PDF
deleteBlockStorageInstances
- 인쇄
- PDF
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
개요
블록 스토리지 인스턴스 삭제
설명
블록 스토리지 인스턴스를 삭제합니다. detach 후 삭제를 진행합니다.
요청 파라미터
파라미터 명 | 필수 여부 | 타입 | 제약사항 | 설명 |
---|---|---|---|---|
blockStorageInstanceNoList.N | Yes | List<String> | 중복불가 | - 삭제할 블록 스토리지 인스턴스 번호 리스트 getBlockStorageInstanceList 액션을 통해 획득 가능 |
응답 데이터 타입
- BlockStorageInstanceList 타입
BlockStorageInstanceList extends CommonResponse |
---|
private Integer totalRows; |
private List |
BlockStorageInstance |
---|
private String blockStorageInstanceNo; |
private String serverInstanceNo; |
private String serverName; |
private CommonCode blockStorageType; |
private String blockStorageName; |
private Long blockStorageSize; |
private String deviceName; |
private String blockStorageProductCode; |
private CommonCode blockStorageInstanceStatus; |
private CommonCode blockStorageInstanceOperation; |
private String blockStorageInstanceStatusName; |
private Date createDate; |
private String blockStorageInstanceDescription; |
private CommonCode diskTypeCode; |
private CommonCode diskType; |
private CommonCode diskDetailType; |
private Integer maxIopsThroughput; |
예시
호출
ncloud server deleteBlockStorageInstances --blockStorageInstanceNoList 397260
응답
{
"deleteBlockStorageInstancesResponse": {
"requestId": "b6664b7f-c8c9-4f40-94ae-e7819938b6fa",
"returnCode": "0",
"returnMessage": "success",
"totalRows": 1,
"blockStorageInstanceList": [
{
"blockStorageInstanceNo": "397260",
"serverInstanceNo": "397255",
"serverName": "ncloud-mktest",
"blockStorageType": {
"code": "SVRBS",
"codeName": "Server BS"
},
"blockStorageName": "bst-a3e9783e47c71f3",
"blockStorageSize": 107374182400,
"deviceName": "/dev/xvdc",
"blockStorageProductCode": "SPBSTBSTAD000006",
"blockStorageInstanceStatus": {
"code": "ATTAC",
"codeName": "Block storage ATTACHED state"
},
"blockStorageInstanceOperation": {
"code": "DETAC",
"codeName": "Block Storage RESTART OP"
},
"blockStorageInstanceStatusName": "detaching",
"createDate": "2018-02-23T14:00:55+0900",
"blockStorageInstanceDescription": "",
"diskType": {
"code": "NET",
"codeName": "Network Storage"
},
"diskDetailType": {
"code": "SSD",
"codeName": "SSD"
},
"maxIopsThroughput": 4000,
"zone": {
"zoneNo": "2",
"zoneName": "KR-1",
"zoneDescription": "KR-1 zone"
}
}
]
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<deleteBlockStorageInstancesResponse>
<requestId>b6664b7f-c8c9-4f40-94ae-e7819938b6fa</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<blockStorageInstanceList>
<blockStorageInstanceNo>397260</blockStorageInstanceNo>
<serverInstanceNo>397255</serverInstanceNo>
<serverName>ncloud-mktest</serverName>
<blockStorageType>
<code>SVRBS</code>
<codeName>Server BS</codeName>
</blockStorageType>
<blockStorageName>bst-a3e9783e47c71f3</blockStorageName>
<blockStorageSize>107374182400</blockStorageSize>
<deviceName>/dev/xvdc</deviceName>
<blockStorageProductCode>SPBSTBSTAD000006</blockStorageProductCode>
<blockStorageInstanceStatus>
<code>ATTAC</code>
<codeName>Block storage ATTACHED state</codeName>
</blockStorageInstanceStatus>
<blockStorageInstanceOperation>
<code>DETAC</code>
<codeName>Block Storage RESTART OP</codeName>
</blockStorageInstanceOperation>
<blockStorageInstanceStatusName>detaching</blockStorageInstanceStatusName>
<createDate>2018-02-23T14:00:55+0900</createDate>
<blockStorageInstanceDescription></blockStorageInstanceDescription>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
<diskDetailType>
<code>SSD</code>
<codeName>SSD</codeName>
</diskDetailType>
<maxIopsThroughput>4000</maxIopsThroughput>
<zone>
<zoneNo>2</zoneNo>
<zoneName>KR-1</zoneName>
<zoneDescription>KR-1 zone</zoneDescription>
</zone>
</blockStorageInstanceList>
</deleteBlockStorageInstancesResponse>
이 문서가 도움이 되었습니까?