getCloudMysqlImageProductList
    • PDF

    getCloudMysqlImageProductList

    • PDF

    Article Summary

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

    Cloud DB for MySQL 상품 코드 목록을 조회합니다.

    명령어

    명령어 구문은 다음과 같습니다.

    ncloud vmysql getCloudMysqlImageProductList [regionCode KR] [productCode] [exclusionProductCode] [output]
    

    파라미터

    파라미터에 대한 설명은 다음과 같습니다.

    파라미터타입필수 여부설명제약 사항
    regionCodeStringN리전 코드
    - getRegionList 액션을 통해서 획득 가능
    - default: getRegionList 조회 결과의 첫 번째 리전을 선택
    -
    productCodeStringN조회할 Cloud DB for MySQL 이미지 상품 코드
    - getCloudMysqlImageProductList 액션의 productCode로 획득 가능
    -
    exclusionProductCodeStringN제외할 Cloud DB for MySQL 이미지 상품 코드
    - getCloudMysqlImageProductList 액션의 productCode로 획득 가능
    -
    generationCodeStringN세대 코드
    - options: G2 | G3
    -
    outputStringN응답 결과의 포맷 타입
    - options: xml | json
    - default: json
    -

    응답

    응답 데이터 타입

    명령어 호출에 대한 응답 데이터 타입은 다음과 같습니다.

    • CloudDbProductList 타입
    ProductList extends CommonResponse설명
    private Integer totalRows;조회된 목록의 총 개수
    private List<Product> productList = new ArrayList<>();
    • Product 타입
    Product설명
    private String productCode;서버의 스펙이나 서버 OS를 정의한 NAVER Cloud Platform에서 관리하고 있는 상품코드
    private String productName;상품 이름
    private CommonCode productType;상품 유형
    private String productDescription;상품 설명
    private CommonCode infraResourceType;인프라 자원 유형
    private Long baseBlockStorageSize;기본 블록 스토리지 사이즈
    private CommonCode platformType;플랫폼 유형
    private String osInformation;OS 정보
    private String generationCode;세대 코드
    private String engineVersionCode;엔진 버전 코드

    예시

    호출과 응답 예시를 설명합니다.

    호출 예시

    호출 예시는 다음과 같습니다.

    ncloud vmysql getCloudMysqlImageProductList --regionCode KR --productCode SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.5732.B050 --exclusionProductCode SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.5729.B050 --generationCode G2
    

    응답 예시

    응답 예시는 다음과 같습니다.

    응답 결과 포맷 타입(output)이 json 일 때

    {
      "getCloudMysqlImageProductListResponse": {
        "requestId": "3d1be0bf-5ae0-4c46-85e3-6815171c1f3a",
        "returnCode": 0,
        "returnMessage": "success",
        "totalRows": 1,
        "productList": {
          "product": {
            "productCode": "SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.5732.B050",
            "productName": "mysql(5.7.32)",
            "productType": {
              "code": "LINUX",
              "codeName": "Linux"
            },
            "productDescription": "CentOS 7.8 with MySQL 5.7.32",
            "infraResourceType": {
              "code": "SW",
              "codeName": "Software"
            },
            "baseBlockStorageSize": 53687091200,
            "platformType": {
              "code": "LNX64",
              "codeName": "Linux 64 Bit"
            },
            "osInformation": "CentOS 7.8 with MySQL 5.7.32 (64-bit)",
            "generationCode": "G2",
            "engineVersionCode": "MYSQL5.7.32"
          }
        }
      }
    }
    

    응답 결과 포맷 타입(output)이 xml 일 때

    
    <getCloudMysqlImageProductListResponse>
        <requestId>3d1be0bf-5ae0-4c46-85e3-6815171c1f3a</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>1</totalRows>
        <productList>
            <product>
                <productCode>SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.5732.B050</productCode>
                <productName>mysql(5.7.32)</productName>
                <productType>
                    <code>LINUX</code>
                    <codeName>Linux</codeName>
                </productType>
                <productDescription>CentOS 7.8 with MySQL 5.7.32</productDescription>
                <infraResourceType>
                    <code>SW</code>
                    <codeName>Software</codeName>
                </infraResourceType>
                <baseBlockStorageSize>53687091200</baseBlockStorageSize>
                <platformType>
                    <code>LNX64</code>
                    <codeName>Linux 64 Bit</codeName>
                </platformType>
                <osInformation>CentOS 7.8 with MySQL 5.7.32 (64-bit)</osInformation>
                <generationCode>G2</generationCode>
                <engineVersionCode>MYSQL5.7.32</engineVersionCode>
            </product>
        </productList>
    </getCloudMysqlImageProductListResponse>
    

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

    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.