getCloudRedisImageProductList
    • PDF

    getCloudRedisImageProductList

    • PDF

    Article summary

    Available in VPC

    Get a list of Cloud DB for Redis image product codes.

    Request

    The following describes the request format for the endpoint. The request format is as follows:

    MethodURI
    GET, POST/getCloudRedisImageProductList

    Request headers

    For headers common to Cloud DB for Redis APIs, see Cloud DB for Redis request headers.

    Request parameter

    The following describes the parameters.

    FieldTypeRequiredDescription
    regionCodeStringOptionalRegion code of the Cloud DB for Redis image product code list to view
    • Check through getRegionList
    • First Region of the getRegionList query result (default)
    productCodeStringOptionalFilter by Cloud DB for Redis image product code
    exclusionProductCodeStringOptionalFilter by excluding Cloud DB for Redis image product code
    generationCodeStringOptionalFilter by server generation code
    • G2 | G3
    responseFormatTypeStringOptionalFormat of the response result
    • xml (default) | json

    Request example

    The following is a sample request.

    curl --location --request GET 'https://ncloud.apigw.ntruss.com/vredis/v2/getCloudRedisImageProductList
    ?regionCode=KR
    &productCode=SW.VDBAS.VRDS.LNX64.CNTOS.0708.REDIS.7015.B050'
    --header 'x-ncp-apigw-timestamp: {Timestamp}'
    --header 'x-ncp-iam-access-key: {Access Key}' 
    --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
    

    Response

    The following describes the response format.

    Response body

    See ProductList for the response body.

    Response status codes

    For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.

    Response example

    The following is a sample response.

    • If responseFormatType=json
    {
        "getCloudRedisImageProductListResponse": {
            "totalRows": 1,
            "productList": [
                {
                    "productCode": "SW.VDBAS.VRDS.LNX64.CNTOS.0708.REDIS.7015.B050",
                    "productName": "Redis(7.0.15)",
                    "productType": {
                        "code": "LINUX",
                        "codeName": "Linux"
                    },
                    "productDescription": "CentOS 7.8 with Redis 7.0.15",
                    "infraResourceType": {
                        "code": "SW",
                        "codeName": "Software"
                    },
                    "baseBlockStorageSize": 53687091200,
                    "platformType": {
                        "code": "LNX64",
                        "codeName": "Linux 64 Bit"
                    },
                    "osInformation": "CentOS 7.8 with Redis 7.0.15 (64-bit)",
                    "generationCode": "G2"
                }
            ],
            "requestId": "85d5d076-****-****-****-109aff5e430e",
            "returnCode": "0",
            "returnMessage": "success"
        }
    }
    
    • If responseFormatType=xml (default)
    <?xml version="1.0" encoding="UTF-8"?>
    <getCloudRedisImageProductListResponse>
        <requestId>85d5d076-****-****-****-109aff5e430e</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>1</totalRows>
        <productList>
            <product>
                <productCode>SW.VDBAS.VRDS.LNX64.CNTOS.0708.REDIS.7015.B050</productCode>
                <productName>Redis(7.0.15)</productName>
                <productType>
                    <code>LINUX</code>
                    <codeName>Linux</codeName>
                </productType>
                <productDescription>CentOS 7.8 with Redis 7.0.15</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 Redis 7.0.15 (64-bit)</osInformation>
                <generationCode>G2</generationCode>
            </product>
        </productList>
    </getCloudRedisImageProductListResponse>
    

    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.