getCloudMongoDbProductList
- Print
- PDF
getCloudMongoDbProductList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Overview
Querying a list of available Cloud DB for MongoDB server spec codes
Requests
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
regionCode | No | String | - 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 | |
zoneCode | No | String | - 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 | |
cloudMongoDbImageProductCode | Yes | String | - 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 | |
productCode | No | String | - Cloud DB for MongoDB product code to be queried productCode can be obtained via the getCloudMongoDbProductList action | |
infraResourceDetailTypeCode | No | String | - Other detailed Clouds for MongoDb server infra product code Options : MNGOD | MNGOS | ARBIT | CFGSV | |
exclusionProductCode | No | String | - Cloud DB for MongoDB product code to be excluded exclusionProductCode can be obtained via the getCloudMongoDbProductList action | |
output | No | String | - 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?