tencentcloud-sdk-cdwch 3.0.529 → 3.0.531
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200915/client.rb +24 -0
- data/lib/v20200915/models.rb +281 -6
- 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: e3efc0a53a08fb12146e983ae689a1f0623488d2
|
4
|
+
data.tar.gz: 9413b00f9c98248f3f90e8d46e2d5aa2c9bc624d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f6165fa86002c745bbff3ae87d034535b66198465dec60dcfbc8a256d5798cbe9e85e733c7d07cea3dd45a9fa30e59cda2747d89450153b219b8c7dc03f5ed0
|
7
|
+
data.tar.gz: 95ed18de594f6775a329296e1be3e0d7c949a066b1dd76ee15bf93521adb9f1d717d4389a07815645067735fc1fd05d70f0b587049788be3c9a92481ed458797
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.531
|
data/lib/v20200915/client.rb
CHANGED
@@ -197,6 +197,30 @@ module TencentCloud
|
|
197
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
198
|
end
|
199
199
|
|
200
|
+
# 集群vcluster列表
|
201
|
+
|
202
|
+
# @param request: Request instance for DescribeInstanceClusters.
|
203
|
+
# @type request: :class:`Tencentcloud::cdwch::V20200915::DescribeInstanceClustersRequest`
|
204
|
+
# @rtype: :class:`Tencentcloud::cdwch::V20200915::DescribeInstanceClustersResponse`
|
205
|
+
def DescribeInstanceClusters(request)
|
206
|
+
body = send_request('DescribeInstanceClusters', request.serialize)
|
207
|
+
response = JSON.parse(body)
|
208
|
+
if response['Response'].key?('Error') == false
|
209
|
+
model = DescribeInstanceClustersResponse.new
|
210
|
+
model.deserialize(response['Response'])
|
211
|
+
model
|
212
|
+
else
|
213
|
+
code = response['Response']['Error']['Code']
|
214
|
+
message = response['Response']['Error']['Message']
|
215
|
+
reqid = response['Response']['RequestId']
|
216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
217
|
+
end
|
218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
219
|
+
raise e
|
220
|
+
rescue StandardError => e
|
221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
|
+
end
|
223
|
+
|
200
224
|
# 在集群详情页面获取所有参数列表
|
201
225
|
|
202
226
|
# @param request: Request instance for DescribeInstanceKeyValConfigs.
|
data/lib/v20200915/models.rb
CHANGED
@@ -62,6 +62,34 @@ module TencentCloud
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
# 集群内节点的规格磁盘规格描述
|
66
|
+
class AttachCBSSpec < TencentCloud::Common::AbstractModel
|
67
|
+
# @param DiskType: 节点磁盘类型,例如“CLOUD_SSD”\"CLOUD_PREMIUM"
|
68
|
+
# @type DiskType: String
|
69
|
+
# @param DiskSize: 磁盘容量,单位G
|
70
|
+
# @type DiskSize: Integer
|
71
|
+
# @param DiskCount: 磁盘总数
|
72
|
+
# @type DiskCount: Integer
|
73
|
+
# @param DiskDesc: 描述
|
74
|
+
# @type DiskDesc: String
|
75
|
+
|
76
|
+
attr_accessor :DiskType, :DiskSize, :DiskCount, :DiskDesc
|
77
|
+
|
78
|
+
def initialize(disktype=nil, disksize=nil, diskcount=nil, diskdesc=nil)
|
79
|
+
@DiskType = disktype
|
80
|
+
@DiskSize = disksize
|
81
|
+
@DiskCount = diskcount
|
82
|
+
@DiskDesc = diskdesc
|
83
|
+
end
|
84
|
+
|
85
|
+
def deserialize(params)
|
86
|
+
@DiskType = params['DiskType']
|
87
|
+
@DiskSize = params['DiskSize']
|
88
|
+
@DiskCount = params['DiskCount']
|
89
|
+
@DiskDesc = params['DiskDesc']
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
65
93
|
# 备份表信息
|
66
94
|
class BackupTableContent < TencentCloud::Common::AbstractModel
|
67
95
|
# @param Database: 数据库
|
@@ -183,6 +211,28 @@ module TencentCloud
|
|
183
211
|
end
|
184
212
|
end
|
185
213
|
|
214
|
+
# clickhouse vcluster信息
|
215
|
+
class ClusterInfo < TencentCloud::Common::AbstractModel
|
216
|
+
# @param ClusterName: vcluster名字
|
217
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
218
|
+
# @type ClusterName: String
|
219
|
+
# @param NodeIps: 当前cluster的IP列表
|
220
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
221
|
+
# @type NodeIps: Array
|
222
|
+
|
223
|
+
attr_accessor :ClusterName, :NodeIps
|
224
|
+
|
225
|
+
def initialize(clustername=nil, nodeips=nil)
|
226
|
+
@ClusterName = clustername
|
227
|
+
@NodeIps = nodeips
|
228
|
+
end
|
229
|
+
|
230
|
+
def deserialize(params)
|
231
|
+
@ClusterName = params['ClusterName']
|
232
|
+
@NodeIps = params['NodeIps']
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
186
236
|
# 配置文件修改信息
|
187
237
|
class ConfigSubmitContext < TencentCloud::Common::AbstractModel
|
188
238
|
# @param FileName: 配置文件名称
|
@@ -544,6 +594,49 @@ module TencentCloud
|
|
544
594
|
end
|
545
595
|
end
|
546
596
|
|
597
|
+
# DescribeInstanceClusters请求参数结构体
|
598
|
+
class DescribeInstanceClustersRequest < TencentCloud::Common::AbstractModel
|
599
|
+
# @param InstanceId: 实例ID
|
600
|
+
# @type InstanceId: String
|
601
|
+
|
602
|
+
attr_accessor :InstanceId
|
603
|
+
|
604
|
+
def initialize(instanceid=nil)
|
605
|
+
@InstanceId = instanceid
|
606
|
+
end
|
607
|
+
|
608
|
+
def deserialize(params)
|
609
|
+
@InstanceId = params['InstanceId']
|
610
|
+
end
|
611
|
+
end
|
612
|
+
|
613
|
+
# DescribeInstanceClusters返回参数结构体
|
614
|
+
class DescribeInstanceClustersResponse < TencentCloud::Common::AbstractModel
|
615
|
+
# @param Clusters: cluster列表
|
616
|
+
# @type Clusters: Array
|
617
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
618
|
+
# @type RequestId: String
|
619
|
+
|
620
|
+
attr_accessor :Clusters, :RequestId
|
621
|
+
|
622
|
+
def initialize(clusters=nil, requestid=nil)
|
623
|
+
@Clusters = clusters
|
624
|
+
@RequestId = requestid
|
625
|
+
end
|
626
|
+
|
627
|
+
def deserialize(params)
|
628
|
+
unless params['Clusters'].nil?
|
629
|
+
@Clusters = []
|
630
|
+
params['Clusters'].each do |i|
|
631
|
+
clusterinfo_tmp = ClusterInfo.new
|
632
|
+
clusterinfo_tmp.deserialize(i)
|
633
|
+
@Clusters << clusterinfo_tmp
|
634
|
+
end
|
635
|
+
end
|
636
|
+
@RequestId = params['RequestId']
|
637
|
+
end
|
638
|
+
end
|
639
|
+
|
547
640
|
# DescribeInstanceKeyValConfigs请求参数结构体
|
548
641
|
class DescribeInstanceKeyValConfigsRequest < TencentCloud::Common::AbstractModel
|
549
642
|
# @param InstanceId: 集群实例ID
|
@@ -1018,10 +1111,46 @@ module TencentCloud
|
|
1018
1111
|
# @param CosMoveFactor: 冷热分层系数
|
1019
1112
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1020
1113
|
# @type CosMoveFactor: Integer
|
1114
|
+
# @param Kind: external/local/yunti
|
1115
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1116
|
+
# @type Kind: String
|
1117
|
+
# @param IsElastic: 是否弹性ck
|
1118
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1119
|
+
# @type IsElastic: Boolean
|
1120
|
+
# @param InstanceStateInfo: 集群详细状态
|
1121
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1122
|
+
# @type InstanceStateInfo: :class:`Tencentcloud::Cdwch.v20200915.models.InstanceStateInfo`
|
1123
|
+
# @param HAZk: ZK高可用
|
1124
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1125
|
+
# @type HAZk: Boolean
|
1126
|
+
# @param MountDiskType: 挂载盘,默认0:没有类型;1:裸盘;2:lvm
|
1127
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1128
|
+
# @type MountDiskType: Integer
|
1129
|
+
# @param CHProxyVip: 无
|
1130
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1131
|
+
# @type CHProxyVip: String
|
1132
|
+
# @param CosBucketName: cos buket的名字
|
1133
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1134
|
+
# @type CosBucketName: String
|
1135
|
+
# @param CanAttachCbs: 是否可以挂载云盘
|
1136
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1137
|
+
# @type CanAttachCbs: Boolean
|
1138
|
+
# @param CanAttachCbsLvm: 是否可以挂载云盘阵列
|
1139
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1140
|
+
# @type CanAttachCbsLvm: Boolean
|
1141
|
+
# @param CanAttachCos: 是否可以挂载cos
|
1142
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1143
|
+
# @type CanAttachCos: Boolean
|
1144
|
+
# @param Components: 服务信息
|
1145
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1146
|
+
# @type Components: Array
|
1147
|
+
# @param UpgradeVersions: 可升级的内核版本
|
1148
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1149
|
+
# @type UpgradeVersions: String
|
1021
1150
|
|
1022
|
-
attr_accessor :InstanceId, :InstanceName, :Status, :Version, :Region, :Zone, :VpcId, :SubnetId, :PayMode, :CreateTime, :ExpireTime, :MasterSummary, :CommonSummary, :HA, :AccessInfo, :Id, :RegionId, :ZoneDesc, :FlowMsg, :StatusDesc, :RenewFlag, :Tags, :Monitor, :HasClsTopic, :ClsTopicId, :ClsLogSetId, :EnableXMLConfig, :RegionDesc, :Eip, :CosMoveFactor
|
1151
|
+
attr_accessor :InstanceId, :InstanceName, :Status, :Version, :Region, :Zone, :VpcId, :SubnetId, :PayMode, :CreateTime, :ExpireTime, :MasterSummary, :CommonSummary, :HA, :AccessInfo, :Id, :RegionId, :ZoneDesc, :FlowMsg, :StatusDesc, :RenewFlag, :Tags, :Monitor, :HasClsTopic, :ClsTopicId, :ClsLogSetId, :EnableXMLConfig, :RegionDesc, :Eip, :CosMoveFactor, :Kind, :IsElastic, :InstanceStateInfo, :HAZk, :MountDiskType, :CHProxyVip, :CosBucketName, :CanAttachCbs, :CanAttachCbsLvm, :CanAttachCos, :Components, :UpgradeVersions
|
1023
1152
|
|
1024
|
-
def initialize(instanceid=nil, instancename=nil, status=nil, version=nil, region=nil, zone=nil, vpcid=nil, subnetid=nil, paymode=nil, createtime=nil, expiretime=nil, mastersummary=nil, commonsummary=nil, ha=nil, accessinfo=nil, id=nil, regionid=nil, zonedesc=nil, flowmsg=nil, statusdesc=nil, renewflag=nil, tags=nil, monitor=nil, hasclstopic=nil, clstopicid=nil, clslogsetid=nil, enablexmlconfig=nil, regiondesc=nil, eip=nil, cosmovefactor=nil)
|
1153
|
+
def initialize(instanceid=nil, instancename=nil, status=nil, version=nil, region=nil, zone=nil, vpcid=nil, subnetid=nil, paymode=nil, createtime=nil, expiretime=nil, mastersummary=nil, commonsummary=nil, ha=nil, accessinfo=nil, id=nil, regionid=nil, zonedesc=nil, flowmsg=nil, statusdesc=nil, renewflag=nil, tags=nil, monitor=nil, hasclstopic=nil, clstopicid=nil, clslogsetid=nil, enablexmlconfig=nil, regiondesc=nil, eip=nil, cosmovefactor=nil, kind=nil, iselastic=nil, instancestateinfo=nil, hazk=nil, mountdisktype=nil, chproxyvip=nil, cosbucketname=nil, canattachcbs=nil, canattachcbslvm=nil, canattachcos=nil, components=nil, upgradeversions=nil)
|
1025
1154
|
@InstanceId = instanceid
|
1026
1155
|
@InstanceName = instancename
|
1027
1156
|
@Status = status
|
@@ -1052,6 +1181,18 @@ module TencentCloud
|
|
1052
1181
|
@RegionDesc = regiondesc
|
1053
1182
|
@Eip = eip
|
1054
1183
|
@CosMoveFactor = cosmovefactor
|
1184
|
+
@Kind = kind
|
1185
|
+
@IsElastic = iselastic
|
1186
|
+
@InstanceStateInfo = instancestateinfo
|
1187
|
+
@HAZk = hazk
|
1188
|
+
@MountDiskType = mountdisktype
|
1189
|
+
@CHProxyVip = chproxyvip
|
1190
|
+
@CosBucketName = cosbucketname
|
1191
|
+
@CanAttachCbs = canattachcbs
|
1192
|
+
@CanAttachCbsLvm = canattachcbslvm
|
1193
|
+
@CanAttachCos = canattachcos
|
1194
|
+
@Components = components
|
1195
|
+
@UpgradeVersions = upgradeversions
|
1055
1196
|
end
|
1056
1197
|
|
1057
1198
|
def deserialize(params)
|
@@ -1098,6 +1239,80 @@ module TencentCloud
|
|
1098
1239
|
@RegionDesc = params['RegionDesc']
|
1099
1240
|
@Eip = params['Eip']
|
1100
1241
|
@CosMoveFactor = params['CosMoveFactor']
|
1242
|
+
@Kind = params['Kind']
|
1243
|
+
@IsElastic = params['IsElastic']
|
1244
|
+
unless params['InstanceStateInfo'].nil?
|
1245
|
+
@InstanceStateInfo = InstanceStateInfo.new
|
1246
|
+
@InstanceStateInfo.deserialize(params['InstanceStateInfo'])
|
1247
|
+
end
|
1248
|
+
@HAZk = params['HAZk']
|
1249
|
+
@MountDiskType = params['MountDiskType']
|
1250
|
+
@CHProxyVip = params['CHProxyVip']
|
1251
|
+
@CosBucketName = params['CosBucketName']
|
1252
|
+
@CanAttachCbs = params['CanAttachCbs']
|
1253
|
+
@CanAttachCbsLvm = params['CanAttachCbsLvm']
|
1254
|
+
@CanAttachCos = params['CanAttachCos']
|
1255
|
+
unless params['Components'].nil?
|
1256
|
+
@Components = []
|
1257
|
+
params['Components'].each do |i|
|
1258
|
+
serviceinfo_tmp = ServiceInfo.new
|
1259
|
+
serviceinfo_tmp.deserialize(i)
|
1260
|
+
@Components << serviceinfo_tmp
|
1261
|
+
end
|
1262
|
+
end
|
1263
|
+
@UpgradeVersions = params['UpgradeVersions']
|
1264
|
+
end
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
# 集群状态抽象后的结构体
|
1268
|
+
class InstanceStateInfo < TencentCloud::Common::AbstractModel
|
1269
|
+
# @param InstanceState: 集群状态,例如:Serving
|
1270
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1271
|
+
# @type InstanceState: String
|
1272
|
+
# @param FlowCreateTime: 集群操作创建时间
|
1273
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1274
|
+
# @type FlowCreateTime: String
|
1275
|
+
# @param FlowName: 集群操作名称
|
1276
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1277
|
+
# @type FlowName: String
|
1278
|
+
# @param FlowProgress: 集群操作进度
|
1279
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1280
|
+
# @type FlowProgress: Integer
|
1281
|
+
# @param InstanceStateDesc: 集群状态描述,例如:运行中
|
1282
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1283
|
+
# @type InstanceStateDesc: String
|
1284
|
+
# @param FlowMsg: 集群流程错误信息,例如:“创建失败,资源不足”
|
1285
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1286
|
+
# @type FlowMsg: String
|
1287
|
+
# @param ProcessName: 当前步骤的名称,例如:”购买资源中“
|
1288
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1289
|
+
# @type ProcessName: String
|
1290
|
+
# @param RequestId: 请求id
|
1291
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1292
|
+
# @type RequestId: String
|
1293
|
+
|
1294
|
+
attr_accessor :InstanceState, :FlowCreateTime, :FlowName, :FlowProgress, :InstanceStateDesc, :FlowMsg, :ProcessName, :RequestId
|
1295
|
+
|
1296
|
+
def initialize(instancestate=nil, flowcreatetime=nil, flowname=nil, flowprogress=nil, instancestatedesc=nil, flowmsg=nil, processname=nil, requestid=nil)
|
1297
|
+
@InstanceState = instancestate
|
1298
|
+
@FlowCreateTime = flowcreatetime
|
1299
|
+
@FlowName = flowname
|
1300
|
+
@FlowProgress = flowprogress
|
1301
|
+
@InstanceStateDesc = instancestatedesc
|
1302
|
+
@FlowMsg = flowmsg
|
1303
|
+
@ProcessName = processname
|
1304
|
+
@RequestId = requestid
|
1305
|
+
end
|
1306
|
+
|
1307
|
+
def deserialize(params)
|
1308
|
+
@InstanceState = params['InstanceState']
|
1309
|
+
@FlowCreateTime = params['FlowCreateTime']
|
1310
|
+
@FlowName = params['FlowName']
|
1311
|
+
@FlowProgress = params['FlowProgress']
|
1312
|
+
@InstanceStateDesc = params['InstanceStateDesc']
|
1313
|
+
@FlowMsg = params['FlowMsg']
|
1314
|
+
@ProcessName = params['ProcessName']
|
1315
|
+
@RequestId = params['RequestId']
|
1101
1316
|
end
|
1102
1317
|
end
|
1103
1318
|
|
@@ -1335,10 +1550,31 @@ module TencentCloud
|
|
1335
1550
|
# @type DiskType: String
|
1336
1551
|
# @param DiskDesc: 磁盘描述
|
1337
1552
|
# @type DiskDesc: String
|
1553
|
+
# @param AttachCBSSpec: 挂载云盘信息
|
1554
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1555
|
+
# @type AttachCBSSpec: :class:`Tencentcloud::Cdwch.v20200915.models.AttachCBSSpec`
|
1556
|
+
# @param SubProductType: 子产品类型
|
1557
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1558
|
+
# @type SubProductType: String
|
1559
|
+
# @param SpecCore: 规格对应的核数
|
1560
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1561
|
+
# @type SpecCore: Integer
|
1562
|
+
# @param SpecMemory: 规格对应的内存大小
|
1563
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1564
|
+
# @type SpecMemory: Integer
|
1565
|
+
# @param DiskCount: 磁盘的数量
|
1566
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1567
|
+
# @type DiskCount: Integer
|
1568
|
+
# @param MaxDiskSize: 磁盘的最大大小
|
1569
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1570
|
+
# @type MaxDiskSize: Integer
|
1571
|
+
# @param Encrypt: 是否为加密云盘
|
1572
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1573
|
+
# @type Encrypt: Integer
|
1338
1574
|
|
1339
|
-
attr_accessor :Spec, :NodeSize, :Core, :Memory, :Disk, :DiskType, :DiskDesc
|
1575
|
+
attr_accessor :Spec, :NodeSize, :Core, :Memory, :Disk, :DiskType, :DiskDesc, :AttachCBSSpec, :SubProductType, :SpecCore, :SpecMemory, :DiskCount, :MaxDiskSize, :Encrypt
|
1340
1576
|
|
1341
|
-
def initialize(spec=nil, nodesize=nil, core=nil, memory=nil, disk=nil, disktype=nil, diskdesc=nil)
|
1577
|
+
def initialize(spec=nil, nodesize=nil, core=nil, memory=nil, disk=nil, disktype=nil, diskdesc=nil, attachcbsspec=nil, subproducttype=nil, speccore=nil, specmemory=nil, diskcount=nil, maxdisksize=nil, encrypt=nil)
|
1342
1578
|
@Spec = spec
|
1343
1579
|
@NodeSize = nodesize
|
1344
1580
|
@Core = core
|
@@ -1346,6 +1582,13 @@ module TencentCloud
|
|
1346
1582
|
@Disk = disk
|
1347
1583
|
@DiskType = disktype
|
1348
1584
|
@DiskDesc = diskdesc
|
1585
|
+
@AttachCBSSpec = attachcbsspec
|
1586
|
+
@SubProductType = subproducttype
|
1587
|
+
@SpecCore = speccore
|
1588
|
+
@SpecMemory = specmemory
|
1589
|
+
@DiskCount = diskcount
|
1590
|
+
@MaxDiskSize = maxdisksize
|
1591
|
+
@Encrypt = encrypt
|
1349
1592
|
end
|
1350
1593
|
|
1351
1594
|
def deserialize(params)
|
@@ -1356,6 +1599,16 @@ module TencentCloud
|
|
1356
1599
|
@Disk = params['Disk']
|
1357
1600
|
@DiskType = params['DiskType']
|
1358
1601
|
@DiskDesc = params['DiskDesc']
|
1602
|
+
unless params['AttachCBSSpec'].nil?
|
1603
|
+
@AttachCBSSpec = AttachCBSSpec.new
|
1604
|
+
@AttachCBSSpec.deserialize(params['AttachCBSSpec'])
|
1605
|
+
end
|
1606
|
+
@SubProductType = params['SubProductType']
|
1607
|
+
@SpecCore = params['SpecCore']
|
1608
|
+
@SpecMemory = params['SpecMemory']
|
1609
|
+
@DiskCount = params['DiskCount']
|
1610
|
+
@MaxDiskSize = params['MaxDiskSize']
|
1611
|
+
@Encrypt = params['Encrypt']
|
1359
1612
|
end
|
1360
1613
|
end
|
1361
1614
|
|
@@ -1533,9 +1786,9 @@ module TencentCloud
|
|
1533
1786
|
# @type ScaleOutCluster: String
|
1534
1787
|
# @param UserSubnetIPNum: 子网剩余ip数量,用于判断当前实例子网剩余ip数是否能扩容。需要根据实际填写
|
1535
1788
|
# @type UserSubnetIPNum: Integer
|
1536
|
-
# @param ScaleOutNodeIp: 同步元数据节点IP (uip
|
1789
|
+
# @param ScaleOutNodeIp: 同步元数据节点IP (uip),扩容的时候必填
|
1537
1790
|
# @type ScaleOutNodeIp: String
|
1538
|
-
# @param ReduceShardInfo: 缩容节点shard的节点IP (uip),其中ha集群需要主副节点ip
|
1791
|
+
# @param ReduceShardInfo: 缩容节点shard的节点IP (uip),其中ha集群需要主副节点ip都传入以逗号分隔,缩容的时候必填
|
1539
1792
|
# @type ReduceShardInfo: Array
|
1540
1793
|
|
1541
1794
|
attr_accessor :InstanceId, :Type, :NodeCount, :ScaleOutCluster, :UserSubnetIPNum, :ScaleOutNodeIp, :ReduceShardInfo
|
@@ -1684,6 +1937,28 @@ module TencentCloud
|
|
1684
1937
|
end
|
1685
1938
|
end
|
1686
1939
|
|
1940
|
+
# 服务详细信息描述。
|
1941
|
+
class ServiceInfo < TencentCloud::Common::AbstractModel
|
1942
|
+
# @param Name: 服务名称
|
1943
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1944
|
+
# @type Name: String
|
1945
|
+
# @param Version: 服务的版本
|
1946
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1947
|
+
# @type Version: String
|
1948
|
+
|
1949
|
+
attr_accessor :Name, :Version
|
1950
|
+
|
1951
|
+
def initialize(name=nil, version=nil)
|
1952
|
+
@Name = name
|
1953
|
+
@Version = version
|
1954
|
+
end
|
1955
|
+
|
1956
|
+
def deserialize(params)
|
1957
|
+
@Name = params['Name']
|
1958
|
+
@Version = params['Version']
|
1959
|
+
end
|
1960
|
+
end
|
1961
|
+
|
1687
1962
|
# 标签描述
|
1688
1963
|
class Tag < TencentCloud::Common::AbstractModel
|
1689
1964
|
# @param TagKey: 标签的键
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cdwch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.531
|
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-03-
|
11
|
+
date: 2023-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|