getCloudMysqlProductList
    • PDF

    getCloudMysqlProductList

    • PDF

    Article summary

    Available in VPC

    Overview

    Querying a list of available Cloud DB for MySQL server spec codes

    Requests

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- Region code
    regionCode can be obtained via the getRegionList action
    Default: selects the first region of the getRegionList query results
    zoneCodeNoString- Zone code
    zoneCode can be obtained via the getZoneList action
    cloudMysqlImageProductCodeYesString- Cloud DB for MySQL image product code
    cloudMysqlImageProductCode can be obtained via the productCode of the getCloudMysqlImageProductList action
    productCodeNoString- Cloud DB for MySQL product code to be queried
    productCode can be obtained via the productCode of the getCloudMysqlProductList action
    exclusionProductCodeNoString- Cloud DB for MySQL product code to be excluded
    exclusionProductCode can be obtained via the productCode of the getCloudMysqlProductList action
    outputNoString- Format type of the response result
    Options : xml | json
    Default : json

    Responses

    Response data type

    • ProductList type
    ProductList extends CommonResponse
    private Integer totalRows;
    private List<Product> productList = new ArrayList<>();
    Product
    private String productCode;
    private String productName;
    private CommonCode productType;
    private String productDescription;
    private CommonCode infraResourceType;
    private CommonCode infraResourceDetailType;
    private Integer cpuCount;
    private Long memorySize;
    private Long baseBlockStorageSize;
    private CommonCode platformType;
    private String osInformation;
    private CommonCode diskType;
    private String dbKindCode;
    private Long addBlockStorageSize;
    private String generationCode;

    Examples

    Request examples

    ncloud vmysql getCloudMysqlProductList --regionCode KR --cloudMysqlImageProductCode SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.5732.B050 --productCode SVR.VDBAS.STAND.C002.M008.NET.HDD.B050.G002 --exclusionProductCode SVR.VDBAS.HICPU.C004.M008.NET.HDD.B050.G002
    

    Response examples

    <getCloudMysqlProductListResponse>
        <requestId>0dae445e-89c2-47ce-bda7-0bbd401c13c4</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>1</totalRows>
        <productList>
            <product>
                <productCode>SVR.VDBAS.STAND.C002.M008.NET.HDD.B050.G002</productCode>
                <productName>vCPU 2EA, Memory 8GB</productName>
                <productType>
                    <code>STAND</code>
                    <codeName>Standard</codeName>
                </productType>
                <productDescription>vCPU 2 ea, memory 8 GB</productDescription>
                <infraResourceType>
                    <code>VMYSL</code>
                    <codeName>Cloud DB for MySQL (VPC)</codeName>
                </infraResourceType>
                <cpuCount>2</cpuCount>
                <memorySize>8589934592</memorySize>
                <diskType>
                    <code>NET</code>
                    <codeName>Network Storage</codeName>
                </diskType>
            </product>
        </productList>
    </getCloudMysqlProductListResponse>
    

    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.