getCloudMongoDbProductList
    • PDF

    getCloudMongoDbProductList

    • PDF

    Article summary

    Available in VPC

    Overview

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

    Requests

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- Region code
    Sets the region from which a list of Cloud DB for MongoDB product codes is to be queried
    regionCode can be obtained via the getRegionList action
    Default: the first region of the getRegionList search results is selected
    zoneCodeNoString- Zone code
    Sets the zone from which a list of Cloud DB for MongoDB product codes is to be queried
    zoneCode can be obtained via the getZoneList action
    cloudMongoDbImageProductCodeYesString- Cloud DB for MongoDB image product code
    Queries a list of server spec products that can be created from Cloud DB for MongoDB image products
    cloudMongoDbImageProductCode can be obtained via the getCloudMongoDbImageProductList action
    productCodeNoString- Cloud DB for MongoDB product code to be queried
    productCode can be obtained via the getCloudMongoDbProductList action
    infraResourceDetailTypeCodeNoString- Other detailed Clouds for MongoDb server infra product code
    Options : MNGOD | MNGOS | ARBIT | CFGSV
    exclusionProductCodeNoString- Cloud DB for MongoDB product code to be excluded
    exclusionProductCode can be obtained via the getCloudMongoDbProductList 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> cloudMongoDbInstanceList = 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 osMemorySize;
    private Long baseBlockStorageSize;
    private CommonCode platformType;
    private String osInformation;
    private CommonCode diskType;
    private String dbKindCode;
    private Long addBlockStorageSize;
    private String generationCode;

    Examples

    Call

    ncloud vmongodb getCloudMongoDbProductList --regionCode KR --cloudMongoDbImageProductCode SW.VMGDB.LNX64.CNTOS.0708.MNGDB.402.CE.B050 --productCode SVR.VMGDB.MNGOS.STAND.C002.M008.NET.SSD.B050.G002 --infraResourceDetailTypeCode MNGOS --exclusionProductCode SVR.VMGDB.MNGOS.HICPU.C004.M008.NET.SSD.B050.G00
    

    Responses

    <getCloudMongoDbProductListResponse>
        <requestId>ff561dbb-fbdf-481e-891f-0447f2cc61eb</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>1</totalRows>
        <productList>
            <product>
                <productCode>SVR.VMGDB.MNGOS.STAND.C002.M008.NET.SSD.B050.G002</productCode>
                <productName>vCPU 2EA, Memory 8GB</productName>
                <productType>
                    <code>STAND</code>
                    <codeName>Standard</codeName>
                </productType>
                <productDescription>vCPU 2 ea, memory 8 GB, [SSD]disk 50 GB</productDescription>
                <infraResourceType>
                    <code>VMGDB</code>
                    <codeName>Cloud DB For MongoDB (VPC)</codeName>
                </infraResourceType>
                <infraResourceDetailType>
                    <code>MNGOS</code>
                    <codeName>Mongos (Router)</codeName>
                </infraResourceDetailType>
                <cpuCount>2</cpuCount>
                <memorySize>8589934592</memorySize>
                <diskType>
                    <code>NET</code>
                    <codeName>Network Storage</codeName>
                </diskType>
            </product>
        </productList>
    </getCloudMongoDbProductListResponse>
    

    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.