tencentcloud-sdk-cynosdb 3.0.483 → 3.0.484

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: 8af9a3845b22d2fdbbe631246bb2069762c06f32
4
- data.tar.gz: 2afe6998a3bfccf78b8c007e3b17438133584c82
3
+ metadata.gz: 4d2d6ea7c5203fd8006101114deca9d6917077f8
4
+ data.tar.gz: 0927f078044054ec0c1de2d0e48a191736592e86
5
5
  SHA512:
6
- metadata.gz: 081a1fe4be9f2f890809d422783fcec5d0e868d49f457a28d84391e929565aebb779627dca3c966e42a0c0f5ef3b767f9e6b1bb4a04213d458c9c7a5c98283db
7
- data.tar.gz: 98600f231b4a704fa2f3b79158d12ab0e4888b648a5b9e105aef7882ad167cf4282ecd8b455c42d4b0ca559c5924d9ea98c1f31aafb706f342b3c440ce7a51c0
6
+ metadata.gz: 967c2dc17f6ccb3293853766cdb6e74845129ea2a05a49a66c8edb478ea93d3081cdc37245d4092a8d396f90e5d18a21c509814f9fe77960459ad77d0c6264f8
7
+ data.tar.gz: 13c30b8cc3edb0798505fb98294c451cc52a629b01690bf18a9ff1b9006ae4a19f5cead021a65586f4c52b94845308de6bac876eb6af62c7f2c186670bce2359
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.483
1
+ 3.0.484
@@ -509,7 +509,7 @@ module TencentCloud
509
509
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
510
  end
511
511
 
512
- # 显示集群详情
512
+ # 该接口(DescribeClusterDetail)显示集群详情
513
513
 
514
514
  # @param request: Request instance for DescribeClusterDetail.
515
515
  # @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeClusterDetailRequest`
@@ -212,10 +212,14 @@ module TencentCloud
212
212
  # @type OrderSource: String
213
213
  # @param DealMode: 交易模式 0-下单并支付 1-下单
214
214
  # @type DealMode: Integer
215
+ # @param ParamTemplateId: 参数模版ID
216
+ # @type ParamTemplateId: Integer
217
+ # @param InstanceParams: 参数列表,ParamTemplateId 传入时InstanceParams才有效
218
+ # @type InstanceParams: Array
215
219
 
216
- attr_accessor :ClusterId, :Cpu, :Memory, :ReadOnlyCount, :InstanceGrpId, :VpcId, :SubnetId, :Port, :InstanceName, :AutoVoucher, :DbType, :OrderSource, :DealMode
220
+ attr_accessor :ClusterId, :Cpu, :Memory, :ReadOnlyCount, :InstanceGrpId, :VpcId, :SubnetId, :Port, :InstanceName, :AutoVoucher, :DbType, :OrderSource, :DealMode, :ParamTemplateId, :InstanceParams
217
221
 
218
- def initialize(clusterid=nil, cpu=nil, memory=nil, readonlycount=nil, instancegrpid=nil, vpcid=nil, subnetid=nil, port=nil, instancename=nil, autovoucher=nil, dbtype=nil, ordersource=nil, dealmode=nil)
222
+ def initialize(clusterid=nil, cpu=nil, memory=nil, readonlycount=nil, instancegrpid=nil, vpcid=nil, subnetid=nil, port=nil, instancename=nil, autovoucher=nil, dbtype=nil, ordersource=nil, dealmode=nil, paramtemplateid=nil, instanceparams=nil)
219
223
  @ClusterId = clusterid
220
224
  @Cpu = cpu
221
225
  @Memory = memory
@@ -229,6 +233,8 @@ module TencentCloud
229
233
  @DbType = dbtype
230
234
  @OrderSource = ordersource
231
235
  @DealMode = dealmode
236
+ @ParamTemplateId = paramtemplateid
237
+ @InstanceParams = instanceparams
232
238
  end
233
239
 
234
240
  def deserialize(params)
@@ -245,6 +251,15 @@ module TencentCloud
245
251
  @DbType = params['DbType']
246
252
  @OrderSource = params['OrderSource']
247
253
  @DealMode = params['DealMode']
254
+ @ParamTemplateId = params['ParamTemplateId']
255
+ unless params['InstanceParams'].nil?
256
+ @InstanceParams = []
257
+ params['InstanceParams'].each do |i|
258
+ modifyparamitem_tmp = ModifyParamItem.new
259
+ modifyparamitem_tmp.deserialize(i)
260
+ @InstanceParams << modifyparamitem_tmp
261
+ end
262
+ end
248
263
  end
249
264
  end
250
265
 
@@ -2206,19 +2221,23 @@ module TencentCloud
2206
2221
  class DeleteBackupRequest < TencentCloud::Common::AbstractModel
2207
2222
  # @param ClusterId: 集群ID
2208
2223
  # @type ClusterId: String
2209
- # @param SnapshotIdList: 备份文件ID
2224
+ # @param SnapshotIdList: 备份文件ID,旧版本使用的字段,不推荐使用
2210
2225
  # @type SnapshotIdList: Array
2226
+ # @param BackupIds: 备份文件ID,推荐使用
2227
+ # @type BackupIds: Array
2211
2228
 
2212
- attr_accessor :ClusterId, :SnapshotIdList
2229
+ attr_accessor :ClusterId, :SnapshotIdList, :BackupIds
2213
2230
 
2214
- def initialize(clusterid=nil, snapshotidlist=nil)
2231
+ def initialize(clusterid=nil, snapshotidlist=nil, backupids=nil)
2215
2232
  @ClusterId = clusterid
2216
2233
  @SnapshotIdList = snapshotidlist
2234
+ @BackupIds = backupids
2217
2235
  end
2218
2236
 
2219
2237
  def deserialize(params)
2220
2238
  @ClusterId = params['ClusterId']
2221
2239
  @SnapshotIdList = params['SnapshotIdList']
2240
+ @BackupIds = params['BackupIds']
2222
2241
  end
2223
2242
  end
2224
2243
 
@@ -4761,6 +4780,31 @@ module TencentCloud
4761
4780
  end
4762
4781
  end
4763
4782
 
4783
+ # 修改的实例参数信息
4784
+ class ModifyParamItem < TencentCloud::Common::AbstractModel
4785
+ # @param ParamName: 参数名
4786
+ # @type ParamName: String
4787
+ # @param CurrentValue: 参数当前值
4788
+ # @type CurrentValue: String
4789
+ # @param OldValue: 参数旧值(只在出参时有用)
4790
+ # 注意:此字段可能返回 null,表示取不到有效值。
4791
+ # @type OldValue: String
4792
+
4793
+ attr_accessor :ParamName, :CurrentValue, :OldValue
4794
+
4795
+ def initialize(paramname=nil, currentvalue=nil, oldvalue=nil)
4796
+ @ParamName = paramname
4797
+ @CurrentValue = currentvalue
4798
+ @OldValue = oldvalue
4799
+ end
4800
+
4801
+ def deserialize(params)
4802
+ @ParamName = params['ParamName']
4803
+ @CurrentValue = params['CurrentValue']
4804
+ @OldValue = params['OldValue']
4805
+ end
4806
+ end
4807
+
4764
4808
  # 网络信息
4765
4809
  class NetAddr < TencentCloud::Common::AbstractModel
4766
4810
  # @param Vip: 内网ip
@@ -5422,10 +5466,12 @@ module TencentCloud
5422
5466
  # @type RollbackDatabases: Array
5423
5467
  # @param RollbackTables: 回档数据库表列表
5424
5468
  # @type RollbackTables: Array
5469
+ # @param RollbackMode: 按时间点回档模式,full: 普通; db: 快速; table: 极速 (默认是普通)
5470
+ # @type RollbackMode: String
5425
5471
 
5426
- attr_accessor :ClusterId, :RollbackStrategy, :RollbackId, :ExpectTime, :ExpectTimeThresh, :RollbackDatabases, :RollbackTables
5472
+ attr_accessor :ClusterId, :RollbackStrategy, :RollbackId, :ExpectTime, :ExpectTimeThresh, :RollbackDatabases, :RollbackTables, :RollbackMode
5427
5473
 
5428
- def initialize(clusterid=nil, rollbackstrategy=nil, rollbackid=nil, expecttime=nil, expecttimethresh=nil, rollbackdatabases=nil, rollbacktables=nil)
5474
+ def initialize(clusterid=nil, rollbackstrategy=nil, rollbackid=nil, expecttime=nil, expecttimethresh=nil, rollbackdatabases=nil, rollbacktables=nil, rollbackmode=nil)
5429
5475
  @ClusterId = clusterid
5430
5476
  @RollbackStrategy = rollbackstrategy
5431
5477
  @RollbackId = rollbackid
@@ -5433,6 +5479,7 @@ module TencentCloud
5433
5479
  @ExpectTimeThresh = expecttimethresh
5434
5480
  @RollbackDatabases = rollbackdatabases
5435
5481
  @RollbackTables = rollbacktables
5482
+ @RollbackMode = rollbackmode
5436
5483
  end
5437
5484
 
5438
5485
  def deserialize(params)
@@ -5457,6 +5504,7 @@ module TencentCloud
5457
5504
  @RollbackTables << rollbacktable_tmp
5458
5505
  end
5459
5506
  end
5507
+ @RollbackMode = params['RollbackMode']
5460
5508
  end
5461
5509
  end
5462
5510
 
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.483
4
+ version: 3.0.484
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-12-29 00:00:00.000000000 Z
11
+ date: 2022-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common