tencentcloud-sdk-python-thpc 3.1.2__py2.py3-none-any.whl → 3.1.15__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.15'
@@ -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:]
@@ -4062,24 +4077,7 @@ class DescribeNodesRequest(AbstractModel):
4062
4077
  r"""
4063
4078
  :param _ClusterId: 集群ID。
4064
4079
  :type ClusterId: str
4065
- :param _Filters: <ul>
4066
- <li><strong>queue-name</strong>
4067
- <p style="padding-left: 30px;">按照【<strong>队列名称</strong>】进行过滤。队列名称形如:compute。</p>
4068
- <p style="padding-left: 30px;">类型:String</p>
4069
- <p style="padding-left: 30px;">必选:否</p>
4070
- </li>
4071
- <li><strong>node-role</strong>
4072
- <p style="padding-left: 30px;">按照【<strong>节点角色</strong>】进行过滤。节点角色形如:Manager。(Manager:管控节点。Compute:计算节点。Login:登录节点。ManagerBackup:备用管控节点。)</p>
4073
- <p style="padding-left: 30px;">类型:String</p>
4074
- <p style="padding-left: 30px;">必选:否</p>
4075
- </li>
4076
- <li><strong>node-type</strong>
4077
- <p style="padding-left: 30px;">按照【<strong>节点类型</strong>】进行过滤。节点类型形如:STATIC。(STATIC:静态节点。DYNAMIC:弹性节点。)</p>
4078
- <p style="padding-left: 30px;">类型:String</p>
4079
- <p style="padding-left: 30px;">必选:否</p>
4080
- </li>
4081
- </ul>
4082
- <p style="padding-left: 30px;">每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。</p>
4080
+ :param _Filters: <ul> <li><strong>queue-name</strong> <p style="padding-left: 30px;">按照【<strong>队列名称</strong>】进行过滤。队列名称形如:compute。</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p> </li> <li><strong>node-role</strong> <p style="padding-left: 30px;">按照【<strong>节点角色</strong>】进行过滤。节点角色形如:Manager。(Manager:管控节点。Compute:计算节点。Login:登录节点。ManagerBackup:备用管控节点。)</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p> </li> <li><strong>node-type</strong> <p style="padding-left: 30px;">按照【<strong>节点类型</strong>】进行过滤。节点类型形如:STATIC。(STATIC:静态节点。DYNAMIC:弹性节点。)</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p> </li> <li><strong>instance-id</strong> <p style="padding-left: 30px;">按照【<strong>CVM实例资源ID</strong>】进行过滤。资源ID名称形如:ins-xxx。</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p> </li> </ul><p style="padding-left: 30px;">每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。</p>
4083
4081
  :type Filters: list of Filter
4084
4082
  :param _Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
4085
4083
  :type Offset: int
@@ -4104,24 +4102,7 @@ class DescribeNodesRequest(AbstractModel):
4104
4102
 
4105
4103
  @property
4106
4104
  def Filters(self):
4107
- r"""<ul>
4108
- <li><strong>queue-name</strong>
4109
- <p style="padding-left: 30px;">按照【<strong>队列名称</strong>】进行过滤。队列名称形如:compute。</p>
4110
- <p style="padding-left: 30px;">类型:String</p>
4111
- <p style="padding-left: 30px;">必选:否</p>
4112
- </li>
4113
- <li><strong>node-role</strong>
4114
- <p style="padding-left: 30px;">按照【<strong>节点角色</strong>】进行过滤。节点角色形如:Manager。(Manager:管控节点。Compute:计算节点。Login:登录节点。ManagerBackup:备用管控节点。)</p>
4115
- <p style="padding-left: 30px;">类型:String</p>
4116
- <p style="padding-left: 30px;">必选:否</p>
4117
- </li>
4118
- <li><strong>node-type</strong>
4119
- <p style="padding-left: 30px;">按照【<strong>节点类型</strong>】进行过滤。节点类型形如:STATIC。(STATIC:静态节点。DYNAMIC:弹性节点。)</p>
4120
- <p style="padding-left: 30px;">类型:String</p>
4121
- <p style="padding-left: 30px;">必选:否</p>
4122
- </li>
4123
- </ul>
4124
- <p style="padding-left: 30px;">每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。</p>
4105
+ r"""<ul> <li><strong>queue-name</strong> <p style="padding-left: 30px;">按照【<strong>队列名称</strong>】进行过滤。队列名称形如:compute。</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p> </li> <li><strong>node-role</strong> <p style="padding-left: 30px;">按照【<strong>节点角色</strong>】进行过滤。节点角色形如:Manager。(Manager:管控节点。Compute:计算节点。Login:登录节点。ManagerBackup:备用管控节点。)</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p> </li> <li><strong>node-type</strong> <p style="padding-left: 30px;">按照【<strong>节点类型</strong>】进行过滤。节点类型形如:STATIC。(STATIC:静态节点。DYNAMIC:弹性节点。)</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p> </li> <li><strong>instance-id</strong> <p style="padding-left: 30px;">按照【<strong>CVM实例资源ID</strong>】进行过滤。资源ID名称形如:ins-xxx。</p> <p style="padding-left: 30px;">类型:String</p> <p style="padding-left: 30px;">必选:否</p> </li> </ul><p style="padding-left: 30px;">每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。</p>
4125
4106
  :rtype: list of Filter
4126
4107
  """
4127
4108
  return self._Filters
@@ -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.15
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.15
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=JuMsQkc9Aytx9jig2NEn0vw6wd4IjT_uL9_Se91Cm4Y,629
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=gfwQwr0GumusMgGcMHlOCsUIEKfVUqU3qfk1vC2-mvg,343606
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.15.dist-info/METADATA,sha256=Ss1LW8LDzNdGnocIqfjHnIQprQLdNAGam63etecQjk8,1500
19
+ tencentcloud_sdk_python_thpc-3.1.15.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
20
+ tencentcloud_sdk_python_thpc-3.1.15.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
21
+ tencentcloud_sdk_python_thpc-3.1.15.dist-info/RECORD,,