getCloudMysqlImageProductList
    • PDF

    getCloudMysqlImageProductList

    • PDF

    Article summary

    Available in VPC

    Get the list of Cloud DB for MySQL image product codes.

    Request

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

    MethodURI
    GET, POST/getCloudMysqlImageProductList

    Request headers

    For headers common to all Cloud DB for MySQL (VPC) APIs, see Cloud DB for MySQL (VPC) request headers.

    Request parameter

    The following describes the parameters.

    FieldTypeRequiredDescription
    regionCodeStringOptionalRegion code
    • Region code to view the Cloud DB for MySQL image product code list for
    • Check through getRegionList
    • First Region of the getRegionList query result (default)
    productCodeStringOptionalFilter by Cloud DB for MySQL image product code
    exclusionProductCodeStringOptionalFilter by excluding Cloud DB for MySQL image product code
    generationCodeStringOptionalFilter by 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/vmysql/v2/getCloudMysqlImageProductList
    ?regionCode=KR
    &productCode=SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.5732.B050
    &exclusionProductCode=SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.5729.B050
    &generationCode=G2'
    --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 CloudDbProductList 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
    {
        "getCloudMysqlImageProductListResponse": {
            "totalRows": 1,
            "productList": [
                {
                    "productCode": "SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.8025.B050",
                    "productName": "mysql(8.0.25)",
                    "productType": {
                        "code": "LINUX",
                        "codeName": "Linux"
                    },
                    "productDescription": "CentOS 7.8 with MySQL 8.0.25",
                    "infraResourceType": {
                        "code": "SW",
                        "codeName": "Software"
                    },
                    "baseBlockStorageSize": 53687091200,
                    "platformType": {
                        "code": "LNX64",
                        "codeName": "Linux 64 Bit"
                    },
                    "osInformation": "CentOS 7.8 with MySQL 8.0.25 (64-bit)",
                    "generationCode": "G2",
                    "engineVersionCode": "MYSQL8.0.25"
                }
            ],
            "requestId": "b0fc99ba-****-****-****-10b4af985d1e",
            "returnCode": "0",
            "returnMessage": "success"
        }
    }
    
    • If responseFormatType=xml (default)
    <?xml version="1.0" encoding="UTF-8"?>
    <getCloudMysqlImageProductListResponse>
        <requestId>b0fc99ba-****-****-****-10b4af985d1e</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>1</totalRows>
        <productList>
            <product>
                <productCode>SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.8025.B050</productCode>
                <productName>mysql(8.0.25)</productName>
                <productType>
                    <code>LINUX</code>
                    <codeName>Linux</codeName>
                </productType>
                <productDescription>CentOS 7.8 with MySQL 8.0.25</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 MySQL 8.0.25 (64-bit)</osInformation>
                <generationCode>G2</generationCode>
                <engineVersionCode>MYSQL8.0.25</engineVersionCode>
            </product>
        </productList>
    </getCloudMysqlImageProductListResponse>
    

    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.