tencentcloud-sdk-python-cdwch 3.0.850__tar.gz → 3.0.852__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.
- {tencentcloud-sdk-python-cdwch-3.0.850 → tencentcloud-sdk-python-cdwch-3.0.852}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cdwch-3.0.850 → tencentcloud-sdk-python-cdwch-3.0.852}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cdwch-3.0.850 → tencentcloud-sdk-python-cdwch-3.0.852}/tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- {tencentcloud-sdk-python-cdwch-3.0.850 → tencentcloud-sdk-python-cdwch-3.0.852}/tencentcloud/cdwch/v20200915/models.py +312 -2
- {tencentcloud-sdk-python-cdwch-3.0.850 → tencentcloud-sdk-python-cdwch-3.0.852}/tencentcloud_sdk_python_cdwch.egg-info/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cdwch-3.0.850 → tencentcloud-sdk-python-cdwch-3.0.852}/README.rst +0 -0
- {tencentcloud-sdk-python-cdwch-3.0.850 → tencentcloud-sdk-python-cdwch-3.0.852}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cdwch-3.0.850 → tencentcloud-sdk-python-cdwch-3.0.852}/setup.py +0 -0
- {tencentcloud-sdk-python-cdwch-3.0.850 → tencentcloud-sdk-python-cdwch-3.0.852}/tencentcloud/cdwch/__init__.py +0 -0
- {tencentcloud-sdk-python-cdwch-3.0.850 → tencentcloud-sdk-python-cdwch-3.0.852}/tencentcloud/cdwch/v20200915/__init__.py +0 -0
- {tencentcloud-sdk-python-cdwch-3.0.850 → tencentcloud-sdk-python-cdwch-3.0.852}/tencentcloud/cdwch/v20200915/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cdwch-3.0.850 → tencentcloud-sdk-python-cdwch-3.0.852}/tencentcloud_sdk_python_cdwch.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cdwch-3.0.850 → tencentcloud-sdk-python-cdwch-3.0.852}/tencentcloud_sdk_python_cdwch.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cdwch-3.0.850 → tencentcloud-sdk-python-cdwch-3.0.852}/tencentcloud_sdk_python_cdwch.egg-info/top_level.txt +0 -0
|
@@ -187,6 +187,29 @@ class CdwchClient(AbstractClient):
|
|
|
187
187
|
raise TencentCloudSDKException(e.message, e.message)
|
|
188
188
|
|
|
189
189
|
|
|
190
|
+
def DescribeInstanceClusters(self, request):
|
|
191
|
+
"""集群vcluster列表
|
|
192
|
+
|
|
193
|
+
:param request: Request instance for DescribeInstanceClusters.
|
|
194
|
+
:type request: :class:`tencentcloud.cdwch.v20200915.models.DescribeInstanceClustersRequest`
|
|
195
|
+
:rtype: :class:`tencentcloud.cdwch.v20200915.models.DescribeInstanceClustersResponse`
|
|
196
|
+
|
|
197
|
+
"""
|
|
198
|
+
try:
|
|
199
|
+
params = request._serialize()
|
|
200
|
+
headers = request.headers
|
|
201
|
+
body = self.call("DescribeInstanceClusters", params, headers=headers)
|
|
202
|
+
response = json.loads(body)
|
|
203
|
+
model = models.DescribeInstanceClustersResponse()
|
|
204
|
+
model._deserialize(response["Response"])
|
|
205
|
+
return model
|
|
206
|
+
except Exception as e:
|
|
207
|
+
if isinstance(e, TencentCloudSDKException):
|
|
208
|
+
raise
|
|
209
|
+
else:
|
|
210
|
+
raise TencentCloudSDKException(e.message, e.message)
|
|
211
|
+
|
|
212
|
+
|
|
190
213
|
def DescribeInstanceKeyValConfigs(self, request):
|
|
191
214
|
"""在集群详情页面获取所有参数列表
|
|
192
215
|
|
|
@@ -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
|
|
|
@@ -224,6 +260,36 @@ class ClusterConfigsInfoFromEMR(AbstractModel):
|
|
|
224
260
|
|
|
225
261
|
|
|
226
262
|
|
|
263
|
+
class ClusterInfo(AbstractModel):
|
|
264
|
+
"""clickhouse vcluster信息
|
|
265
|
+
|
|
266
|
+
"""
|
|
267
|
+
|
|
268
|
+
def __init__(self):
|
|
269
|
+
r"""
|
|
270
|
+
:param ClusterName: vcluster名字
|
|
271
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
272
|
+
:type ClusterName: str
|
|
273
|
+
:param NodeIps: 当前cluster的IP列表
|
|
274
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
275
|
+
:type NodeIps: list of str
|
|
276
|
+
"""
|
|
277
|
+
self.ClusterName = None
|
|
278
|
+
self.NodeIps = None
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
def _deserialize(self, params):
|
|
282
|
+
self.ClusterName = params.get("ClusterName")
|
|
283
|
+
self.NodeIps = params.get("NodeIps")
|
|
284
|
+
memeber_set = set(params.keys())
|
|
285
|
+
for name, value in vars(self).items():
|
|
286
|
+
if name in memeber_set:
|
|
287
|
+
memeber_set.remove(name)
|
|
288
|
+
if len(memeber_set) > 0:
|
|
289
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
227
293
|
class ConfigSubmitContext(AbstractModel):
|
|
228
294
|
"""配置文件修改信息
|
|
229
295
|
|
|
@@ -626,6 +692,56 @@ class DescribeClusterConfigsResponse(AbstractModel):
|
|
|
626
692
|
self.RequestId = params.get("RequestId")
|
|
627
693
|
|
|
628
694
|
|
|
695
|
+
class DescribeInstanceClustersRequest(AbstractModel):
|
|
696
|
+
"""DescribeInstanceClusters请求参数结构体
|
|
697
|
+
|
|
698
|
+
"""
|
|
699
|
+
|
|
700
|
+
def __init__(self):
|
|
701
|
+
r"""
|
|
702
|
+
:param InstanceId: 实例ID
|
|
703
|
+
:type InstanceId: str
|
|
704
|
+
"""
|
|
705
|
+
self.InstanceId = None
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
def _deserialize(self, params):
|
|
709
|
+
self.InstanceId = params.get("InstanceId")
|
|
710
|
+
memeber_set = set(params.keys())
|
|
711
|
+
for name, value in vars(self).items():
|
|
712
|
+
if name in memeber_set:
|
|
713
|
+
memeber_set.remove(name)
|
|
714
|
+
if len(memeber_set) > 0:
|
|
715
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
class DescribeInstanceClustersResponse(AbstractModel):
|
|
720
|
+
"""DescribeInstanceClusters返回参数结构体
|
|
721
|
+
|
|
722
|
+
"""
|
|
723
|
+
|
|
724
|
+
def __init__(self):
|
|
725
|
+
r"""
|
|
726
|
+
:param Clusters: cluster列表
|
|
727
|
+
:type Clusters: list of ClusterInfo
|
|
728
|
+
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
729
|
+
:type RequestId: str
|
|
730
|
+
"""
|
|
731
|
+
self.Clusters = None
|
|
732
|
+
self.RequestId = None
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
def _deserialize(self, params):
|
|
736
|
+
if params.get("Clusters") is not None:
|
|
737
|
+
self.Clusters = []
|
|
738
|
+
for item in params.get("Clusters"):
|
|
739
|
+
obj = ClusterInfo()
|
|
740
|
+
obj._deserialize(item)
|
|
741
|
+
self.Clusters.append(obj)
|
|
742
|
+
self.RequestId = params.get("RequestId")
|
|
743
|
+
|
|
744
|
+
|
|
629
745
|
class DescribeInstanceKeyValConfigsRequest(AbstractModel):
|
|
630
746
|
"""DescribeInstanceKeyValConfigs请求参数结构体
|
|
631
747
|
|
|
@@ -1161,6 +1277,42 @@ Modify 集群变更中;
|
|
|
1161
1277
|
:param CosMoveFactor: 冷热分层系数
|
|
1162
1278
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1163
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
|
|
1164
1316
|
"""
|
|
1165
1317
|
self.InstanceId = None
|
|
1166
1318
|
self.InstanceName = None
|
|
@@ -1192,6 +1344,18 @@ Modify 集群变更中;
|
|
|
1192
1344
|
self.RegionDesc = None
|
|
1193
1345
|
self.Eip = None
|
|
1194
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
|
|
1195
1359
|
|
|
1196
1360
|
|
|
1197
1361
|
def _deserialize(self, params):
|
|
@@ -1234,6 +1398,85 @@ Modify 集群变更中;
|
|
|
1234
1398
|
self.RegionDesc = params.get("RegionDesc")
|
|
1235
1399
|
self.Eip = params.get("Eip")
|
|
1236
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")
|
|
1237
1480
|
memeber_set = set(params.keys())
|
|
1238
1481
|
for name, value in vars(self).items():
|
|
1239
1482
|
if name in memeber_set:
|
|
@@ -1501,6 +1744,27 @@ class NodesSummary(AbstractModel):
|
|
|
1501
1744
|
:type DiskType: str
|
|
1502
1745
|
:param DiskDesc: 磁盘描述
|
|
1503
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
|
|
1504
1768
|
"""
|
|
1505
1769
|
self.Spec = None
|
|
1506
1770
|
self.NodeSize = None
|
|
@@ -1509,6 +1773,13 @@ class NodesSummary(AbstractModel):
|
|
|
1509
1773
|
self.Disk = None
|
|
1510
1774
|
self.DiskType = None
|
|
1511
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
|
|
1512
1783
|
|
|
1513
1784
|
|
|
1514
1785
|
def _deserialize(self, params):
|
|
@@ -1519,6 +1790,15 @@ class NodesSummary(AbstractModel):
|
|
|
1519
1790
|
self.Disk = params.get("Disk")
|
|
1520
1791
|
self.DiskType = params.get("DiskType")
|
|
1521
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")
|
|
1522
1802
|
memeber_set = set(params.keys())
|
|
1523
1803
|
for name, value in vars(self).items():
|
|
1524
1804
|
if name in memeber_set:
|
|
@@ -1731,9 +2011,9 @@ class ScaleOutInstanceRequest(AbstractModel):
|
|
|
1731
2011
|
:type ScaleOutCluster: str
|
|
1732
2012
|
:param UserSubnetIPNum: 子网剩余ip数量,用于判断当前实例子网剩余ip数是否能扩容。需要根据实际填写
|
|
1733
2013
|
:type UserSubnetIPNum: int
|
|
1734
|
-
:param ScaleOutNodeIp: 同步元数据节点IP (uip
|
|
2014
|
+
:param ScaleOutNodeIp: 同步元数据节点IP (uip),扩容的时候必填
|
|
1735
2015
|
:type ScaleOutNodeIp: str
|
|
1736
|
-
:param ReduceShardInfo: 缩容节点shard的节点IP (uip),其中ha集群需要主副节点ip
|
|
2016
|
+
:param ReduceShardInfo: 缩容节点shard的节点IP (uip),其中ha集群需要主副节点ip都传入以逗号分隔,缩容的时候必填
|
|
1737
2017
|
:type ReduceShardInfo: list of str
|
|
1738
2018
|
"""
|
|
1739
2019
|
self.InstanceId = None
|
|
@@ -1903,6 +2183,36 @@ class ScheduleStrategy(AbstractModel):
|
|
|
1903
2183
|
|
|
1904
2184
|
|
|
1905
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
|
+
|
|
1906
2216
|
class Tag(AbstractModel):
|
|
1907
2217
|
"""标签描述
|
|
1908
2218
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|