MENU
      getCloudMysqlProductList
        • PDF

        getCloudMysqlProductList

        • PDF

        記事の要約

        VPC環境で利用できます。

        概要

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

        リクエスト

        リクエストパラメータ

        パラメータ名要否タイプ制約事項説明
        regionCodeNoString- リージョンコード
        regionCodeは、getRegionListアクションを通じて取得可能
        Default: getRegionList照会結果の最初のリージョンを選択
        zoneCodeNoString- ZONEコード
        zoneCodeは、getZoneListアクションを通じて取得可能
        cloudMysqlImageProductCodeYesString- Cloud DB for MySQLの画像商品コード
        cloudMysqlImageProductCodeは、getCloudMysqlImageProductListアクションの productCodeで取得可能
        productCodeNoString- 照会する Cloud DB for MySQLの商品コード
        productCodeは、getCloudMysqlProductListアクションの productCodeで取得可能
        exclusionProductCodeNoString- 除外する Cloud DB for MySQLの商品コード
        exclusionProductCodeは、getCloudMysqlProductListアクションの productCodeで取得可能
        outputNoString- レスポンス結果のフォーマットタイプ
        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
        Plain text

        レスポンス例

        <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>
        XML

        この記事は役に立ちましたか?

        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.