The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
Available in VPC
Overview
Querying a list of Cloud DB for MongoDB image product 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 image 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 |
|
| productCode | No | String | - Cloud DB for MongoDB image product code to be queried productCode can be obtained via the getCloudMongoDbImageProductList action |
|
| exclusionProductCode | No | String | - Cloud DB for MongoDB image product code to be excluded exclusionProductCode can be obtained via the getCloudMongoDbImageProductList 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 getCloudMongoDbImageProductList --regionCode KR --productCode SW.VMGDB.LNX64.CNTOS.0708.MNGDB.402.CE.B050
Responses
<getCloudMongoDbImageProductListResponse>
<requestId>5c93827e-d858-42e1-a19b-5b1fc5c0840a</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>2</totalRows>
<productList>
<product>
<productCode>SW.VMGDB.LNX64.CNTOS.0708.MNGDB.402.CE.B050</productCode>
<productName>MongoDB 4.2 Community Edition</productName>
<productType>
<code>LINUX</code>
<codeName>Linux</codeName>
</productType>
<productDescription>CentOS 7.8 with MongoDB 4.2 Community Edition</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<infraResourceDetailType>
<code>MNGOD</code>
<codeName>Mongod (Primary&Secondary)</codeName>
</infraResourceDetailType>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>CentOS 7.8 with MongoDB 4.2 Community Edition (64-bit)</osInformation>
</product>
<product>
<productCode>SW.VMGDB.LNX64.CNTOS.0708.MNGDB.402.EE.B050</productCode>
<productName>MongoDB 4.2 Enterprise Edition</productName>
<productType>
<code>LINUX</code>
<codeName>Linux</codeName>
</productType>
<productDescription>CentOS 7.8 with MongoDB 4.2 Enterprise Edition</productDescription>
<infraResourceType>
<code>SW</code>
<codeName>Software</codeName>
</infraResourceType>
<infraResourceDetailType>
<code>MNGOD</code>
<codeName>Mongod (Primary&Secondary)</codeName>
</infraResourceDetailType>
<baseBlockStorageSize>53687091200</baseBlockStorageSize>
<platformType>
<code>LNX64</code>
<codeName>Linux 64 Bit</codeName>
</platformType>
<osInformation>CentOS 7.8 with MongoDB 4.2 Enterprise Edition (64-bit)</osInformation>
</product>
</productList>
</getCloudMongoDbImageProductListResponse>