---
title: "getCloudMysqlImageProductList"
slug: "cli-vmysql-getcloudmysqlimageproductlist"
tags: ["Cloud DB for MySQL", "VPC"]
updated: 2026-04-23T08:57:04Z
published: 2026-04-23T08:58:56Z
canonical: "cli.ncloud-docs.com/cli-vmysql-getcloudmysqlimageproductlist"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getCloudMysqlImageProductList

<p class="platform-info type-vpc">VPC 환경에서 이용 가능합니다.</p>

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

## 명령어<a name="명령어"></a>

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

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

### 파라미터<a name="파라미터"></a>

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

| 파라미터                 | 타입     | 필수 여부 | 설명                                                                                                                                                                                        | 제약 사항 |
|----------------------|--------|-------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|
| regionCode           | String | N     | 리전 코드<ul><li>[getRegionList](/docs/cli-vserver-server-common-getregionlist) 액션을 통해서 획득 가능<br/>- default: [getRegionList](/docs/cli-vserver-server-common-getregionlist) 조회 결과의 첫 번째 리전을 선택</li></ul>  | -     |
| productCode          | String | N     | 조회할 Cloud DB for MySQL 이미지 상품 코드<li>[getCloudMysqlImageProductList](/docs/cli-vmysql-getcloudmysqlimageproductlist) 액션의 productCode로 획득 가능 </li>                                             | -     |
| exclusionProductCode | String | N     | 제외할 Cloud DB for MySQL 이미지 상품 코드<li>[ getCloudMysqlImageProductList](/docs/cli-vmysql-getcloudmysqlimageproductlist) 액션의 productCode로 획득 가능  </li>                                           | -     |
| generationCode       | String | N     | 세대 코드<li> options: G2 \| G3   </li>                                                                                                                                        | -     |
| output               | String | N     | 응답 결과의 포맷 타입<li>options: xml \| json<li>default: json </li></ul>                                                                                                                               | -     | 

## 응답<a name="응답"></a>

### 응답 데이터 타입<a name="응답데이터타입"></a>

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

* CloudDbProductList 타입

| ProductList extends CommonResponse                           | 설명           |
|--------------------------------------------------------------|--------------|
| private Integer totalRows;                                   | 조회된 목록의 총 개수 |
| private List&lt;Product&gt; 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;              | 엔진 버전 코드                                                   |

## 예시<a name="예시"></a>

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

### 호출 예시<a name="호출예시"></a>

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

```
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
```

### 응답 예시<a name="응답예시"></a>

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

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

```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 일 때

```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>
```
