getHypervisorTypeList

Prev Next

VPC 환경에서 이용 가능합니다.

개요

하이퍼바이저 타입 리스트를 조회합니다.

요청

요청 파라미터

파라미터명 필수 여부 타입 제약 사항 설명
regionCode No String - 리전 코드
블록 스토리지 인스턴스 리스트가 조회될 리전(Region) 결정 가능
regionCode는 getRegionList 액션을 통해 획득 가능
Default : getRegionList 조회 결과의 첫 번째 리전을 선택
responseFormatType No String - 응답 결과의 포맷 타입
Options : xml | json
Default : xml

응답

응답 데이터 타입

  • HypervisorTypeList 타입
HypervisorTypeList extends CommonResponse
private Integer totalRows;
private List<CommonCode> hypervisorTypeList = new ArrayList<>();

예시

요청 예시

ncloud vserver getHypervisorTypeList --regionCode KR

응답 예시

<getHypervisorTypeListResponse>
  <requestId></requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>2</totalRows>
  <hypervisorTypeList>
      <hypervisorType>
          <code>XEN</code>
          <codeName>XEN</codeName>
      </hypervisorType>
      <hypervisorType>
          <code>KVM</code>
          <codeName>KVM</codeName>
      </hypervisorType>
  </hypervisorTypeList>
</getHypervisorTypeListResponse>