tencentcloud-sdk-python-thpc 3.0.1318__tar.gz → 3.0.1321__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 (24) hide show
  1. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/setup.py +1 -1
  3. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/tencentcloud/thpc/v20230321/models.py +30 -0
  5. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/tencentcloud_sdk_python_thpc.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-thpc-3.0.1321/tencentcloud_sdk_python_thpc.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-thpc-3.0.1318/tencentcloud_sdk_python_thpc.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/README.rst +0 -0
  9. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/tencentcloud/thpc/__init__.py +0 -0
  11. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/tencentcloud/thpc/v20211109/__init__.py +0 -0
  12. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/tencentcloud/thpc/v20211109/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/tencentcloud/thpc/v20211109/models.py +0 -0
  14. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/tencentcloud/thpc/v20211109/thpc_client.py +0 -0
  15. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/tencentcloud/thpc/v20220401/__init__.py +0 -0
  16. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/tencentcloud/thpc/v20220401/errorcodes.py +0 -0
  17. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/tencentcloud/thpc/v20220401/models.py +0 -0
  18. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/tencentcloud/thpc/v20220401/thpc_client.py +0 -0
  19. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/tencentcloud/thpc/v20230321/__init__.py +0 -0
  20. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/tencentcloud/thpc/v20230321/errorcodes.py +0 -0
  21. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/tencentcloud/thpc/v20230321/thpc_client.py +0 -0
  22. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/tencentcloud_sdk_python_thpc.egg-info/SOURCES.txt +0 -0
  23. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/tencentcloud_sdk_python_thpc.egg-info/dependency_links.txt +0 -0
  24. {tencentcloud-sdk-python-thpc-3.0.1318 → tencentcloud-sdk-python-thpc-3.0.1321}/tencentcloud_sdk_python_thpc.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-thpc
3
- Version: 3.0.1318
3
+ Version: 3.0.1321
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
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-thpc',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1318"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1321"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Thpc SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1318'
17
+ __version__ = '3.0.1321'
@@ -5678,6 +5678,8 @@ class QueueConfig(AbstractModel):
5678
5678
  :type ExpansionNodeConfigs: list of ExpansionNodeConfig
5679
5679
  :param _DesiredIdleNodeCapacity: 队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。
5680
5680
  :type DesiredIdleNodeCapacity: int
5681
+ :param _DesiredNodeCount: 队列中期望的总节点数。
5682
+ :type DesiredNodeCount: int
5681
5683
  :param _ScaleOutRatio: 扩容比例。默认值:100。取值范围:1~100。
5682
5684
  如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
5683
5685
  :type ScaleOutRatio: int
@@ -5707,6 +5709,7 @@ class QueueConfig(AbstractModel):
5707
5709
  self._InternetAccessible = None
5708
5710
  self._ExpansionNodeConfigs = None
5709
5711
  self._DesiredIdleNodeCapacity = None
5712
+ self._DesiredNodeCount = None
5710
5713
  self._ScaleOutRatio = None
5711
5714
  self._ScaleOutNodeThreshold = None
5712
5715
  self._MaxNodesPerCycle = None
@@ -5834,6 +5837,17 @@ class QueueConfig(AbstractModel):
5834
5837
  def DesiredIdleNodeCapacity(self, DesiredIdleNodeCapacity):
5835
5838
  self._DesiredIdleNodeCapacity = DesiredIdleNodeCapacity
5836
5839
 
5840
+ @property
5841
+ def DesiredNodeCount(self):
5842
+ """队列中期望的总节点数。
5843
+ :rtype: int
5844
+ """
5845
+ return self._DesiredNodeCount
5846
+
5847
+ @DesiredNodeCount.setter
5848
+ def DesiredNodeCount(self, DesiredNodeCount):
5849
+ self._DesiredNodeCount = DesiredNodeCount
5850
+
5837
5851
  @property
5838
5852
  def ScaleOutRatio(self):
5839
5853
  """扩容比例。默认值:100。取值范围:1~100。
@@ -5923,6 +5937,7 @@ class QueueConfig(AbstractModel):
5923
5937
  obj._deserialize(item)
5924
5938
  self._ExpansionNodeConfigs.append(obj)
5925
5939
  self._DesiredIdleNodeCapacity = params.get("DesiredIdleNodeCapacity")
5940
+ self._DesiredNodeCount = params.get("DesiredNodeCount")
5926
5941
  self._ScaleOutRatio = params.get("ScaleOutRatio")
5927
5942
  self._ScaleOutNodeThreshold = params.get("ScaleOutNodeThreshold")
5928
5943
  self._MaxNodesPerCycle = params.get("MaxNodesPerCycle")
@@ -5962,6 +5977,8 @@ class QueueConfigOverview(AbstractModel):
5962
5977
  :param _DesiredIdleNodeCapacity: 队列中期望的空闲节点数量(包含弹性节点和静态节点)。默认值:0。队列中,处于空闲状态的节点小于此值,集群会扩容弹性节点;处于空闲状态的节点大于此值,集群会缩容弹性节点。
5963
5978
  注意:此字段可能返回 null,表示取不到有效值。
5964
5979
  :type DesiredIdleNodeCapacity: int
5980
+ :param _DesiredNodeCount: 队列中期望的总节点数。
5981
+ :type DesiredNodeCount: int
5965
5982
  :param _ScaleOutRatio: 扩容比例。默认值:100。取值范围:1~100。
5966
5983
  如果扩容比例为50,那么每轮只会扩容当前作业负载所需的50%数量的节点。
5967
5984
  注意:此字段可能返回 null,表示取不到有效值。
@@ -5989,6 +6006,7 @@ class QueueConfigOverview(AbstractModel):
5989
6006
  self._EnableAutoShrink = None
5990
6007
  self._ExpansionNodeConfigs = None
5991
6008
  self._DesiredIdleNodeCapacity = None
6009
+ self._DesiredNodeCount = None
5992
6010
  self._ScaleOutRatio = None
5993
6011
  self._ScaleOutNodeThreshold = None
5994
6012
  self._MaxNodesPerCycle = None
@@ -6072,6 +6090,17 @@ class QueueConfigOverview(AbstractModel):
6072
6090
  def DesiredIdleNodeCapacity(self, DesiredIdleNodeCapacity):
6073
6091
  self._DesiredIdleNodeCapacity = DesiredIdleNodeCapacity
6074
6092
 
6093
+ @property
6094
+ def DesiredNodeCount(self):
6095
+ """队列中期望的总节点数。
6096
+ :rtype: int
6097
+ """
6098
+ return self._DesiredNodeCount
6099
+
6100
+ @DesiredNodeCount.setter
6101
+ def DesiredNodeCount(self, DesiredNodeCount):
6102
+ self._DesiredNodeCount = DesiredNodeCount
6103
+
6075
6104
  @property
6076
6105
  def ScaleOutRatio(self):
6077
6106
  """扩容比例。默认值:100。取值范围:1~100。
@@ -6141,6 +6170,7 @@ class QueueConfigOverview(AbstractModel):
6141
6170
  obj._deserialize(item)
6142
6171
  self._ExpansionNodeConfigs.append(obj)
6143
6172
  self._DesiredIdleNodeCapacity = params.get("DesiredIdleNodeCapacity")
6173
+ self._DesiredNodeCount = params.get("DesiredNodeCount")
6144
6174
  self._ScaleOutRatio = params.get("ScaleOutRatio")
6145
6175
  self._ScaleOutNodeThreshold = params.get("ScaleOutNodeThreshold")
6146
6176
  self._MaxNodesPerCycle = params.get("MaxNodesPerCycle")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-thpc
3
- Version: 3.0.1318
3
+ Version: 3.0.1321
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1321
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1318