deleteBlockStorageInstances

Prev Next

개요

블록 스토리지 인스턴스를 삭제합니다. detach 후 삭제를 진행합니다.

요청

요청 파라미터

파라미터 명 필수 여부 타입 제약사항 설명
blockStorageInstanceNoList.N Yes List<String> 중복 불가 - 삭제할 블록 스토리지 인스턴스 번호 리스트
blockStorageInstanceNo는 getBlockStorageInstanceList 액션을 통해 획득 가능
ex) blockStorageInstanceNoList.1=1089090&blockStorageInstanceNoList.2=121636
responseFormatType No String - 응답 결과의 포맷 타입
Options : xml | json
Default : xml

응답

응답 바디

예시

요청 예시

GET {SERVER_API_URL}/deleteBlockStorageInstances
?blockStorageInstanceNoList.1=1089090

응답 예시

<deleteBlockStorageInstancesResponse>
  <requestId>787ab14e-f87b-4ad7-bba0-4905dd94aeec</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <blockStorageInstanceList>
    <blockStorageInstance>
      <blockStorageInstanceNo>1089090</blockStorageInstanceNo>
      <serverInstanceNo>1021003</serverInstanceNo>
      <serverName>s1669aa4e78c</serverName>
      <blockStorageType>
        <code>SVRBS</code>
        <codeName>Server BS</codeName>
      </blockStorageType>
      <blockStorageName>bst167588711f2</blockStorageName>
      <blockStorageSize>10737418240</blockStorageSize>
      <deviceName>/dev/xvdb</deviceName>
      <blockStorageProductCode>SPBSTBSTAD000002</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-11-28T13:15:06+0900</createDate>
      <blockStorageInstanceDescription></blockStorageInstanceDescription>
      <diskType>
        <code>NET</code>
        <codeName>Network Storage</codeName>
      </diskType>
      <diskDetailType>
        <code>HDD</code>
        <codeName>HDD</codeName>
      </diskDetailType>
      <zone>
        <zoneNo>3</zoneNo>
        <zoneName>KR-2</zoneName>
        <zoneCode>KR-2</zoneCode>
        <zoneDescription>평촌 zone</zoneDescription>
        <regionNo>1</regionNo>
      </zone>
    </blockStorageInstance>
  </blockStorageInstanceList>
</deleteBlockStorageInstancesResponse>

에러 코드

아래 에러 코드는 이 액션(Action)에서 특징적으로 발생하는 에러입니다. 공통적으로 발생하는 에러에 대한 상세한 설명은 NAVER Cloud Platform API를 참고해주세요

HTTP Response Code 리턴 코드 리턴 메시지
400 10713 Not found contract information. Please check your input parameter.
400 24002 It seems that storage {0} is mounted to server {1}. Please unmount the storage and try again.
400 24109 The input parameter instance number is invalid
400 24121 The input parameter storage instance number is invalid.
400 25002 Unable to perform deallocation command since (other) user is operating target server to be allocated with storage or an error in target server.
400 25003 Unable to perform deallocation command since (other) user is operating target server or the it has already been deallocated.
400 25004 Unable to return since (other) user is either operating the target storage or an error in target storage.