tencentcloud-sdk-cynosdb 3.0.465 → 3.0.467

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190107/models.rb +109 -13
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a6943aa09f89288a37e1f82cd1ea0298f1664f6b
4
- data.tar.gz: 744a62acf2fdd7f77c18edb6d6259140316ab34e
3
+ metadata.gz: 979ccb09ab7634e081151271389b0e3455f0d304
4
+ data.tar.gz: fc7b58201cd3f1016e7ad5cb6740cf3330a51121
5
5
  SHA512:
6
- metadata.gz: aa0b100c6c991d469c3bacf6e42d9808f22984ad9081f25c1263641a5a4052be0489b12d938a89ba195ff3f1abca6b415134237c897d1d4ca4cee67fbf6a0c2a
7
- data.tar.gz: c2ccff4be9e84c71c2637ea75d44ef426be3acd9b7e7a8ef565ef2f45839c6c363786db0bc9c1a1b730a12bd6911ef16ff96622b7b81e4bb57a6e25c84a6ecb6
6
+ metadata.gz: 414b177ba7fc3193c06e5dbbb638c15a907c9462aaeece6142a0c49bb58dd482cc3f9d825c752ed299a7e8c44bd6ada215ea5046aebc921044687eee38fb6eae
7
+ data.tar.gz: 78cc6b756072d1f29e19cf1c52385a4d6db42b310ddef262d249edd6648f83be054760a522996682e6d894da2eea4920ee0443df458e896269b39ede7cc2dee2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.465
1
+ 3.0.467
@@ -29,15 +29,18 @@ module TencentCloud
29
29
  # @type UpdateTime: String
30
30
  # @param Host: 主机
31
31
  # @type Host: String
32
+ # @param MaxUserConnections: 用户最大连接数
33
+ # @type MaxUserConnections: Integer
32
34
 
33
- attr_accessor :AccountName, :Description, :CreateTime, :UpdateTime, :Host
35
+ attr_accessor :AccountName, :Description, :CreateTime, :UpdateTime, :Host, :MaxUserConnections
34
36
 
35
- def initialize(accountname=nil, description=nil, createtime=nil, updatetime=nil, host=nil)
37
+ def initialize(accountname=nil, description=nil, createtime=nil, updatetime=nil, host=nil, maxuserconnections=nil)
36
38
  @AccountName = accountname
37
39
  @Description = description
38
40
  @CreateTime = createtime
39
41
  @UpdateTime = updatetime
40
42
  @Host = host
43
+ @MaxUserConnections = maxuserconnections
41
44
  end
42
45
 
43
46
  def deserialize(params)
@@ -46,6 +49,7 @@ module TencentCloud
46
49
  @CreateTime = params['CreateTime']
47
50
  @UpdateTime = params['UpdateTime']
48
51
  @Host = params['Host']
52
+ @MaxUserConnections = params['MaxUserConnections']
49
53
  end
50
54
  end
51
55
 
@@ -444,10 +448,14 @@ module TencentCloud
444
448
  # @type SqlTypes: Array
445
449
  # @param Sqls: SQL 语句。支持传递多个sql语句。
446
450
  # @type Sqls: Array
451
+ # @param SentRows: 返回行数。
452
+ # @type SentRows: Integer
453
+ # @param ThreadId: 线程ID。
454
+ # @type ThreadId: Array
447
455
 
448
- attr_accessor :Host, :User, :DBName, :TableName, :PolicyName, :Sql, :SqlType, :ExecTime, :AffectRows, :SqlTypes, :Sqls
456
+ attr_accessor :Host, :User, :DBName, :TableName, :PolicyName, :Sql, :SqlType, :ExecTime, :AffectRows, :SqlTypes, :Sqls, :SentRows, :ThreadId
449
457
 
450
- def initialize(host=nil, user=nil, dbname=nil, tablename=nil, policyname=nil, sql=nil, sqltype=nil, exectime=nil, affectrows=nil, sqltypes=nil, sqls=nil)
458
+ def initialize(host=nil, user=nil, dbname=nil, tablename=nil, policyname=nil, sql=nil, sqltype=nil, exectime=nil, affectrows=nil, sqltypes=nil, sqls=nil, sentrows=nil, threadid=nil)
451
459
  @Host = host
452
460
  @User = user
453
461
  @DBName = dbname
@@ -459,6 +467,8 @@ module TencentCloud
459
467
  @AffectRows = affectrows
460
468
  @SqlTypes = sqltypes
461
469
  @Sqls = sqls
470
+ @SentRows = sentrows
471
+ @ThreadId = threadid
462
472
  end
463
473
 
464
474
  def deserialize(params)
@@ -473,6 +483,8 @@ module TencentCloud
473
483
  @AffectRows = params['AffectRows']
474
484
  @SqlTypes = params['SqlTypes']
475
485
  @Sqls = params['Sqls']
486
+ @SentRows = params['SentRows']
487
+ @ThreadId = params['ThreadId']
476
488
  end
477
489
  end
478
490
 
@@ -653,16 +665,22 @@ module TencentCloud
653
665
  # @type CreateTime: String
654
666
  # @param UpdateTime: 更新时间
655
667
  # @type UpdateTime: String
668
+ # @param ClusterId: 集群ID
669
+ # @type ClusterId: String
670
+ # @param InstanceId: 实例ID
671
+ # @type InstanceId: String
656
672
 
657
- attr_accessor :ParamName, :CurrentValue, :UpdateValue, :Status, :CreateTime, :UpdateTime
673
+ attr_accessor :ParamName, :CurrentValue, :UpdateValue, :Status, :CreateTime, :UpdateTime, :ClusterId, :InstanceId
658
674
 
659
- def initialize(paramname=nil, currentvalue=nil, updatevalue=nil, status=nil, createtime=nil, updatetime=nil)
675
+ def initialize(paramname=nil, currentvalue=nil, updatevalue=nil, status=nil, createtime=nil, updatetime=nil, clusterid=nil, instanceid=nil)
660
676
  @ParamName = paramname
661
677
  @CurrentValue = currentvalue
662
678
  @UpdateValue = updatevalue
663
679
  @Status = status
664
680
  @CreateTime = createtime
665
681
  @UpdateTime = updatetime
682
+ @ClusterId = clusterid
683
+ @InstanceId = instanceid
666
684
  end
667
685
 
668
686
  def deserialize(params)
@@ -672,6 +690,8 @@ module TencentCloud
672
690
  @Status = params['Status']
673
691
  @CreateTime = params['CreateTime']
674
692
  @UpdateTime = params['UpdateTime']
693
+ @ClusterId = params['ClusterId']
694
+ @InstanceId = params['InstanceId']
675
695
  end
676
696
  end
677
697
 
@@ -1489,10 +1509,24 @@ module TencentCloud
1489
1509
  # @type StorageId: String
1490
1510
  # @param StoragePayMode: 存储付费类型
1491
1511
  # @type StoragePayMode: Integer
1512
+ # @param PhysicalZone: 物理区
1513
+ # @type PhysicalZone: String
1514
+ # @param BusinessType: 商业类型
1515
+ # 注意:此字段可能返回 null,表示取不到有效值。
1516
+ # @type BusinessType: String
1517
+ # @param Tasks: 任务
1518
+ # 注意:此字段可能返回 null,表示取不到有效值。
1519
+ # @type Tasks: Array
1520
+ # @param IsFreeze: 是否冻结
1521
+ # 注意:此字段可能返回 null,表示取不到有效值。
1522
+ # @type IsFreeze: String
1523
+ # @param ResourceTags: 资源标签
1524
+ # 注意:此字段可能返回 null,表示取不到有效值。
1525
+ # @type ResourceTags: Array
1492
1526
 
1493
- attr_accessor :Uin, :AppId, :ClusterId, :ClusterName, :InstanceId, :InstanceName, :ProjectId, :Region, :Zone, :Status, :StatusDesc, :DbType, :DbVersion, :Cpu, :Memory, :Storage, :InstanceType, :InstanceRole, :UpdateTime, :CreateTime, :VpcId, :SubnetId, :Vip, :Vport, :PayMode, :PeriodEndTime, :DestroyDeadlineText, :IsolateTime, :NetType, :WanDomain, :WanIP, :WanPort, :WanStatus, :DestroyTime, :CynosVersion, :ProcessingTask, :RenewFlag, :MinCpu, :MaxCpu, :ServerlessStatus, :StorageId, :StoragePayMode
1527
+ attr_accessor :Uin, :AppId, :ClusterId, :ClusterName, :InstanceId, :InstanceName, :ProjectId, :Region, :Zone, :Status, :StatusDesc, :DbType, :DbVersion, :Cpu, :Memory, :Storage, :InstanceType, :InstanceRole, :UpdateTime, :CreateTime, :VpcId, :SubnetId, :Vip, :Vport, :PayMode, :PeriodEndTime, :DestroyDeadlineText, :IsolateTime, :NetType, :WanDomain, :WanIP, :WanPort, :WanStatus, :DestroyTime, :CynosVersion, :ProcessingTask, :RenewFlag, :MinCpu, :MaxCpu, :ServerlessStatus, :StorageId, :StoragePayMode, :PhysicalZone, :BusinessType, :Tasks, :IsFreeze, :ResourceTags
1494
1528
 
1495
- def initialize(uin=nil, appid=nil, clusterid=nil, clustername=nil, instanceid=nil, instancename=nil, projectid=nil, region=nil, zone=nil, status=nil, statusdesc=nil, dbtype=nil, dbversion=nil, cpu=nil, memory=nil, storage=nil, instancetype=nil, instancerole=nil, updatetime=nil, createtime=nil, vpcid=nil, subnetid=nil, vip=nil, vport=nil, paymode=nil, periodendtime=nil, destroydeadlinetext=nil, isolatetime=nil, nettype=nil, wandomain=nil, wanip=nil, wanport=nil, wanstatus=nil, destroytime=nil, cynosversion=nil, processingtask=nil, renewflag=nil, mincpu=nil, maxcpu=nil, serverlessstatus=nil, storageid=nil, storagepaymode=nil)
1529
+ def initialize(uin=nil, appid=nil, clusterid=nil, clustername=nil, instanceid=nil, instancename=nil, projectid=nil, region=nil, zone=nil, status=nil, statusdesc=nil, dbtype=nil, dbversion=nil, cpu=nil, memory=nil, storage=nil, instancetype=nil, instancerole=nil, updatetime=nil, createtime=nil, vpcid=nil, subnetid=nil, vip=nil, vport=nil, paymode=nil, periodendtime=nil, destroydeadlinetext=nil, isolatetime=nil, nettype=nil, wandomain=nil, wanip=nil, wanport=nil, wanstatus=nil, destroytime=nil, cynosversion=nil, processingtask=nil, renewflag=nil, mincpu=nil, maxcpu=nil, serverlessstatus=nil, storageid=nil, storagepaymode=nil, physicalzone=nil, businesstype=nil, tasks=nil, isfreeze=nil, resourcetags=nil)
1496
1530
  @Uin = uin
1497
1531
  @AppId = appid
1498
1532
  @ClusterId = clusterid
@@ -1535,6 +1569,11 @@ module TencentCloud
1535
1569
  @ServerlessStatus = serverlessstatus
1536
1570
  @StorageId = storageid
1537
1571
  @StoragePayMode = storagepaymode
1572
+ @PhysicalZone = physicalzone
1573
+ @BusinessType = businesstype
1574
+ @Tasks = tasks
1575
+ @IsFreeze = isfreeze
1576
+ @ResourceTags = resourcetags
1538
1577
  end
1539
1578
 
1540
1579
  def deserialize(params)
@@ -1580,6 +1619,25 @@ module TencentCloud
1580
1619
  @ServerlessStatus = params['ServerlessStatus']
1581
1620
  @StorageId = params['StorageId']
1582
1621
  @StoragePayMode = params['StoragePayMode']
1622
+ @PhysicalZone = params['PhysicalZone']
1623
+ @BusinessType = params['BusinessType']
1624
+ unless params['Tasks'].nil?
1625
+ @Tasks = []
1626
+ params['Tasks'].each do |i|
1627
+ objecttask_tmp = ObjectTask.new
1628
+ objecttask_tmp.deserialize(i)
1629
+ @Tasks << objecttask_tmp
1630
+ end
1631
+ end
1632
+ @IsFreeze = params['IsFreeze']
1633
+ unless params['ResourceTags'].nil?
1634
+ @ResourceTags = []
1635
+ params['ResourceTags'].each do |i|
1636
+ tag_tmp = Tag.new
1637
+ tag_tmp.deserialize(i)
1638
+ @ResourceTags << tag_tmp
1639
+ end
1640
+ end
1583
1641
  end
1584
1642
  end
1585
1643
 
@@ -3921,6 +3979,17 @@ module TencentCloud
3921
3979
  end
3922
3980
  end
3923
3981
 
3982
+ # 参数是否可修改的详细信息
3983
+ class ModifiableInfo < TencentCloud::Common::AbstractModel
3984
+
3985
+
3986
+ def initialize()
3987
+ end
3988
+
3989
+ def deserialize(params)
3990
+ end
3991
+ end
3992
+
3924
3993
  # ModifyAccountParams请求参数结构体
3925
3994
  class ModifyAccountParamsRequest < TencentCloud::Common::AbstractModel
3926
3995
  # @param ClusterId: 集群id,不超过32个字符
@@ -4591,10 +4660,22 @@ module TencentCloud
4591
4660
  # @type MatchValue: String
4592
4661
  # @param Description: 参数描述
4593
4662
  # @type Description: String
4663
+ # @param IsGlobal: 是否为全局参数
4664
+ # 注意:此字段可能返回 null,表示取不到有效值。
4665
+ # @type IsGlobal: Integer
4666
+ # @param ModifiableInfo: 参数是否可修改
4667
+ # 注意:此字段可能返回 null,表示取不到有效值。
4668
+ # @type ModifiableInfo: :class:`Tencentcloud::Cynosdb.v20190107.models.ModifiableInfo`
4669
+ # @param IsFunc: 是否为函数
4670
+ # 注意:此字段可能返回 null,表示取不到有效值。
4671
+ # @type IsFunc: Boolean
4672
+ # @param Func: 函数
4673
+ # 注意:此字段可能返回 null,表示取不到有效值。
4674
+ # @type Func: String
4594
4675
 
4595
- attr_accessor :CurrentValue, :Default, :EnumValue, :Max, :Min, :ParamName, :NeedReboot, :ParamType, :MatchType, :MatchValue, :Description
4676
+ attr_accessor :CurrentValue, :Default, :EnumValue, :Max, :Min, :ParamName, :NeedReboot, :ParamType, :MatchType, :MatchValue, :Description, :IsGlobal, :ModifiableInfo, :IsFunc, :Func
4596
4677
 
4597
- def initialize(currentvalue=nil, default=nil, enumvalue=nil, max=nil, min=nil, paramname=nil, needreboot=nil, paramtype=nil, matchtype=nil, matchvalue=nil, description=nil)
4678
+ def initialize(currentvalue=nil, default=nil, enumvalue=nil, max=nil, min=nil, paramname=nil, needreboot=nil, paramtype=nil, matchtype=nil, matchvalue=nil, description=nil, isglobal=nil, modifiableinfo=nil, isfunc=nil, func=nil)
4598
4679
  @CurrentValue = currentvalue
4599
4680
  @Default = default
4600
4681
  @EnumValue = enumvalue
@@ -4606,6 +4687,10 @@ module TencentCloud
4606
4687
  @MatchType = matchtype
4607
4688
  @MatchValue = matchvalue
4608
4689
  @Description = description
4690
+ @IsGlobal = isglobal
4691
+ @ModifiableInfo = modifiableinfo
4692
+ @IsFunc = isfunc
4693
+ @Func = func
4609
4694
  end
4610
4695
 
4611
4696
  def deserialize(params)
@@ -4620,6 +4705,13 @@ module TencentCloud
4620
4705
  @MatchType = params['MatchType']
4621
4706
  @MatchValue = params['MatchValue']
4622
4707
  @Description = params['Description']
4708
+ @IsGlobal = params['IsGlobal']
4709
+ unless params['ModifiableInfo'].nil?
4710
+ @ModifiableInfo = ModifiableInfo.new
4711
+ @ModifiableInfo.deserialize(params['ModifiableInfo'])
4712
+ end
4713
+ @IsFunc = params['IsFunc']
4714
+ @Func = params['Func']
4623
4715
  end
4624
4716
  end
4625
4717
 
@@ -5456,7 +5548,7 @@ module TencentCloud
5456
5548
  # @type UniqSubnetId: String
5457
5549
  # @param OldIpReserveHours: 旧地址回收时间
5458
5550
  # @type OldIpReserveHours: Integer
5459
- # @param ProxyGroupId: 数据库代理组Id
5551
+ # @param ProxyGroupId: 数据库代理组Id(该参数为必填项,可以通过DescribeProxies接口获得)
5460
5552
  # @type ProxyGroupId: String
5461
5553
 
5462
5554
  attr_accessor :ClusterId, :UniqVpcId, :UniqSubnetId, :OldIpReserveHours, :ProxyGroupId
@@ -5651,10 +5743,12 @@ module TencentCloud
5651
5743
  # @type DbType: String
5652
5744
  # @param DealMode: 交易模式 0-下单并支付 1-下单
5653
5745
  # @type DealMode: Integer
5746
+ # @param UpgradeMode: NormalUpgrade:普通变配,FastUpgrade:极速变配,若变配过程判断会造成闪断,变配流程会终止。
5747
+ # @type UpgradeMode: String
5654
5748
 
5655
- attr_accessor :InstanceId, :Cpu, :Memory, :UpgradeType, :StorageLimit, :AutoVoucher, :DbType, :DealMode
5749
+ attr_accessor :InstanceId, :Cpu, :Memory, :UpgradeType, :StorageLimit, :AutoVoucher, :DbType, :DealMode, :UpgradeMode
5656
5750
 
5657
- def initialize(instanceid=nil, cpu=nil, memory=nil, upgradetype=nil, storagelimit=nil, autovoucher=nil, dbtype=nil, dealmode=nil)
5751
+ def initialize(instanceid=nil, cpu=nil, memory=nil, upgradetype=nil, storagelimit=nil, autovoucher=nil, dbtype=nil, dealmode=nil, upgrademode=nil)
5658
5752
  @InstanceId = instanceid
5659
5753
  @Cpu = cpu
5660
5754
  @Memory = memory
@@ -5663,6 +5757,7 @@ module TencentCloud
5663
5757
  @AutoVoucher = autovoucher
5664
5758
  @DbType = dbtype
5665
5759
  @DealMode = dealmode
5760
+ @UpgradeMode = upgrademode
5666
5761
  end
5667
5762
 
5668
5763
  def deserialize(params)
@@ -5674,6 +5769,7 @@ module TencentCloud
5674
5769
  @AutoVoucher = params['AutoVoucher']
5675
5770
  @DbType = params['DbType']
5676
5771
  @DealMode = params['DealMode']
5772
+ @UpgradeMode = params['UpgradeMode']
5677
5773
  end
5678
5774
  end
5679
5775
 
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.465
4
+ version: 3.0.467
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-05 00:00:00.000000000 Z
11
+ date: 2022-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common