MENU
      getCloudMysqlProductList

        getCloudMysqlProductList


        기사 요약

        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 Integer cpuCount;
        private Long memorySize;
        private CommonCode diskType;

        예시

        요청 예시

        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.