tencentcloud-sdk-mongodb 1.0.222 → 1.0.223

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 55ad8e455abd9bdcd6b89014f8100c2ee468084c
4
- data.tar.gz: 523e2c20bd9c7d524394ebc4f9490c7a59c25869
3
+ metadata.gz: de3e3f52f00d5b45fdec859ab82c1093e81d5c68
4
+ data.tar.gz: 3fc6f9b07003b2fd462e1ea104b0e0b7788cdf61
5
5
  SHA512:
6
- metadata.gz: 9fb2544ba10ad3b0b0f47859b08405c8536a9965200773b04bb511e4743d443c685f78dd6e1254c52bc8e6c2b6949daa208d20765af34cd7484dbee6e5c1eb13
7
- data.tar.gz: 77f06a646ea4d4daf689334e6b0ea1ed1f233f16dcc56b0f88b63c9a29eb4ce2908e5cf22af54e16ac322c7d7352264339158c9578936e9d515db69ab83d799f
6
+ metadata.gz: 470d34fa9fb24cc81bd99ef5f596735b001be841a57b549c53198c6b21106f72211ce7fe5558b53df73ba6f93f215fd370c07bd4bd52f7ff52afd72d0f8e462e
7
+ data.tar.gz: d3cc346a1b9368ece1c7dc9f1b623bc4ac43eb1ee08e676e74664e8ddd1e2b300ddfc152f1b23cada74b4cd5a34c712a7c17d6b998fe43e17b1773c3b3ec1df5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.222
1
+ 1.0.223
@@ -343,6 +343,30 @@ module TencentCloud
343
343
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
344
344
  end
345
345
 
346
+ # 本接口(DescribeInstanceParams)用于查询当前实例可修改的参数列表。
347
+
348
+ # @param request: Request instance for DescribeInstanceParams.
349
+ # @type request: :class:`Tencentcloud::mongodb::V20190725::DescribeInstanceParamsRequest`
350
+ # @rtype: :class:`Tencentcloud::mongodb::V20190725::DescribeInstanceParamsResponse`
351
+ def DescribeInstanceParams(request)
352
+ body = send_request('DescribeInstanceParams', request.serialize)
353
+ response = JSON.parse(body)
354
+ if response['Response'].key?('Error') == false
355
+ model = DescribeInstanceParamsResponse.new
356
+ model.deserialize(response['Response'])
357
+ model
358
+ else
359
+ code = response['Response']['Error']['Code']
360
+ message = response['Response']['Error']['Message']
361
+ reqid = response['Response']['RequestId']
362
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
363
+ end
364
+ rescue TencentCloud::Common::TencentCloudSDKException => e
365
+ raise e
366
+ rescue StandardError => e
367
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
368
+ end
369
+
346
370
  # 查询实例绑定的安全组
347
371
 
348
372
  # @param request: Request instance for DescribeSecurityGroup.
@@ -1219,6 +1219,86 @@ module TencentCloud
1219
1219
  end
1220
1220
  end
1221
1221
 
1222
+ # DescribeInstanceParams请求参数结构体
1223
+ class DescribeInstanceParamsRequest < TencentCloud::Common::AbstractModel
1224
+ # @param InstanceId: 实例ID
1225
+ # @type InstanceId: String
1226
+
1227
+ attr_accessor :InstanceId
1228
+
1229
+ def initialize(instanceid=nil)
1230
+ @InstanceId = instanceid
1231
+ end
1232
+
1233
+ def deserialize(params)
1234
+ @InstanceId = params['InstanceId']
1235
+ end
1236
+ end
1237
+
1238
+ # DescribeInstanceParams返回参数结构体
1239
+ class DescribeInstanceParamsResponse < TencentCloud::Common::AbstractModel
1240
+ # @param InstanceEnumParam: 值为枚举类型参数集合
1241
+ # @type InstanceEnumParam: Array
1242
+ # @param InstanceIntegerParam: 值为integer类型参数集合
1243
+ # @type InstanceIntegerParam: Array
1244
+ # @param InstanceTextParam: 值为text类型的参数集合
1245
+ # @type InstanceTextParam: Array
1246
+ # @param InstanceMultiParam: 值为混合类型的参数集合
1247
+ # @type InstanceMultiParam: Array
1248
+ # @param TotalCount: 当前实例支持修改的参数个数统计 如0
1249
+ # @type TotalCount: Integer
1250
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1251
+ # @type RequestId: String
1252
+
1253
+ attr_accessor :InstanceEnumParam, :InstanceIntegerParam, :InstanceTextParam, :InstanceMultiParam, :TotalCount, :RequestId
1254
+
1255
+ def initialize(instanceenumparam=nil, instanceintegerparam=nil, instancetextparam=nil, instancemultiparam=nil, totalcount=nil, requestid=nil)
1256
+ @InstanceEnumParam = instanceenumparam
1257
+ @InstanceIntegerParam = instanceintegerparam
1258
+ @InstanceTextParam = instancetextparam
1259
+ @InstanceMultiParam = instancemultiparam
1260
+ @TotalCount = totalcount
1261
+ @RequestId = requestid
1262
+ end
1263
+
1264
+ def deserialize(params)
1265
+ unless params['InstanceEnumParam'].nil?
1266
+ @InstanceEnumParam = []
1267
+ params['InstanceEnumParam'].each do |i|
1268
+ instanceenumparam_tmp = InstanceEnumParam.new
1269
+ instanceenumparam_tmp.deserialize(i)
1270
+ @InstanceEnumParam << instanceenumparam_tmp
1271
+ end
1272
+ end
1273
+ unless params['InstanceIntegerParam'].nil?
1274
+ @InstanceIntegerParam = []
1275
+ params['InstanceIntegerParam'].each do |i|
1276
+ instanceintegerparam_tmp = InstanceIntegerParam.new
1277
+ instanceintegerparam_tmp.deserialize(i)
1278
+ @InstanceIntegerParam << instanceintegerparam_tmp
1279
+ end
1280
+ end
1281
+ unless params['InstanceTextParam'].nil?
1282
+ @InstanceTextParam = []
1283
+ params['InstanceTextParam'].each do |i|
1284
+ instancetextparam_tmp = InstanceTextParam.new
1285
+ instancetextparam_tmp.deserialize(i)
1286
+ @InstanceTextParam << instancetextparam_tmp
1287
+ end
1288
+ end
1289
+ unless params['InstanceMultiParam'].nil?
1290
+ @InstanceMultiParam = []
1291
+ params['InstanceMultiParam'].each do |i|
1292
+ instancemultiparam_tmp = InstanceMultiParam.new
1293
+ instancemultiparam_tmp.deserialize(i)
1294
+ @InstanceMultiParam << instancemultiparam_tmp
1295
+ end
1296
+ end
1297
+ @TotalCount = params['TotalCount']
1298
+ @RequestId = params['RequestId']
1299
+ end
1300
+ end
1301
+
1222
1302
  # DescribeSecurityGroup请求参数结构体
1223
1303
  class DescribeSecurityGroupRequest < TencentCloud::Common::AbstractModel
1224
1304
  # @param InstanceId: 实例ID,格式如:cmgo-p8vnipr5。
@@ -1870,6 +1950,190 @@ module TencentCloud
1870
1950
  end
1871
1951
  end
1872
1952
 
1953
+ # 实例可修改参数枚举类型集合。
1954
+ class InstanceEnumParam < TencentCloud::Common::AbstractModel
1955
+ # @param CurrentValue: 参数当前值
1956
+ # @type CurrentValue: String
1957
+ # @param DefaultValue: 默认值
1958
+ # @type DefaultValue: String
1959
+ # @param EnumValue: 枚举值,所有支持的值
1960
+ # @type EnumValue: Array
1961
+ # @param NeedRestart: 是否需要重启后生效,"1"需要,"0"无需重启
1962
+ # @type NeedRestart: String
1963
+ # @param ParamName: 参数名称
1964
+ # @type ParamName: String
1965
+ # @param Tips: 中英文说明
1966
+ # @type Tips: Array
1967
+ # @param ValueType: 参数值类型说明
1968
+ # @type ValueType: String
1969
+ # @param Status: 是否获取到参数,1为获取,前端正常显示,0:前段显示loading
1970
+ # @type Status: Integer
1971
+
1972
+ attr_accessor :CurrentValue, :DefaultValue, :EnumValue, :NeedRestart, :ParamName, :Tips, :ValueType, :Status
1973
+
1974
+ def initialize(currentvalue=nil, defaultvalue=nil, enumvalue=nil, needrestart=nil, paramname=nil, tips=nil, valuetype=nil, status=nil)
1975
+ @CurrentValue = currentvalue
1976
+ @DefaultValue = defaultvalue
1977
+ @EnumValue = enumvalue
1978
+ @NeedRestart = needrestart
1979
+ @ParamName = paramname
1980
+ @Tips = tips
1981
+ @ValueType = valuetype
1982
+ @Status = status
1983
+ end
1984
+
1985
+ def deserialize(params)
1986
+ @CurrentValue = params['CurrentValue']
1987
+ @DefaultValue = params['DefaultValue']
1988
+ @EnumValue = params['EnumValue']
1989
+ @NeedRestart = params['NeedRestart']
1990
+ @ParamName = params['ParamName']
1991
+ @Tips = params['Tips']
1992
+ @ValueType = params['ValueType']
1993
+ @Status = params['Status']
1994
+ end
1995
+ end
1996
+
1997
+ # 实例可修改参数integer类型集合。
1998
+ class InstanceIntegerParam < TencentCloud::Common::AbstractModel
1999
+ # @param CurrentValue: 当前值
2000
+ # @type CurrentValue: String
2001
+ # @param DefaultValue: 默认值
2002
+ # @type DefaultValue: String
2003
+ # @param Max: 最大值
2004
+ # @type Max: String
2005
+ # @param Min: 最小值
2006
+ # @type Min: String
2007
+ # @param NeedRestart: 是否徐亚哦重启后生效 1:需要重启;0:无需重启
2008
+ # @type NeedRestart: String
2009
+ # @param ParamName: 参数名称
2010
+ # @type ParamName: String
2011
+ # @param Tips: 参数说明
2012
+ # @type Tips: Array
2013
+ # @param ValueType: 参数类型
2014
+ # @type ValueType: String
2015
+ # @param Status: 是否正常获取到,1:未正常获取;0:正常获取,仅对前端有实际意义;
2016
+ # @type Status: Integer
2017
+ # @param Unit: 暂时未用到,前端使用redis侧代码,为了兼容,保留该参数
2018
+ # @type Unit: String
2019
+
2020
+ attr_accessor :CurrentValue, :DefaultValue, :Max, :Min, :NeedRestart, :ParamName, :Tips, :ValueType, :Status, :Unit
2021
+
2022
+ def initialize(currentvalue=nil, defaultvalue=nil, max=nil, min=nil, needrestart=nil, paramname=nil, tips=nil, valuetype=nil, status=nil, unit=nil)
2023
+ @CurrentValue = currentvalue
2024
+ @DefaultValue = defaultvalue
2025
+ @Max = max
2026
+ @Min = min
2027
+ @NeedRestart = needrestart
2028
+ @ParamName = paramname
2029
+ @Tips = tips
2030
+ @ValueType = valuetype
2031
+ @Status = status
2032
+ @Unit = unit
2033
+ end
2034
+
2035
+ def deserialize(params)
2036
+ @CurrentValue = params['CurrentValue']
2037
+ @DefaultValue = params['DefaultValue']
2038
+ @Max = params['Max']
2039
+ @Min = params['Min']
2040
+ @NeedRestart = params['NeedRestart']
2041
+ @ParamName = params['ParamName']
2042
+ @Tips = params['Tips']
2043
+ @ValueType = params['ValueType']
2044
+ @Status = params['Status']
2045
+ @Unit = params['Unit']
2046
+ end
2047
+ end
2048
+
2049
+ # 实例可修改参数Multi类型集合。
2050
+ class InstanceMultiParam < TencentCloud::Common::AbstractModel
2051
+ # @param CurrentValue: 当前值
2052
+ # @type CurrentValue: String
2053
+ # @param DefaultValue: 默认值
2054
+ # @type DefaultValue: String
2055
+ # @param EnumValue: 指导值范围
2056
+ # @type EnumValue: Array
2057
+ # @param NeedRestart: 是否需要重启
2058
+ # @type NeedRestart: String
2059
+ # @param ParamName: 参数名称
2060
+ # @type ParamName: String
2061
+ # @param Status: 状态值
2062
+ # @type Status: Integer
2063
+ # @param Tips: 参数说明
2064
+ # @type Tips: Array
2065
+ # @param ValueType: 值类型,multi混合类型
2066
+ # @type ValueType: String
2067
+
2068
+ attr_accessor :CurrentValue, :DefaultValue, :EnumValue, :NeedRestart, :ParamName, :Status, :Tips, :ValueType
2069
+
2070
+ def initialize(currentvalue=nil, defaultvalue=nil, enumvalue=nil, needrestart=nil, paramname=nil, status=nil, tips=nil, valuetype=nil)
2071
+ @CurrentValue = currentvalue
2072
+ @DefaultValue = defaultvalue
2073
+ @EnumValue = enumvalue
2074
+ @NeedRestart = needrestart
2075
+ @ParamName = paramname
2076
+ @Status = status
2077
+ @Tips = tips
2078
+ @ValueType = valuetype
2079
+ end
2080
+
2081
+ def deserialize(params)
2082
+ @CurrentValue = params['CurrentValue']
2083
+ @DefaultValue = params['DefaultValue']
2084
+ @EnumValue = params['EnumValue']
2085
+ @NeedRestart = params['NeedRestart']
2086
+ @ParamName = params['ParamName']
2087
+ @Status = params['Status']
2088
+ @Tips = params['Tips']
2089
+ @ValueType = params['ValueType']
2090
+ end
2091
+ end
2092
+
2093
+ # 实例可修改参数text类型集合。
2094
+ class InstanceTextParam < TencentCloud::Common::AbstractModel
2095
+ # @param CurrentValue: 当前值(暂未使用)
2096
+ # @type CurrentValue: String
2097
+ # @param DefaultValue: 默认值(暂未使用)
2098
+ # @type DefaultValue: String
2099
+ # @param NeedRestart: 是否需要重启(暂未使用)
2100
+ # @type NeedRestart: String
2101
+ # @param ParamName: 参数名称(暂未使用)
2102
+ # @type ParamName: String
2103
+ # @param TextValue: text类型值(暂未使用)
2104
+ # @type TextValue: String
2105
+ # @param Tips: 说明(暂未使用)
2106
+ # @type Tips: Array
2107
+ # @param ValueType: 值类型(暂未使用)
2108
+ # @type ValueType: String
2109
+ # @param Status: 值获取状态(暂未使用)
2110
+ # @type Status: String
2111
+
2112
+ attr_accessor :CurrentValue, :DefaultValue, :NeedRestart, :ParamName, :TextValue, :Tips, :ValueType, :Status
2113
+
2114
+ def initialize(currentvalue=nil, defaultvalue=nil, needrestart=nil, paramname=nil, textvalue=nil, tips=nil, valuetype=nil, status=nil)
2115
+ @CurrentValue = currentvalue
2116
+ @DefaultValue = defaultvalue
2117
+ @NeedRestart = needrestart
2118
+ @ParamName = paramname
2119
+ @TextValue = textvalue
2120
+ @Tips = tips
2121
+ @ValueType = valuetype
2122
+ @Status = status
2123
+ end
2124
+
2125
+ def deserialize(params)
2126
+ @CurrentValue = params['CurrentValue']
2127
+ @DefaultValue = params['DefaultValue']
2128
+ @NeedRestart = params['NeedRestart']
2129
+ @ParamName = params['ParamName']
2130
+ @TextValue = params['TextValue']
2131
+ @Tips = params['Tips']
2132
+ @ValueType = params['ValueType']
2133
+ @Status = params['Status']
2134
+ end
2135
+ end
2136
+
1873
2137
  # IsolateDBInstance请求参数结构体
1874
2138
  class IsolateDBInstanceRequest < TencentCloud::Common::AbstractModel
1875
2139
  # @param InstanceId: 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mongodb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.222
4
+ version: 1.0.223
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-13 00:00:00.000000000 Z
11
+ date: 2021-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common