getCloudMysqlProductList

Prev Next

VPC環境で利用できます。

概要

使用可能な Cloud DB for MySQLのサーバスペックコードリストを照会します。

リクエスト

リクエストパラメータ

パラメータ名 要否 タイプ 制約事項 説明
regionCode No String - リージョンコード
regionCodeは、getRegionListアクションを通じて取得可能
Default: getRegionList照会結果の最初のリージョンを選択
zoneCode No String - ZONEコード
zoneCodeは、getZoneListアクションを通じて取得可能
cloudMysqlImageProductCode Yes String - Cloud DB for MySQLの画像商品コード
cloudMysqlImageProductCodeは、getCloudMysqlImageProductListアクションの productCodeで取得可能
productCode No String - 照会する Cloud DB for MySQLの商品コード
productCodeは、getCloudMysqlProductListアクションの productCodeで取得可能
exclusionProductCode No String - 除外する Cloud DB for MySQLの商品コード
exclusionProductCodeは、getCloudMysqlProductListアクションの productCodeで取得可能
output No String - レスポンス結果のフォーマットタイプ
Options : xml | json
Default : json

レスポンス

レスポンスデータのタイプ

  • ProductListのタイプ
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;

リクエスト例

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

レスポンス例

<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個、メモリ 8GB</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>