tencentcloud-sdk-python-thpc 3.0.898__py2.py3-none-any.whl → 3.0.904__py2.py3-none-any.whl

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/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.898'
17
+ __version__ = '3.0.904'
@@ -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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-thpc
3
- Version: 3.0.898
3
+ Version: 3.0.904
4
4
  Summary: Tencent Cloud Thpc SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -1,4 +1,4 @@
1
- tencentcloud/__init__.py,sha256=5SuVGUuqaBFZGwCOogq-42pGlobi77qF0fGQt4WSXoc,630
1
+ tencentcloud/__init__.py,sha256=-sJB4ORhC_0OH7R3gYh62ay9HwNY6GSi153kgO01BmI,630
2
2
  tencentcloud/thpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/thpc/v20211109/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/thpc/v20211109/errorcodes.py,sha256=xwipivn8e41cJXazb93E1dSq36noRO_aNmrGy_EjxTc,2035
@@ -10,9 +10,9 @@ tencentcloud/thpc/v20220401/models.py,sha256=kty_-Kt92HqEELAuppDHfJRdjPJS_Kw9bwQ
10
10
  tencentcloud/thpc/v20220401/thpc_client.py,sha256=9t5ID26cF3jWMcAVDctkT3MqmBrvl2EQ_XEQ76zeNNk,16733
11
11
  tencentcloud/thpc/v20230321/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
12
  tencentcloud/thpc/v20230321/errorcodes.py,sha256=W8sb7bBGdADsLR_Cj7f4nw2Yvz9zFeNXLiKGaBtBDBg,4248
13
- tencentcloud/thpc/v20230321/models.py,sha256=Wtd1l_mXvQvdUQd3FkVnktnNiMwwzemOZhcz0zR9rUk,105154
13
+ tencentcloud/thpc/v20230321/models.py,sha256=wgDYpWd6CVo4L5eAQjUhcpbVacFoQYlmm5JLbfmq8KU,107151
14
14
  tencentcloud/thpc/v20230321/thpc_client.py,sha256=Zv0C7uRzRtBQO914UR3Pp9trON9cyWwJX79CrkotjVg,17699
15
- tencentcloud_sdk_python_thpc-3.0.898.dist-info/METADATA,sha256=sMerMdoOPzGKaLh1HU7aEChPp7gg0e4x6at92CihFTs,1437
16
- tencentcloud_sdk_python_thpc-3.0.898.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
17
- tencentcloud_sdk_python_thpc-3.0.898.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
18
- tencentcloud_sdk_python_thpc-3.0.898.dist-info/RECORD,,
15
+ tencentcloud_sdk_python_thpc-3.0.904.dist-info/METADATA,sha256=E32ueMyr2PsxBlbBsCh5Rngz2995Y3F6llSvb768yl4,1437
16
+ tencentcloud_sdk_python_thpc-3.0.904.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
17
+ tencentcloud_sdk_python_thpc-3.0.904.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
18
+ tencentcloud_sdk_python_thpc-3.0.904.dist-info/RECORD,,