tencentcloud-sdk-python-thpc 3.0.899__tar.gz → 3.0.904__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-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/tencentcloud/thpc/v20230321/models.py +24 -0
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/tencentcloud_sdk_python_thpc.egg-info/PKG-INFO +1 -1
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/README.rst +0 -0
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/setup.cfg +0 -0
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/setup.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/tencentcloud/thpc/__init__.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/tencentcloud/thpc/v20211109/__init__.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/tencentcloud/thpc/v20211109/errorcodes.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/tencentcloud/thpc/v20211109/models.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/tencentcloud/thpc/v20211109/thpc_client.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/tencentcloud/thpc/v20220401/__init__.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/tencentcloud/thpc/v20220401/errorcodes.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/tencentcloud/thpc/v20220401/models.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/tencentcloud/thpc/v20220401/thpc_client.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/tencentcloud/thpc/v20230321/__init__.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/tencentcloud/thpc/v20230321/errorcodes.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/tencentcloud/thpc/v20230321/thpc_client.py +0 -0
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/tencentcloud_sdk_python_thpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/tencentcloud_sdk_python_thpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-thpc-3.0.899 → tencentcloud-sdk-python-thpc-3.0.904}/tencentcloud_sdk_python_thpc.egg-info/top_level.txt +0 -0
|
@@ -117,6 +117,8 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
117
117
|
:type DryRun: bool
|
|
118
118
|
:param NodeType: 添加节点类型。默认取值:STATIC。<li>STATIC:静态节点,不会参与弹性伸缩流程。<li>DYNAMIC:弹性节点,会被弹性缩容的节点。管控节点和登录节点不支持此参数。
|
|
119
119
|
:type NodeType: str
|
|
120
|
+
:param ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。不填为默认项目。
|
|
121
|
+
:type ProjectId: int
|
|
120
122
|
"""
|
|
121
123
|
self.Placement = None
|
|
122
124
|
self.ClusterId = None
|
|
@@ -137,6 +139,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
137
139
|
self.NodeRole = None
|
|
138
140
|
self.DryRun = None
|
|
139
141
|
self.NodeType = None
|
|
142
|
+
self.ProjectId = None
|
|
140
143
|
|
|
141
144
|
|
|
142
145
|
def _deserialize(self, params):
|
|
@@ -176,6 +179,7 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
176
179
|
self.NodeRole = params.get("NodeRole")
|
|
177
180
|
self.DryRun = params.get("DryRun")
|
|
178
181
|
self.NodeType = params.get("NodeType")
|
|
182
|
+
self.ProjectId = params.get("ProjectId")
|
|
179
183
|
memeber_set = set(params.keys())
|
|
180
184
|
for name, value in vars(self).items():
|
|
181
185
|
if name in memeber_set:
|
|
@@ -430,6 +434,8 @@ class ClusterOverview(AbstractModel):
|
|
|
430
434
|
:type LoginNodeSet: list of LoginNodeOverview
|
|
431
435
|
:param LoginNodeCount: 登录节点数量。
|
|
432
436
|
:type LoginNodeCount: int
|
|
437
|
+
:param AutoScalingType: 弹性伸缩类型。<br><li>THPC_AS:集群自动扩缩容由THPC产品内部实现。<br><li>AS:集群自动扩缩容由[弹性伸缩](https://cloud.tencent.com/document/product/377/3154)产品实现。
|
|
438
|
+
:type AutoScalingType: str
|
|
433
439
|
:param VpcId: 集群所属私有网络ID。
|
|
434
440
|
:type VpcId: str
|
|
435
441
|
"""
|
|
@@ -445,6 +451,7 @@ class ClusterOverview(AbstractModel):
|
|
|
445
451
|
self.ManagerNodeSet = None
|
|
446
452
|
self.LoginNodeSet = None
|
|
447
453
|
self.LoginNodeCount = None
|
|
454
|
+
self.AutoScalingType = None
|
|
448
455
|
self.VpcId = None
|
|
449
456
|
|
|
450
457
|
|
|
@@ -478,6 +485,7 @@ class ClusterOverview(AbstractModel):
|
|
|
478
485
|
obj._deserialize(item)
|
|
479
486
|
self.LoginNodeSet.append(obj)
|
|
480
487
|
self.LoginNodeCount = params.get("LoginNodeCount")
|
|
488
|
+
self.AutoScalingType = params.get("AutoScalingType")
|
|
481
489
|
self.VpcId = params.get("VpcId")
|
|
482
490
|
memeber_set = set(params.keys())
|
|
483
491
|
for name, value in vars(self).items():
|
|
@@ -512,6 +520,8 @@ class ComputeNode(AbstractModel):
|
|
|
512
520
|
不指定节点显示名称则默认显示‘未命名’。
|
|
513
521
|
最多支持60个字符。
|
|
514
522
|
:type InstanceName: str
|
|
523
|
+
:param ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。不填为默认项目。
|
|
524
|
+
:type ProjectId: int
|
|
515
525
|
"""
|
|
516
526
|
self.InstanceChargeType = None
|
|
517
527
|
self.InstanceChargePrepaid = None
|
|
@@ -520,6 +530,7 @@ class ComputeNode(AbstractModel):
|
|
|
520
530
|
self.DataDisks = None
|
|
521
531
|
self.InternetAccessible = None
|
|
522
532
|
self.InstanceName = None
|
|
533
|
+
self.ProjectId = None
|
|
523
534
|
|
|
524
535
|
|
|
525
536
|
def _deserialize(self, params):
|
|
@@ -541,6 +552,7 @@ class ComputeNode(AbstractModel):
|
|
|
541
552
|
self.InternetAccessible = InternetAccessible()
|
|
542
553
|
self.InternetAccessible._deserialize(params.get("InternetAccessible"))
|
|
543
554
|
self.InstanceName = params.get("InstanceName")
|
|
555
|
+
self.ProjectId = params.get("ProjectId")
|
|
544
556
|
memeber_set = set(params.keys())
|
|
545
557
|
for name, value in vars(self).items():
|
|
546
558
|
if name in memeber_set:
|
|
@@ -1367,12 +1379,15 @@ class ExpansionNodeConfig(AbstractModel):
|
|
|
1367
1379
|
:type InstanceType: str
|
|
1368
1380
|
:param VirtualPrivateCloud: 私有网络相关信息配置。
|
|
1369
1381
|
:type VirtualPrivateCloud: :class:`tencentcloud.thpc.v20230321.models.VirtualPrivateCloud`
|
|
1382
|
+
:param ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。不填为默认项目。
|
|
1383
|
+
:type ProjectId: int
|
|
1370
1384
|
"""
|
|
1371
1385
|
self.Placement = None
|
|
1372
1386
|
self.InstanceChargeType = None
|
|
1373
1387
|
self.InstanceChargePrepaid = None
|
|
1374
1388
|
self.InstanceType = None
|
|
1375
1389
|
self.VirtualPrivateCloud = None
|
|
1390
|
+
self.ProjectId = None
|
|
1376
1391
|
|
|
1377
1392
|
|
|
1378
1393
|
def _deserialize(self, params):
|
|
@@ -1387,6 +1402,7 @@ class ExpansionNodeConfig(AbstractModel):
|
|
|
1387
1402
|
if params.get("VirtualPrivateCloud") is not None:
|
|
1388
1403
|
self.VirtualPrivateCloud = VirtualPrivateCloud()
|
|
1389
1404
|
self.VirtualPrivateCloud._deserialize(params.get("VirtualPrivateCloud"))
|
|
1405
|
+
self.ProjectId = params.get("ProjectId")
|
|
1390
1406
|
memeber_set = set(params.keys())
|
|
1391
1407
|
for name, value in vars(self).items():
|
|
1392
1408
|
if name in memeber_set:
|
|
@@ -1722,6 +1738,8 @@ class LoginNode(AbstractModel):
|
|
|
1722
1738
|
不指定节点显示名称则默认显示‘未命名’。
|
|
1723
1739
|
最多支持60个字符。
|
|
1724
1740
|
:type InstanceName: str
|
|
1741
|
+
:param ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。不填为默认项目。
|
|
1742
|
+
:type ProjectId: int
|
|
1725
1743
|
"""
|
|
1726
1744
|
self.InstanceChargeType = None
|
|
1727
1745
|
self.InstanceChargePrepaid = None
|
|
@@ -1730,6 +1748,7 @@ class LoginNode(AbstractModel):
|
|
|
1730
1748
|
self.DataDisks = None
|
|
1731
1749
|
self.InternetAccessible = None
|
|
1732
1750
|
self.InstanceName = None
|
|
1751
|
+
self.ProjectId = None
|
|
1733
1752
|
|
|
1734
1753
|
|
|
1735
1754
|
def _deserialize(self, params):
|
|
@@ -1751,6 +1770,7 @@ class LoginNode(AbstractModel):
|
|
|
1751
1770
|
self.InternetAccessible = InternetAccessible()
|
|
1752
1771
|
self.InternetAccessible._deserialize(params.get("InternetAccessible"))
|
|
1753
1772
|
self.InstanceName = params.get("InstanceName")
|
|
1773
|
+
self.ProjectId = params.get("ProjectId")
|
|
1754
1774
|
memeber_set = set(params.keys())
|
|
1755
1775
|
for name, value in vars(self).items():
|
|
1756
1776
|
if name in memeber_set:
|
|
@@ -1834,6 +1854,8 @@ class ManagerNode(AbstractModel):
|
|
|
1834
1854
|
购买多个节点,如果不指定模式串,则在节点显示名称添加后缀`1、2...n`,其中`n`表示购买节点的数量,例如`server_`,购买2个时,节点显示名称分别为`server_1`,`server_2`。</li><li>
|
|
1835
1855
|
最多支持60个字符(包含模式串)。
|
|
1836
1856
|
:type InstanceName: str
|
|
1857
|
+
:param ProjectId: 实例所属项目ID。该参数可以通过调用 [DescribeProject](https://cloud.tencent.com/document/api/651/78725) 的返回值中的 projectId 字段来获取。不填为默认项目。
|
|
1858
|
+
:type ProjectId: int
|
|
1837
1859
|
"""
|
|
1838
1860
|
self.InstanceChargeType = None
|
|
1839
1861
|
self.InstanceChargePrepaid = None
|
|
@@ -1842,6 +1864,7 @@ class ManagerNode(AbstractModel):
|
|
|
1842
1864
|
self.DataDisks = None
|
|
1843
1865
|
self.InternetAccessible = None
|
|
1844
1866
|
self.InstanceName = None
|
|
1867
|
+
self.ProjectId = None
|
|
1845
1868
|
|
|
1846
1869
|
|
|
1847
1870
|
def _deserialize(self, params):
|
|
@@ -1863,6 +1886,7 @@ class ManagerNode(AbstractModel):
|
|
|
1863
1886
|
self.InternetAccessible = InternetAccessible()
|
|
1864
1887
|
self.InternetAccessible._deserialize(params.get("InternetAccessible"))
|
|
1865
1888
|
self.InstanceName = params.get("InstanceName")
|
|
1889
|
+
self.ProjectId = params.get("ProjectId")
|
|
1866
1890
|
memeber_set = set(params.keys())
|
|
1867
1891
|
for name, value in vars(self).items():
|
|
1868
1892
|
if name in memeber_set:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|