tencentcloud-sdk-cynosdb 3.0.456 → 3.0.457

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190107/models.rb +117 -5
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f012fc0f58558734579f9581b89a3c68e4538c3a
4
- data.tar.gz: e403091af0d2ba45e395261c2b18955af88548cc
3
+ metadata.gz: 5619f63f43775f3bc0ce4b0616ce2e8559318f7c
4
+ data.tar.gz: aa7f2e8411abdeffe881638172a007cc8c6cdb0d
5
5
  SHA512:
6
- metadata.gz: f5326d7aa59c383e307d1428c3bc666b70d24fb5b9fbb0418d97d6645caa4d9ea3a2a36e79e3073cb9af069979047e1effc5f123b1731a59e57a9eaf75251048
7
- data.tar.gz: b8dbd18dfd53efc724081f5f02ab51807492200e89547b76a83f75e30990c8da4de6fb6463920c0c00188adc2975f3781b55a6e994f31085f2b1c4a509070f9b
6
+ metadata.gz: 9612ce62aa0306d188e2d8c293fa44c65e99b6c659c0261742487b746c45755d3a6d55c6e64a57502b2719db8693f220b3fc5022b82032cdd8502453d01d8d58
7
+ data.tar.gz: fb3dbfd8763f5738dae241f766349b986d76fc59ef31de885de64e0d591155dacefb9c848878edacbe6ae50e85995643de300722eb979e85be4e6ac8f1bc8b94
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.456
1
+ 3.0.457
@@ -3157,12 +3157,57 @@ module TencentCloud
3157
3157
 
3158
3158
  # DescribeParamTemplates请求参数结构体
3159
3159
  class DescribeParamTemplatesRequest < TencentCloud::Common::AbstractModel
3160
+ # @param EngineVersions: 数据库引擎版本号
3161
+ # @type EngineVersions: Array
3162
+ # @param TemplateNames: 模版名称
3163
+ # @type TemplateNames: Array
3164
+ # @param TemplateIds: 模版ID
3165
+ # @type TemplateIds: Array
3166
+ # @param DbModes: 数据库类型,可选值:NORMAL,SERVERLESS
3167
+ # @type DbModes: Array
3168
+ # @param Offset: 查询偏移量
3169
+ # @type Offset: Integer
3170
+ # @param Limit: 查询限制条数
3171
+ # @type Limit: Integer
3172
+ # @param Products: 查询的模板对应的产品类型
3173
+ # @type Products: Array
3174
+ # @param TemplateTypes: 模版类型
3175
+ # @type TemplateTypes: Array
3176
+ # @param EngineTypes: 版本类型
3177
+ # @type EngineTypes: Array
3178
+ # @param OrderBy: 返回结果的排序字段
3179
+ # @type OrderBy: String
3180
+ # @param OrderDirection: 排序方式(asc、desc)
3181
+ # @type OrderDirection: String
3160
3182
 
3183
+ attr_accessor :EngineVersions, :TemplateNames, :TemplateIds, :DbModes, :Offset, :Limit, :Products, :TemplateTypes, :EngineTypes, :OrderBy, :OrderDirection
3161
3184
 
3162
- def initialize()
3185
+ def initialize(engineversions=nil, templatenames=nil, templateids=nil, dbmodes=nil, offset=nil, limit=nil, products=nil, templatetypes=nil, enginetypes=nil, orderby=nil, orderdirection=nil)
3186
+ @EngineVersions = engineversions
3187
+ @TemplateNames = templatenames
3188
+ @TemplateIds = templateids
3189
+ @DbModes = dbmodes
3190
+ @Offset = offset
3191
+ @Limit = limit
3192
+ @Products = products
3193
+ @TemplateTypes = templatetypes
3194
+ @EngineTypes = enginetypes
3195
+ @OrderBy = orderby
3196
+ @OrderDirection = orderdirection
3163
3197
  end
3164
3198
 
3165
3199
  def deserialize(params)
3200
+ @EngineVersions = params['EngineVersions']
3201
+ @TemplateNames = params['TemplateNames']
3202
+ @TemplateIds = params['TemplateIds']
3203
+ @DbModes = params['DbModes']
3204
+ @Offset = params['Offset']
3205
+ @Limit = params['Limit']
3206
+ @Products = params['Products']
3207
+ @TemplateTypes = params['TemplateTypes']
3208
+ @EngineTypes = params['EngineTypes']
3209
+ @OrderBy = params['OrderBy']
3210
+ @OrderDirection = params['OrderDirection']
3166
3211
  end
3167
3212
  end
3168
3213
 
@@ -4612,14 +4657,21 @@ module TencentCloud
4612
4657
  # @type TemplateDescription: String
4613
4658
  # @param EngineVersion: 引擎版本
4614
4659
  # @type EngineVersion: String
4660
+ # @param DbMode: 数据库类型,可选值:NORMAL,SERVERLESS
4661
+ # @type DbMode: String
4662
+ # @param ParamInfoSet: 参数模板详情
4663
+ # 注意:此字段可能返回 null,表示取不到有效值。
4664
+ # @type ParamInfoSet: Array
4615
4665
 
4616
- attr_accessor :Id, :TemplateName, :TemplateDescription, :EngineVersion
4666
+ attr_accessor :Id, :TemplateName, :TemplateDescription, :EngineVersion, :DbMode, :ParamInfoSet
4617
4667
 
4618
- def initialize(id=nil, templatename=nil, templatedescription=nil, engineversion=nil)
4668
+ def initialize(id=nil, templatename=nil, templatedescription=nil, engineversion=nil, dbmode=nil, paraminfoset=nil)
4619
4669
  @Id = id
4620
4670
  @TemplateName = templatename
4621
4671
  @TemplateDescription = templatedescription
4622
4672
  @EngineVersion = engineversion
4673
+ @DbMode = dbmode
4674
+ @ParamInfoSet = paraminfoset
4623
4675
  end
4624
4676
 
4625
4677
  def deserialize(params)
@@ -4627,6 +4679,15 @@ module TencentCloud
4627
4679
  @TemplateName = params['TemplateName']
4628
4680
  @TemplateDescription = params['TemplateDescription']
4629
4681
  @EngineVersion = params['EngineVersion']
4682
+ @DbMode = params['DbMode']
4683
+ unless params['ParamInfoSet'].nil?
4684
+ @ParamInfoSet = []
4685
+ params['ParamInfoSet'].each do |i|
4686
+ templateparaminfo_tmp = TemplateParamInfo.new
4687
+ templateparaminfo_tmp.deserialize(i)
4688
+ @ParamInfoSet << templateparaminfo_tmp
4689
+ end
4690
+ end
4630
4691
  end
4631
4692
  end
4632
4693
 
@@ -4886,11 +4947,11 @@ module TencentCloud
4886
4947
  # @type RollbackId: Integer
4887
4948
  # @param ExpectTime: 期望回档时间
4888
4949
  # @type ExpectTime: String
4889
- # @param ExpectTimeThresh: 期望阈值
4950
+ # @param ExpectTimeThresh: 期望阈值(已废弃)
4890
4951
  # @type ExpectTimeThresh: Integer
4891
4952
  # @param RollbackDatabases: 回档数据库列表
4892
4953
  # @type RollbackDatabases: Array
4893
- # @param RollbackTables: 回档数据库表
4954
+ # @param RollbackTables: 回档数据库表列表
4894
4955
  # @type RollbackTables: Array
4895
4956
 
4896
4957
  attr_accessor :ClusterId, :RollbackStrategy, :RollbackId, :ExpectTime, :ExpectTimeThresh, :RollbackDatabases, :RollbackTables
@@ -5279,6 +5340,57 @@ module TencentCloud
5279
5340
  end
5280
5341
  end
5281
5342
 
5343
+ # 参数模板详情
5344
+ class TemplateParamInfo < TencentCloud::Common::AbstractModel
5345
+ # @param CurrentValue: 当前值
5346
+ # @type CurrentValue: String
5347
+ # @param Default: 默认值
5348
+ # @type Default: String
5349
+ # @param EnumValue: 参数类型为enum时可选的值类型集合
5350
+ # 注意:此字段可能返回 null,表示取不到有效值。
5351
+ # @type EnumValue: Array
5352
+ # @param Max: 参数类型为float/integer时的最大值
5353
+ # 注意:此字段可能返回 null,表示取不到有效值。
5354
+ # @type Max: String
5355
+ # @param Min: 参数类型为float/integer时的最小值
5356
+ # 注意:此字段可能返回 null,表示取不到有效值。
5357
+ # @type Min: String
5358
+ # @param ParamName: 参数名称
5359
+ # @type ParamName: String
5360
+ # @param NeedReboot: 是否需要重启
5361
+ # @type NeedReboot: Integer
5362
+ # @param Description: 参数描述
5363
+ # @type Description: String
5364
+ # @param ParamType: 参数类型,integer/float/string/enum
5365
+ # @type ParamType: String
5366
+
5367
+ attr_accessor :CurrentValue, :Default, :EnumValue, :Max, :Min, :ParamName, :NeedReboot, :Description, :ParamType
5368
+
5369
+ def initialize(currentvalue=nil, default=nil, enumvalue=nil, max=nil, min=nil, paramname=nil, needreboot=nil, description=nil, paramtype=nil)
5370
+ @CurrentValue = currentvalue
5371
+ @Default = default
5372
+ @EnumValue = enumvalue
5373
+ @Max = max
5374
+ @Min = min
5375
+ @ParamName = paramname
5376
+ @NeedReboot = needreboot
5377
+ @Description = description
5378
+ @ParamType = paramtype
5379
+ end
5380
+
5381
+ def deserialize(params)
5382
+ @CurrentValue = params['CurrentValue']
5383
+ @Default = params['Default']
5384
+ @EnumValue = params['EnumValue']
5385
+ @Max = params['Max']
5386
+ @Min = params['Min']
5387
+ @ParamName = params['ParamName']
5388
+ @NeedReboot = params['NeedReboot']
5389
+ @Description = params['Description']
5390
+ @ParamType = params['ParamType']
5391
+ end
5392
+ end
5393
+
5282
5394
  # 计费询价结果
5283
5395
  class TradePrice < TencentCloud::Common::AbstractModel
5284
5396
  # @param TotalPrice: 预付费模式下资源总价,不包含优惠,单位:分
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cynosdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.456
4
+ version: 3.0.457
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-22 00:00:00.000000000 Z
11
+ date: 2022-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common