Queries the list of default parameter templates for ApsaraDB for MongoDB instances.
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | No |
The region ID of the instance. You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
Engine | string | Yes |
The database engine of the instance. Set the value to MongoDB. |
mongodb |
EngineVersion | string | Yes |
The database engine version of the instance. Valid values:
|
5.0 |
Response parameters
Example
Normal return example
JSON
Format
{
"ParameterCount": "10",
"EngineVersion": "5.0",
"Parameters": {
"TemplateRecord": [
{
"CheckingCode": "[0-65536]",
"ParameterName": "net.compression.compressors",
"ParameterValue": "100",
"ForceModify": true,
"ForceRestart": true,
"ParameterDescription": "The threshold in milliseconds at which the database profiler considers a query slow, default is 100."
}
]
},
"RequestId": "BDA54203-9D61-54A3-A568-D281F785****",
"Engine": "mongodb"
}
Error codes
Http code | Error code | Error message |
---|---|---|
400 | InvalidEngineVersion.Malformed | Specified engine version is not valid. |
400 | InvalidEngine.Malformed | Specified engine is not valid. |
For a list of error codes, visit the API error center.