tencentcloud-sdk-cynosdb 3.0.743 → 3.0.745

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 +93 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 062af729094850836cfc1327fb59eee212c0f5fa
4
- data.tar.gz: 7960e757ebcc8a195355d6d5fa7b18efdf5dd98a
3
+ metadata.gz: 40ba1392cf7f9e48f37292e88b61316c16af79c2
4
+ data.tar.gz: b2a105a7387a6ed066f6041c6a6a8c8ab428e4fc
5
5
  SHA512:
6
- metadata.gz: 1c3836cdccdbf9f3d86ec250c134f6ee75d7408ef1ed74c36e0c230ffc32c7b88d1b9c36d10cedc0ce4e5301c0df8d1916eba1349e018dda7ca06250d03f8212
7
- data.tar.gz: 7dcd584546364055e81903bfb7dddd53306cb5f165c858dee491208d2479380180634a9c610479906575d30926d33408cbee1f8136dea0caf7ebe712d1d48720
6
+ metadata.gz: 97be33796558aabdb0b793d81a48c0863d5ff0eccebf99ba65ecdc51daca34889c984409a388cc3930f7a2ea48444fb8a8b2d279fc8bce0b4991a466be6ff5e1
7
+ data.tar.gz: 895152f17d87eb9589fd5cfe1ea58d4b152daa487ac803d369598e4e69867a6c9f14025d2e1a68978295ee9b2e3946dbfdb90f0319d55160cf22e38c15b9b667
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.743
1
+ 3.0.745
@@ -2750,10 +2750,13 @@ module TencentCloud
2750
2750
  # @param InstanceIndexMode: 实例索引形态,可选值【mixedRowColumn(行列混存),onlyRowIndex(仅行存)】
2751
2751
  # 注意:此字段可能返回 null,表示取不到有效值。
2752
2752
  # @type InstanceIndexMode: String
2753
+ # @param InstanceAbility: 当前实例支持的能力
2754
+ # 注意:此字段可能返回 null,表示取不到有效值。
2755
+ # @type InstanceAbility: :class:`Tencentcloud::Cynosdb.v20190107.models.InstanceAbility`
2753
2756
 
2754
- attr_accessor :Uin, :AppId, :ClusterId, :ClusterName, :InstanceId, :InstanceName, :ProjectId, :Region, :Zone, :Status, :StatusDesc, :DbMode, :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, :MasterZone, :SlaveZones, :InstanceNetInfo, :ResourcePackages, :InstanceIndexMode
2757
+ attr_accessor :Uin, :AppId, :ClusterId, :ClusterName, :InstanceId, :InstanceName, :ProjectId, :Region, :Zone, :Status, :StatusDesc, :DbMode, :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, :MasterZone, :SlaveZones, :InstanceNetInfo, :ResourcePackages, :InstanceIndexMode, :InstanceAbility
2755
2758
 
2756
- def initialize(uin=nil, appid=nil, clusterid=nil, clustername=nil, instanceid=nil, instancename=nil, projectid=nil, region=nil, zone=nil, status=nil, statusdesc=nil, dbmode=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, masterzone=nil, slavezones=nil, instancenetinfo=nil, resourcepackages=nil, instanceindexmode=nil)
2759
+ def initialize(uin=nil, appid=nil, clusterid=nil, clustername=nil, instanceid=nil, instancename=nil, projectid=nil, region=nil, zone=nil, status=nil, statusdesc=nil, dbmode=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, masterzone=nil, slavezones=nil, instancenetinfo=nil, resourcepackages=nil, instanceindexmode=nil, instanceability=nil)
2757
2760
  @Uin = uin
2758
2761
  @AppId = appid
2759
2762
  @ClusterId = clusterid
@@ -2807,6 +2810,7 @@ module TencentCloud
2807
2810
  @InstanceNetInfo = instancenetinfo
2808
2811
  @ResourcePackages = resourcepackages
2809
2812
  @InstanceIndexMode = instanceindexmode
2813
+ @InstanceAbility = instanceability
2810
2814
  end
2811
2815
 
2812
2816
  def deserialize(params)
@@ -2891,6 +2895,10 @@ module TencentCloud
2891
2895
  end
2892
2896
  end
2893
2897
  @InstanceIndexMode = params['InstanceIndexMode']
2898
+ unless params['InstanceAbility'].nil?
2899
+ @InstanceAbility = InstanceAbility.new
2900
+ @InstanceAbility.deserialize(params['InstanceAbility'])
2901
+ end
2894
2902
  end
2895
2903
  end
2896
2904
 
@@ -6671,6 +6679,28 @@ module TencentCloud
6671
6679
  end
6672
6680
  end
6673
6681
 
6682
+ # 实例允许的操作列表
6683
+ class InstanceAbility < TencentCloud::Common::AbstractModel
6684
+ # @param IsSupportForceRestart: 实例是否支持强制重启,可选值:yes:支持,no:不支持
6685
+ # 注意:此字段可能返回 null,表示取不到有效值。
6686
+ # @type IsSupportForceRestart: String
6687
+ # @param NonsupportForceRestartReason: 不支持强制重启的原因
6688
+ # 注意:此字段可能返回 null,表示取不到有效值。
6689
+ # @type NonsupportForceRestartReason: String
6690
+
6691
+ attr_accessor :IsSupportForceRestart, :NonsupportForceRestartReason
6692
+
6693
+ def initialize(issupportforcerestart=nil, nonsupportforcerestartreason=nil)
6694
+ @IsSupportForceRestart = issupportforcerestart
6695
+ @NonsupportForceRestartReason = nonsupportforcerestartreason
6696
+ end
6697
+
6698
+ def deserialize(params)
6699
+ @IsSupportForceRestart = params['IsSupportForceRestart']
6700
+ @NonsupportForceRestartReason = params['NonsupportForceRestartReason']
6701
+ end
6702
+ end
6703
+
6674
6704
  # 审计日志搜索条件
6675
6705
  class InstanceAuditLogFilter < TencentCloud::Common::AbstractModel
6676
6706
  # @param Type: 过滤项。目前支持以下搜索条件:
@@ -6965,17 +6995,25 @@ module TencentCloud
6965
6995
  # @type ClusterId: String
6966
6996
  # @param DbType: 该参数已废用
6967
6997
  # @type DbType: String
6998
+ # @param IsolateReasonTypes: 实例退还原因类型
6999
+ # @type IsolateReasonTypes: Array
7000
+ # @param IsolateReason: 实例退还原因补充
7001
+ # @type IsolateReason: String
6968
7002
 
6969
- attr_accessor :ClusterId, :DbType
7003
+ attr_accessor :ClusterId, :DbType, :IsolateReasonTypes, :IsolateReason
6970
7004
 
6971
- def initialize(clusterid=nil, dbtype=nil)
7005
+ def initialize(clusterid=nil, dbtype=nil, isolatereasontypes=nil, isolatereason=nil)
6972
7006
  @ClusterId = clusterid
6973
7007
  @DbType = dbtype
7008
+ @IsolateReasonTypes = isolatereasontypes
7009
+ @IsolateReason = isolatereason
6974
7010
  end
6975
7011
 
6976
7012
  def deserialize(params)
6977
7013
  @ClusterId = params['ClusterId']
6978
7014
  @DbType = params['DbType']
7015
+ @IsolateReasonTypes = params['IsolateReasonTypes']
7016
+ @IsolateReason = params['IsolateReason']
6979
7017
  end
6980
7018
  end
6981
7019
 
@@ -7013,19 +7051,27 @@ module TencentCloud
7013
7051
  # @type InstanceIdList: Array
7014
7052
  # @param DbType: 该参数已废弃
7015
7053
  # @type DbType: String
7054
+ # @param IsolateReasonTypes: 实例退还原因类型
7055
+ # @type IsolateReasonTypes: Array
7056
+ # @param IsolateReason: 实例退还原因补充
7057
+ # @type IsolateReason: String
7016
7058
 
7017
- attr_accessor :ClusterId, :InstanceIdList, :DbType
7059
+ attr_accessor :ClusterId, :InstanceIdList, :DbType, :IsolateReasonTypes, :IsolateReason
7018
7060
 
7019
- def initialize(clusterid=nil, instanceidlist=nil, dbtype=nil)
7061
+ def initialize(clusterid=nil, instanceidlist=nil, dbtype=nil, isolatereasontypes=nil, isolatereason=nil)
7020
7062
  @ClusterId = clusterid
7021
7063
  @InstanceIdList = instanceidlist
7022
7064
  @DbType = dbtype
7065
+ @IsolateReasonTypes = isolatereasontypes
7066
+ @IsolateReason = isolatereason
7023
7067
  end
7024
7068
 
7025
7069
  def deserialize(params)
7026
7070
  @ClusterId = params['ClusterId']
7027
7071
  @InstanceIdList = params['InstanceIdList']
7028
7072
  @DbType = params['DbType']
7073
+ @IsolateReasonTypes = params['IsolateReasonTypes']
7074
+ @IsolateReason = params['IsolateReason']
7029
7075
  end
7030
7076
  end
7031
7077
 
@@ -10763,6 +10809,33 @@ module TencentCloud
10763
10809
  end
10764
10810
  end
10765
10811
 
10812
+ # 备可用区库存信息
10813
+ class SlaveZoneStockInfo < TencentCloud::Common::AbstractModel
10814
+ # @param SlaveZone: 备可用区
10815
+ # 注意:此字段可能返回 null,表示取不到有效值。
10816
+ # @type SlaveZone: String
10817
+ # @param StockCount: 备可用区的库存数量
10818
+ # 注意:此字段可能返回 null,表示取不到有效值。
10819
+ # @type StockCount: Integer
10820
+ # @param HasStock: 备可用区是否有库存
10821
+ # 注意:此字段可能返回 null,表示取不到有效值。
10822
+ # @type HasStock: Boolean
10823
+
10824
+ attr_accessor :SlaveZone, :StockCount, :HasStock
10825
+
10826
+ def initialize(slavezone=nil, stockcount=nil, hasstock=nil)
10827
+ @SlaveZone = slavezone
10828
+ @StockCount = stockcount
10829
+ @HasStock = hasstock
10830
+ end
10831
+
10832
+ def deserialize(params)
10833
+ @SlaveZone = params['SlaveZone']
10834
+ @StockCount = params['StockCount']
10835
+ @HasStock = params['HasStock']
10836
+ end
10837
+ end
10838
+
10766
10839
  # 实例慢查询信息
10767
10840
  class SlowQueriesItem < TencentCloud::Common::AbstractModel
10768
10841
  # @param Timestamp: 执行时间戳
@@ -11428,19 +11501,31 @@ module TencentCloud
11428
11501
  # @type HasStock: Boolean
11429
11502
  # @param StockCount: 库存数量
11430
11503
  # @type StockCount: Integer
11504
+ # @param SlaveZoneStockInfos: 备可用区库存信息
11505
+ # 注意:此字段可能返回 null,表示取不到有效值。
11506
+ # @type SlaveZoneStockInfos: Array
11431
11507
 
11432
- attr_accessor :Zone, :HasStock, :StockCount
11508
+ attr_accessor :Zone, :HasStock, :StockCount, :SlaveZoneStockInfos
11433
11509
 
11434
- def initialize(zone=nil, hasstock=nil, stockcount=nil)
11510
+ def initialize(zone=nil, hasstock=nil, stockcount=nil, slavezonestockinfos=nil)
11435
11511
  @Zone = zone
11436
11512
  @HasStock = hasstock
11437
11513
  @StockCount = stockcount
11514
+ @SlaveZoneStockInfos = slavezonestockinfos
11438
11515
  end
11439
11516
 
11440
11517
  def deserialize(params)
11441
11518
  @Zone = params['Zone']
11442
11519
  @HasStock = params['HasStock']
11443
11520
  @StockCount = params['StockCount']
11521
+ unless params['SlaveZoneStockInfos'].nil?
11522
+ @SlaveZoneStockInfos = []
11523
+ params['SlaveZoneStockInfos'].each do |i|
11524
+ slavezonestockinfo_tmp = SlaveZoneStockInfo.new
11525
+ slavezonestockinfo_tmp.deserialize(i)
11526
+ @SlaveZoneStockInfos << slavezonestockinfo_tmp
11527
+ end
11528
+ end
11444
11529
  end
11445
11530
  end
11446
11531
 
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.743
4
+ version: 3.0.745
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-07 00:00:00.000000000 Z
11
+ date: 2024-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common