Class: TencentCloud::Mongodb::V20190725::DescribeDBInstanceParamTplRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190725/models.rb

Overview

DescribeDBInstanceParamTpl请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tplids = nil, tplnames = nil, mongoversion = nil, tpltype = nil) ⇒ DescribeDBInstanceParamTplRequest

Returns a new instance of DescribeDBInstanceParamTplRequest.



2356
2357
2358
2359
2360
2361
# File 'lib/v20190725/models.rb', line 2356

def initialize(tplids=nil, tplnames=nil, mongoversion=nil, tpltype=nil)
  @TplIds = tplids
  @TplNames = tplnames
  @MongoVersion = mongoversion
  @TplType = tpltype
end

Instance Attribute Details

#MongoVersionObject

  • MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本,
  • MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本,
  • MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。
  • MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。
  • MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
  • MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
  • MONGO_70_WT:MongoDB 7.0 WiredTiger存储引擎版本。
  • MONGO_80_WT:MongoDB 8.0 WiredTiger存储引擎版本。
  • DEFAULT:系统默认模板。
  • CUSTOMIZE:自定义模板。

Parameters:

  • TplIds:

    参数模板 ID。请通过接口 DescribeDBInstanceParamTpl 获取模板 ID。

  • TplNames:

    指定查询的模板名称。

  • MongoVersion:

    指定所需查询的参数模板的数据库版本号。具体支持的版本信息,请通过接口 DescribeSpecInfo 获取。

  • TplType:

    指定查询的模板类型。



2354
2355
2356
# File 'lib/v20190725/models.rb', line 2354

def MongoVersion
  @MongoVersion
end

#TplIdsObject

  • MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本,
  • MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本,
  • MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。
  • MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。
  • MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
  • MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
  • MONGO_70_WT:MongoDB 7.0 WiredTiger存储引擎版本。
  • MONGO_80_WT:MongoDB 8.0 WiredTiger存储引擎版本。
  • DEFAULT:系统默认模板。
  • CUSTOMIZE:自定义模板。

Parameters:

  • TplIds:

    参数模板 ID。请通过接口 DescribeDBInstanceParamTpl 获取模板 ID。

  • TplNames:

    指定查询的模板名称。

  • MongoVersion:

    指定所需查询的参数模板的数据库版本号。具体支持的版本信息,请通过接口 DescribeSpecInfo 获取。

  • TplType:

    指定查询的模板类型。



2354
2355
2356
# File 'lib/v20190725/models.rb', line 2354

def TplIds
  @TplIds
end

#TplNamesObject

  • MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本,
  • MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本,
  • MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。
  • MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。
  • MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
  • MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
  • MONGO_70_WT:MongoDB 7.0 WiredTiger存储引擎版本。
  • MONGO_80_WT:MongoDB 8.0 WiredTiger存储引擎版本。
  • DEFAULT:系统默认模板。
  • CUSTOMIZE:自定义模板。

Parameters:

  • TplIds:

    参数模板 ID。请通过接口 DescribeDBInstanceParamTpl 获取模板 ID。

  • TplNames:

    指定查询的模板名称。

  • MongoVersion:

    指定所需查询的参数模板的数据库版本号。具体支持的版本信息,请通过接口 DescribeSpecInfo 获取。

  • TplType:

    指定查询的模板类型。



2354
2355
2356
# File 'lib/v20190725/models.rb', line 2354

def TplNames
  @TplNames
end

#TplTypeObject

  • MONGO_36_WT:MongoDB 3.6 WiredTiger存储引擎版本,
  • MONGO_40_WT:MongoDB 4.0 WiredTiger存储引擎版本,
  • MONGO_42_WT:MongoDB 4.2 WiredTiger存储引擎版本。
  • MONGO_44_WT:MongoDB 4.4 WiredTiger存储引擎版本。
  • MONGO_50_WT:MongoDB 5.0 WiredTiger存储引擎版本。
  • MONGO_60_WT:MongoDB 6.0 WiredTiger存储引擎版本。
  • MONGO_70_WT:MongoDB 7.0 WiredTiger存储引擎版本。
  • MONGO_80_WT:MongoDB 8.0 WiredTiger存储引擎版本。
  • DEFAULT:系统默认模板。
  • CUSTOMIZE:自定义模板。

Parameters:

  • TplIds:

    参数模板 ID。请通过接口 DescribeDBInstanceParamTpl 获取模板 ID。

  • TplNames:

    指定查询的模板名称。

  • MongoVersion:

    指定所需查询的参数模板的数据库版本号。具体支持的版本信息,请通过接口 DescribeSpecInfo 获取。

  • TplType:

    指定查询的模板类型。



2354
2355
2356
# File 'lib/v20190725/models.rb', line 2354

def TplType
  @TplType
end

Instance Method Details

#deserialize(params) ⇒ Object



2363
2364
2365
2366
2367
2368
# File 'lib/v20190725/models.rb', line 2363

def deserialize(params)
  @TplIds = params['TplIds']
  @TplNames = params['TplNames']
  @MongoVersion = params['MongoVersion']
  @TplType = params['TplType']
end