tencentcloud-sdk-cdwch 3.0.530 → 3.0.531

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/v20200915/models.rb +214 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb7eb7b3910126027f0502fa73017f27360a2366
4
- data.tar.gz: 05c4648aa9ed95abdba039979cc8625375bd9bef
3
+ metadata.gz: e3efc0a53a08fb12146e983ae689a1f0623488d2
4
+ data.tar.gz: 9413b00f9c98248f3f90e8d46e2d5aa2c9bc624d
5
5
  SHA512:
6
- metadata.gz: ac2bf7b19a4f8f723e89a24a4292e89dd2bca0e15d0d26de75f56c533d96a77eb57b1527e94ba28b5d5cbae86b2516a5a5bd44eabb55fce0898c6762fbd39852
7
- data.tar.gz: ef62d73e622c8d45fcc34fd66f6c7319048a466aada5ae0cef5ada498716f875da92e4f2f7799e69e5d3f126a9fe20590dad653e54970866ba3944aba1e4a405
6
+ metadata.gz: 7f6165fa86002c745bbff3ae87d034535b66198465dec60dcfbc8a256d5798cbe9e85e733c7d07cea3dd45a9fa30e59cda2747d89450153b219b8c7dc03f5ed0
7
+ data.tar.gz: 95ed18de594f6775a329296e1be3e0d7c949a066b1dd76ee15bf93521adb9f1d717d4389a07815645067735fc1fd05d70f0b587049788be3c9a92481ed458797
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.530
1
+ 3.0.531
@@ -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: 数据库
@@ -1083,10 +1111,46 @@ module TencentCloud
1083
1111
  # @param CosMoveFactor: 冷热分层系数
1084
1112
  # 注意:此字段可能返回 null,表示取不到有效值。
1085
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
1086
1150
 
1087
- 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
1088
1152
 
1089
- 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)
1090
1154
  @InstanceId = instanceid
1091
1155
  @InstanceName = instancename
1092
1156
  @Status = status
@@ -1117,6 +1181,18 @@ module TencentCloud
1117
1181
  @RegionDesc = regiondesc
1118
1182
  @Eip = eip
1119
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
1120
1196
  end
1121
1197
 
1122
1198
  def deserialize(params)
@@ -1163,6 +1239,80 @@ module TencentCloud
1163
1239
  @RegionDesc = params['RegionDesc']
1164
1240
  @Eip = params['Eip']
1165
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']
1166
1316
  end
1167
1317
  end
1168
1318
 
@@ -1400,10 +1550,31 @@ module TencentCloud
1400
1550
  # @type DiskType: String
1401
1551
  # @param DiskDesc: 磁盘描述
1402
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
1403
1574
 
1404
- 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
1405
1576
 
1406
- 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)
1407
1578
  @Spec = spec
1408
1579
  @NodeSize = nodesize
1409
1580
  @Core = core
@@ -1411,6 +1582,13 @@ module TencentCloud
1411
1582
  @Disk = disk
1412
1583
  @DiskType = disktype
1413
1584
  @DiskDesc = diskdesc
1585
+ @AttachCBSSpec = attachcbsspec
1586
+ @SubProductType = subproducttype
1587
+ @SpecCore = speccore
1588
+ @SpecMemory = specmemory
1589
+ @DiskCount = diskcount
1590
+ @MaxDiskSize = maxdisksize
1591
+ @Encrypt = encrypt
1414
1592
  end
1415
1593
 
1416
1594
  def deserialize(params)
@@ -1421,6 +1599,16 @@ module TencentCloud
1421
1599
  @Disk = params['Disk']
1422
1600
  @DiskType = params['DiskType']
1423
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']
1424
1612
  end
1425
1613
  end
1426
1614
 
@@ -1749,6 +1937,28 @@ module TencentCloud
1749
1937
  end
1750
1938
  end
1751
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
+
1752
1962
  # 标签描述
1753
1963
  class Tag < TencentCloud::Common::AbstractModel
1754
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.530
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-15 00:00:00.000000000 Z
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