tencentcloud-sdk-cdb 3.0.872 → 3.0.873

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 +30 -9
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42933e6722806f6b902d48b04ad8807b010f8ed0
4
- data.tar.gz: 83f15ef8e5594e03448e8bfe9c3d0c2bf3f9cfc6
3
+ metadata.gz: 29e6adf24e80f9556f9bf82d89b0d0185fa56f62
4
+ data.tar.gz: a670b5e580255f465d8e815e2855dc287c7a44ea
5
5
  SHA512:
6
- metadata.gz: 66bf27dac09402f0dc859edd65af2d5e551ec4bcf39ca019cd643a64c83d9366aceb87869f65d204c5419618b07b664eb6b4a738067364c2c6d976ea3aa4b43d
7
- data.tar.gz: a0f22782c97f068fc31188ba4901c2649799cf5ccbeb27c9628dce59ff30ee6ef17b851045f85ea2efae11aab89785c0d460c7250c7f53e6cd2afcd614f86b70
6
+ metadata.gz: d3d879b5094a7b0710251f0ced775690999b4e9729efc3ebe653b21ce2c536240e4503dbaa74d30d12e4df3eded63ad658d19bc1ebe6ba78e005b41f0b115872
7
+ data.tar.gz: 314a59810f154cd20b95e85cb72067b76bf053b3cb87b182cbb254a2dd71ab0fc3a614fec4e7ecd50b8a853983c5c0e1e4ba929de754c4d9c2dff258a97a8251
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.872
1
+ 3.0.873
@@ -2692,7 +2692,7 @@ module TencentCloud
2692
2692
  # @type SlaveZone: String
2693
2693
  # @param BackupZone: 备库 2 的可用区信息,默认为空,克隆强同步主实例时可指定该参数。
2694
2694
  # @type BackupZone: String
2695
- # @param DeviceType: 克隆实例类型。支持值包括: "UNIVERSAL" - 通用型实例, "EXCLUSIVE" - 独享型实例。 不指定则默认为通用型。
2695
+ # @param DeviceType: 克隆实例类型。支持值包括:"UNIVERSAL" - 通用型实例,"EXCLUSIVE" - 独享型实例,"CLOUD_NATIVE_CLUSTER" - 集群版标准型,"CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 集群版加强型。不指定则默认为通用型。
2696
2696
  # @type DeviceType: String
2697
2697
  # @param InstanceNodes: 新克隆实例节点数。如果需要克隆出三节点实例, 请将该值设置为3 或指定 BackupZone 参数。如果需要克隆出两节点实例,请将该值设置为2。默认克隆出两节点实例。
2698
2698
  # @type InstanceNodes: Integer
@@ -2708,10 +2708,12 @@ module TencentCloud
2708
2708
  # @type PayType: String
2709
2709
  # @param Period: 实例时长,PayType为PRE_PAID时必传,单位:月,可选值包括 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
2710
2710
  # @type Period: Integer
2711
+ # @param ClusterTopology: 集群版节点拓扑配置。
2712
+ # @type ClusterTopology: :class:`Tencentcloud::Cdb.v20170320.models.ClusterTopology`
2711
2713
 
2712
- attr_accessor :InstanceId, :SpecifiedRollbackTime, :SpecifiedBackupId, :UniqVpcId, :UniqSubnetId, :Memory, :Volume, :InstanceName, :SecurityGroup, :ResourceTags, :Cpu, :ProtectMode, :DeployMode, :SlaveZone, :BackupZone, :DeviceType, :InstanceNodes, :DeployGroupId, :DryRun, :CageId, :ProjectId, :PayType, :Period
2714
+ attr_accessor :InstanceId, :SpecifiedRollbackTime, :SpecifiedBackupId, :UniqVpcId, :UniqSubnetId, :Memory, :Volume, :InstanceName, :SecurityGroup, :ResourceTags, :Cpu, :ProtectMode, :DeployMode, :SlaveZone, :BackupZone, :DeviceType, :InstanceNodes, :DeployGroupId, :DryRun, :CageId, :ProjectId, :PayType, :Period, :ClusterTopology
2713
2715
 
2714
- def initialize(instanceid=nil, specifiedrollbacktime=nil, specifiedbackupid=nil, uniqvpcid=nil, uniqsubnetid=nil, memory=nil, volume=nil, instancename=nil, securitygroup=nil, resourcetags=nil, cpu=nil, protectmode=nil, deploymode=nil, slavezone=nil, backupzone=nil, devicetype=nil, instancenodes=nil, deploygroupid=nil, dryrun=nil, cageid=nil, projectid=nil, paytype=nil, period=nil)
2716
+ def initialize(instanceid=nil, specifiedrollbacktime=nil, specifiedbackupid=nil, uniqvpcid=nil, uniqsubnetid=nil, memory=nil, volume=nil, instancename=nil, securitygroup=nil, resourcetags=nil, cpu=nil, protectmode=nil, deploymode=nil, slavezone=nil, backupzone=nil, devicetype=nil, instancenodes=nil, deploygroupid=nil, dryrun=nil, cageid=nil, projectid=nil, paytype=nil, period=nil, clustertopology=nil)
2715
2717
  @InstanceId = instanceid
2716
2718
  @SpecifiedRollbackTime = specifiedrollbacktime
2717
2719
  @SpecifiedBackupId = specifiedbackupid
@@ -2735,6 +2737,7 @@ module TencentCloud
2735
2737
  @ProjectId = projectid
2736
2738
  @PayType = paytype
2737
2739
  @Period = period
2740
+ @ClusterTopology = clustertopology
2738
2741
  end
2739
2742
 
2740
2743
  def deserialize(params)
@@ -2768,6 +2771,10 @@ module TencentCloud
2768
2771
  @ProjectId = params['ProjectId']
2769
2772
  @PayType = params['PayType']
2770
2773
  @Period = params['Period']
2774
+ unless params['ClusterTopology'].nil?
2775
+ @ClusterTopology = ClusterTopology.new
2776
+ @ClusterTopology.deserialize(params['ClusterTopology'])
2777
+ end
2771
2778
  end
2772
2779
  end
2773
2780
 
@@ -2900,7 +2907,7 @@ module TencentCloud
2900
2907
  # @type DeployGroupId: String
2901
2908
  # @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间在48小时内唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
2902
2909
  # @type ClientToken: String
2903
- # @param DeviceType: 实例隔离类型。支持值包括: "UNIVERSAL" - 通用型实例, "EXCLUSIVE" - 独享型实例, "BASIC_V2" - ONTKE单节点实例。 不指定则默认为通用型实例。
2910
+ # @param DeviceType: 实例隔离类型。支持值包括:"UNIVERSAL" - 通用型实例,"EXCLUSIVE" - 独享型实例,"BASIC_V2" - ONTKE 单节点实例,"CLOUD_NATIVE_CLUSTER" - 集群版标准型,"CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 集群版加强型。不指定则默认为通用型实例。
2904
2911
  # @type DeviceType: String
2905
2912
  # @param ParamTemplateId: 参数模板 id。
2906
2913
  # 备注:如您使用自定义参数模板 id,可传入自定义参数模板 id;如您计划使用默认参数模板,该参数模板 id 传入 id 无效,需设置 ParamTemplateType。
@@ -2926,10 +2933,12 @@ module TencentCloud
2926
2933
  # @type EngineType: String
2927
2934
  # @param Vips: 指定实例的IP列表。仅支持主实例指定,按实例顺序,不足则按未指定处理。
2928
2935
  # @type Vips: Array
2936
+ # @param ClusterTopology: 集群版节点拓扑配置。
2937
+ # @type ClusterTopology: :class:`Tencentcloud::Cdb.v20170320.models.ClusterTopology`
2929
2938
 
2930
- attr_accessor :GoodsNum, :Memory, :Volume, :EngineVersion, :UniqVpcId, :UniqSubnetId, :ProjectId, :Zone, :MasterInstanceId, :InstanceRole, :MasterRegion, :Port, :Password, :ParamList, :ProtectMode, :DeployMode, :SlaveZone, :BackupZone, :SecurityGroup, :RoGroup, :AutoRenewFlag, :InstanceName, :ResourceTags, :DeployGroupId, :ClientToken, :DeviceType, :ParamTemplateId, :AlarmPolicyList, :InstanceNodes, :Cpu, :AutoSyncFlag, :CageId, :ParamTemplateType, :AlarmPolicyIdList, :DryRun, :EngineType, :Vips
2939
+ attr_accessor :GoodsNum, :Memory, :Volume, :EngineVersion, :UniqVpcId, :UniqSubnetId, :ProjectId, :Zone, :MasterInstanceId, :InstanceRole, :MasterRegion, :Port, :Password, :ParamList, :ProtectMode, :DeployMode, :SlaveZone, :BackupZone, :SecurityGroup, :RoGroup, :AutoRenewFlag, :InstanceName, :ResourceTags, :DeployGroupId, :ClientToken, :DeviceType, :ParamTemplateId, :AlarmPolicyList, :InstanceNodes, :Cpu, :AutoSyncFlag, :CageId, :ParamTemplateType, :AlarmPolicyIdList, :DryRun, :EngineType, :Vips, :ClusterTopology
2931
2940
 
2932
- def initialize(goodsnum=nil, memory=nil, volume=nil, engineversion=nil, uniqvpcid=nil, uniqsubnetid=nil, projectid=nil, zone=nil, masterinstanceid=nil, instancerole=nil, masterregion=nil, port=nil, password=nil, paramlist=nil, protectmode=nil, deploymode=nil, slavezone=nil, backupzone=nil, securitygroup=nil, rogroup=nil, autorenewflag=nil, instancename=nil, resourcetags=nil, deploygroupid=nil, clienttoken=nil, devicetype=nil, paramtemplateid=nil, alarmpolicylist=nil, instancenodes=nil, cpu=nil, autosyncflag=nil, cageid=nil, paramtemplatetype=nil, alarmpolicyidlist=nil, dryrun=nil, enginetype=nil, vips=nil)
2941
+ def initialize(goodsnum=nil, memory=nil, volume=nil, engineversion=nil, uniqvpcid=nil, uniqsubnetid=nil, projectid=nil, zone=nil, masterinstanceid=nil, instancerole=nil, masterregion=nil, port=nil, password=nil, paramlist=nil, protectmode=nil, deploymode=nil, slavezone=nil, backupzone=nil, securitygroup=nil, rogroup=nil, autorenewflag=nil, instancename=nil, resourcetags=nil, deploygroupid=nil, clienttoken=nil, devicetype=nil, paramtemplateid=nil, alarmpolicylist=nil, instancenodes=nil, cpu=nil, autosyncflag=nil, cageid=nil, paramtemplatetype=nil, alarmpolicyidlist=nil, dryrun=nil, enginetype=nil, vips=nil, clustertopology=nil)
2933
2942
  @GoodsNum = goodsnum
2934
2943
  @Memory = memory
2935
2944
  @Volume = volume
@@ -2967,6 +2976,7 @@ module TencentCloud
2967
2976
  @DryRun = dryrun
2968
2977
  @EngineType = enginetype
2969
2978
  @Vips = vips
2979
+ @ClusterTopology = clustertopology
2970
2980
  end
2971
2981
 
2972
2982
  def deserialize(params)
@@ -3024,6 +3034,10 @@ module TencentCloud
3024
3034
  @DryRun = params['DryRun']
3025
3035
  @EngineType = params['EngineType']
3026
3036
  @Vips = params['Vips']
3037
+ unless params['ClusterTopology'].nil?
3038
+ @ClusterTopology = ClusterTopology.new
3039
+ @ClusterTopology.deserialize(params['ClusterTopology'])
3040
+ end
3027
3041
  end
3028
3042
  end
3029
3043
 
@@ -3106,7 +3120,7 @@ module TencentCloud
3106
3120
  # @type DeployGroupId: String
3107
3121
  # @param ClientToken: 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间在48小时内唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。
3108
3122
  # @type ClientToken: String
3109
- # @param DeviceType: 实例隔离类型。支持值包括: "UNIVERSAL" - 通用型实例, "EXCLUSIVE" - 独享型实例, "BASIC_V2" - ONTKE单节点实例。 不指定则默认为通用型实例。
3123
+ # @param DeviceType: 实例隔离类型。支持值包括:"UNIVERSAL" - 通用型实例,"EXCLUSIVE" - 独享型实例,"BASIC_V2" - ONTKE 单节点实例,"CLOUD_NATIVE_CLUSTER" - 集群版标准型,"CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 集群版加强型。不指定则默认为通用型实例。
3110
3124
  # @type DeviceType: String
3111
3125
  # @param ParamTemplateId: 参数模板 id。
3112
3126
  # 备注:如您使用自定义参数模板 id,可传入自定义参数模板 id;如您计划使用默认参数模板,该参数模板 id 传入 id 无效,需设置 ParamTemplateType。
@@ -3133,10 +3147,12 @@ module TencentCloud
3133
3147
  # @type EngineType: String
3134
3148
  # @param Vips: 指定实例的IP列表。仅支持主实例指定,按实例顺序,不足则按未指定处理。
3135
3149
  # @type Vips: Array
3150
+ # @param ClusterTopology: 集群版节点拓扑配置。
3151
+ # @type ClusterTopology: :class:`Tencentcloud::Cdb.v20170320.models.ClusterTopology`
3136
3152
 
3137
- attr_accessor :Memory, :Volume, :Period, :GoodsNum, :Zone, :UniqVpcId, :UniqSubnetId, :ProjectId, :Port, :InstanceRole, :MasterInstanceId, :EngineVersion, :Password, :ProtectMode, :DeployMode, :SlaveZone, :ParamList, :BackupZone, :AutoRenewFlag, :MasterRegion, :SecurityGroup, :RoGroup, :InstanceName, :ResourceTags, :DeployGroupId, :ClientToken, :DeviceType, :ParamTemplateId, :AlarmPolicyList, :InstanceNodes, :Cpu, :AutoSyncFlag, :CageId, :ParamTemplateType, :AlarmPolicyIdList, :DryRun, :EngineType, :Vips
3153
+ attr_accessor :Memory, :Volume, :Period, :GoodsNum, :Zone, :UniqVpcId, :UniqSubnetId, :ProjectId, :Port, :InstanceRole, :MasterInstanceId, :EngineVersion, :Password, :ProtectMode, :DeployMode, :SlaveZone, :ParamList, :BackupZone, :AutoRenewFlag, :MasterRegion, :SecurityGroup, :RoGroup, :InstanceName, :ResourceTags, :DeployGroupId, :ClientToken, :DeviceType, :ParamTemplateId, :AlarmPolicyList, :InstanceNodes, :Cpu, :AutoSyncFlag, :CageId, :ParamTemplateType, :AlarmPolicyIdList, :DryRun, :EngineType, :Vips, :ClusterTopology
3138
3154
 
3139
- def initialize(memory=nil, volume=nil, period=nil, goodsnum=nil, zone=nil, uniqvpcid=nil, uniqsubnetid=nil, projectid=nil, port=nil, instancerole=nil, masterinstanceid=nil, engineversion=nil, password=nil, protectmode=nil, deploymode=nil, slavezone=nil, paramlist=nil, backupzone=nil, autorenewflag=nil, masterregion=nil, securitygroup=nil, rogroup=nil, instancename=nil, resourcetags=nil, deploygroupid=nil, clienttoken=nil, devicetype=nil, paramtemplateid=nil, alarmpolicylist=nil, instancenodes=nil, cpu=nil, autosyncflag=nil, cageid=nil, paramtemplatetype=nil, alarmpolicyidlist=nil, dryrun=nil, enginetype=nil, vips=nil)
3155
+ def initialize(memory=nil, volume=nil, period=nil, goodsnum=nil, zone=nil, uniqvpcid=nil, uniqsubnetid=nil, projectid=nil, port=nil, instancerole=nil, masterinstanceid=nil, engineversion=nil, password=nil, protectmode=nil, deploymode=nil, slavezone=nil, paramlist=nil, backupzone=nil, autorenewflag=nil, masterregion=nil, securitygroup=nil, rogroup=nil, instancename=nil, resourcetags=nil, deploygroupid=nil, clienttoken=nil, devicetype=nil, paramtemplateid=nil, alarmpolicylist=nil, instancenodes=nil, cpu=nil, autosyncflag=nil, cageid=nil, paramtemplatetype=nil, alarmpolicyidlist=nil, dryrun=nil, enginetype=nil, vips=nil, clustertopology=nil)
3140
3156
  @Memory = memory
3141
3157
  @Volume = volume
3142
3158
  @Period = period
@@ -3175,6 +3191,7 @@ module TencentCloud
3175
3191
  @DryRun = dryrun
3176
3192
  @EngineType = enginetype
3177
3193
  @Vips = vips
3194
+ @ClusterTopology = clustertopology
3178
3195
  end
3179
3196
 
3180
3197
  def deserialize(params)
@@ -3233,6 +3250,10 @@ module TencentCloud
3233
3250
  @DryRun = params['DryRun']
3234
3251
  @EngineType = params['EngineType']
3235
3252
  @Vips = params['Vips']
3253
+ unless params['ClusterTopology'].nil?
3254
+ @ClusterTopology = ClusterTopology.new
3255
+ @ClusterTopology.deserialize(params['ClusterTopology'])
3256
+ end
3236
3257
  end
3237
3258
  end
3238
3259
 
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.872
4
+ version: 3.0.873
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-07-24 00:00:00.000000000 Z
11
+ date: 2024-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common