getCloudMysqlImageProductList
- 인쇄
- PDF
getCloudMysqlImageProductList
- 인쇄
- PDF
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
VPC 환경에서 이용 가능합니다.
Cloud DB for MySQL 상품 코드 목록을 조회합니다.
명령어
명령어 구문은 다음과 같습니다.
ncloud vmysql getCloudMysqlImageProductList [regionCode] [productCode] [exclusionProductCode] [output]
파라미터
파라미터에 대한 설명은 다음과 같습니다.
파라미터 | 타입 | 필수 여부 | 설명 | 제약 사항 |
---|---|---|---|---|
regionCode | String | N | 리전 코드 - getRegionList 액션을 통해서 획득 가능 - default: getRegionList 조회 결과의 첫 번째 리전을 선택 | - |
productCode | String | N | 조회할 Cloud DB for MySQL 이미지 상품 코드 - getCloudMysqlImageProductList 액션의 productCode로 획득 가능 | - |
exclusionProductCode | String | N | 제외할 Cloud DB for MySQL 이미지 상품 코드 - getCloudMysqlImageProductList 액션의 productCode로 획득 가능 | - |
generationCode | String | N | 세대 코드 - options: G2 | - |
output | String | N | 응답 결과의 포맷 타입 - options: xml | json - default: json | - |
응답
응답 데이터 타입
명령어 호출에 대한 응답 데이터 타입은 다음과 같습니다.
- CloudDbCloudDbProductList 타입
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 CommonCode infraResourceDetailType; | 인프라 자원 상세 유형 |
private Integer cpuCount; | CPU 개수 |
private Long memorySize; | 메모리 사이즈 |
private Long baseBlockStorageSize; | 기본 블록 스토리지 사이즈 |
private CommonCode platformType; | 플랫폼 유형 |
private String osInformation; | OS 정보 |
private CommonCode diskType; | 디스크 유형 |
private String dbKindCode; | DB 유형 코드 |
private Long addBlockStorageSize; | 추가 블록 스토리지 사이즈 |
private String generationCode; | 세대 코드 |
예시
호출과 응답 예시를 설명합니다.
호출 예시
호출 예시는 다음과 같습니다.
ncloud vmysql getCloudMysqlImageProductList --regionCode KR --productCode SW.VMYSL.OS.LNX64.ROCKY.0810.MYSQL.B050 --generationCode G2
응답 예시
응답 예시는 다음과 같습니다.
응답 결과 포맷 타입(output)이 json 일 때
{
"getCloudMysqlImageProductListResponse": {
"totalRows": 8,
"productList": [
{
"productCode": "SW.VMYSL.OS.LNX64.ROCKY.0810.MYSQL.B050",
"productName": "MySQL",
"productType": {
"code": "LINUX",
"codeName": "리눅스"
},
"productDescription": "Rocky Linux 8.10 with MySQL",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Rocky Linux 8.10 with MySQL (64-bit)",
"generationCode": "G2",
"engineVersionCode": "8.0.36"
},
{
"productCode": "SW.VMYSL.OS.LNX64.ROCKY.0810.MYSQL.B050",
"productName": "MySQL",
"productType": {
"code": "LINUX",
"codeName": "리눅스"
},
"productDescription": "Rocky Linux 8.10 with MySQL",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Rocky Linux 8.10 with MySQL (64-bit)",
"generationCode": "G2",
"engineVersionCode": "8.0.34"
},
{
"productCode": "SW.VMYSL.OS.LNX64.ROCKY.0810.MYSQL.B050",
"productName": "MySQL",
"productType": {
"code": "LINUX",
"codeName": "리눅스"
},
"productDescription": "Rocky Linux 8.10 with MySQL",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Rocky Linux 8.10 with MySQL (64-bit)",
"generationCode": "G2",
"engineVersionCode": "8.0.32"
},
{
"productCode": "SW.VMYSL.OS.LNX64.ROCKY.0810.MYSQL.B050",
"productName": "MySQL",
"productType": {
"code": "LINUX",
"codeName": "리눅스"
},
"productDescription": "Rocky Linux 8.10 with MySQL",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Rocky Linux 8.10 with MySQL (64-bit)",
"generationCode": "G2",
"engineVersionCode": "8.0.25"
},
{
"productCode": "SW.VMYSL.OS.LNX64.ROCKY.0810.MYSQL.B050",
"productName": "MySQL",
"productType": {
"code": "LINUX",
"codeName": "리눅스"
},
"productDescription": "Rocky Linux 8.10 with MySQL",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Rocky Linux 8.10 with MySQL (64-bit)",
"generationCode": "G2",
"engineVersionCode": "5.7.40"
},
{
"productCode": "SW.VMYSL.OS.LNX64.ROCKY.0810.MYSQL.B050",
"productName": "MySQL",
"productType": {
"code": "LINUX",
"codeName": "리눅스"
},
"productDescription": "Rocky Linux 8.10 with MySQL",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Rocky Linux 8.10 with MySQL (64-bit)",
"generationCode": "G2",
"engineVersionCode": "5.7.37"
},
{
"productCode": "SW.VMYSL.OS.LNX64.ROCKY.0810.MYSQL.B050",
"productName": "MySQL",
"productType": {
"code": "LINUX",
"codeName": "리눅스"
},
"productDescription": "Rocky Linux 8.10 with MySQL",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Rocky Linux 8.10 with MySQL (64-bit)",
"generationCode": "G2",
"engineVersionCode": "5.7.32"
},
{
"productCode": "SW.VMYSL.OS.LNX64.ROCKY.0810.MYSQL.B050",
"productName": "MySQL",
"productType": {
"code": "LINUX",
"codeName": "리눅스"
},
"productDescription": "Rocky Linux 8.10 with MySQL",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Rocky Linux 8.10 with MySQL (64-bit)",
"generationCode": "G2",
"engineVersionCode": "5.7.29"
}
],
"requestId": "03dd01ab-7d36-4a90-91cb-e11c803b965f",
"returnCode": "0",
"returnMessage": "success"
}
}
응답 결과 포맷 타입(output)이 xml 일 때
<getCloudMysqlImageProductListResponse>
<requestId>90fe335c-833e-45f2-872e-6a26b36088cc</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>8</totalRows>
<productList>
<product>
<productCode>SW.VMYSL.OS.LNX64.ROCKY.0810.MYSQL.B050</productCode>
<productName>MySQL</productName>
<productType>
<code>LINUX</code>
<codeName>리눅스</codeName>
</productType>
<productDescription>Rocky Linux 8.10 with MySQL</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>Rocky Linux 8.10 with MySQL (64-bit)</osInformation>
<generationCode>G2</generationCode>
<engineVersionCode>8.0.36</engineVersionCode>
</product>
<product>
<productCode>SW.VMYSL.OS.LNX64.ROCKY.0810.MYSQL.B050</productCode>
<productName>MySQL</productName>
<productType>
<code>LINUX</code>
<codeName>리눅스</codeName>
</productType>
<productDescription>Rocky Linux 8.10 with MySQL</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>Rocky Linux 8.10 with MySQL (64-bit)</osInformation>
<generationCode>G2</generationCode>
<engineVersionCode>8.0.34</engineVersionCode>
</product>
<product>
<productCode>SW.VMYSL.OS.LNX64.ROCKY.0810.MYSQL.B050</productCode>
<productName>MySQL</productName>
<productType>
<code>LINUX</code>
<codeName>리눅스</codeName>
</productType>
<productDescription>Rocky Linux 8.10 with MySQL</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>Rocky Linux 8.10 with MySQL (64-bit)</osInformation>
<generationCode>G2</generationCode>
<engineVersionCode>8.0.32</engineVersionCode>
</product>
<product>
<productCode>SW.VMYSL.OS.LNX64.ROCKY.0810.MYSQL.B050</productCode>
<productName>MySQL</productName>
<productType>
<code>LINUX</code>
<codeName>리눅스</codeName>
</productType>
<productDescription>Rocky Linux 8.10 with MySQL</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>Rocky Linux 8.10 with MySQL (64-bit)</osInformation>
<generationCode>G2</generationCode>
<engineVersionCode>8.0.25</engineVersionCode>
</product>
<product>
<productCode>SW.VMYSL.OS.LNX64.ROCKY.0810.MYSQL.B050</productCode>
<productName>MySQL</productName>
<productType>
<code>LINUX</code>
<codeName>리눅스</codeName>
</productType>
<productDescription>Rocky Linux 8.10 with MySQL</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>Rocky Linux 8.10 with MySQL (64-bit)</osInformation>
<generationCode>G2</generationCode>
<engineVersionCode>5.7.40</engineVersionCode>
</product>
<product>
<productCode>SW.VMYSL.OS.LNX64.ROCKY.0810.MYSQL.B050</productCode>
<productName>MySQL</productName>
<productType>
<code>LINUX</code>
<codeName>리눅스</codeName>
</productType>
<productDescription>Rocky Linux 8.10 with MySQL</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>Rocky Linux 8.10 with MySQL (64-bit)</osInformation>
<generationCode>G2</generationCode>
<engineVersionCode>5.7.37</engineVersionCode>
</product>
<product>
<productCode>SW.VMYSL.OS.LNX64.ROCKY.0810.MYSQL.B050</productCode>
<productName>MySQL</productName>
<productType>
<code>LINUX</code>
<codeName>리눅스</codeName>
</productType>
<productDescription>Rocky Linux 8.10 with MySQL</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>Rocky Linux 8.10 with MySQL (64-bit)</osInformation>
<generationCode>G2</generationCode>
<engineVersionCode>5.7.32</engineVersionCode>
</product>
<product>
<productCode>SW.VMYSL.OS.LNX64.ROCKY.0810.MYSQL.B050</productCode>
<productName>MySQL</productName>
<productType>
<code>LINUX</code>
<codeName>리눅스</codeName>
</productType>
<productDescription>Rocky Linux 8.10 with MySQL</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>Rocky Linux 8.10 with MySQL (64-bit)</osInformation>
<generationCode>G2</generationCode>
<engineVersionCode>5.7.29</engineVersionCode>
</product>
</productList>
</getCloudMysqlImageProductListResponse>
이 문서가 도움이 되었습니까?