tencentcloud-sdk-python-cdwch 3.0.851__tar.gz → 3.0.853__tar.gz

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.
Files changed (14) hide show
  1. {tencentcloud-sdk-python-cdwch-3.0.851 → tencentcloud-sdk-python-cdwch-3.0.853}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-cdwch-3.0.851 → tencentcloud-sdk-python-cdwch-3.0.853}/tencentcloud/__init__.py +1 -1
  3. {tencentcloud-sdk-python-cdwch-3.0.851 → tencentcloud-sdk-python-cdwch-3.0.853}/tencentcloud/cdwch/v20200915/models.py +230 -0
  4. {tencentcloud-sdk-python-cdwch-3.0.851 → tencentcloud-sdk-python-cdwch-3.0.853}/tencentcloud_sdk_python_cdwch.egg-info/PKG-INFO +1 -1
  5. {tencentcloud-sdk-python-cdwch-3.0.851 → tencentcloud-sdk-python-cdwch-3.0.853}/README.rst +0 -0
  6. {tencentcloud-sdk-python-cdwch-3.0.851 → tencentcloud-sdk-python-cdwch-3.0.853}/setup.cfg +0 -0
  7. {tencentcloud-sdk-python-cdwch-3.0.851 → tencentcloud-sdk-python-cdwch-3.0.853}/setup.py +0 -0
  8. {tencentcloud-sdk-python-cdwch-3.0.851 → tencentcloud-sdk-python-cdwch-3.0.853}/tencentcloud/cdwch/__init__.py +0 -0
  9. {tencentcloud-sdk-python-cdwch-3.0.851 → tencentcloud-sdk-python-cdwch-3.0.853}/tencentcloud/cdwch/v20200915/__init__.py +0 -0
  10. {tencentcloud-sdk-python-cdwch-3.0.851 → tencentcloud-sdk-python-cdwch-3.0.853}/tencentcloud/cdwch/v20200915/cdwch_client.py +0 -0
  11. {tencentcloud-sdk-python-cdwch-3.0.851 → tencentcloud-sdk-python-cdwch-3.0.853}/tencentcloud/cdwch/v20200915/errorcodes.py +0 -0
  12. {tencentcloud-sdk-python-cdwch-3.0.851 → tencentcloud-sdk-python-cdwch-3.0.853}/tencentcloud_sdk_python_cdwch.egg-info/SOURCES.txt +0 -0
  13. {tencentcloud-sdk-python-cdwch-3.0.851 → tencentcloud-sdk-python-cdwch-3.0.853}/tencentcloud_sdk_python_cdwch.egg-info/dependency_links.txt +0 -0
  14. {tencentcloud-sdk-python-cdwch-3.0.851 → tencentcloud-sdk-python-cdwch-3.0.853}/tencentcloud_sdk_python_cdwch.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-cdwch
3
- Version: 3.0.851
3
+ Version: 3.0.853
4
4
  Summary: Tencent Cloud Cdwch SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.851'
17
+ __version__ = '3.0.853'
@@ -71,6 +71,42 @@ class ActionAlterCkUserResponse(AbstractModel):
71
71
  self.RequestId = params.get("RequestId")
72
72
 
73
73
 
74
+ class AttachCBSSpec(AbstractModel):
75
+ """集群内节点的规格磁盘规格描述
76
+
77
+ """
78
+
79
+ def __init__(self):
80
+ r"""
81
+ :param DiskType: 节点磁盘类型,例如“CLOUD_SSD”\"CLOUD_PREMIUM"
82
+ :type DiskType: str
83
+ :param DiskSize: 磁盘容量,单位G
84
+ :type DiskSize: int
85
+ :param DiskCount: 磁盘总数
86
+ :type DiskCount: int
87
+ :param DiskDesc: 描述
88
+ :type DiskDesc: str
89
+ """
90
+ self.DiskType = None
91
+ self.DiskSize = None
92
+ self.DiskCount = None
93
+ self.DiskDesc = None
94
+
95
+
96
+ def _deserialize(self, params):
97
+ self.DiskType = params.get("DiskType")
98
+ self.DiskSize = params.get("DiskSize")
99
+ self.DiskCount = params.get("DiskCount")
100
+ self.DiskDesc = params.get("DiskDesc")
101
+ memeber_set = set(params.keys())
102
+ for name, value in vars(self).items():
103
+ if name in memeber_set:
104
+ memeber_set.remove(name)
105
+ if len(memeber_set) > 0:
106
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
107
+
108
+
109
+
74
110
  class BackupTableContent(AbstractModel):
75
111
  """备份表信息
76
112
 
@@ -1241,6 +1277,42 @@ Modify 集群变更中;
1241
1277
  :param CosMoveFactor: 冷热分层系数
1242
1278
  注意:此字段可能返回 null,表示取不到有效值。
1243
1279
  :type CosMoveFactor: int
1280
+ :param Kind: external/local/yunti
1281
+ 注意:此字段可能返回 null,表示取不到有效值。
1282
+ :type Kind: str
1283
+ :param IsElastic: 是否弹性ck
1284
+ 注意:此字段可能返回 null,表示取不到有效值。
1285
+ :type IsElastic: bool
1286
+ :param InstanceStateInfo: 集群详细状态
1287
+ 注意:此字段可能返回 null,表示取不到有效值。
1288
+ :type InstanceStateInfo: :class:`tencentcloud.cdwch.v20200915.models.InstanceStateInfo`
1289
+ :param HAZk: ZK高可用
1290
+ 注意:此字段可能返回 null,表示取不到有效值。
1291
+ :type HAZk: bool
1292
+ :param MountDiskType: 挂载盘,默认0:没有类型;1:裸盘;2:lvm
1293
+ 注意:此字段可能返回 null,表示取不到有效值。
1294
+ :type MountDiskType: int
1295
+ :param CHProxyVip: 无
1296
+ 注意:此字段可能返回 null,表示取不到有效值。
1297
+ :type CHProxyVip: str
1298
+ :param CosBucketName: cos buket的名字
1299
+ 注意:此字段可能返回 null,表示取不到有效值。
1300
+ :type CosBucketName: str
1301
+ :param CanAttachCbs: 是否可以挂载云盘
1302
+ 注意:此字段可能返回 null,表示取不到有效值。
1303
+ :type CanAttachCbs: bool
1304
+ :param CanAttachCbsLvm: 是否可以挂载云盘阵列
1305
+ 注意:此字段可能返回 null,表示取不到有效值。
1306
+ :type CanAttachCbsLvm: bool
1307
+ :param CanAttachCos: 是否可以挂载cos
1308
+ 注意:此字段可能返回 null,表示取不到有效值。
1309
+ :type CanAttachCos: bool
1310
+ :param Components: 服务信息
1311
+ 注意:此字段可能返回 null,表示取不到有效值。
1312
+ :type Components: list of ServiceInfo
1313
+ :param UpgradeVersions: 可升级的内核版本
1314
+ 注意:此字段可能返回 null,表示取不到有效值。
1315
+ :type UpgradeVersions: str
1244
1316
  """
1245
1317
  self.InstanceId = None
1246
1318
  self.InstanceName = None
@@ -1272,6 +1344,18 @@ Modify 集群变更中;
1272
1344
  self.RegionDesc = None
1273
1345
  self.Eip = None
1274
1346
  self.CosMoveFactor = None
1347
+ self.Kind = None
1348
+ self.IsElastic = None
1349
+ self.InstanceStateInfo = None
1350
+ self.HAZk = None
1351
+ self.MountDiskType = None
1352
+ self.CHProxyVip = None
1353
+ self.CosBucketName = None
1354
+ self.CanAttachCbs = None
1355
+ self.CanAttachCbsLvm = None
1356
+ self.CanAttachCos = None
1357
+ self.Components = None
1358
+ self.UpgradeVersions = None
1275
1359
 
1276
1360
 
1277
1361
  def _deserialize(self, params):
@@ -1314,6 +1398,85 @@ Modify 集群变更中;
1314
1398
  self.RegionDesc = params.get("RegionDesc")
1315
1399
  self.Eip = params.get("Eip")
1316
1400
  self.CosMoveFactor = params.get("CosMoveFactor")
1401
+ self.Kind = params.get("Kind")
1402
+ self.IsElastic = params.get("IsElastic")
1403
+ if params.get("InstanceStateInfo") is not None:
1404
+ self.InstanceStateInfo = InstanceStateInfo()
1405
+ self.InstanceStateInfo._deserialize(params.get("InstanceStateInfo"))
1406
+ self.HAZk = params.get("HAZk")
1407
+ self.MountDiskType = params.get("MountDiskType")
1408
+ self.CHProxyVip = params.get("CHProxyVip")
1409
+ self.CosBucketName = params.get("CosBucketName")
1410
+ self.CanAttachCbs = params.get("CanAttachCbs")
1411
+ self.CanAttachCbsLvm = params.get("CanAttachCbsLvm")
1412
+ self.CanAttachCos = params.get("CanAttachCos")
1413
+ if params.get("Components") is not None:
1414
+ self.Components = []
1415
+ for item in params.get("Components"):
1416
+ obj = ServiceInfo()
1417
+ obj._deserialize(item)
1418
+ self.Components.append(obj)
1419
+ self.UpgradeVersions = params.get("UpgradeVersions")
1420
+ memeber_set = set(params.keys())
1421
+ for name, value in vars(self).items():
1422
+ if name in memeber_set:
1423
+ memeber_set.remove(name)
1424
+ if len(memeber_set) > 0:
1425
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1426
+
1427
+
1428
+
1429
+ class InstanceStateInfo(AbstractModel):
1430
+ """集群状态抽象后的结构体
1431
+
1432
+ """
1433
+
1434
+ def __init__(self):
1435
+ r"""
1436
+ :param InstanceState: 集群状态,例如:Serving
1437
+ 注意:此字段可能返回 null,表示取不到有效值。
1438
+ :type InstanceState: str
1439
+ :param FlowCreateTime: 集群操作创建时间
1440
+ 注意:此字段可能返回 null,表示取不到有效值。
1441
+ :type FlowCreateTime: str
1442
+ :param FlowName: 集群操作名称
1443
+ 注意:此字段可能返回 null,表示取不到有效值。
1444
+ :type FlowName: str
1445
+ :param FlowProgress: 集群操作进度
1446
+ 注意:此字段可能返回 null,表示取不到有效值。
1447
+ :type FlowProgress: int
1448
+ :param InstanceStateDesc: 集群状态描述,例如:运行中
1449
+ 注意:此字段可能返回 null,表示取不到有效值。
1450
+ :type InstanceStateDesc: str
1451
+ :param FlowMsg: 集群流程错误信息,例如:“创建失败,资源不足”
1452
+ 注意:此字段可能返回 null,表示取不到有效值。
1453
+ :type FlowMsg: str
1454
+ :param ProcessName: 当前步骤的名称,例如:”购买资源中“
1455
+ 注意:此字段可能返回 null,表示取不到有效值。
1456
+ :type ProcessName: str
1457
+ :param RequestId: 请求id
1458
+ 注意:此字段可能返回 null,表示取不到有效值。
1459
+ :type RequestId: str
1460
+ """
1461
+ self.InstanceState = None
1462
+ self.FlowCreateTime = None
1463
+ self.FlowName = None
1464
+ self.FlowProgress = None
1465
+ self.InstanceStateDesc = None
1466
+ self.FlowMsg = None
1467
+ self.ProcessName = None
1468
+ self.RequestId = None
1469
+
1470
+
1471
+ def _deserialize(self, params):
1472
+ self.InstanceState = params.get("InstanceState")
1473
+ self.FlowCreateTime = params.get("FlowCreateTime")
1474
+ self.FlowName = params.get("FlowName")
1475
+ self.FlowProgress = params.get("FlowProgress")
1476
+ self.InstanceStateDesc = params.get("InstanceStateDesc")
1477
+ self.FlowMsg = params.get("FlowMsg")
1478
+ self.ProcessName = params.get("ProcessName")
1479
+ self.RequestId = params.get("RequestId")
1317
1480
  memeber_set = set(params.keys())
1318
1481
  for name, value in vars(self).items():
1319
1482
  if name in memeber_set:
@@ -1581,6 +1744,27 @@ class NodesSummary(AbstractModel):
1581
1744
  :type DiskType: str
1582
1745
  :param DiskDesc: 磁盘描述
1583
1746
  :type DiskDesc: str
1747
+ :param AttachCBSSpec: 挂载云盘信息
1748
+ 注意:此字段可能返回 null,表示取不到有效值。
1749
+ :type AttachCBSSpec: :class:`tencentcloud.cdwch.v20200915.models.AttachCBSSpec`
1750
+ :param SubProductType: 子产品类型
1751
+ 注意:此字段可能返回 null,表示取不到有效值。
1752
+ :type SubProductType: str
1753
+ :param SpecCore: 规格对应的核数
1754
+ 注意:此字段可能返回 null,表示取不到有效值。
1755
+ :type SpecCore: int
1756
+ :param SpecMemory: 规格对应的内存大小
1757
+ 注意:此字段可能返回 null,表示取不到有效值。
1758
+ :type SpecMemory: int
1759
+ :param DiskCount: 磁盘的数量
1760
+ 注意:此字段可能返回 null,表示取不到有效值。
1761
+ :type DiskCount: int
1762
+ :param MaxDiskSize: 磁盘的最大大小
1763
+ 注意:此字段可能返回 null,表示取不到有效值。
1764
+ :type MaxDiskSize: int
1765
+ :param Encrypt: 是否为加密云盘
1766
+ 注意:此字段可能返回 null,表示取不到有效值。
1767
+ :type Encrypt: int
1584
1768
  """
1585
1769
  self.Spec = None
1586
1770
  self.NodeSize = None
@@ -1589,6 +1773,13 @@ class NodesSummary(AbstractModel):
1589
1773
  self.Disk = None
1590
1774
  self.DiskType = None
1591
1775
  self.DiskDesc = None
1776
+ self.AttachCBSSpec = None
1777
+ self.SubProductType = None
1778
+ self.SpecCore = None
1779
+ self.SpecMemory = None
1780
+ self.DiskCount = None
1781
+ self.MaxDiskSize = None
1782
+ self.Encrypt = None
1592
1783
 
1593
1784
 
1594
1785
  def _deserialize(self, params):
@@ -1599,6 +1790,15 @@ class NodesSummary(AbstractModel):
1599
1790
  self.Disk = params.get("Disk")
1600
1791
  self.DiskType = params.get("DiskType")
1601
1792
  self.DiskDesc = params.get("DiskDesc")
1793
+ if params.get("AttachCBSSpec") is not None:
1794
+ self.AttachCBSSpec = AttachCBSSpec()
1795
+ self.AttachCBSSpec._deserialize(params.get("AttachCBSSpec"))
1796
+ self.SubProductType = params.get("SubProductType")
1797
+ self.SpecCore = params.get("SpecCore")
1798
+ self.SpecMemory = params.get("SpecMemory")
1799
+ self.DiskCount = params.get("DiskCount")
1800
+ self.MaxDiskSize = params.get("MaxDiskSize")
1801
+ self.Encrypt = params.get("Encrypt")
1602
1802
  memeber_set = set(params.keys())
1603
1803
  for name, value in vars(self).items():
1604
1804
  if name in memeber_set:
@@ -1983,6 +2183,36 @@ class ScheduleStrategy(AbstractModel):
1983
2183
 
1984
2184
 
1985
2185
 
2186
+ class ServiceInfo(AbstractModel):
2187
+ """服务详细信息描述。
2188
+
2189
+ """
2190
+
2191
+ def __init__(self):
2192
+ r"""
2193
+ :param Name: 服务名称
2194
+ 注意:此字段可能返回 null,表示取不到有效值。
2195
+ :type Name: str
2196
+ :param Version: 服务的版本
2197
+ 注意:此字段可能返回 null,表示取不到有效值。
2198
+ :type Version: str
2199
+ """
2200
+ self.Name = None
2201
+ self.Version = None
2202
+
2203
+
2204
+ def _deserialize(self, params):
2205
+ self.Name = params.get("Name")
2206
+ self.Version = params.get("Version")
2207
+ memeber_set = set(params.keys())
2208
+ for name, value in vars(self).items():
2209
+ if name in memeber_set:
2210
+ memeber_set.remove(name)
2211
+ if len(memeber_set) > 0:
2212
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2213
+
2214
+
2215
+
1986
2216
  class Tag(AbstractModel):
1987
2217
  """标签描述
1988
2218
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-cdwch
3
- Version: 3.0.851
3
+ Version: 3.0.853
4
4
  Summary: Tencent Cloud Cdwch SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud