getCloudPostgresqlImageProductList
    • PDF

    getCloudPostgresqlImageProductList

    • PDF

    Article summary

    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.

    ParameterTypeRequirement statusDescriptionRestrictions
    regionCodeStringNRegion code
    - regionCode can be obtained via the getRegionList action
    - Default: selects the first region of the getRegionList search results
    -
    productCodeStringNCloud DB for PostgreSQL image product code to be viewed
    - productCode can be obtained via the getCloudPostgresqlImageProductList action's productCode
    -
    exclusionProductCodeStringNCloud DB for PostgreSQL image product codes to be excluded
    - exclusionProductCode can be obtained via the getCloudPostgresqlImageProductList action's productCode
    -
    outputStringNFormat type of the response result
    - options: xml | json
    - default: json
    -

    Responses

    Response data type

    • ProductList type
    ProductList extends CommonResponseDescription
    private Integer totalRows;Total number of items viewed
    private List<Product> productList = new ArrayList<>();List of products
    • Product type
    ProductDescription
    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?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.