getCloudPostgresqlImageProductList
- 인쇄
- PDF
getCloudPostgresqlImageProductList
- 인쇄
- PDF
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
VPC 환경에서 이용 가능합니다.
Cloud DB for PostgreSQL 상품 코드 목록을 조회합니다.
명령어
명령어 구문은 다음과 같습니다.
ncloud vpostgresql getCloudPostgresqlImageProductList [regionCode] [productCode] [exclusionProductCode] [output]
파라미터
파라미터에 대한 설명은 다음과 같습니다.
파라미터 | 타입 | 필수 여부 | 설명 | 제약 사항 |
---|---|---|---|---|
regionCode | String | N | 리전 코드 - regionCode는 getRegionList 액션을 통해서 획득 - default: getRegionList 조회 결과의 첫 번째 리전을 선택 | - |
productCode | String | N | 조회할 Cloud DB for PostgreSQL 이미지 상품 코드 - productCode는 getCloudPostgresqlImageProductList 액션의 productCode로 획득 | - |
exclusionProductCode | String | N | 제외할 Cloud DB for PostgreSQL 이미지 상품 코드 - exclusionProductCode는 getCloudPostgresqlImageProductList 액션의 productCode로 획득 | - |
output | String | N | 응답 결과의 포맷 타입 - options: xml | json - default: json | - |
응답
응답 데이터 타입
- ProductList 타입
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 vpostgresql getCloudPostgresqlImageProductList --regionCode KR
응답 예시
응답 예시는 다음과 같습니다.
응답 결과 포맷 타입(output)이 json 일 때
{
"getCloudPostgresqlImageProductListResponse": {
"totalRows": 5,
"productList": [
{
"productCode": "SW.VPGSL.OS.LNX64.ROCKY.0810.PGSQL.B050",
"productName": "PostgreSQL",
"productType": {
"code": "LINUX",
"codeName": "리눅스"
},
"productDescription": "Rocky Linux 8.10 with PostgreSQL",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Rocky Linux 8.10 with PostgreSQL (64-bit)",
"generationCode": "G2",
"engineVersionCode": "13.15"
},
{
"productCode": "SW.VPGSL.OS.LNX64.ROCKY.0810.PGSQL.B050",
"productName": "PostgreSQL",
"productType": {
"code": "LINUX",
"codeName": "리눅스"
},
"productDescription": "Rocky Linux 8.10 with PostgreSQL",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Rocky Linux 8.10 with PostgreSQL (64-bit)",
"generationCode": "G2",
"engineVersionCode": "13.13"
},
{
"productCode": "SW.VPGSL.OS.LNX64.ROCKY.0810.PGSQL.B050",
"productName": "PostgreSQL",
"productType": {
"code": "LINUX",
"codeName": "리눅스"
},
"productDescription": "Rocky Linux 8.10 with PostgreSQL",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Rocky Linux 8.10 with PostgreSQL (64-bit)",
"generationCode": "G2",
"engineVersionCode": "13.10"
},
{
"productCode": "SW.VPGSL.OS.LNX64.ROCKY.0810.PGSQL.B050",
"productName": "PostgreSQL",
"productType": {
"code": "LINUX",
"codeName": "리눅스"
},
"productDescription": "Rocky Linux 8.10 with PostgreSQL",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Rocky Linux 8.10 with PostgreSQL (64-bit)",
"generationCode": "G2",
"engineVersionCode": "13.7"
},
{
"productCode": "SW.VPGSL.OS.LNX64.ROCKY.0810.PGSQL.B050",
"productName": "PostgreSQL",
"productType": {
"code": "LINUX",
"codeName": "리눅스"
},
"productDescription": "Rocky Linux 8.10 with PostgreSQL",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "Rocky Linux 8.10 with PostgreSQL (64-bit)",
"generationCode": "G2",
"engineVersionCode": "13.3"
}
],
"requestId": "c5d7d75f-5dec-4fec-93c1-f8153dc23bb5",
"returnCode": "0",
"returnMessage": "success"
}
}
응답 결과 포맷 타입(output)이 xml 일 때
<getCloudPostgresqlImageProductListResponse>
<requestId>4ed4fb52-1ef2-4392-ba5f-2a8c6f301593</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>5</totalRows>
<productList>
<product>
<productCode>SW.VPGSL.OS.LNX64.ROCKY.0810.PGSQL.B050</productCode>
<productName>PostgreSQL</productName>
<productType>
<code>LINUX</code>
<codeName>리눅스</codeName>
</productType>
<productDescription>Rocky Linux 8.10 with PostgreSQL</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 PostgreSQL (64-bit)</osInformation>
<generationCode>G2</generationCode>
<engineVersionCode>13.15</engineVersionCode>
</product>
<product>
<productCode>SW.VPGSL.OS.LNX64.ROCKY.0810.PGSQL.B050</productCode>
<productName>PostgreSQL</productName>
<productType>
<code>LINUX</code>
<codeName>리눅스</codeName>
</productType>
<productDescription>Rocky Linux 8.10 with PostgreSQL</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 PostgreSQL (64-bit)</osInformation>
<generationCode>G2</generationCode>
<engineVersionCode>13.13</engineVersionCode>
</product>
<product>
<productCode>SW.VPGSL.OS.LNX64.ROCKY.0810.PGSQL.B050</productCode>
<productName>PostgreSQL</productName>
<productType>
<code>LINUX</code>
<codeName>리눅스</codeName>
</productType>
<productDescription>Rocky Linux 8.10 with PostgreSQL</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 PostgreSQL (64-bit)</osInformation>
<generationCode>G2</generationCode>
<engineVersionCode>13.10</engineVersionCode>
</product>
<product>
<productCode>SW.VPGSL.OS.LNX64.ROCKY.0810.PGSQL.B050</productCode>
<productName>PostgreSQL</productName>
<productType>
<code>LINUX</code>
<codeName>리눅스</codeName>
</productType>
<productDescription>Rocky Linux 8.10 with PostgreSQL</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 PostgreSQL (64-bit)</osInformation>
<generationCode>G2</generationCode>
<engineVersionCode>13.7</engineVersionCode>
</product>
<product>
<productCode>SW.VPGSL.OS.LNX64.ROCKY.0810.PGSQL.B050</productCode>
<productName>PostgreSQL</productName>
<productType>
<code>LINUX</code>
<codeName>리눅스</codeName>
</productType>
<productDescription>Rocky Linux 8.10 with PostgreSQL</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 PostgreSQL (64-bit)</osInformation>
<generationCode>G2</generationCode>
<engineVersionCode>13.3</engineVersionCode>
</product>
</productList>
</getCloudPostgresqlImageProductListResponse>
이 문서가 도움이 되었습니까?