tencentcloud-sdk-dcdb 3.0.391 → 3.0.399

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: 595436dc58620c455aa6d1e67c2eb86cc808a4a2
4
- data.tar.gz: 7ebdd78c2f2dd706cd6b5d3ffbe3edeba140dc71
3
+ metadata.gz: b6f4e61f7d8196e2e817866d46bcb3bbfae6fc5b
4
+ data.tar.gz: 20cec62cdcdc526ee774e7717ad1f3c7a37806b4
5
5
  SHA512:
6
- metadata.gz: fbdb0946fec433b4a6fef886ea533bb08395d9a08aca7ab6507acd6706a89b553ad1c94535a2e1c8804a55f748c7f920927dc5fb28b3ce7c5bc3b421917e2a73
7
- data.tar.gz: fd6cdbdff743e690898ed02cbfd26e6318f133c5ea057725bcc09c0a1f81a52f70f687b833bc80ddd46d011fcee3ffff2507bcd3778db64aad919d4379f9c214
6
+ metadata.gz: b2d7f105f84ef191fbf70f40872f422039e7e20dd14e408e24b0cfdc57c4e07918aede364b0cb3d23e6e9771b5e7b752ac20c488e25374e9a42fc2bb8c647207
7
+ data.tar.gz: 1642d6cfdf8833d621223316ebb54f2613361a27934eb2b4cdd70fc6427de88b3a40c0265d14d759fd6e258b58d2d8e6bd84101daf37da4fc1a6d86321e8c099
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.391
1
+ 3.0.399
@@ -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,148 +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
-
640
- 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
641
-
642
- 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)
643
- @GoodsNum = goodsnum
644
- @ShardNum = shardnum
645
- @ShardMemory = shardmemory
646
- @ShardStorage = shardstorage
647
- @ClusterId = clusterid
648
- @Zone = zone
649
- @ProjectId = projectid
650
- @Cpu = cpu
651
- @VpcId = vpcid
652
- @SubnetId = subnetid
653
- @ShardMachine = shardmachine
654
- @ShardNodeNum = shardnodenum
655
- @ShardNodeCpu = shardnodecpu
656
- @ShardNodeMemory = shardnodememory
657
- @ShardNodeStorage = shardnodestorage
658
- @DbVersionId = dbversionid
659
- @SecurityGroupId = securitygroupid
660
- @DcnInstanceId = dcninstanceid
661
- @DcnRegion = dcnregion
662
- @InstanceName = instancename
663
- @ResourceTags = resourcetags
664
- @Ipv6Flag = ipv6flag
665
- @Pid = pid
666
- @InitParams = initparams
667
- @MasterHostId = masterhostid
668
- @SlaveHostIds = slavehostids
669
- end
670
-
671
- def deserialize(params)
672
- @GoodsNum = params['GoodsNum']
673
- @ShardNum = params['ShardNum']
674
- @ShardMemory = params['ShardMemory']
675
- @ShardStorage = params['ShardStorage']
676
- @ClusterId = params['ClusterId']
677
- @Zone = params['Zone']
678
- @ProjectId = params['ProjectId']
679
- @Cpu = params['Cpu']
680
- @VpcId = params['VpcId']
681
- @SubnetId = params['SubnetId']
682
- @ShardMachine = params['ShardMachine']
683
- @ShardNodeNum = params['ShardNodeNum']
684
- @ShardNodeCpu = params['ShardNodeCpu']
685
- @ShardNodeMemory = params['ShardNodeMemory']
686
- @ShardNodeStorage = params['ShardNodeStorage']
687
- @DbVersionId = params['DbVersionId']
688
- @SecurityGroupId = params['SecurityGroupId']
689
- @DcnInstanceId = params['DcnInstanceId']
690
- @DcnRegion = params['DcnRegion']
691
- @InstanceName = params['InstanceName']
692
- unless params['ResourceTags'].nil?
693
- @ResourceTags = []
694
- params['ResourceTags'].each do |i|
695
- resourcetag_tmp = ResourceTag.new
696
- resourcetag_tmp.deserialize(i)
697
- @ResourceTags << resourcetag_tmp
698
- end
699
- end
700
- @Ipv6Flag = params['Ipv6Flag']
701
- @Pid = params['Pid']
702
- unless params['InitParams'].nil?
703
- @InitParams = DBParamValue.new
704
- @InitParams.deserialize(params['InitParams'])
705
- end
706
- @MasterHostId = params['MasterHostId']
707
- @SlaveHostIds = params['SlaveHostIds']
708
- end
709
- end
710
-
711
- # CreateDedicatedClusterDCDBInstance返回参数结构体
712
- class CreateDedicatedClusterDCDBInstanceResponse < TencentCloud::Common::AbstractModel
713
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
714
- # @type RequestId: String
715
-
716
- attr_accessor :RequestId
717
-
718
- def initialize(requestid=nil)
719
- @RequestId = requestid
720
- end
721
-
722
- def deserialize(params)
723
- @RequestId = params['RequestId']
724
- end
725
- end
726
-
727
585
  # CreateHourDCDBInstance请求参数结构体
728
586
  class CreateHourDCDBInstanceRequest < TencentCloud::Common::AbstractModel
729
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.391
4
+ version: 3.0.399
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-23 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