Docs
api
Cloud MongoDB Database(UDB NVMe)
ListUMongoDBConfigTemplate

Fetch Configuration Template - ListUMongoDBConfigTemplate

Overview

Fetch Configuration Template

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is ListUMongoDBConfigTemplate.Yes
PublicKeystringThe user’s public key can be obtained from ConsoleYes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See List of Regions and Availability ZonesYes
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.No

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
DataSetarray[ConfigTemplate]Configuration Template ListYes

Data Model

ConfigTemplate

Field NameTypeDescription InformationRequired
TemplateIdstringTemplate IDNo
TemplateNamestringTemplate NameNo
MongodbVersionstringMongo VersionNo
ClusterTypestringCluster TypeNo
TemplateTypestringTemplate Type UsersTemplate DefaultTemplateNo
CreateTimeintCreation TimeNo
ModifyTimeintModification TimeNo
DeleteTimeintDeletion TimeNo
DescriptionstringTemplate DescriptionNo

Example

Request Example

https://api.dezai.com/?Action=ListUMongoDBConfigTemplate
&Region=cn-zj
&ProjectId=KcWyOTpE

Response Example

{
  "Action": "ListUMongoDBConfigTemplateResponse",
  "DataSet": [
    {
      "ClusterType": "tfPvRgzA",
      "CreateTime": 7,
      "DeleteTime": 5,
      "Description": 9,
      "ModifyTime": 8,
      "MongodbVersion": "SOTymeGF",
      "TemplateId": "TgbWNpkG",
      "TemplateName": "RFFuHJKR",
      "TemplateType": "WvyshOce"
    }
  ],
  "Message": "DzwqjoYl",
  "RetCode": 0
}