tencentcloud-sdk-dcdb 3.0.574 → 3.0.576
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180411/client.rb +74 -0
- data/lib/v20180411/models.rb +271 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3e53afda5490376de6bcffb0093f344b4e2bb7f
|
4
|
+
data.tar.gz: 27847a6cda9bc5760167321a21d1bb0593cfb76e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69f6a7643dd505176476745ab0e369140f3815e029fab99c1a909eda3deedbbca0652922d8c82afa03016dbc16f333d13cce77706f0fa392971720a8c4edefd6
|
7
|
+
data.tar.gz: 4aa07c88fe3f6ff3075cb8379b36d9243e4947dd0d8f6cbb8cdf842b2eb7bc50ea893f5a75e8ac4f267d0a04df407ec4bab8993d2dbab0053be126b815645c64
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.576
|
data/lib/v20180411/client.rb
CHANGED
@@ -222,6 +222,30 @@ module TencentCloud
|
|
222
222
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
223
223
|
end
|
224
224
|
|
225
|
+
# 创建独享集群DCDB实例
|
226
|
+
|
227
|
+
# @param request: Request instance for CreateDedicatedClusterDCDBInstance.
|
228
|
+
# @type request: :class:`Tencentcloud::dcdb::V20180411::CreateDedicatedClusterDCDBInstanceRequest`
|
229
|
+
# @rtype: :class:`Tencentcloud::dcdb::V20180411::CreateDedicatedClusterDCDBInstanceResponse`
|
230
|
+
def CreateDedicatedClusterDCDBInstance(request)
|
231
|
+
body = send_request('CreateDedicatedClusterDCDBInstance', request.serialize)
|
232
|
+
response = JSON.parse(body)
|
233
|
+
if response['Response'].key?('Error') == false
|
234
|
+
model = CreateDedicatedClusterDCDBInstanceResponse.new
|
235
|
+
model.deserialize(response['Response'])
|
236
|
+
model
|
237
|
+
else
|
238
|
+
code = response['Response']['Error']['Code']
|
239
|
+
message = response['Response']['Error']['Message']
|
240
|
+
reqid = response['Response']['RequestId']
|
241
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
242
|
+
end
|
243
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
244
|
+
raise e
|
245
|
+
rescue StandardError => e
|
246
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
247
|
+
end
|
248
|
+
|
225
249
|
# 创建DCDB后付费实例
|
226
250
|
|
227
251
|
# @param request: Request instance for CreateHourDCDBInstance.
|
@@ -343,6 +367,30 @@ module TencentCloud
|
|
343
367
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
344
368
|
end
|
345
369
|
|
370
|
+
# 本接口(DescribeDBEncryptAttributes)用于查询实例数据加密状态。
|
371
|
+
|
372
|
+
# @param request: Request instance for DescribeDBEncryptAttributes.
|
373
|
+
# @type request: :class:`Tencentcloud::dcdb::V20180411::DescribeDBEncryptAttributesRequest`
|
374
|
+
# @rtype: :class:`Tencentcloud::dcdb::V20180411::DescribeDBEncryptAttributesResponse`
|
375
|
+
def DescribeDBEncryptAttributes(request)
|
376
|
+
body = send_request('DescribeDBEncryptAttributes', request.serialize)
|
377
|
+
response = JSON.parse(body)
|
378
|
+
if response['Response'].key?('Error') == false
|
379
|
+
model = DescribeDBEncryptAttributesResponse.new
|
380
|
+
model.deserialize(response['Response'])
|
381
|
+
model
|
382
|
+
else
|
383
|
+
code = response['Response']['Error']['Code']
|
384
|
+
message = response['Response']['Error']['Message']
|
385
|
+
reqid = response['Response']['RequestId']
|
386
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
387
|
+
end
|
388
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
389
|
+
raise e
|
390
|
+
rescue StandardError => e
|
391
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
392
|
+
end
|
393
|
+
|
346
394
|
# 本接口(DescribeDBLogFiles)用于获取数据库的各种日志列表,包括冷备、binlog、errlog和slowlog。
|
347
395
|
|
348
396
|
# @param request: Request instance for DescribeDBLogFiles.
|
@@ -896,6 +944,8 @@ module TencentCloud
|
|
896
944
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
897
945
|
end
|
898
946
|
|
947
|
+
# 已废弃接口
|
948
|
+
|
899
949
|
# 本接口(DescribeSqlLogs)用于获取实例SQL日志。
|
900
950
|
|
901
951
|
# @param request: Request instance for DescribeSqlLogs.
|
@@ -1605,6 +1655,30 @@ module TencentCloud
|
|
1605
1655
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1606
1656
|
end
|
1607
1657
|
|
1658
|
+
# 本接口(UpgradeDedicatedDCDBInstance)用于升级独享DCDB实例
|
1659
|
+
|
1660
|
+
# @param request: Request instance for UpgradeDedicatedDCDBInstance.
|
1661
|
+
# @type request: :class:`Tencentcloud::dcdb::V20180411::UpgradeDedicatedDCDBInstanceRequest`
|
1662
|
+
# @rtype: :class:`Tencentcloud::dcdb::V20180411::UpgradeDedicatedDCDBInstanceResponse`
|
1663
|
+
def UpgradeDedicatedDCDBInstance(request)
|
1664
|
+
body = send_request('UpgradeDedicatedDCDBInstance', request.serialize)
|
1665
|
+
response = JSON.parse(body)
|
1666
|
+
if response['Response'].key?('Error') == false
|
1667
|
+
model = UpgradeDedicatedDCDBInstanceResponse.new
|
1668
|
+
model.deserialize(response['Response'])
|
1669
|
+
model
|
1670
|
+
else
|
1671
|
+
code = response['Response']['Error']['Code']
|
1672
|
+
message = response['Response']['Error']['Message']
|
1673
|
+
reqid = response['Response']['RequestId']
|
1674
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1675
|
+
end
|
1676
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1677
|
+
raise e
|
1678
|
+
rescue StandardError => e
|
1679
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1680
|
+
end
|
1681
|
+
|
1608
1682
|
# 本接口(UpgradeHourDCDBInstance)用于升级后付费分布式数据库实例。
|
1609
1683
|
|
1610
1684
|
# @param request: Request instance for UpgradeHourDCDBInstance.
|
data/lib/v20180411/models.rb
CHANGED
@@ -626,6 +626,160 @@ module TencentCloud
|
|
626
626
|
end
|
627
627
|
end
|
628
628
|
|
629
|
+
# CreateDedicatedClusterDCDBInstance请求参数结构体
|
630
|
+
class CreateDedicatedClusterDCDBInstanceRequest < TencentCloud::Common::AbstractModel
|
631
|
+
# @param GoodsNum: 分配实例个数
|
632
|
+
# @type GoodsNum: Integer
|
633
|
+
# @param ShardNum: 分片数量
|
634
|
+
# @type ShardNum: Integer
|
635
|
+
# @param ShardMemory: 分片內存大小, 单位GB
|
636
|
+
# @type ShardMemory: Integer
|
637
|
+
# @param ShardStorage: 分片磁盘大小, 单位GB
|
638
|
+
# @type ShardStorage: Integer
|
639
|
+
# @param ClusterId: 独享集群集群uuid
|
640
|
+
# @type ClusterId: String
|
641
|
+
# @param Zone: (废弃)可用区
|
642
|
+
# @type Zone: String
|
643
|
+
# @param ProjectId: 项目ID
|
644
|
+
# @type ProjectId: Integer
|
645
|
+
# @param Cpu: (废弃)cpu大小,单位:核
|
646
|
+
# @type Cpu: Integer
|
647
|
+
# @param VpcId: 网络ID
|
648
|
+
# @type VpcId: String
|
649
|
+
# @param SubnetId: 子网ID
|
650
|
+
# @type SubnetId: String
|
651
|
+
# @param ShardMachine: (废弃)分片机型
|
652
|
+
# @type ShardMachine: String
|
653
|
+
# @param ShardNodeNum: 分片的节点个数
|
654
|
+
# @type ShardNodeNum: Integer
|
655
|
+
# @param ShardNodeCpu: (废弃)节点cpu核数,单位:1/100核
|
656
|
+
# @type ShardNodeCpu: Integer
|
657
|
+
# @param ShardNodeMemory: (废弃)节点內存大小,单位:GB
|
658
|
+
# @type ShardNodeMemory: Integer
|
659
|
+
# @param ShardNodeStorage: (废弃)节点磁盘大小,单位:GB
|
660
|
+
# @type ShardNodeStorage: Integer
|
661
|
+
# @param DbVersionId: db版本
|
662
|
+
# @type DbVersionId: String
|
663
|
+
# @param SecurityGroupId: 安全组ID
|
664
|
+
# @type SecurityGroupId: String
|
665
|
+
# @param DcnInstanceId: DCN源实例ID
|
666
|
+
# @type DcnInstanceId: String
|
667
|
+
# @param DcnRegion: DCN源实例地域名
|
668
|
+
# @type DcnRegion: String
|
669
|
+
# @param InstanceName: 自定义实例名称
|
670
|
+
# @type InstanceName: String
|
671
|
+
# @param ResourceTags: 标签
|
672
|
+
# @type ResourceTags: Array
|
673
|
+
# @param Ipv6Flag: 支持IPv6标志:1 支持, 0 不支持
|
674
|
+
# @type Ipv6Flag: Integer
|
675
|
+
# @param Pid: (废弃)Pid,可通过获取独享集群售卖配置接口得到
|
676
|
+
# @type Pid: Integer
|
677
|
+
# @param InitParams: 参数列表。本接口的可选值为:character_set_server(字符集,必传),lower_case_table_names(表名大小写敏感,必传,0 - 敏感;1-不敏感),innodb_page_size(innodb数据页,默认16K),sync_mode(同步模式:0 - 异步; 1 - 强同步;2 - 强同步可退化。默认为强同步可退化)。
|
678
|
+
# @type InitParams: Array
|
679
|
+
# @param MasterHostId: 指定主节点uuid,不填随机分配
|
680
|
+
# @type MasterHostId: String
|
681
|
+
# @param SlaveHostIds: 指定从节点uuid,不填随机分配
|
682
|
+
# @type SlaveHostIds: Array
|
683
|
+
# @param RollbackInstanceId: 需要回档的源实例ID
|
684
|
+
# @type RollbackInstanceId: String
|
685
|
+
# @param RollbackTime: 回档时间
|
686
|
+
# @type RollbackTime: String
|
687
|
+
|
688
|
+
attr_accessor :GoodsNum, :ShardNum, :ShardMemory, :ShardStorage, :ClusterId, :Zone, :ProjectId, :Cpu, :VpcId, :SubnetId, :ShardMachine, :ShardNodeNum, :ShardNodeCpu, :ShardNodeMemory, :ShardNodeStorage, :DbVersionId, :SecurityGroupId, :DcnInstanceId, :DcnRegion, :InstanceName, :ResourceTags, :Ipv6Flag, :Pid, :InitParams, :MasterHostId, :SlaveHostIds, :RollbackInstanceId, :RollbackTime
|
689
|
+
|
690
|
+
def initialize(goodsnum=nil, shardnum=nil, shardmemory=nil, shardstorage=nil, clusterid=nil, zone=nil, projectid=nil, cpu=nil, vpcid=nil, subnetid=nil, shardmachine=nil, shardnodenum=nil, shardnodecpu=nil, shardnodememory=nil, shardnodestorage=nil, dbversionid=nil, securitygroupid=nil, dcninstanceid=nil, dcnregion=nil, instancename=nil, resourcetags=nil, ipv6flag=nil, pid=nil, initparams=nil, masterhostid=nil, slavehostids=nil, rollbackinstanceid=nil, rollbacktime=nil)
|
691
|
+
@GoodsNum = goodsnum
|
692
|
+
@ShardNum = shardnum
|
693
|
+
@ShardMemory = shardmemory
|
694
|
+
@ShardStorage = shardstorage
|
695
|
+
@ClusterId = clusterid
|
696
|
+
@Zone = zone
|
697
|
+
@ProjectId = projectid
|
698
|
+
@Cpu = cpu
|
699
|
+
@VpcId = vpcid
|
700
|
+
@SubnetId = subnetid
|
701
|
+
@ShardMachine = shardmachine
|
702
|
+
@ShardNodeNum = shardnodenum
|
703
|
+
@ShardNodeCpu = shardnodecpu
|
704
|
+
@ShardNodeMemory = shardnodememory
|
705
|
+
@ShardNodeStorage = shardnodestorage
|
706
|
+
@DbVersionId = dbversionid
|
707
|
+
@SecurityGroupId = securitygroupid
|
708
|
+
@DcnInstanceId = dcninstanceid
|
709
|
+
@DcnRegion = dcnregion
|
710
|
+
@InstanceName = instancename
|
711
|
+
@ResourceTags = resourcetags
|
712
|
+
@Ipv6Flag = ipv6flag
|
713
|
+
@Pid = pid
|
714
|
+
@InitParams = initparams
|
715
|
+
@MasterHostId = masterhostid
|
716
|
+
@SlaveHostIds = slavehostids
|
717
|
+
@RollbackInstanceId = rollbackinstanceid
|
718
|
+
@RollbackTime = rollbacktime
|
719
|
+
end
|
720
|
+
|
721
|
+
def deserialize(params)
|
722
|
+
@GoodsNum = params['GoodsNum']
|
723
|
+
@ShardNum = params['ShardNum']
|
724
|
+
@ShardMemory = params['ShardMemory']
|
725
|
+
@ShardStorage = params['ShardStorage']
|
726
|
+
@ClusterId = params['ClusterId']
|
727
|
+
@Zone = params['Zone']
|
728
|
+
@ProjectId = params['ProjectId']
|
729
|
+
@Cpu = params['Cpu']
|
730
|
+
@VpcId = params['VpcId']
|
731
|
+
@SubnetId = params['SubnetId']
|
732
|
+
@ShardMachine = params['ShardMachine']
|
733
|
+
@ShardNodeNum = params['ShardNodeNum']
|
734
|
+
@ShardNodeCpu = params['ShardNodeCpu']
|
735
|
+
@ShardNodeMemory = params['ShardNodeMemory']
|
736
|
+
@ShardNodeStorage = params['ShardNodeStorage']
|
737
|
+
@DbVersionId = params['DbVersionId']
|
738
|
+
@SecurityGroupId = params['SecurityGroupId']
|
739
|
+
@DcnInstanceId = params['DcnInstanceId']
|
740
|
+
@DcnRegion = params['DcnRegion']
|
741
|
+
@InstanceName = params['InstanceName']
|
742
|
+
unless params['ResourceTags'].nil?
|
743
|
+
@ResourceTags = []
|
744
|
+
params['ResourceTags'].each do |i|
|
745
|
+
resourcetag_tmp = ResourceTag.new
|
746
|
+
resourcetag_tmp.deserialize(i)
|
747
|
+
@ResourceTags << resourcetag_tmp
|
748
|
+
end
|
749
|
+
end
|
750
|
+
@Ipv6Flag = params['Ipv6Flag']
|
751
|
+
@Pid = params['Pid']
|
752
|
+
unless params['InitParams'].nil?
|
753
|
+
@InitParams = []
|
754
|
+
params['InitParams'].each do |i|
|
755
|
+
dbparamvalue_tmp = DBParamValue.new
|
756
|
+
dbparamvalue_tmp.deserialize(i)
|
757
|
+
@InitParams << dbparamvalue_tmp
|
758
|
+
end
|
759
|
+
end
|
760
|
+
@MasterHostId = params['MasterHostId']
|
761
|
+
@SlaveHostIds = params['SlaveHostIds']
|
762
|
+
@RollbackInstanceId = params['RollbackInstanceId']
|
763
|
+
@RollbackTime = params['RollbackTime']
|
764
|
+
end
|
765
|
+
end
|
766
|
+
|
767
|
+
# CreateDedicatedClusterDCDBInstance返回参数结构体
|
768
|
+
class CreateDedicatedClusterDCDBInstanceResponse < TencentCloud::Common::AbstractModel
|
769
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
770
|
+
# @type RequestId: String
|
771
|
+
|
772
|
+
attr_accessor :RequestId
|
773
|
+
|
774
|
+
def initialize(requestid=nil)
|
775
|
+
@RequestId = requestid
|
776
|
+
end
|
777
|
+
|
778
|
+
def deserialize(params)
|
779
|
+
@RequestId = params['RequestId']
|
780
|
+
end
|
781
|
+
end
|
782
|
+
|
629
783
|
# CreateHourDCDBInstance请求参数结构体
|
630
784
|
class CreateHourDCDBInstanceRequest < TencentCloud::Common::AbstractModel
|
631
785
|
# @param ShardMemory: 分片内存大小,单位:GB,可以通过 DescribeShardSpec
|
@@ -1651,6 +1805,50 @@ module TencentCloud
|
|
1651
1805
|
end
|
1652
1806
|
end
|
1653
1807
|
|
1808
|
+
# DescribeDBEncryptAttributes请求参数结构体
|
1809
|
+
class DescribeDBEncryptAttributesRequest < TencentCloud::Common::AbstractModel
|
1810
|
+
# @param InstanceId: 实例Id,形如:tdsqlshard-ow728lmc。
|
1811
|
+
# @type InstanceId: String
|
1812
|
+
|
1813
|
+
attr_accessor :InstanceId
|
1814
|
+
|
1815
|
+
def initialize(instanceid=nil)
|
1816
|
+
@InstanceId = instanceid
|
1817
|
+
end
|
1818
|
+
|
1819
|
+
def deserialize(params)
|
1820
|
+
@InstanceId = params['InstanceId']
|
1821
|
+
end
|
1822
|
+
end
|
1823
|
+
|
1824
|
+
# DescribeDBEncryptAttributes返回参数结构体
|
1825
|
+
class DescribeDBEncryptAttributesResponse < TencentCloud::Common::AbstractModel
|
1826
|
+
# @param EncryptStatus: 是否启用加密,1-已开启;0-未开启。
|
1827
|
+
# @type EncryptStatus: Integer
|
1828
|
+
# @param CipherText: DEK密钥
|
1829
|
+
# @type CipherText: String
|
1830
|
+
# @param ExpireDate: DEK密钥过期日期。
|
1831
|
+
# @type ExpireDate: String
|
1832
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1833
|
+
# @type RequestId: String
|
1834
|
+
|
1835
|
+
attr_accessor :EncryptStatus, :CipherText, :ExpireDate, :RequestId
|
1836
|
+
|
1837
|
+
def initialize(encryptstatus=nil, ciphertext=nil, expiredate=nil, requestid=nil)
|
1838
|
+
@EncryptStatus = encryptstatus
|
1839
|
+
@CipherText = ciphertext
|
1840
|
+
@ExpireDate = expiredate
|
1841
|
+
@RequestId = requestid
|
1842
|
+
end
|
1843
|
+
|
1844
|
+
def deserialize(params)
|
1845
|
+
@EncryptStatus = params['EncryptStatus']
|
1846
|
+
@CipherText = params['CipherText']
|
1847
|
+
@ExpireDate = params['ExpireDate']
|
1848
|
+
@RequestId = params['RequestId']
|
1849
|
+
end
|
1850
|
+
end
|
1851
|
+
|
1654
1852
|
# DescribeDBLogFiles请求参数结构体
|
1655
1853
|
class DescribeDBLogFilesRequest < TencentCloud::Common::AbstractModel
|
1656
1854
|
# @param InstanceId: 实例 ID,形如:dcdbt-ow7t8lmc。
|
@@ -5492,6 +5690,79 @@ module TencentCloud
|
|
5492
5690
|
end
|
5493
5691
|
end
|
5494
5692
|
|
5693
|
+
# UpgradeDedicatedDCDBInstance请求参数结构体
|
5694
|
+
class UpgradeDedicatedDCDBInstanceRequest < TencentCloud::Common::AbstractModel
|
5695
|
+
# @param UpgradeType: 升级类型,取值为ADD,SPLIT和EXPAND。ADD-添加分片;SPLIT-切分某个分片;EXPAND-垂直扩容某个分片
|
5696
|
+
# @type UpgradeType: String
|
5697
|
+
# @param InstanceId: 实例ID,形如 dcdbt-mlfjm74h
|
5698
|
+
# @type InstanceId: String
|
5699
|
+
# @param AddShardConfig: 当UpgradeType取值为ADD时,添加分片的配置参数
|
5700
|
+
# @type AddShardConfig: :class:`Tencentcloud::Dcdb.v20180411.models.AddShardConfig`
|
5701
|
+
# @param ExpandShardConfig: 当UpgradeType取值为EXPAND时,垂直扩容分片的配置参数
|
5702
|
+
# @type ExpandShardConfig: :class:`Tencentcloud::Dcdb.v20180411.models.ExpandShardConfig`
|
5703
|
+
# @param SplitShardConfig: 当UpgradeType取值为SPLIT时,切分分片的配置参数
|
5704
|
+
# @type SplitShardConfig: :class:`Tencentcloud::Dcdb.v20180411.models.SplitShardConfig`
|
5705
|
+
# @param SwitchAutoRetry: 错过切换时间窗口时,是否自动重试一次,0-否,1-是
|
5706
|
+
# @type SwitchAutoRetry: Integer
|
5707
|
+
# @param SwitchStartTime: 切换时间窗口开始时间
|
5708
|
+
# @type SwitchStartTime: String
|
5709
|
+
# @param SwitchEndTime: 切换时间窗口结束时间
|
5710
|
+
# @type SwitchEndTime: String
|
5711
|
+
|
5712
|
+
attr_accessor :UpgradeType, :InstanceId, :AddShardConfig, :ExpandShardConfig, :SplitShardConfig, :SwitchAutoRetry, :SwitchStartTime, :SwitchEndTime
|
5713
|
+
|
5714
|
+
def initialize(upgradetype=nil, instanceid=nil, addshardconfig=nil, expandshardconfig=nil, splitshardconfig=nil, switchautoretry=nil, switchstarttime=nil, switchendtime=nil)
|
5715
|
+
@UpgradeType = upgradetype
|
5716
|
+
@InstanceId = instanceid
|
5717
|
+
@AddShardConfig = addshardconfig
|
5718
|
+
@ExpandShardConfig = expandshardconfig
|
5719
|
+
@SplitShardConfig = splitshardconfig
|
5720
|
+
@SwitchAutoRetry = switchautoretry
|
5721
|
+
@SwitchStartTime = switchstarttime
|
5722
|
+
@SwitchEndTime = switchendtime
|
5723
|
+
end
|
5724
|
+
|
5725
|
+
def deserialize(params)
|
5726
|
+
@UpgradeType = params['UpgradeType']
|
5727
|
+
@InstanceId = params['InstanceId']
|
5728
|
+
unless params['AddShardConfig'].nil?
|
5729
|
+
@AddShardConfig = AddShardConfig.new
|
5730
|
+
@AddShardConfig.deserialize(params['AddShardConfig'])
|
5731
|
+
end
|
5732
|
+
unless params['ExpandShardConfig'].nil?
|
5733
|
+
@ExpandShardConfig = ExpandShardConfig.new
|
5734
|
+
@ExpandShardConfig.deserialize(params['ExpandShardConfig'])
|
5735
|
+
end
|
5736
|
+
unless params['SplitShardConfig'].nil?
|
5737
|
+
@SplitShardConfig = SplitShardConfig.new
|
5738
|
+
@SplitShardConfig.deserialize(params['SplitShardConfig'])
|
5739
|
+
end
|
5740
|
+
@SwitchAutoRetry = params['SwitchAutoRetry']
|
5741
|
+
@SwitchStartTime = params['SwitchStartTime']
|
5742
|
+
@SwitchEndTime = params['SwitchEndTime']
|
5743
|
+
end
|
5744
|
+
end
|
5745
|
+
|
5746
|
+
# UpgradeDedicatedDCDBInstance返回参数结构体
|
5747
|
+
class UpgradeDedicatedDCDBInstanceResponse < TencentCloud::Common::AbstractModel
|
5748
|
+
# @param FlowId: 异步任务流程ID
|
5749
|
+
# @type FlowId: Integer
|
5750
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5751
|
+
# @type RequestId: String
|
5752
|
+
|
5753
|
+
attr_accessor :FlowId, :RequestId
|
5754
|
+
|
5755
|
+
def initialize(flowid=nil, requestid=nil)
|
5756
|
+
@FlowId = flowid
|
5757
|
+
@RequestId = requestid
|
5758
|
+
end
|
5759
|
+
|
5760
|
+
def deserialize(params)
|
5761
|
+
@FlowId = params['FlowId']
|
5762
|
+
@RequestId = params['RequestId']
|
5763
|
+
end
|
5764
|
+
end
|
5765
|
+
|
5495
5766
|
# UpgradeHourDCDBInstance请求参数结构体
|
5496
5767
|
class UpgradeHourDCDBInstanceRequest < TencentCloud::Common::AbstractModel
|
5497
5768
|
# @param InstanceId: 待升级的实例ID。形如:dcdbt-ow728lmc,可以通过 DescribeDCDBInstances 查询实例详情获得。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-dcdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.576
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|