Documentation Index

Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

getServerImageProductList

Prev Next

개요

네이버 클라우드 플랫폼에서 제공하는 서버이미지 상품리스트를 조회합니다.

요청

요청 파라미터

파라미터명 필수 여부 타입 제약 사항 설명
exclusionProductCode No String Min:1, Max:20 리스트에서 제외할 서버이미지 상품코드 입력
상품코드는 getServerImageProductList 액션 통해서 획득 가능
ex) exclusionProductCode=SPSW0LINUX000032
productCode No String Min:1, Max:20 - 조회할 상품코드
조회할 서버이미지 상품코드를 입력하며, 1개의 상품 조회됨
상품코드는 getServerImageProductList 액션 통해서 획득 가능
ex) productCode=SPSW0LINUX000032
platformTypeCodeList.N No List<String> Min:1, Max:5 - 플랫폼구분코드리스트
플랫폼구분에 필요한 값을 리스트형태로 전달하며, 아래의 값들 입력 가능
Options : LNX32 (Linux 32Bit) | LNX64 (Linux 64Bit) | WND32 (Windows 32Bit) | WND64 (Windows 64Bit) | UBD64 (Ubuntu Desktop 64Bit) | UBS64 (Ubuntu Server 64Bit)
ex) platformTypeCodeList.1=LNX64&platformTypeCodeList.2=WND64
blockStorageSize No Integer - 블록 스토리지사이즈(GB)
스토리지의 사이즈로 서버이미지 필터링 가능
Options : 50 | 100
ex) blockStorageSize=50
regionNo No String - 리전 번호
리전 번호를 받아 조회 시 해당하는 리전으로만 필터링 가능
리전 번호는 getRegionList 액션 통해 획득 가능
ex) regionNo=10
infraResourceDetailTypeCode No String - 인프라자원상세구분코드
리스트에서 특정 유형의 이미지 조회. 현재는 BareMetal만 조회 가능
Options : 네이버 클라우드 플랫폼에서 제공하는 기본서버이미지 | BM (BareMetal)
Default : 네이버 클라우드 플랫폼에서 제공하는 기본서버이미지
ex) infraResourceDetailTypeCode=BM
responseFormatType No String - 응답 결과의 포맷 타입
Options : xml | json
Default : xml

응답

응답 바디

예시

요청 예시

GET {SERVER_API_URL}/getServerImageProductList
?platformTypeCodeList.1=LNX64
&platformTypeCodeList.2=WND64

응답 예시

<getServerImageProductListResponse>
  <requestId>6ddf2bd8-1cf9-4dbf-a6d2-0bf7802d2829</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <productList>
    <product>
      <productCode>SPSW0LINUX000032</productCode>
      <productName>centos-6.3-32</productName>
      <productType>
        <code>LINUX</code>
        <codeName>Linux</codeName>
      </productType>
      <productDescription>CentOS 6.3(32bit)</productDescription>
      <infraResourceType>
        <code>SW</code>
        <codeName>Software</codeName>
      </infraResourceType>
      <cpuCount>0</cpuCount>
      <memorySize>0</memorySize>
      <baseBlockStorageSize>53687091200</baseBlockStorageSize>
      <platformType>
        <code>LNX32</code>
        <codeName>Linux 32 Bit</codeName>
      </platformType>
      <osInformation>CentOS 6.3 (32-bit)</osInformation>
      <dbKindCode></dbKindCode>
      <addBlockStorageSize>0</addBlockStorageSize>
    </product>
  </productList>
  <totalRows>1</totalRows>
</getServerImageProductListResponse>