getServerImageProductList
    • PDF

    getServerImageProductList

    • PDF

    기사 요약

    개요

    서버 이미지 상품 리스트 조회

    설명

    서버 인스턴스(VM)를 생성하기 위해서는 서버 이미지 상품을 선택하여 생성하여야 합니다.
    따라서 서버 이미지 상품을 조회할 수 있는 API를 제공합니다.

    요청 파라미터

    파라미터 명필수 여부타입제약사항설명
    exclusionProductCodeNoStringMin:1, Max:20리스트에서 제외할 상품 코드 입력
    productCodeNoStringMin:1, Max:20리스트에서 조회할 상품 코드 입력
    1건 조회 시 사용
    platformTypeCodeListNoListMin:1, Max:5플랫폼 구분에 필요한 값을 리스트 형태로 전달함
    아래의 값들이 입력될 수 있음:
    리눅스 32 Bit(LNX32) | 리눅스 64 Bit(LNX64) | 윈도우 32 Bit(WND32) | 윈도우 64 Bit(WND64) | 우분투 데스크톱 64 Bit(UBD64) | 우분투 서버 64 Bit(UBS64)
    blockStorageSizeNoIntegerDefault : 50 | 100
    regionNoNoString입력 가능한 상태는 getRegionList 액션을 통해 획득 가능
    infraResourceDetailTypeCodeNoString리스트에서 특정 유형의 이미지 조회 (현재는 BareMetal만 조회 가능)
    BareMetal(BM) | Default : 기본 서버 이미지

    응답 데이터 타입

    • ProductList 타입
    ProcessList extends CommonResponse
    private Integer totalRows;
    private List processList = new ArrayList();
    Product
    private String productCode;
    private String productName;
    private CommonCode productType;
    private String productDescription;
    private CommonCode infraResourceType;
    private CommonCode infraResourceDetailType;
    private Integer cpuCount;
    private Long memorySize;
    private Long baseBlockStorageSize;
    private CommonCode platformType;
    private String osInformation;
    private CommonCode diskType;
    private String dbKindCode
    private Long addBlockStorageSize;

    예시

    호출

    ncloud server getServerImageProductList --platformTypeCodeList LNX64 --infraResourceDetailTypeCode BM --exclusionProductCode SPSWBMLINUX00001
    

    응답

    {
      "getServerImageProductListResponse": {
        "requestId": "74bfddb6-c1b9-4b22-9be6-ddfa3f851a1a",
        "returnCode": "0",
        "returnMessage": "success",
        "productList": [
          {
            "productCode": "SPSWBMLINUX00002",
            "productName": "CentOS 7.4(64bit)",
            "productType": {
              "code": "LINUX",
              "codeName": "Linux"
            },
            "productDescription": "CentOS 7.4(64bit)",
            "infraResourceType": {
              "code": "SW",
              "codeName": "Software"
            },
            "infraResourceDetailType": {
              "code": "BM",
              "codeName": "BareMetal"
            },
            "cpuCount": 0,
            "memorySize": 0,
            "baseBlockStorageSize": 0,
            "platformType": {
              "code": "LNX64",
              "codeName": "Linux 64 Bit"
            },
            "osInformation": "CentOS 7.4(64bit)",
            "dbKindCode": "",
            "addBlockStorageSize": 0
          },
          {
            "productCode": "SPSWBMLINUX00003",
            "productName": "Oracle Linux 6.9(64bit)",
            "productType": {
              "code": "LINUX",
              "codeName": "Linux"
            },
            "productDescription": "Oracle Linux 6.9(64bit)",
            "infraResourceType": {
              "code": "SW",
              "codeName": "Software"
            },
            "infraResourceDetailType": {
              "code": "BM",
              "codeName": "BareMetal"
            },
            "cpuCount": 0,
            "memorySize": 0,
            "baseBlockStorageSize": 0,
            "platformType": {
              "code": "LNX64",
              "codeName": "Linux 64 Bit"
            },
            "osInformation": "Oracle Linux 6.9(64bit)",
            "dbKindCode": "",
            "addBlockStorageSize": 0
          },
          {
            "productCode": "SPSWBMLINUX00004",
            "productName": "Oracle Linux 7.4(64bit)",
            "productType": {
              "code": "LINUX",
              "codeName": "Linux"
            },
            "productDescription": "Oracle Linux 7.4(64bit)",
            "infraResourceType": {
              "code": "SW",
              "codeName": "Software"
            },
            "infraResourceDetailType": {
              "code": "BM",
              "codeName": "BareMetal"
            },
            "cpuCount": 0,
            "memorySize": 0,
            "baseBlockStorageSize": 0,
            "platformType": {
              "code": "LNX64",
              "codeName": "Linux 64 Bit"
            },
            "osInformation": "Oracle Linux 7.4(64bit)",
            "dbKindCode": "",
            "addBlockStorageSize": 0
          }
        ],
        "totalRows": 3
      }
    }
    
    <?xml version="1.0" encoding="UTF-8" ?>
    <getServerImageProductListResponse>
      <requestId>74bfddb6-c1b9-4b22-9be6-ddfa3f851a1a</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <productList>
        <productCode>SPSWBMLINUX00002</productCode>
        <productName>CentOS 7.4(64bit)</productName>
        <productType>
          <code>LINUX</code>
          <codeName>Linux</codeName>
        </productType>
        <productDescription>CentOS 7.4(64bit)</productDescription>
        <infraResourceType>
          <code>SW</code>
          <codeName>Software</codeName>
        </infraResourceType>
        <infraResourceDetailType>
          <code>BM</code>
          <codeName>BareMetal</codeName>
        </infraResourceDetailType>
        <cpuCount>0</cpuCount>
        <memorySize>0</memorySize>
        <baseBlockStorageSize>0</baseBlockStorageSize>
        <platformType>
          <code>LNX64</code>
          <codeName>Linux 64 Bit</codeName>
        </platformType>
        <osInformation>CentOS 7.4(64bit)</osInformation>
        <dbKindCode></dbKindCode>
        <addBlockStorageSize>0</addBlockStorageSize>
      </productList>
      <productList>
        <productCode>SPSWBMLINUX00003</productCode>
        <productName>Oracle Linux 6.9(64bit)</productName>
        <productType>
          <code>LINUX</code>
          <codeName>Linux</codeName>
        </productType>
        <productDescription>Oracle Linux 6.9(64bit)</productDescription>
        <infraResourceType>
          <code>SW</code>
          <codeName>Software</codeName>
        </infraResourceType>
        <infraResourceDetailType>
          <code>BM</code>
          <codeName>BareMetal</codeName>
        </infraResourceDetailType>
        <cpuCount>0</cpuCount>
        <memorySize>0</memorySize>
        <baseBlockStorageSize>0</baseBlockStorageSize>
        <platformType>
          <code>LNX64</code>
          <codeName>Linux 64 Bit</codeName>
        </platformType>
        <osInformation>Oracle Linux 6.9(64bit)</osInformation>
        <dbKindCode></dbKindCode>
        <addBlockStorageSize>0</addBlockStorageSize>
      </productList>
      <productList>
        <productCode>SPSWBMLINUX00004</productCode>
        <productName>Oracle Linux 7.4(64bit)</productName>
        <productType>
          <code>LINUX</code>
          <codeName>Linux</codeName>
        </productType>
        <productDescription>Oracle Linux 7.4(64bit)</productDescription>
        <infraResourceType>
          <code>SW</code>
          <codeName>Software</codeName>
        </infraResourceType>
        <infraResourceDetailType>
          <code>BM</code>
          <codeName>BareMetal</codeName>
        </infraResourceDetailType>
        <cpuCount>0</cpuCount>
        <memorySize>0</memorySize>
        <baseBlockStorageSize>0</baseBlockStorageSize>
        <platformType>
          <code>LNX64</code>
          <codeName>Linux 64 Bit</codeName>
        </platformType>
        <osInformation>Oracle Linux 7.4(64bit)</osInformation>
        <dbKindCode></dbKindCode>
        <addBlockStorageSize>0</addBlockStorageSize>
      </productList>
      <totalRows>3</totalRows>
    </getServerImageProductListResponse>
    

    이 문서가 도움이 되었습니까?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.