getCloudPostgresqlProductList
- 인쇄
- PDF
getCloudPostgresqlProductList
- 인쇄
- PDF
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
사용 가능한 Cloud DB for PostgreSQL 서버 스펙 코드 목록을 조회합니다.
명령어
명령어 구문은 다음과 같습니다.
ncloud vpostgresql getCloudPostgresqlProductList [regionCode] [cloudPostgresqlImageProductCode] [productCode] [exclusionProductCode] [output]
파라미터
파라미터에 대한 설명은 다음과 같습니다.
파라미터 | 타입 | 필수 여부 | 설명 | 제약 사항 |
---|---|---|---|---|
regionCode | String | N | 리전 코드 - regionCode는 getRegionList 액션을 통해 획득 - default: getRegionList 조회 결과의 첫 번째 리전을 선택 | - |
zoneCode | String | N | Zone 코드 - zoneCode는 getZoneList 액션을 통해 획득 | - |
cloudPostgresqlImageProductCode | String | Y | Cloud DB for PostgreSQL 이미지 상품 코드 - Cloud DB for PostgreSQL 이미지 상품에서 생성 가능한 서버 스펙 상품 목록 조회 - cloudPostgresqlImageProductCode는 getCloudPostgresqlImageProductList 액션의 productCode로 획득 | - |
productCode | String | N | 조회할 Cloud DB for PostgreSQL 상품 코드 - productCode는 getCloudPostgresqlProductList 액션의 productCode로 획득 | - |
exclusionProductCode | String | N | 제외할 Cloud DB for PostgreSQL 상품 코드 - exclusionProductCode는 getCloudPostgresqlProductList 액션의 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 getCloudPostgresqlProductList --regionCode FKR --cloudPostgresqlImageProductCode SW.VPGSL.OS.LNX64.CNTOS.0708.PGSQL.133.B050
응답 예시
응답 예시는 다음과 같습니다.
응답 결과 포맷 타입(output)이 json 일 때
{
"getCloudPostgresqlProductListResponse": {
"requestId": "3603499c-c190-44ec-ad6c-7030337a7e7f",
"returnCode": 0,
"returnMessage": "success",
"totalRows": 15,
"productList": [
{
"productCode": "SVR.VPGSL.DBSVR.HICPU.C002.M004.NET.SSD.B050.G002",
"productName": "vCPU 2EA, Memory 4GB",
"productType": {
"code": "HICPU",
"codeName": "High CPU"
},
"productDescription": "vCPU 2개, 메모리 4GB",
"infraResourceType": {
"code": "VPGSL",
"codeName": "Cloud DB for PostgreSQL (VPC)"
},
"cpuCount": 2,
"memorySize": 4294967296,
"diskType": {
"code": "NET",
"codeName": "Network Storage"
}
},
{
"productCode": "SVR.VPGSL.DBSVR.STAND.C002.M008.NET.SSD.B050.G002",
"productName": "vCPU 2EA, Memory 8GB",
"productType": {
"code": "STAND",
"codeName": "Standard"
},
"productDescription": "vCPU 2개, 메모리 8GB",
"infraResourceType": {
"code": "VPGSL",
"codeName": "Cloud DB for PostgreSQL (VPC)"
},
"cpuCount": 2,
"memorySize": 8589934592,
"diskType": {
"code": "NET",
"codeName": "Network Storage"
}
},
{
"productCode": "SVR.VPGSL.DBSVR.HICPU.C004.M008.NET.SSD.B050.G002",
"productName": "vCPU 4EA, Memory 8GB",
"productType": {
"code": "HICPU",
"codeName": "High CPU"
},
"productDescription": "vCPU 4개, 메모리 8GB",
"infraResourceType": {
"code": "VPGSL",
"codeName": "Cloud DB for PostgreSQL (VPC)"
},
"cpuCount": 4,
"memorySize": 8589934592,
"diskType": {
"code": "NET",
"codeName": "Network Storage"
}
},
{
"productCode": "SVR.VPGSL.DBSVR.HIMEM.C002.M016.NET.SSD.B050.G002",
"productName": "vCPU 2EA, Memory 16GB",
"productType": {
"code": "HIMEM",
"codeName": "High Memory"
},
"productDescription": "vCPU 2개, 메모리 16GB",
"infraResourceType": {
"code": "VPGSL",
"codeName": "Cloud DB for PostgreSQL (VPC)"
},
"cpuCount": 2,
"memorySize": 17179869184,
"diskType": {
"code": "NET",
"codeName": "Network Storage"
}
},
{
"productCode": "SVR.VPGSL.DBSVR.STAND.C004.M016.NET.SSD.B050.G002",
"productName": "vCPU 4EA, Memory 16GB",
"productType": {
"code": "STAND",
"codeName": "Standard"
},
"productDescription": "vCPU 4개, 메모리 16GB",
"infraResourceType": {
"code": "VPGSL",
"codeName": "Cloud DB for PostgreSQL (VPC)"
},
"cpuCount": 4,
"memorySize": 17179869184,
"diskType": {
"code": "NET",
"codeName": "Network Storage"
}
},
{
"productCode": "SVR.VPGSL.DBSVR.HICPU.C008.M016.NET.SSD.B050.G002",
"productName": "vCPU 8EA, Memory 16GB",
"productType": {
"code": "HICPU",
"codeName": "High CPU"
},
"productDescription": "vCPU 8개, 메모리 16GB",
"infraResourceType": {
"code": "VPGSL",
"codeName": "Cloud DB for PostgreSQL (VPC)"
},
"cpuCount": 8,
"memorySize": 17179869184,
"diskType": {
"code": "NET",
"codeName": "Network Storage"
}
},
{
"productCode": "SVR.VPGSL.DBSVR.HIMEM.C004.M032.NET.SSD.B050.G002",
"productName": "vCPU 4EA, Memory 32GB",
"productType": {
"code": "HIMEM",
"codeName": "High Memory"
},
"productDescription": "vCPU 4개, 메모리 32GB",
"infraResourceType": {
"code": "VPGSL",
"codeName": "Cloud DB for PostgreSQL (VPC)"
},
"cpuCount": 4,
"memorySize": 34359738368,
"diskType": {
"code": "NET",
"codeName": "Network Storage"
}
},
{
"productCode": "SVR.VPGSL.DBSVR.STAND.C008.M032.NET.SSD.B050.G002",
"productName": "vCPU 8EA, Memory 32GB",
"productType": {
"code": "STAND",
"codeName": "Standard"
},
"productDescription": "vCPU 8개, 메모리 32GB",
"infraResourceType": {
"code": "VPGSL",
"codeName": "Cloud DB for PostgreSQL (VPC)"
},
"cpuCount": 8,
"memorySize": 34359738368,
"diskType": {
"code": "NET",
"codeName": "Network Storage"
}
},
{
"productCode": "SVR.VPGSL.DBSVR.HICPU.C016.M032.NET.SSD.B050.G002",
"productName": "vCPU 16EA, Memory 32GB",
"productType": {
"code": "HICPU",
"codeName": "High CPU"
},
"productDescription": "vCPU 16개, 메모리 32GB",
"infraResourceType": {
"code": "VPGSL",
"codeName": "Cloud DB for PostgreSQL (VPC)"
},
"cpuCount": 16,
"memorySize": 34359738368,
"diskType": {
"code": "NET",
"codeName": "Network Storage"
}
},
{
"productCode": "SVR.VPGSL.DBSVR.HIMEM.C008.M064.NET.SSD.B050.G002",
"productName": "vCPU 8EA, Memory 64GB",
"productType": {
"code": "HIMEM",
"codeName": "High Memory"
},
"productDescription": "vCPU 8개, 메모리 64GB",
"infraResourceType": {
"code": "VPGSL",
"codeName": "Cloud DB for PostgreSQL (VPC)"
},
"cpuCount": 8,
"memorySize": 68719476736,
"diskType": {
"code": "NET",
"codeName": "Network Storage"
}
},
{
"productCode": "SVR.VPGSL.DBSVR.STAND.C016.M064.NET.SSD.B050.G002",
"productName": "vCPU 16EA, Memory 64GB",
"productType": {
"code": "STAND",
"codeName": "Standard"
},
"productDescription": "vCPU 16개, 메모리 64GB",
"infraResourceType": {
"code": "VPGSL",
"codeName": "Cloud DB for PostgreSQL (VPC)"
},
"cpuCount": 16,
"memorySize": 68719476736,
"diskType": {
"code": "NET",
"codeName": "Network Storage"
}
},
{
"productCode": "SVR.VPGSL.DBSVR.HICPU.C032.M064.NET.SSD.B050.G002",
"productName": "vCPU 32EA, Memory 64GB",
"productType": {
"code": "HICPU",
"codeName": "High CPU"
},
"productDescription": "vCPU 32개, 메모리 64GB",
"infraResourceType": {
"code": "VPGSL",
"codeName": "Cloud DB for PostgreSQL (VPC)"
},
"cpuCount": 32,
"memorySize": 68719476736,
"diskType": {
"code": "NET",
"codeName": "Network Storage"
}
},
{
"productCode": "SVR.VPGSL.DBSVR.HIMEM.C016.M128.NET.SSD.B050.G002",
"productName": "vCPU 16EA, Memory 128GB",
"productType": {
"code": "HIMEM",
"codeName": "High Memory"
},
"productDescription": "vCPU 16개, 메모리 128GB",
"infraResourceType": {
"code": "VPGSL",
"codeName": "Cloud DB for PostgreSQL (VPC)"
},
"cpuCount": 16,
"memorySize": 137438953472,
"diskType": {
"code": "NET",
"codeName": "Network Storage"
}
},
{
"productCode": "SVR.VPGSL.DBSVR.STAND.C032.M128.NET.SSD.B050.G002",
"productName": "vCPU 32EA, Memory 128GB",
"productType": {
"code": "STAND",
"codeName": "Standard"
},
"productDescription": "vCPU 32개, 메모리 128GB",
"infraResourceType": {
"code": "VPGSL",
"codeName": "Cloud DB for PostgreSQL (VPC)"
},
"cpuCount": 32,
"memorySize": 137438953472,
"diskType": {
"code": "NET",
"codeName": "Network Storage"
}
},
{
"productCode": "SVR.VPGSL.DBSVR.HIMEM.C032.M256.NET.SSD.B050.G002",
"productName": "vCPU 32EA, Memory 256GB",
"productType": {
"code": "HIMEM",
"codeName": "High Memory"
},
"productDescription": "vCPU 32개, 메모리 256GB",
"infraResourceType": {
"code": "VPGSL",
"codeName": "Cloud DB for PostgreSQL (VPC)"
},
"cpuCount": 32,
"memorySize": 274877906944,
"diskType": {
"code": "NET",
"codeName": "Network Storage"
}
}
]
}
}
응답 결과 포맷 타입(output)이 xml 일 때
<getCloudPostgresqlProductListResponse>
<requestId>3603499c-c190-44ec-ad6c-7030337a7e7f</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>15</totalRows>
<productList>
<product>
<productCode>SVR.VPGSL.DBSVR.HICPU.C002.M004.NET.SSD.B050.G002</productCode>
<productName>vCPU 2EA, Memory 4GB</productName>
<productType>
<code>HICPU</code>
<codeName>High CPU</codeName>
</productType>
<productDescription>vCPU 2개, 메모리 4GB</productDescription>
<infraResourceType>
<code>VPGSL</code>
<codeName>Cloud DB for PostgreSQL (VPC)</codeName>
</infraResourceType>
<cpuCount>2</cpuCount>
<memorySize>4294967296</memorySize>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
</product>
<product>
<productCode>SVR.VPGSL.DBSVR.STAND.C002.M008.NET.SSD.B050.G002</productCode>
<productName>vCPU 2EA, Memory 8GB</productName>
<productType>
<code>STAND</code>
<codeName>Standard</codeName>
</productType>
<productDescription>vCPU 2개, 메모리 8GB</productDescription>
<infraResourceType>
<code>VPGSL</code>
<codeName>Cloud DB for PostgreSQL (VPC)</codeName>
</infraResourceType>
<cpuCount>2</cpuCount>
<memorySize>8589934592</memorySize>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
</product>
<product>
<productCode>SVR.VPGSL.DBSVR.HICPU.C004.M008.NET.SSD.B050.G002</productCode>
<productName>vCPU 4EA, Memory 8GB</productName>
<productType>
<code>HICPU</code>
<codeName>High CPU</codeName>
</productType>
<productDescription>vCPU 4개, 메모리 8GB</productDescription>
<infraResourceType>
<code>VPGSL</code>
<codeName>Cloud DB for PostgreSQL (VPC)</codeName>
</infraResourceType>
<cpuCount>4</cpuCount>
<memorySize>8589934592</memorySize>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
</product>
<product>
<productCode>SVR.VPGSL.DBSVR.HIMEM.C002.M016.NET.SSD.B050.G002</productCode>
<productName>vCPU 2EA, Memory 16GB</productName>
<productType>
<code>HIMEM</code>
<codeName>High Memory</codeName>
</productType>
<productDescription>vCPU 2개, 메모리 16GB</productDescription>
<infraResourceType>
<code>VPGSL</code>
<codeName>Cloud DB for PostgreSQL (VPC)</codeName>
</infraResourceType>
<cpuCount>2</cpuCount>
<memorySize>17179869184</memorySize>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
</product>
<product>
<productCode>SVR.VPGSL.DBSVR.STAND.C004.M016.NET.SSD.B050.G002</productCode>
<productName>vCPU 4EA, Memory 16GB</productName>
<productType>
<code>STAND</code>
<codeName>Standard</codeName>
</productType>
<productDescription>vCPU 4개, 메모리 16GB</productDescription>
<infraResourceType>
<code>VPGSL</code>
<codeName>Cloud DB for PostgreSQL (VPC)</codeName>
</infraResourceType>
<cpuCount>4</cpuCount>
<memorySize>17179869184</memorySize>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
</product>
<product>
<productCode>SVR.VPGSL.DBSVR.HICPU.C008.M016.NET.SSD.B050.G002</productCode>
<productName>vCPU 8EA, Memory 16GB</productName>
<productType>
<code>HICPU</code>
<codeName>High CPU</codeName>
</productType>
<productDescription>vCPU 8개, 메모리 16GB</productDescription>
<infraResourceType>
<code>VPGSL</code>
<codeName>Cloud DB for PostgreSQL (VPC)</codeName>
</infraResourceType>
<cpuCount>8</cpuCount>
<memorySize>17179869184</memorySize>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
</product>
<product>
<productCode>SVR.VPGSL.DBSVR.HIMEM.C004.M032.NET.SSD.B050.G002</productCode>
<productName>vCPU 4EA, Memory 32GB</productName>
<productType>
<code>HIMEM</code>
<codeName>High Memory</codeName>
</productType>
<productDescription>vCPU 4개, 메모리 32GB</productDescription>
<infraResourceType>
<code>VPGSL</code>
<codeName>Cloud DB for PostgreSQL (VPC)</codeName>
</infraResourceType>
<cpuCount>4</cpuCount>
<memorySize>34359738368</memorySize>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
</product>
<product>
<productCode>SVR.VPGSL.DBSVR.STAND.C008.M032.NET.SSD.B050.G002</productCode>
<productName>vCPU 8EA, Memory 32GB</productName>
<productType>
<code>STAND</code>
<codeName>Standard</codeName>
</productType>
<productDescription>vCPU 8개, 메모리 32GB</productDescription>
<infraResourceType>
<code>VPGSL</code>
<codeName>Cloud DB for PostgreSQL (VPC)</codeName>
</infraResourceType>
<cpuCount>8</cpuCount>
<memorySize>34359738368</memorySize>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
</product>
<product>
<productCode>SVR.VPGSL.DBSVR.HICPU.C016.M032.NET.SSD.B050.G002</productCode>
<productName>vCPU 16EA, Memory 32GB</productName>
<productType>
<code>HICPU</code>
<codeName>High CPU</codeName>
</productType>
<productDescription>vCPU 16개, 메모리 32GB</productDescription>
<infraResourceType>
<code>VPGSL</code>
<codeName>Cloud DB for PostgreSQL (VPC)</codeName>
</infraResourceType>
<cpuCount>16</cpuCount>
<memorySize>34359738368</memorySize>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
</product>
<product>
<productCode>SVR.VPGSL.DBSVR.HIMEM.C008.M064.NET.SSD.B050.G002</productCode>
<productName>vCPU 8EA, Memory 64GB</productName>
<productType>
<code>HIMEM</code>
<codeName>High Memory</codeName>
</productType>
<productDescription>vCPU 8개, 메모리 64GB</productDescription>
<infraResourceType>
<code>VPGSL</code>
<codeName>Cloud DB for PostgreSQL (VPC)</codeName>
</infraResourceType>
<cpuCount>8</cpuCount>
<memorySize>68719476736</memorySize>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
</product>
<product>
<productCode>SVR.VPGSL.DBSVR.STAND.C016.M064.NET.SSD.B050.G002</productCode>
<productName>vCPU 16EA, Memory 64GB</productName>
<productType>
<code>STAND</code>
<codeName>Standard</codeName>
</productType>
<productDescription>vCPU 16개, 메모리 64GB</productDescription>
<infraResourceType>
<code>VPGSL</code>
<codeName>Cloud DB for PostgreSQL (VPC)</codeName>
</infraResourceType>
<cpuCount>16</cpuCount>
<memorySize>68719476736</memorySize>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
</product>
<product>
<productCode>SVR.VPGSL.DBSVR.HICPU.C032.M064.NET.SSD.B050.G002</productCode>
<productName>vCPU 32EA, Memory 64GB</productName>
<productType>
<code>HICPU</code>
<codeName>High CPU</codeName>
</productType>
<productDescription>vCPU 32개, 메모리 64GB</productDescription>
<infraResourceType>
<code>VPGSL</code>
<codeName>Cloud DB for PostgreSQL (VPC)</codeName>
</infraResourceType>
<cpuCount>32</cpuCount>
<memorySize>68719476736</memorySize>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
</product>
<product>
<productCode>SVR.VPGSL.DBSVR.HIMEM.C016.M128.NET.SSD.B050.G002</productCode>
<productName>vCPU 16EA, Memory 128GB</productName>
<productType>
<code>HIMEM</code>
<codeName>High Memory</codeName>
</productType>
<productDescription>vCPU 16개, 메모리 128GB</productDescription>
<infraResourceType>
<code>VPGSL</code>
<codeName>Cloud DB for PostgreSQL (VPC)</codeName>
</infraResourceType>
<cpuCount>16</cpuCount>
<memorySize>137438953472</memorySize>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
</product>
<product>
<productCode>SVR.VPGSL.DBSVR.STAND.C032.M128.NET.SSD.B050.G002</productCode>
<productName>vCPU 32EA, Memory 128GB</productName>
<productType>
<code>STAND</code>
<codeName>Standard</codeName>
</productType>
<productDescription>vCPU 32개, 메모리 128GB</productDescription>
<infraResourceType>
<code>VPGSL</code>
<codeName>Cloud DB for PostgreSQL (VPC)</codeName>
</infraResourceType>
<cpuCount>32</cpuCount>
<memorySize>137438953472</memorySize>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
</product>
<product>
<productCode>SVR.VPGSL.DBSVR.HIMEM.C032.M256.NET.SSD.B050.G002</productCode>
<productName>vCPU 32EA, Memory 256GB</productName>
<productType>
<code>HIMEM</code>
<codeName>High Memory</codeName>
</productType>
<productDescription>vCPU 32개, 메모리 256GB</productDescription>
<infraResourceType>
<code>VPGSL</code>
<codeName>Cloud DB for PostgreSQL (VPC)</codeName>
</infraResourceType>
<cpuCount>32</cpuCount>
<memorySize>274877906944</memorySize>
<diskType>
<code>NET</code>
<codeName>Network Storage</codeName>
</diskType>
</product>
</productList>
</getCloudPostgresqlProductListResponse>
이 문서가 도움이 되었습니까?