getCloudPostgresqlImageProductList
- Print
- PDF
getCloudPostgresqlImageProductList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Views Cloud DB for PostgreSQL product code list.
Commands
The text of the command is as follows:
ncloud vpostgresql getCloudPostgresqlImageProductList [regionCode] [productCode] [exclusionProductCode] [output]
Parameter
The following is a description on parameters.
Parameter | Type | Requirement status | Description | Restrictions |
---|---|---|---|---|
regionCode | String | N | Region code - regionCode can be obtained via the getRegionList action - Default: selects the first region of the getRegionList search results | - |
productCode | String | N | Cloud DB for PostgreSQL image product code to be viewed - productCode can be obtained via the getCloudPostgresqlImageProductList action's productCode | - |
exclusionProductCode | String | N | Cloud DB for PostgreSQL image product codes to be excluded - exclusionProductCode can be obtained via the getCloudPostgresqlImageProductList action's productCode | - |
output | String | N | Format type of the response result - options: xml | json - default: json | - |
Responses
Response data type
- ProductList type
ProductList extends CommonResponse | Description |
---|---|
private Integer totalRows; | Total number of items viewed |
private List<Product> productList = new ArrayList<>(); | List of products |
- Product type
Product | Description |
---|---|
private String productCode; | Product code that defines the server’s specification or OS and is managed by NAVER Cloud Platform |
private String productName; | Product name |
private CommonCode productType; | Product type |
private String productDescription; | Product description |
private CommonCode infraResourceType; | Type of infrastructure resources |
private CommonCode infraResourceDetailType; | Detailed type of infrastructure resources |
private Integer cpuCount; | Number of CPUs |
private Long memorySize; | Memory size |
private Long baseBlockStorageSize; | - Default block storage size |
private CommonCode platformType; | Platform type |
private String osInformation; | OS information |
private CommonCode diskType; | Disk type |
private String dbKindCode; | DB type code |
private Long addBlockStorageSize; | Size of additional Block Storage |
private String generationCode; | Generation code |
Examples
Describes examples of recalls and responses.
Recall examples
The following are examples of recalls.
ncloud vpostgresql getCloudPostgresqlImageProductList --regionCode KR
Response examples
The following are examples of responses.
If the response shows that format type (output) is json
{
"getCloudPostgresqlImageProductListResponse": {
"requestId": "15607e06-e159-40d6-a6e3-00d9f7ba167c",
"returnCode": 0,
"returnMessage": "success",
"totalRows": 3,
"productList": [
{
"productCode": "SW.VPGSL.OS.LNX64.CNTOS.0708.PGSQL.133.B050",
"productName": "PostgreSQL 13.3",
"productType": {
"code": "LINUX",
"codeName": "Linux"
},
"productDescription": "CentOS 7.8 with PostgreSQL 13.3",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "CentOS 7.8 with PostgreSQL 13.3 (64-bit)",
"generationCode": "G2"
},
{
"productCode": "SW.VPGSL.OS.LNX64.CNTOS.0708.PGSQL.137.B050",
"productName": "PostgreSQL 13.7",
"productType": {
"code": "LINUX",
"codeName": "Linux"
},
"productDescription": "CentOS 7.8 with PostgreSQL 13.7",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "CentOS 7.8 with PostgreSQL 13.7 (64-bit)",
"generationCode": "G2"
},
{
"productCode": "SW.VPGSL.OS.LNX64.CNTOS.0708.PGSQL.1310.B050",
"productName": "PostgreSQL 13.10",
"productType": {
"code": "LINUX",
"codeName": "Linux"
},
"productDescription": "CentOS 7.8 with PostgreSQL 13.10",
"infraResourceType": {
"code": "SW",
"codeName": "Software"
},
"baseBlockStorageSize": 53687091200,
"platformType": {
"code": "LNX64",
"codeName": "Linux 64 Bit"
},
"osInformation": "CentOS 7.8 with PostgreSQL 13.10 (64-bit)",
"generationCode": "G2"
}
]
}
}
If the response shows that format type (output) is xml
<getCloudPostgresqlImageProductListResponse>
<requestId>15607e06-e159-40d6-a6e3-00d9f7ba167c</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>3</totalRows>
<productList>
<product>
<productCode>SW.VPGSL.OS.LNX64.CNTOS.0708.PGSQL.133.B050</productCode>
<productName>PostgreSQL 13.3</productName>
<productType>
<code>LINUX</code>
<codeName>Linux</codeName>
</productType>
<productDescription>CentOS 7.8 with PostgreSQL 13.3</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 PostgreSQL 13.3 (64-bit)</osInformation>
<generationCode>G2</generationCode>
</product>
<product>
<productCode>SW.VPGSL.OS.LNX64.CNTOS.0708.PGSQL.137.B050</productCode>
<productName>PostgreSQL 13.7</productName>
<productType>
<code>LINUX</code>
<codeName>Linux</codeName>
</productType>
<productDescription>CentOS 7.8 with PostgreSQL 13.7</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 PostgreSQL 13.7 (64-bit)</osInformation>
<generationCode>G2</generationCode>
</product>
<product>
<productCode>SW.VPGSL.OS.LNX64.CNTOS.0708.PGSQL.1310.B050</productCode>
<productName>PostgreSQL 13.10</productName>
<productType>
<code>LINUX</code>
<codeName>Linux</codeName>
</productType>
<productDescription>CentOS 7.8 with PostgreSQL 13.10</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 PostgreSQL 13.10 (64-bit)</osInformation>
<generationCode>G2</generationCode>
</product>
</productList>
</getCloudPostgresqlImageProductListResponse>
Was this article helpful?