tencentcloud-sdk-python-thpc 3.1.85__py2.py3-none-any.whl → 3.1.105__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 +1 -1
- tencentcloud/thpc/v20230321/errorcodes.py +3 -0
- tencentcloud/thpc/v20230321/models.py +113 -12
- {tencentcloud_sdk_python_thpc-3.1.85.dist-info → tencentcloud_sdk_python_thpc-3.1.105.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_thpc-3.1.85.dist-info → tencentcloud_sdk_python_thpc-3.1.105.dist-info}/RECORD +7 -7
- {tencentcloud_sdk_python_thpc-3.1.85.dist-info → tencentcloud_sdk_python_thpc-3.1.105.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_thpc-3.1.85.dist-info → tencentcloud_sdk_python_thpc-3.1.105.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -53,6 +53,9 @@ INVALIDPARAMETERVALUE_INVALIDFILTERNOTSUPPORTEDNAME = 'InvalidParameterValue.Inv
|
|
|
53
53
|
# 工作空间实例ID格式不符合规范。
|
|
54
54
|
INVALIDPARAMETERVALUE_INVALIDSPACEIDMALFORMED = 'InvalidParameterValue.InvalidSpaceIdMalformed'
|
|
55
55
|
|
|
56
|
+
# 包销付费模式下,Period仅支持传入[12, 24, 36, 48, 60]中的某一个值。
|
|
57
|
+
INVALIDPARAMETERVALUE_INVALIDUNDERWRITEPERIOD = 'InvalidParameterValue.InvalidUnderwritePeriod'
|
|
58
|
+
|
|
56
59
|
# The length of job description should less than `%(max_size)s`.
|
|
57
60
|
INVALIDPARAMETERVALUE_JOBDESCRIPTIONTOOLONG = 'InvalidParameterValue.JobDescriptionTooLong'
|
|
58
61
|
|
|
@@ -1840,6 +1840,72 @@ class ComputeNodeOverview(AbstractModel):
|
|
|
1840
1840
|
|
|
1841
1841
|
|
|
1842
1842
|
|
|
1843
|
+
class CosOption(AbstractModel):
|
|
1844
|
+
r"""COS挂载信息
|
|
1845
|
+
|
|
1846
|
+
"""
|
|
1847
|
+
|
|
1848
|
+
def __init__(self):
|
|
1849
|
+
r"""
|
|
1850
|
+
:param _LocalPath: <p>文件系统本地挂载路径。</p>
|
|
1851
|
+
:type LocalPath: str
|
|
1852
|
+
:param _RemotePath: <p>COS桶地址,可以在COS桶详情页查看。</p>
|
|
1853
|
+
:type RemotePath: str
|
|
1854
|
+
:param _MountParamsOption: <p>cosfs2挂载工具支持的参数。</p>
|
|
1855
|
+
:type MountParamsOption: str
|
|
1856
|
+
"""
|
|
1857
|
+
self._LocalPath = None
|
|
1858
|
+
self._RemotePath = None
|
|
1859
|
+
self._MountParamsOption = None
|
|
1860
|
+
|
|
1861
|
+
@property
|
|
1862
|
+
def LocalPath(self):
|
|
1863
|
+
r"""<p>文件系统本地挂载路径。</p>
|
|
1864
|
+
:rtype: str
|
|
1865
|
+
"""
|
|
1866
|
+
return self._LocalPath
|
|
1867
|
+
|
|
1868
|
+
@LocalPath.setter
|
|
1869
|
+
def LocalPath(self, LocalPath):
|
|
1870
|
+
self._LocalPath = LocalPath
|
|
1871
|
+
|
|
1872
|
+
@property
|
|
1873
|
+
def RemotePath(self):
|
|
1874
|
+
r"""<p>COS桶地址,可以在COS桶详情页查看。</p>
|
|
1875
|
+
:rtype: str
|
|
1876
|
+
"""
|
|
1877
|
+
return self._RemotePath
|
|
1878
|
+
|
|
1879
|
+
@RemotePath.setter
|
|
1880
|
+
def RemotePath(self, RemotePath):
|
|
1881
|
+
self._RemotePath = RemotePath
|
|
1882
|
+
|
|
1883
|
+
@property
|
|
1884
|
+
def MountParamsOption(self):
|
|
1885
|
+
r"""<p>cosfs2挂载工具支持的参数。</p>
|
|
1886
|
+
:rtype: str
|
|
1887
|
+
"""
|
|
1888
|
+
return self._MountParamsOption
|
|
1889
|
+
|
|
1890
|
+
@MountParamsOption.setter
|
|
1891
|
+
def MountParamsOption(self, MountParamsOption):
|
|
1892
|
+
self._MountParamsOption = MountParamsOption
|
|
1893
|
+
|
|
1894
|
+
|
|
1895
|
+
def _deserialize(self, params):
|
|
1896
|
+
self._LocalPath = params.get("LocalPath")
|
|
1897
|
+
self._RemotePath = params.get("RemotePath")
|
|
1898
|
+
self._MountParamsOption = params.get("MountParamsOption")
|
|
1899
|
+
memeber_set = set(params.keys())
|
|
1900
|
+
for name, value in vars(self).items():
|
|
1901
|
+
property_name = name[1:]
|
|
1902
|
+
if property_name in memeber_set:
|
|
1903
|
+
memeber_set.remove(property_name)
|
|
1904
|
+
if len(memeber_set) > 0:
|
|
1905
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1906
|
+
|
|
1907
|
+
|
|
1908
|
+
|
|
1843
1909
|
class CreateClusterRequest(AbstractModel):
|
|
1844
1910
|
r"""CreateCluster请求参数结构体
|
|
1845
1911
|
|
|
@@ -5114,20 +5180,23 @@ class GooseFSOption(AbstractModel):
|
|
|
5114
5180
|
|
|
5115
5181
|
def __init__(self):
|
|
5116
5182
|
r"""
|
|
5117
|
-
:param _LocalPath:
|
|
5183
|
+
:param _LocalPath: <p>文件系统本地挂载路径。</p>
|
|
5118
5184
|
:type LocalPath: str
|
|
5119
|
-
:param _RemotePath:
|
|
5185
|
+
:param _RemotePath: <p>文件系统远程挂载路径。</p>
|
|
5120
5186
|
:type RemotePath: str
|
|
5121
|
-
:param _Masters:
|
|
5187
|
+
:param _Masters: <p>文件系统master的ip和端口,此参数和FileSystemId互斥。</p>
|
|
5122
5188
|
:type Masters: list of str
|
|
5189
|
+
:param _FileSystemId: <p>GooseFS的文件ID;此参数和Masters 互斥。</p>
|
|
5190
|
+
:type FileSystemId: str
|
|
5123
5191
|
"""
|
|
5124
5192
|
self._LocalPath = None
|
|
5125
5193
|
self._RemotePath = None
|
|
5126
5194
|
self._Masters = None
|
|
5195
|
+
self._FileSystemId = None
|
|
5127
5196
|
|
|
5128
5197
|
@property
|
|
5129
5198
|
def LocalPath(self):
|
|
5130
|
-
r"""
|
|
5199
|
+
r"""<p>文件系统本地挂载路径。</p>
|
|
5131
5200
|
:rtype: str
|
|
5132
5201
|
"""
|
|
5133
5202
|
return self._LocalPath
|
|
@@ -5138,7 +5207,7 @@ class GooseFSOption(AbstractModel):
|
|
|
5138
5207
|
|
|
5139
5208
|
@property
|
|
5140
5209
|
def RemotePath(self):
|
|
5141
|
-
r"""
|
|
5210
|
+
r"""<p>文件系统远程挂载路径。</p>
|
|
5142
5211
|
:rtype: str
|
|
5143
5212
|
"""
|
|
5144
5213
|
return self._RemotePath
|
|
@@ -5149,7 +5218,7 @@ class GooseFSOption(AbstractModel):
|
|
|
5149
5218
|
|
|
5150
5219
|
@property
|
|
5151
5220
|
def Masters(self):
|
|
5152
|
-
r"""
|
|
5221
|
+
r"""<p>文件系统master的ip和端口,此参数和FileSystemId互斥。</p>
|
|
5153
5222
|
:rtype: list of str
|
|
5154
5223
|
"""
|
|
5155
5224
|
return self._Masters
|
|
@@ -5158,11 +5227,23 @@ class GooseFSOption(AbstractModel):
|
|
|
5158
5227
|
def Masters(self, Masters):
|
|
5159
5228
|
self._Masters = Masters
|
|
5160
5229
|
|
|
5230
|
+
@property
|
|
5231
|
+
def FileSystemId(self):
|
|
5232
|
+
r"""<p>GooseFS的文件ID;此参数和Masters 互斥。</p>
|
|
5233
|
+
:rtype: str
|
|
5234
|
+
"""
|
|
5235
|
+
return self._FileSystemId
|
|
5236
|
+
|
|
5237
|
+
@FileSystemId.setter
|
|
5238
|
+
def FileSystemId(self, FileSystemId):
|
|
5239
|
+
self._FileSystemId = FileSystemId
|
|
5240
|
+
|
|
5161
5241
|
|
|
5162
5242
|
def _deserialize(self, params):
|
|
5163
5243
|
self._LocalPath = params.get("LocalPath")
|
|
5164
5244
|
self._RemotePath = params.get("RemotePath")
|
|
5165
5245
|
self._Masters = params.get("Masters")
|
|
5246
|
+
self._FileSystemId = params.get("FileSystemId")
|
|
5166
5247
|
memeber_set = set(params.keys())
|
|
5167
5248
|
for name, value in vars(self).items():
|
|
5168
5249
|
property_name = name[1:]
|
|
@@ -8847,20 +8928,23 @@ class StorageOption(AbstractModel):
|
|
|
8847
8928
|
|
|
8848
8929
|
def __init__(self):
|
|
8849
8930
|
r"""
|
|
8850
|
-
:param _CFSOptions:
|
|
8931
|
+
:param _CFSOptions: <p>集群挂载CFS文件系统选项。</p>
|
|
8851
8932
|
:type CFSOptions: list of CFSOption
|
|
8852
|
-
:param _GooseFSOptions:
|
|
8933
|
+
:param _GooseFSOptions: <p>集群挂载GooseFS文件系统选项。</p>
|
|
8853
8934
|
:type GooseFSOptions: list of GooseFSOption
|
|
8854
|
-
:param _GooseFSxOptions:
|
|
8935
|
+
:param _GooseFSxOptions: <p>集群挂载GooseFSx文件系统选项。</p>
|
|
8855
8936
|
:type GooseFSxOptions: list of GooseFSxOption
|
|
8937
|
+
:param _CosOptions: <p>集群挂载COS文件系统选项。</p>
|
|
8938
|
+
:type CosOptions: list of CosOption
|
|
8856
8939
|
"""
|
|
8857
8940
|
self._CFSOptions = None
|
|
8858
8941
|
self._GooseFSOptions = None
|
|
8859
8942
|
self._GooseFSxOptions = None
|
|
8943
|
+
self._CosOptions = None
|
|
8860
8944
|
|
|
8861
8945
|
@property
|
|
8862
8946
|
def CFSOptions(self):
|
|
8863
|
-
r"""
|
|
8947
|
+
r"""<p>集群挂载CFS文件系统选项。</p>
|
|
8864
8948
|
:rtype: list of CFSOption
|
|
8865
8949
|
"""
|
|
8866
8950
|
return self._CFSOptions
|
|
@@ -8871,7 +8955,7 @@ class StorageOption(AbstractModel):
|
|
|
8871
8955
|
|
|
8872
8956
|
@property
|
|
8873
8957
|
def GooseFSOptions(self):
|
|
8874
|
-
r"""
|
|
8958
|
+
r"""<p>集群挂载GooseFS文件系统选项。</p>
|
|
8875
8959
|
:rtype: list of GooseFSOption
|
|
8876
8960
|
"""
|
|
8877
8961
|
return self._GooseFSOptions
|
|
@@ -8882,7 +8966,7 @@ class StorageOption(AbstractModel):
|
|
|
8882
8966
|
|
|
8883
8967
|
@property
|
|
8884
8968
|
def GooseFSxOptions(self):
|
|
8885
|
-
r"""
|
|
8969
|
+
r"""<p>集群挂载GooseFSx文件系统选项。</p>
|
|
8886
8970
|
:rtype: list of GooseFSxOption
|
|
8887
8971
|
"""
|
|
8888
8972
|
return self._GooseFSxOptions
|
|
@@ -8891,6 +8975,17 @@ class StorageOption(AbstractModel):
|
|
|
8891
8975
|
def GooseFSxOptions(self, GooseFSxOptions):
|
|
8892
8976
|
self._GooseFSxOptions = GooseFSxOptions
|
|
8893
8977
|
|
|
8978
|
+
@property
|
|
8979
|
+
def CosOptions(self):
|
|
8980
|
+
r"""<p>集群挂载COS文件系统选项。</p>
|
|
8981
|
+
:rtype: list of CosOption
|
|
8982
|
+
"""
|
|
8983
|
+
return self._CosOptions
|
|
8984
|
+
|
|
8985
|
+
@CosOptions.setter
|
|
8986
|
+
def CosOptions(self, CosOptions):
|
|
8987
|
+
self._CosOptions = CosOptions
|
|
8988
|
+
|
|
8894
8989
|
|
|
8895
8990
|
def _deserialize(self, params):
|
|
8896
8991
|
if params.get("CFSOptions") is not None:
|
|
@@ -8911,6 +9006,12 @@ class StorageOption(AbstractModel):
|
|
|
8911
9006
|
obj = GooseFSxOption()
|
|
8912
9007
|
obj._deserialize(item)
|
|
8913
9008
|
self._GooseFSxOptions.append(obj)
|
|
9009
|
+
if params.get("CosOptions") is not None:
|
|
9010
|
+
self._CosOptions = []
|
|
9011
|
+
for item in params.get("CosOptions"):
|
|
9012
|
+
obj = CosOption()
|
|
9013
|
+
obj._deserialize(item)
|
|
9014
|
+
self._CosOptions.append(obj)
|
|
8914
9015
|
memeber_set = set(params.keys())
|
|
8915
9016
|
for name, value in vars(self).items():
|
|
8916
9017
|
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.
|
|
3
|
+
Version: 3.1.105
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.105
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=aTfBVFj3uK_RgkMnFT0dOzwvPwm175IqVY7fBAg_P8Y,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=vwK0Sl3PK8krfQTSMd11VbM3Zd3CYX10xdEH9HdadJ0,2008
|
|
@@ -11,11 +11,11 @@ tencentcloud/thpc/v20220401/models.py,sha256=iIyztITt7a1XtksSh2tkjU2JPzgc4Ni1RBC
|
|
|
11
11
|
tencentcloud/thpc/v20220401/thpc_client.py,sha256=0fW2BTAtXOwSUoluvSoyaIBubz3h0uLmQv9cXcYbO3I,16786
|
|
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
|
-
tencentcloud/thpc/v20230321/errorcodes.py,sha256=
|
|
15
|
-
tencentcloud/thpc/v20230321/models.py,sha256=
|
|
14
|
+
tencentcloud/thpc/v20230321/errorcodes.py,sha256=F6sbRP4K-6ITts5f9h9MFCqZqTyJb4nYG-HUcp7gmu0,6504
|
|
15
|
+
tencentcloud/thpc/v20230321/models.py,sha256=v03KJFMlVeTSjQPEe_q88wSqvC5id63FdZYHJSE21Ew,355651
|
|
16
16
|
tencentcloud/thpc/v20230321/thpc_client.py,sha256=_d3PZ9ujEXBW0640ES1hhUd_3ozvZu_v1Ke00WDNI5k,31639
|
|
17
17
|
tencentcloud/thpc/v20230321/thpc_client_async.py,sha256=mR1RWWjhAnvlci0MWjbxk9pglq7Xbe3wTWMfqKR5ImI,21897
|
|
18
|
-
tencentcloud_sdk_python_thpc-3.1.
|
|
19
|
-
tencentcloud_sdk_python_thpc-3.1.
|
|
20
|
-
tencentcloud_sdk_python_thpc-3.1.
|
|
21
|
-
tencentcloud_sdk_python_thpc-3.1.
|
|
18
|
+
tencentcloud_sdk_python_thpc-3.1.105.dist-info/METADATA,sha256=uVwpR3sXGiaFJLokFXxA9y-mx608iSCb2glxzIRt2lE,1502
|
|
19
|
+
tencentcloud_sdk_python_thpc-3.1.105.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
20
|
+
tencentcloud_sdk_python_thpc-3.1.105.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
21
|
+
tencentcloud_sdk_python_thpc-3.1.105.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|