tencentcloud-sdk-python-thpc 3.1.2__py2.py3-none-any.whl → 3.1.4__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.1.2'
17
+ __version__ = '3.1.4'
@@ -761,12 +761,15 @@ SLURM默认队列为:compute。
761
761
  :type ImageId: str
762
762
  :param _ResourceType: 要新增节点的资源类型。<li>CVM:CVM实例类型资源</li><li>WORKSPACE:工作空间类型实例资源</li>默认值:CVM。
763
763
  :type ResourceType: str
764
+ :param _UserData: 提供给实例使用的用户数据,需要以 base64 方式编码,支持的最大数据大小为 16KB。关于获取此参数的详细介绍,请参阅[Windows](https://cloud.tencent.com/document/product/213/17526)和[Linux](https://cloud.tencent.com/document/product/213/17525)启动时运行命令。
765
+ :type UserData: str
764
766
  """
765
767
  self._ClusterId = None
766
768
  self._ResourceSet = None
767
769
  self._QueueName = None
768
770
  self._ImageId = None
769
771
  self._ResourceType = None
772
+ self._UserData = None
770
773
 
771
774
  @property
772
775
  def ClusterId(self):
@@ -825,6 +828,17 @@ SLURM默认队列为:compute。
825
828
  def ResourceType(self, ResourceType):
826
829
  self._ResourceType = ResourceType
827
830
 
831
+ @property
832
+ def UserData(self):
833
+ r"""提供给实例使用的用户数据,需要以 base64 方式编码,支持的最大数据大小为 16KB。关于获取此参数的详细介绍,请参阅[Windows](https://cloud.tencent.com/document/product/213/17526)和[Linux](https://cloud.tencent.com/document/product/213/17525)启动时运行命令。
834
+ :rtype: str
835
+ """
836
+ return self._UserData
837
+
838
+ @UserData.setter
839
+ def UserData(self, UserData):
840
+ self._UserData = UserData
841
+
828
842
 
829
843
  def _deserialize(self, params):
830
844
  self._ClusterId = params.get("ClusterId")
@@ -832,6 +846,7 @@ SLURM默认队列为:compute。
832
846
  self._QueueName = params.get("QueueName")
833
847
  self._ImageId = params.get("ImageId")
834
848
  self._ResourceType = params.get("ResourceType")
849
+ self._UserData = params.get("UserData")
835
850
  memeber_set = set(params.keys())
836
851
  for name, value in vars(self).items():
837
852
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-thpc
3
- Version: 3.1.2
3
+ Version: 3.1.4
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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.2
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.4
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,4 +1,4 @@
1
- tencentcloud/__init__.py,sha256=39IJPBM8xcE-elNh370ZNSfxGyPOdMgDvJL2Hzw6JfI,628
1
+ tencentcloud/__init__.py,sha256=ocOhd1nIEq4vBJ5nsyEPTGFDQBDhXJwCOpRm-5-fUxk,628
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=vwK0Sl3PK8krfQTSMd11VbM3Zd3CYX10xdEH9HdadJ0,2008
@@ -12,10 +12,10 @@ tencentcloud/thpc/v20220401/thpc_client.py,sha256=0fW2BTAtXOwSUoluvSoyaIBubz3h0u
12
12
  tencentcloud/thpc/v20220401/thpc_client_async.py,sha256=LINqME6SCHKz4KWuf9-MKFrPMmG7RmyEDR1hudF7D4U,11870
13
13
  tencentcloud/thpc/v20230321/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  tencentcloud/thpc/v20230321/errorcodes.py,sha256=TiPC9sJ9rkuThwPyW9aUhn6uVz7Kc7iLFE7WltdsuCw,6318
15
- tencentcloud/thpc/v20230321/models.py,sha256=fiD2zF4dl7Prh4Y85c200v-G2alqp1SnBBCV2-6P2fY,342095
15
+ tencentcloud/thpc/v20230321/models.py,sha256=wKq3GIMBWq7JlrrvqE4wLPckVzuZAcj6xb-PMeXI5Ig,343048
16
16
  tencentcloud/thpc/v20230321/thpc_client.py,sha256=KWazSjtPz2iymyyE10WE0o-voIo4taV7AW16P3fUjV0,30740
17
17
  tencentcloud/thpc/v20230321/thpc_client_async.py,sha256=nZUZBwVElY6OutW2EKSTxAt0lHXphQJUMuk_EFM_wGI,21301
18
- tencentcloud_sdk_python_thpc-3.1.2.dist-info/METADATA,sha256=PrNqGrNL5p0NUFSRX9JKb-CGEHhtpNbb-S0t88Tvz-k,1498
19
- tencentcloud_sdk_python_thpc-3.1.2.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
20
- tencentcloud_sdk_python_thpc-3.1.2.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
21
- tencentcloud_sdk_python_thpc-3.1.2.dist-info/RECORD,,
18
+ tencentcloud_sdk_python_thpc-3.1.4.dist-info/METADATA,sha256=ICPQlXlz2H8bZ8JuricOXrgUgWhXcEmyhXqM7Xd4Dnc,1498
19
+ tencentcloud_sdk_python_thpc-3.1.4.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
20
+ tencentcloud_sdk_python_thpc-3.1.4.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
21
+ tencentcloud_sdk_python_thpc-3.1.4.dist-info/RECORD,,