tencentcloud-sdk-cdb 3.0.893 → 3.0.895

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/v20170320/models.rb +47 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4384acedf5bec546a8fcd9592825869092809212
4
- data.tar.gz: 096084e7e8c434f2373dbe7520cc1e60a7a349a4
3
+ metadata.gz: 2652c7b886316c62d3cbff455ad702d655ab5193
4
+ data.tar.gz: 74f9f2c31ad51efbc3bbb22d387e77eb633898ce
5
5
  SHA512:
6
- metadata.gz: 63590f2b80e653c325af878c892d5560e3cff24e6d469301786874e4302d76e770c4077de4b1a64ca0429f4c05a50770850e5e42052030fda982ef01e42eb24a
7
- data.tar.gz: c992b0e8d3a150802cfe7122c69714393097ab5d5372ea37e15c13c443d96da6afa1bc0f1a2780683c943f6d3537de5f6c10d78726b6811ea0a9bbea2debd2ad
6
+ metadata.gz: f7a20955cf9969aa94aa701a15fec155f319fda36e36ee173f49b1e18320c88136662f684e30791381ed018b7f6d156e18b9f0480c4c9d0c216c6c108dc2e09b
7
+ data.tar.gz: a0f3616bf85d78dcaf230e6cab795bb94eac36502645fa024aa809d52539b0ca14e6e925b5f4aaa3e72c2452e6cb401f686878bd94556cf7f701ba1dd9165301
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.893
1
+ 3.0.895
@@ -1957,6 +1957,33 @@ module TencentCloud
1957
1957
  end
1958
1958
  end
1959
1959
 
1960
+ # 集群版节点信息
1961
+ class ClusterInfo < TencentCloud::Common::AbstractModel
1962
+ # @param NodeId: 节点id
1963
+ # 注意:此字段可能返回 null,表示取不到有效值。
1964
+ # @type NodeId: String
1965
+ # @param Role: 节点类型:主节点,从节点
1966
+ # 注意:此字段可能返回 null,表示取不到有效值。
1967
+ # @type Role: String
1968
+ # @param Zone: 地域
1969
+ # 注意:此字段可能返回 null,表示取不到有效值。
1970
+ # @type Zone: String
1971
+
1972
+ attr_accessor :NodeId, :Role, :Zone
1973
+
1974
+ def initialize(nodeid=nil, role=nil, zone=nil)
1975
+ @NodeId = nodeid
1976
+ @Role = role
1977
+ @Zone = zone
1978
+ end
1979
+
1980
+ def deserialize(params)
1981
+ @NodeId = params['NodeId']
1982
+ @Role = params['Role']
1983
+ @Zone = params['Zone']
1984
+ end
1985
+ end
1986
+
1960
1987
  # 集群版实例节点信息
1961
1988
  class ClusterNodeInfo < TencentCloud::Common::AbstractModel
1962
1989
  # @param NodeId: 节点id。
@@ -6137,10 +6164,12 @@ module TencentCloud
6137
6164
  # @type ProxyIds: Array
6138
6165
  # @param EngineTypes: 数据库引擎类型。
6139
6166
  # @type EngineTypes: Array
6167
+ # @param QueryClusterInfo: 是否获取集群版实例节点信息,可填:true或false
6168
+ # @type QueryClusterInfo: Boolean
6140
6169
 
6141
- attr_accessor :ProjectId, :InstanceTypes, :Vips, :Status, :Offset, :Limit, :SecurityGroupId, :PayTypes, :InstanceNames, :TaskStatus, :EngineVersions, :VpcIds, :ZoneIds, :SubnetIds, :CdbErrors, :OrderBy, :OrderDirection, :WithSecurityGroup, :WithExCluster, :ExClusterId, :InstanceIds, :InitFlag, :WithDr, :WithRo, :WithMaster, :DeployGroupIds, :TagKeysForSearch, :CageIds, :TagValues, :UniqueVpcIds, :UniqSubnetIds, :Tags, :ProxyVips, :ProxyIds, :EngineTypes
6170
+ attr_accessor :ProjectId, :InstanceTypes, :Vips, :Status, :Offset, :Limit, :SecurityGroupId, :PayTypes, :InstanceNames, :TaskStatus, :EngineVersions, :VpcIds, :ZoneIds, :SubnetIds, :CdbErrors, :OrderBy, :OrderDirection, :WithSecurityGroup, :WithExCluster, :ExClusterId, :InstanceIds, :InitFlag, :WithDr, :WithRo, :WithMaster, :DeployGroupIds, :TagKeysForSearch, :CageIds, :TagValues, :UniqueVpcIds, :UniqSubnetIds, :Tags, :ProxyVips, :ProxyIds, :EngineTypes, :QueryClusterInfo
6142
6171
 
6143
- def initialize(projectid=nil, instancetypes=nil, vips=nil, status=nil, offset=nil, limit=nil, securitygroupid=nil, paytypes=nil, instancenames=nil, taskstatus=nil, engineversions=nil, vpcids=nil, zoneids=nil, subnetids=nil, cdberrors=nil, orderby=nil, orderdirection=nil, withsecuritygroup=nil, withexcluster=nil, exclusterid=nil, instanceids=nil, initflag=nil, withdr=nil, withro=nil, withmaster=nil, deploygroupids=nil, tagkeysforsearch=nil, cageids=nil, tagvalues=nil, uniquevpcids=nil, uniqsubnetids=nil, tags=nil, proxyvips=nil, proxyids=nil, enginetypes=nil)
6172
+ def initialize(projectid=nil, instancetypes=nil, vips=nil, status=nil, offset=nil, limit=nil, securitygroupid=nil, paytypes=nil, instancenames=nil, taskstatus=nil, engineversions=nil, vpcids=nil, zoneids=nil, subnetids=nil, cdberrors=nil, orderby=nil, orderdirection=nil, withsecuritygroup=nil, withexcluster=nil, exclusterid=nil, instanceids=nil, initflag=nil, withdr=nil, withro=nil, withmaster=nil, deploygroupids=nil, tagkeysforsearch=nil, cageids=nil, tagvalues=nil, uniquevpcids=nil, uniqsubnetids=nil, tags=nil, proxyvips=nil, proxyids=nil, enginetypes=nil, queryclusterinfo=nil)
6144
6173
  @ProjectId = projectid
6145
6174
  @InstanceTypes = instancetypes
6146
6175
  @Vips = vips
@@ -6176,6 +6205,7 @@ module TencentCloud
6176
6205
  @ProxyVips = proxyvips
6177
6206
  @ProxyIds = proxyids
6178
6207
  @EngineTypes = enginetypes
6208
+ @QueryClusterInfo = queryclusterinfo
6179
6209
  end
6180
6210
 
6181
6211
  def deserialize(params)
@@ -6221,6 +6251,7 @@ module TencentCloud
6221
6251
  @ProxyVips = params['ProxyVips']
6222
6252
  @ProxyIds = params['ProxyIds']
6223
6253
  @EngineTypes = params['EngineTypes']
6254
+ @QueryClusterInfo = params['QueryClusterInfo']
6224
6255
  end
6225
6256
  end
6226
6257
 
@@ -8966,10 +8997,13 @@ module TencentCloud
8966
8997
  # @param ExpandCpu: 当前扩容的CPU核心数。
8967
8998
  # 注意:此字段可能返回 null,表示取不到有效值。
8968
8999
  # @type ExpandCpu: Integer
9000
+ # @param ClusterInfo: 实例集群版节点信息
9001
+ # 注意:此字段可能返回 null,表示取不到有效值。
9002
+ # @type ClusterInfo: Array
8969
9003
 
8970
- attr_accessor :WanStatus, :Zone, :InitFlag, :RoVipInfo, :Memory, :Status, :VpcId, :SlaveInfo, :InstanceId, :Volume, :AutoRenew, :ProtectMode, :RoGroups, :SubnetId, :InstanceType, :ProjectId, :Region, :DeadlineTime, :DeployMode, :TaskStatus, :MasterInfo, :DeviceType, :EngineVersion, :InstanceName, :DrInfo, :WanDomain, :WanPort, :PayType, :CreateTime, :Vip, :Vport, :CdbError, :UniqVpcId, :UniqSubnetId, :PhysicalId, :Cpu, :Qps, :ZoneName, :DeviceClass, :DeployGroupId, :ZoneId, :InstanceNodes, :TagList, :EngineType, :MaxDelayTime, :DiskType, :ExpandCpu
9004
+ attr_accessor :WanStatus, :Zone, :InitFlag, :RoVipInfo, :Memory, :Status, :VpcId, :SlaveInfo, :InstanceId, :Volume, :AutoRenew, :ProtectMode, :RoGroups, :SubnetId, :InstanceType, :ProjectId, :Region, :DeadlineTime, :DeployMode, :TaskStatus, :MasterInfo, :DeviceType, :EngineVersion, :InstanceName, :DrInfo, :WanDomain, :WanPort, :PayType, :CreateTime, :Vip, :Vport, :CdbError, :UniqVpcId, :UniqSubnetId, :PhysicalId, :Cpu, :Qps, :ZoneName, :DeviceClass, :DeployGroupId, :ZoneId, :InstanceNodes, :TagList, :EngineType, :MaxDelayTime, :DiskType, :ExpandCpu, :ClusterInfo
8971
9005
 
8972
- def initialize(wanstatus=nil, zone=nil, initflag=nil, rovipinfo=nil, memory=nil, status=nil, vpcid=nil, slaveinfo=nil, instanceid=nil, volume=nil, autorenew=nil, protectmode=nil, rogroups=nil, subnetid=nil, instancetype=nil, projectid=nil, region=nil, deadlinetime=nil, deploymode=nil, taskstatus=nil, masterinfo=nil, devicetype=nil, engineversion=nil, instancename=nil, drinfo=nil, wandomain=nil, wanport=nil, paytype=nil, createtime=nil, vip=nil, vport=nil, cdberror=nil, uniqvpcid=nil, uniqsubnetid=nil, physicalid=nil, cpu=nil, qps=nil, zonename=nil, deviceclass=nil, deploygroupid=nil, zoneid=nil, instancenodes=nil, taglist=nil, enginetype=nil, maxdelaytime=nil, disktype=nil, expandcpu=nil)
9006
+ def initialize(wanstatus=nil, zone=nil, initflag=nil, rovipinfo=nil, memory=nil, status=nil, vpcid=nil, slaveinfo=nil, instanceid=nil, volume=nil, autorenew=nil, protectmode=nil, rogroups=nil, subnetid=nil, instancetype=nil, projectid=nil, region=nil, deadlinetime=nil, deploymode=nil, taskstatus=nil, masterinfo=nil, devicetype=nil, engineversion=nil, instancename=nil, drinfo=nil, wandomain=nil, wanport=nil, paytype=nil, createtime=nil, vip=nil, vport=nil, cdberror=nil, uniqvpcid=nil, uniqsubnetid=nil, physicalid=nil, cpu=nil, qps=nil, zonename=nil, deviceclass=nil, deploygroupid=nil, zoneid=nil, instancenodes=nil, taglist=nil, enginetype=nil, maxdelaytime=nil, disktype=nil, expandcpu=nil, clusterinfo=nil)
8973
9007
  @WanStatus = wanstatus
8974
9008
  @Zone = zone
8975
9009
  @InitFlag = initflag
@@ -9017,6 +9051,7 @@ module TencentCloud
9017
9051
  @MaxDelayTime = maxdelaytime
9018
9052
  @DiskType = disktype
9019
9053
  @ExpandCpu = expandcpu
9054
+ @ClusterInfo = clusterinfo
9020
9055
  end
9021
9056
 
9022
9057
  def deserialize(params)
@@ -9097,6 +9132,14 @@ module TencentCloud
9097
9132
  @MaxDelayTime = params['MaxDelayTime']
9098
9133
  @DiskType = params['DiskType']
9099
9134
  @ExpandCpu = params['ExpandCpu']
9135
+ unless params['ClusterInfo'].nil?
9136
+ @ClusterInfo = []
9137
+ params['ClusterInfo'].each do |i|
9138
+ clusterinfo_tmp = ClusterInfo.new
9139
+ clusterinfo_tmp.deserialize(i)
9140
+ @ClusterInfo << clusterinfo_tmp
9141
+ end
9142
+ end
9100
9143
  end
9101
9144
  end
9102
9145
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.893
4
+ version: 3.0.895
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-08-25 00:00:00.000000000 Z
11
+ date: 2024-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common