---
title: "getCloudMysqlImageProductList"
slug: "cli-vmysql-getcloudmysqlimageproductlist"
tags: ["Cloud DB for MySQL "]
updated: 2026-06-25T09:10:27Z
published: 2026-06-25T09:10:27Z
canonical: "cli-fin.ncloud-docs.com/cli-vmysql-getcloudmysqlimageproductlist"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://cli-fin.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.
# getCloudMysqlImageProductList
Cloud DB for MySQL 상품 코드 목록을 조회합니다.
## 명령어
명령어 구문은 다음과 같습니다.
```
ncloud vmysql getCloudMysqlImageProductList [regionCode FKR] [productCode] [exclusionProductCode] [output]
```
### 파라미터
파라미터에 대한 설명은 다음과 같습니다.
| 파라미터 | 타입 | 필수 여부 | 설명 | 제약 사항 |
|----------------------|--------|-------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|
| regionCode | String | N | 리전 코드
- [getRegionList](/docs/cli-vserver-server-common-getregionlist) 액션을 통해서 획득 가능
- default: [getRegionList](/docs/cli-vserver-server-common-getregionlist) 조회 결과의 첫 번째 리전을 선택 | - |
| productCode | String | N | 조회할 Cloud DB for MySQL 이미지 상품 코드
- [getCloudMysqlImageProductList](/docs/cli-vmysql-getcloudmysqlimageproductlist) 액션의 productCode로 획득 가능 | - |
| exclusionProductCode | String | N | 제외할 Cloud DB for MySQL 이미지 상품 코드
- [getCloudMysqlImageProductList](/docs/cli-vmysql-getcloudmysqlimageproductlist) 액션의 productCode로 획득 가능 | - |
| generationCode | String | N | 세대 코드
- options: G2 \| G3 | - |
| output | String | N | 응답 결과의 포맷 타입
- 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 FKR --productCode SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.5732.B050 --exclusionProductCode SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.5729.B050 --generationCode G2
```
### 응답 예시
응답 예시는 다음과 같습니다.
응답 결과 포맷 타입(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
3d1be0bf-5ae0-4c46-85e3-6815171c1f3a
0
success
1
SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.5732.B050
mysql(5.7.32)
LINUX
Linux
CentOS 7.8 with MySQL 5.7.32
SW
Software
53687091200
LNX64
Linux 64 Bit
CentOS 7.8 with MySQL 5.7.32 (64-bit)
G2
MYSQL5.7.32
```