tencentcloud-sdk-cdb 3.0.952 → 3.0.953

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 +133 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e62d475d94ecfdb2f7c06ad73e16edb689d54c5
4
- data.tar.gz: c28e307559d9ef20e5d32588a0ac940747d01976
3
+ metadata.gz: 9df5874cb39acd5ebc259b75d9bb53f494bd2fd4
4
+ data.tar.gz: 4d53c20ba92a4d8cf71d64756da99434938ac47d
5
5
  SHA512:
6
- metadata.gz: 22ed46dccf7ad42487703880722a84e1d64fc29215f6ea180570ab8e60b069bab6e317a8118fe2ae079eca5a303958f06a3612146c66a1516de74c3f0c3d6885
7
- data.tar.gz: d107725a3f19011d52c8304fd4f2dd612fcd199583b4e6f5a8ff96b11de74c9b86e8d85dea8e3c6652b4498d72d8ae7aed14574565fb4b2a12bb170063ac7fe1
6
+ metadata.gz: df8e03dff275ce61b119c7e06ffc247f3aece1e6c0efb3cd023d2550d4a3d0c40bd9244c7ff9b9d69225776a706e8d68de4838d4617bb63a8f9433921fcef761
7
+ data.tar.gz: b6049af69006ed21ec8de79c22dd41c483cc4f3863694c0617ee5c37d78d5aab2d92867ad96c906ff5d9397e0875a7cdf24f11984992cacf6eb8afe37c33639f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.952
1
+ 3.0.953
@@ -1696,31 +1696,113 @@ module TencentCloud
1696
1696
 
1697
1697
  # CheckMigrateCluster请求参数结构体
1698
1698
  class CheckMigrateClusterRequest < TencentCloud::Common::AbstractModel
1699
+ # @param InstanceId: 实例Id。
1700
+ # @type InstanceId: String
1701
+ # @param Cpu: 实例CPU核数
1702
+ # @type Cpu: Integer
1703
+ # @param Memory: 实例内存大小,单位:MB
1704
+ # @type Memory: Integer
1705
+ # @param Volume: 实例硬盘大小,单位:GB
1706
+ # @type Volume: Integer
1707
+ # @param DiskType: 磁盘类型。 CLOUD_SSD: SSD云硬盘; CLOUD_HSSD: 增强型SSD云硬盘
1708
+ # @type DiskType: String
1709
+ # @param ClusterTopology: 集群版节点拓扑配置。
1710
+ # @type ClusterTopology: :class:`Tencentcloud::Cdb.v20170320.models.ClusterTopology`
1711
+ # @param DeviceType: 迁移实例类型。支持值包括: "CLOUD_NATIVE_CLUSTER" - 标准型集群版实例, "CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 加强型集群版实例。
1712
+ # @type DeviceType: String
1713
+ # @param RoInfo: 只读实例信息
1714
+ # @type RoInfo: Array
1699
1715
 
1716
+ attr_accessor :InstanceId, :Cpu, :Memory, :Volume, :DiskType, :ClusterTopology, :DeviceType, :RoInfo
1700
1717
 
1701
- def initialize()
1718
+ def initialize(instanceid=nil, cpu=nil, memory=nil, volume=nil, disktype=nil, clustertopology=nil, devicetype=nil, roinfo=nil)
1719
+ @InstanceId = instanceid
1720
+ @Cpu = cpu
1721
+ @Memory = memory
1722
+ @Volume = volume
1723
+ @DiskType = disktype
1724
+ @ClusterTopology = clustertopology
1725
+ @DeviceType = devicetype
1726
+ @RoInfo = roinfo
1702
1727
  end
1703
1728
 
1704
1729
  def deserialize(params)
1730
+ @InstanceId = params['InstanceId']
1731
+ @Cpu = params['Cpu']
1732
+ @Memory = params['Memory']
1733
+ @Volume = params['Volume']
1734
+ @DiskType = params['DiskType']
1735
+ unless params['ClusterTopology'].nil?
1736
+ @ClusterTopology = ClusterTopology.new
1737
+ @ClusterTopology.deserialize(params['ClusterTopology'])
1738
+ end
1739
+ @DeviceType = params['DeviceType']
1740
+ unless params['RoInfo'].nil?
1741
+ @RoInfo = []
1742
+ params['RoInfo'].each do |i|
1743
+ migrateclusterroinfo_tmp = MigrateClusterRoInfo.new
1744
+ migrateclusterroinfo_tmp.deserialize(i)
1745
+ @RoInfo << migrateclusterroinfo_tmp
1746
+ end
1747
+ end
1705
1748
  end
1706
1749
  end
1707
1750
 
1708
1751
  # CheckMigrateCluster返回参数结构体
1709
1752
  class CheckMigrateClusterResponse < TencentCloud::Common::AbstractModel
1753
+ # @param CheckResult: 校验是否通过,通过为pass,失败为fail
1754
+ # @type CheckResult: String
1755
+ # @param Items: 校验项
1756
+ # @type Items: Array
1710
1757
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1711
1758
  # @type RequestId: String
1712
1759
 
1713
- attr_accessor :RequestId
1760
+ attr_accessor :CheckResult, :Items, :RequestId
1714
1761
 
1715
- def initialize(requestid=nil)
1762
+ def initialize(checkresult=nil, items=nil, requestid=nil)
1763
+ @CheckResult = checkresult
1764
+ @Items = items
1716
1765
  @RequestId = requestid
1717
1766
  end
1718
1767
 
1719
1768
  def deserialize(params)
1769
+ @CheckResult = params['CheckResult']
1770
+ unless params['Items'].nil?
1771
+ @Items = []
1772
+ params['Items'].each do |i|
1773
+ checkmigrateresult_tmp = CheckMigrateResult.new
1774
+ checkmigrateresult_tmp.deserialize(i)
1775
+ @Items << checkmigrateresult_tmp
1776
+ end
1777
+ end
1720
1778
  @RequestId = params['RequestId']
1721
1779
  end
1722
1780
  end
1723
1781
 
1782
+ # 迁移集群版校验结果
1783
+ class CheckMigrateResult < TencentCloud::Common::AbstractModel
1784
+ # @param Name: 校验名称
1785
+ # @type Name: String
1786
+ # @param Status: 校验结果,通过为pass,失败为fail
1787
+ # @type Status: String
1788
+ # @param Desc: 校验结果描述
1789
+ # @type Desc: String
1790
+
1791
+ attr_accessor :Name, :Status, :Desc
1792
+
1793
+ def initialize(name=nil, status=nil, desc=nil)
1794
+ @Name = name
1795
+ @Status = status
1796
+ @Desc = desc
1797
+ end
1798
+
1799
+ def deserialize(params)
1800
+ @Name = params['Name']
1801
+ @Status = params['Status']
1802
+ @Desc = params['Desc']
1803
+ end
1804
+ end
1805
+
1724
1806
  # 克隆任务记录。
1725
1807
  class CloneItem < TencentCloud::Common::AbstractModel
1726
1808
  # @param SrcInstanceId: 克隆任务的源实例Id。
@@ -9452,6 +9534,54 @@ module TencentCloud
9452
9534
  end
9453
9535
  end
9454
9536
 
9537
+ # 一键迁移集群版只读实例信息
9538
+ class MigrateClusterRoInfo < TencentCloud::Common::AbstractModel
9539
+ # @param RoInstanceId: 只读实例名称
9540
+ # @type RoInstanceId: String
9541
+ # @param Cpu: 只读实例CPU核数
9542
+ # @type Cpu: Integer
9543
+ # @param Memory: 只读实例内存大小,单位:MB
9544
+ # @type Memory: Integer
9545
+ # @param Volume: 只读实例硬盘大小,单位:GB
9546
+ # @type Volume: Integer
9547
+ # @param DiskType: 磁盘类型。 CLOUD_SSD: SSD云硬盘; CLOUD_HSSD: 增强型SSD云硬盘
9548
+ # @type DiskType: String
9549
+ # @param Zone: 可用区
9550
+ # @type Zone: String
9551
+ # @param DeviceType: 迁移实例类型。支持值包括: "CLOUD_NATIVE_CLUSTER" - 标准型集群版实例, "CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 加强型集群版实例。
9552
+ # @type DeviceType: String
9553
+ # @param RoGroupId: 只读实例所在ro组,例:cdbrg-xxx
9554
+ # @type RoGroupId: String
9555
+ # @param SrcAlarmPolicyList: 实例当前告警策略id数组
9556
+ # @type SrcAlarmPolicyList: Array
9557
+
9558
+ attr_accessor :RoInstanceId, :Cpu, :Memory, :Volume, :DiskType, :Zone, :DeviceType, :RoGroupId, :SrcAlarmPolicyList
9559
+
9560
+ def initialize(roinstanceid=nil, cpu=nil, memory=nil, volume=nil, disktype=nil, zone=nil, devicetype=nil, rogroupid=nil, srcalarmpolicylist=nil)
9561
+ @RoInstanceId = roinstanceid
9562
+ @Cpu = cpu
9563
+ @Memory = memory
9564
+ @Volume = volume
9565
+ @DiskType = disktype
9566
+ @Zone = zone
9567
+ @DeviceType = devicetype
9568
+ @RoGroupId = rogroupid
9569
+ @SrcAlarmPolicyList = srcalarmpolicylist
9570
+ end
9571
+
9572
+ def deserialize(params)
9573
+ @RoInstanceId = params['RoInstanceId']
9574
+ @Cpu = params['Cpu']
9575
+ @Memory = params['Memory']
9576
+ @Volume = params['Volume']
9577
+ @DiskType = params['DiskType']
9578
+ @Zone = params['Zone']
9579
+ @DeviceType = params['DeviceType']
9580
+ @RoGroupId = params['RoGroupId']
9581
+ @SrcAlarmPolicyList = params['SrcAlarmPolicyList']
9582
+ end
9583
+ end
9584
+
9455
9585
  # ModifyAccountDescription请求参数结构体
9456
9586
  class ModifyAccountDescriptionRequest < TencentCloud::Common::AbstractModel
9457
9587
  # @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
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.952
4
+ version: 3.0.953
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-12-01 00:00:00.000000000 Z
11
+ date: 2024-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common