tencentcloud-sdk-dcdb 3.0.395 → 3.0.398

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20dd37280cd807e885f254097409cafeeeca2d4e
4
- data.tar.gz: 2d783aae7722a721c8e099d02b8c2b646a34bbf1
3
+ metadata.gz: 723254520c10e7ae673f443efac85119923b2643
4
+ data.tar.gz: a056e7990a8a136f4a6eefac15e5681f7541dc68
5
5
  SHA512:
6
- metadata.gz: c2bf7b0fb86323707cd938cf071b6229e369ddca42ab12762731dd7d1c46a64a27342b11c50e0e6e95a337de4fd0f277107bfb9ca77d083373911c029145c426
7
- data.tar.gz: 5a966ea887fd43ee0544563a4cad0fa67c197a0661470cf6534954cc6f9321a22c3980dbcc3aea8a0c218f08fdf1d3b5d51ba899c9ae05e7f382ca9a117f9fc3
6
+ metadata.gz: 579b706e4032754bf073c352f8461bc40d187e69c6d1dcaaae782ed5c810f06b2d9bd5e3aed9d2f7e1f2bff1182123f9f93cea29b16db45b63d6224dfe4a26ee
7
+ data.tar.gz: 1888981f59b3de0440bf98f146f72cc4c7184ca3dba8cd894ec6e17f73617ac7881e7b42fac9252a5a0f094b2127d196b88d4e32cf20bf23d26e11fc3f715d5e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.395
1
+ 3.0.398
@@ -222,30 +222,6 @@ 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
-
249
225
  # 创建DCDB后付费实例
250
226
 
251
227
  # @param request: Request instance for CreateHourDCDBInstance.
@@ -582,156 +582,6 @@ module TencentCloud
582
582
  end
583
583
  end
584
584
 
585
- # CreateDedicatedClusterDCDBInstance请求参数结构体
586
- class CreateDedicatedClusterDCDBInstanceRequest < TencentCloud::Common::AbstractModel
587
- # @param GoodsNum: 分配实例个数
588
- # @type GoodsNum: Integer
589
- # @param ShardNum: 分片数量
590
- # @type ShardNum: Integer
591
- # @param ShardMemory: 分片內存大小, 单位GB
592
- # @type ShardMemory: Integer
593
- # @param ShardStorage: 分片磁盘大小, 单位GB
594
- # @type ShardStorage: Integer
595
- # @param ClusterId: 独享集群集群uuid
596
- # @type ClusterId: String
597
- # @param Zone: (废弃)可用区
598
- # @type Zone: String
599
- # @param ProjectId: 项目ID
600
- # @type ProjectId: Integer
601
- # @param Cpu: (废弃)cpu大小,单位:核
602
- # @type Cpu: Integer
603
- # @param VpcId: 网络ID
604
- # @type VpcId: String
605
- # @param SubnetId: 子网ID
606
- # @type SubnetId: String
607
- # @param ShardMachine: (废弃)分片机型
608
- # @type ShardMachine: String
609
- # @param ShardNodeNum: 分片的节点个数
610
- # @type ShardNodeNum: Integer
611
- # @param ShardNodeCpu: (废弃)节点cpu核数,单位:1/100核
612
- # @type ShardNodeCpu: Integer
613
- # @param ShardNodeMemory: (废弃)节点內存大小,单位:GB
614
- # @type ShardNodeMemory: Integer
615
- # @param ShardNodeStorage: (废弃)节点磁盘大小,单位:GB
616
- # @type ShardNodeStorage: Integer
617
- # @param DbVersionId: db版本
618
- # @type DbVersionId: String
619
- # @param SecurityGroupId: 安全组ID
620
- # @type SecurityGroupId: String
621
- # @param DcnInstanceId: DCN源实例ID
622
- # @type DcnInstanceId: String
623
- # @param DcnRegion: DCN源实例地域名
624
- # @type DcnRegion: String
625
- # @param InstanceName: 自定义实例名称
626
- # @type InstanceName: String
627
- # @param ResourceTags: 标签
628
- # @type ResourceTags: Array
629
- # @param Ipv6Flag: 支持IPv6标志:1 支持, 0 不支持
630
- # @type Ipv6Flag: Integer
631
- # @param Pid: (废弃)Pid,可通过获取独享集群售卖配置接口得到
632
- # @type Pid: Integer
633
- # @param InitParams: 参数列表。本接口的可选值为:character_set_server(字符集,必传),lower_case_table_names(表名大小写敏感,必传,0 - 敏感;1-不敏感),innodb_page_size(innodb数据页,默认16K),sync_mode(同步模式:0 - 异步; 1 - 强同步;2 - 强同步可退化。默认为强同步可退化)。
634
- # @type InitParams: :class:`Tencentcloud::Dcdb.v20180411.models.DBParamValue`
635
- # @param MasterHostId: 指定主节点uuid,不填随机分配
636
- # @type MasterHostId: String
637
- # @param SlaveHostIds: 指定从节点uuid,不填随机分配
638
- # @type SlaveHostIds: Array
639
- # @param RollbackInstanceId: 需要回档的源实例ID
640
- # @type RollbackInstanceId: String
641
- # @param RollbackTime: 回档时间
642
- # @type RollbackTime: String
643
-
644
- 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
645
-
646
- 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)
647
- @GoodsNum = goodsnum
648
- @ShardNum = shardnum
649
- @ShardMemory = shardmemory
650
- @ShardStorage = shardstorage
651
- @ClusterId = clusterid
652
- @Zone = zone
653
- @ProjectId = projectid
654
- @Cpu = cpu
655
- @VpcId = vpcid
656
- @SubnetId = subnetid
657
- @ShardMachine = shardmachine
658
- @ShardNodeNum = shardnodenum
659
- @ShardNodeCpu = shardnodecpu
660
- @ShardNodeMemory = shardnodememory
661
- @ShardNodeStorage = shardnodestorage
662
- @DbVersionId = dbversionid
663
- @SecurityGroupId = securitygroupid
664
- @DcnInstanceId = dcninstanceid
665
- @DcnRegion = dcnregion
666
- @InstanceName = instancename
667
- @ResourceTags = resourcetags
668
- @Ipv6Flag = ipv6flag
669
- @Pid = pid
670
- @InitParams = initparams
671
- @MasterHostId = masterhostid
672
- @SlaveHostIds = slavehostids
673
- @RollbackInstanceId = rollbackinstanceid
674
- @RollbackTime = rollbacktime
675
- end
676
-
677
- def deserialize(params)
678
- @GoodsNum = params['GoodsNum']
679
- @ShardNum = params['ShardNum']
680
- @ShardMemory = params['ShardMemory']
681
- @ShardStorage = params['ShardStorage']
682
- @ClusterId = params['ClusterId']
683
- @Zone = params['Zone']
684
- @ProjectId = params['ProjectId']
685
- @Cpu = params['Cpu']
686
- @VpcId = params['VpcId']
687
- @SubnetId = params['SubnetId']
688
- @ShardMachine = params['ShardMachine']
689
- @ShardNodeNum = params['ShardNodeNum']
690
- @ShardNodeCpu = params['ShardNodeCpu']
691
- @ShardNodeMemory = params['ShardNodeMemory']
692
- @ShardNodeStorage = params['ShardNodeStorage']
693
- @DbVersionId = params['DbVersionId']
694
- @SecurityGroupId = params['SecurityGroupId']
695
- @DcnInstanceId = params['DcnInstanceId']
696
- @DcnRegion = params['DcnRegion']
697
- @InstanceName = params['InstanceName']
698
- unless params['ResourceTags'].nil?
699
- @ResourceTags = []
700
- params['ResourceTags'].each do |i|
701
- resourcetag_tmp = ResourceTag.new
702
- resourcetag_tmp.deserialize(i)
703
- @ResourceTags << resourcetag_tmp
704
- end
705
- end
706
- @Ipv6Flag = params['Ipv6Flag']
707
- @Pid = params['Pid']
708
- unless params['InitParams'].nil?
709
- @InitParams = DBParamValue.new
710
- @InitParams.deserialize(params['InitParams'])
711
- end
712
- @MasterHostId = params['MasterHostId']
713
- @SlaveHostIds = params['SlaveHostIds']
714
- @RollbackInstanceId = params['RollbackInstanceId']
715
- @RollbackTime = params['RollbackTime']
716
- end
717
- end
718
-
719
- # CreateDedicatedClusterDCDBInstance返回参数结构体
720
- class CreateDedicatedClusterDCDBInstanceResponse < TencentCloud::Common::AbstractModel
721
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
722
- # @type RequestId: String
723
-
724
- attr_accessor :RequestId
725
-
726
- def initialize(requestid=nil)
727
- @RequestId = requestid
728
- end
729
-
730
- def deserialize(params)
731
- @RequestId = params['RequestId']
732
- end
733
- end
734
-
735
585
  # CreateHourDCDBInstance请求参数结构体
736
586
  class CreateHourDCDBInstanceRequest < TencentCloud::Common::AbstractModel
737
587
  # @param ShardMemory: 分片内存大小,单位:GB,可以通过 DescribeShardSpec
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.395
4
+ version: 3.0.398
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-08-26 00:00:00.000000000 Z
11
+ date: 2022-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common