tencentcloud-sdk-python-tione 3.1.28__tar.gz → 3.1.35__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.
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/setup.py +1 -1
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/tencentcloud/tione/v20211111/models.py +373 -0
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/tencentcloud/tione/v20211111/tione_client.py +69 -0
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/tencentcloud/tione/v20211111/tione_client_async.py +54 -0
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/tencentcloud_sdk_python_tione.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tione-3.1.35/tencentcloud_sdk_python_tione.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tione-3.1.28/tencentcloud_sdk_python_tione.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/README.rst +0 -0
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/tencentcloud/tione/__init__.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/tencentcloud/tione/v20191022/__init__.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/tencentcloud/tione/v20191022/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/tencentcloud/tione/v20191022/models.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/tencentcloud/tione/v20191022/tione_client.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/tencentcloud/tione/v20191022/tione_client_async.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/tencentcloud/tione/v20211111/__init__.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/tencentcloud/tione/v20211111/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/tencentcloud_sdk_python_tione.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/tencentcloud_sdk_python_tione.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tione-3.1.28 → tencentcloud_sdk_python_tione-3.1.35}/tencentcloud_sdk_python_tione.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tione
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.35
|
|
4
4
|
Summary: Tencent Cloud Tione 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.35
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-tione',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.35,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tione SDK for Python',
|
|
@@ -9823,6 +9823,60 @@ class DescribePlatformImagesResponse(AbstractModel):
|
|
|
9823
9823
|
self._RequestId = params.get("RequestId")
|
|
9824
9824
|
|
|
9825
9825
|
|
|
9826
|
+
class DescribeSubAccountLinuxUserInfosRequest(AbstractModel):
|
|
9827
|
+
r"""DescribeSubAccountLinuxUserInfos请求参数结构体
|
|
9828
|
+
|
|
9829
|
+
"""
|
|
9830
|
+
|
|
9831
|
+
|
|
9832
|
+
class DescribeSubAccountLinuxUserInfosResponse(AbstractModel):
|
|
9833
|
+
r"""DescribeSubAccountLinuxUserInfos返回参数结构体
|
|
9834
|
+
|
|
9835
|
+
"""
|
|
9836
|
+
|
|
9837
|
+
def __init__(self):
|
|
9838
|
+
r"""
|
|
9839
|
+
:param _SubAccountList: 子账号信息列表
|
|
9840
|
+
:type SubAccountList: list of SubAccountInfo
|
|
9841
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9842
|
+
:type RequestId: str
|
|
9843
|
+
"""
|
|
9844
|
+
self._SubAccountList = None
|
|
9845
|
+
self._RequestId = None
|
|
9846
|
+
|
|
9847
|
+
@property
|
|
9848
|
+
def SubAccountList(self):
|
|
9849
|
+
r"""子账号信息列表
|
|
9850
|
+
:rtype: list of SubAccountInfo
|
|
9851
|
+
"""
|
|
9852
|
+
return self._SubAccountList
|
|
9853
|
+
|
|
9854
|
+
@SubAccountList.setter
|
|
9855
|
+
def SubAccountList(self, SubAccountList):
|
|
9856
|
+
self._SubAccountList = SubAccountList
|
|
9857
|
+
|
|
9858
|
+
@property
|
|
9859
|
+
def RequestId(self):
|
|
9860
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9861
|
+
:rtype: str
|
|
9862
|
+
"""
|
|
9863
|
+
return self._RequestId
|
|
9864
|
+
|
|
9865
|
+
@RequestId.setter
|
|
9866
|
+
def RequestId(self, RequestId):
|
|
9867
|
+
self._RequestId = RequestId
|
|
9868
|
+
|
|
9869
|
+
|
|
9870
|
+
def _deserialize(self, params):
|
|
9871
|
+
if params.get("SubAccountList") is not None:
|
|
9872
|
+
self._SubAccountList = []
|
|
9873
|
+
for item in params.get("SubAccountList"):
|
|
9874
|
+
obj = SubAccountInfo()
|
|
9875
|
+
obj._deserialize(item)
|
|
9876
|
+
self._SubAccountList.append(obj)
|
|
9877
|
+
self._RequestId = params.get("RequestId")
|
|
9878
|
+
|
|
9879
|
+
|
|
9826
9880
|
class DescribeTrainingModelVersionRequest(AbstractModel):
|
|
9827
9881
|
r"""DescribeTrainingModelVersion请求参数结构体
|
|
9828
9882
|
|
|
@@ -15880,6 +15934,109 @@ class ModifyNotebookTagsResponse(AbstractModel):
|
|
|
15880
15934
|
self._RequestId = params.get("RequestId")
|
|
15881
15935
|
|
|
15882
15936
|
|
|
15937
|
+
class ModifyServiceGroupWeightsRequest(AbstractModel):
|
|
15938
|
+
r"""ModifyServiceGroupWeights请求参数结构体
|
|
15939
|
+
|
|
15940
|
+
"""
|
|
15941
|
+
|
|
15942
|
+
def __init__(self):
|
|
15943
|
+
r"""
|
|
15944
|
+
:param _ServiceGroupId: 服务组id
|
|
15945
|
+
:type ServiceGroupId: str
|
|
15946
|
+
:param _Weights: 权重设置
|
|
15947
|
+
:type Weights: list of WeightEntry
|
|
15948
|
+
"""
|
|
15949
|
+
self._ServiceGroupId = None
|
|
15950
|
+
self._Weights = None
|
|
15951
|
+
|
|
15952
|
+
@property
|
|
15953
|
+
def ServiceGroupId(self):
|
|
15954
|
+
r"""服务组id
|
|
15955
|
+
:rtype: str
|
|
15956
|
+
"""
|
|
15957
|
+
return self._ServiceGroupId
|
|
15958
|
+
|
|
15959
|
+
@ServiceGroupId.setter
|
|
15960
|
+
def ServiceGroupId(self, ServiceGroupId):
|
|
15961
|
+
self._ServiceGroupId = ServiceGroupId
|
|
15962
|
+
|
|
15963
|
+
@property
|
|
15964
|
+
def Weights(self):
|
|
15965
|
+
r"""权重设置
|
|
15966
|
+
:rtype: list of WeightEntry
|
|
15967
|
+
"""
|
|
15968
|
+
return self._Weights
|
|
15969
|
+
|
|
15970
|
+
@Weights.setter
|
|
15971
|
+
def Weights(self, Weights):
|
|
15972
|
+
self._Weights = Weights
|
|
15973
|
+
|
|
15974
|
+
|
|
15975
|
+
def _deserialize(self, params):
|
|
15976
|
+
self._ServiceGroupId = params.get("ServiceGroupId")
|
|
15977
|
+
if params.get("Weights") is not None:
|
|
15978
|
+
self._Weights = []
|
|
15979
|
+
for item in params.get("Weights"):
|
|
15980
|
+
obj = WeightEntry()
|
|
15981
|
+
obj._deserialize(item)
|
|
15982
|
+
self._Weights.append(obj)
|
|
15983
|
+
memeber_set = set(params.keys())
|
|
15984
|
+
for name, value in vars(self).items():
|
|
15985
|
+
property_name = name[1:]
|
|
15986
|
+
if property_name in memeber_set:
|
|
15987
|
+
memeber_set.remove(property_name)
|
|
15988
|
+
if len(memeber_set) > 0:
|
|
15989
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15990
|
+
|
|
15991
|
+
|
|
15992
|
+
|
|
15993
|
+
class ModifyServiceGroupWeightsResponse(AbstractModel):
|
|
15994
|
+
r"""ModifyServiceGroupWeights返回参数结构体
|
|
15995
|
+
|
|
15996
|
+
"""
|
|
15997
|
+
|
|
15998
|
+
def __init__(self):
|
|
15999
|
+
r"""
|
|
16000
|
+
:param _ServiceGroup: 更新权重后的服务组信息
|
|
16001
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16002
|
+
:type ServiceGroup: :class:`tencentcloud.tione.v20211111.models.ServiceGroup`
|
|
16003
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16004
|
+
:type RequestId: str
|
|
16005
|
+
"""
|
|
16006
|
+
self._ServiceGroup = None
|
|
16007
|
+
self._RequestId = None
|
|
16008
|
+
|
|
16009
|
+
@property
|
|
16010
|
+
def ServiceGroup(self):
|
|
16011
|
+
r"""更新权重后的服务组信息
|
|
16012
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16013
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.ServiceGroup`
|
|
16014
|
+
"""
|
|
16015
|
+
return self._ServiceGroup
|
|
16016
|
+
|
|
16017
|
+
@ServiceGroup.setter
|
|
16018
|
+
def ServiceGroup(self, ServiceGroup):
|
|
16019
|
+
self._ServiceGroup = ServiceGroup
|
|
16020
|
+
|
|
16021
|
+
@property
|
|
16022
|
+
def RequestId(self):
|
|
16023
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16024
|
+
:rtype: str
|
|
16025
|
+
"""
|
|
16026
|
+
return self._RequestId
|
|
16027
|
+
|
|
16028
|
+
@RequestId.setter
|
|
16029
|
+
def RequestId(self, RequestId):
|
|
16030
|
+
self._RequestId = RequestId
|
|
16031
|
+
|
|
16032
|
+
|
|
16033
|
+
def _deserialize(self, params):
|
|
16034
|
+
if params.get("ServiceGroup") is not None:
|
|
16035
|
+
self._ServiceGroup = ServiceGroup()
|
|
16036
|
+
self._ServiceGroup._deserialize(params.get("ServiceGroup"))
|
|
16037
|
+
self._RequestId = params.get("RequestId")
|
|
16038
|
+
|
|
16039
|
+
|
|
15883
16040
|
class MultiModalContent(AbstractModel):
|
|
15884
16041
|
r"""多模态对话内容,支持图片与文字信息
|
|
15885
16042
|
|
|
@@ -23088,6 +23245,102 @@ class StopTrainingTaskResponse(AbstractModel):
|
|
|
23088
23245
|
self._RequestId = params.get("RequestId")
|
|
23089
23246
|
|
|
23090
23247
|
|
|
23248
|
+
class SubAccountInfo(AbstractModel):
|
|
23249
|
+
r"""子账号信息
|
|
23250
|
+
|
|
23251
|
+
"""
|
|
23252
|
+
|
|
23253
|
+
def __init__(self):
|
|
23254
|
+
r"""
|
|
23255
|
+
:param _Uin: 腾讯云主账号UIN
|
|
23256
|
+
:type Uin: str
|
|
23257
|
+
:param _SubUin: 腾讯云子账号UIN
|
|
23258
|
+
:type SubUin: str
|
|
23259
|
+
:param _SubUinName: 子账号名称
|
|
23260
|
+
:type SubUinName: str
|
|
23261
|
+
:param _LinuxUid: 子账号在Linux下的UID
|
|
23262
|
+
:type LinuxUid: int
|
|
23263
|
+
:param _LinuxGid: 子账号在Linux下的GID
|
|
23264
|
+
:type LinuxGid: int
|
|
23265
|
+
"""
|
|
23266
|
+
self._Uin = None
|
|
23267
|
+
self._SubUin = None
|
|
23268
|
+
self._SubUinName = None
|
|
23269
|
+
self._LinuxUid = None
|
|
23270
|
+
self._LinuxGid = None
|
|
23271
|
+
|
|
23272
|
+
@property
|
|
23273
|
+
def Uin(self):
|
|
23274
|
+
r"""腾讯云主账号UIN
|
|
23275
|
+
:rtype: str
|
|
23276
|
+
"""
|
|
23277
|
+
return self._Uin
|
|
23278
|
+
|
|
23279
|
+
@Uin.setter
|
|
23280
|
+
def Uin(self, Uin):
|
|
23281
|
+
self._Uin = Uin
|
|
23282
|
+
|
|
23283
|
+
@property
|
|
23284
|
+
def SubUin(self):
|
|
23285
|
+
r"""腾讯云子账号UIN
|
|
23286
|
+
:rtype: str
|
|
23287
|
+
"""
|
|
23288
|
+
return self._SubUin
|
|
23289
|
+
|
|
23290
|
+
@SubUin.setter
|
|
23291
|
+
def SubUin(self, SubUin):
|
|
23292
|
+
self._SubUin = SubUin
|
|
23293
|
+
|
|
23294
|
+
@property
|
|
23295
|
+
def SubUinName(self):
|
|
23296
|
+
r"""子账号名称
|
|
23297
|
+
:rtype: str
|
|
23298
|
+
"""
|
|
23299
|
+
return self._SubUinName
|
|
23300
|
+
|
|
23301
|
+
@SubUinName.setter
|
|
23302
|
+
def SubUinName(self, SubUinName):
|
|
23303
|
+
self._SubUinName = SubUinName
|
|
23304
|
+
|
|
23305
|
+
@property
|
|
23306
|
+
def LinuxUid(self):
|
|
23307
|
+
r"""子账号在Linux下的UID
|
|
23308
|
+
:rtype: int
|
|
23309
|
+
"""
|
|
23310
|
+
return self._LinuxUid
|
|
23311
|
+
|
|
23312
|
+
@LinuxUid.setter
|
|
23313
|
+
def LinuxUid(self, LinuxUid):
|
|
23314
|
+
self._LinuxUid = LinuxUid
|
|
23315
|
+
|
|
23316
|
+
@property
|
|
23317
|
+
def LinuxGid(self):
|
|
23318
|
+
r"""子账号在Linux下的GID
|
|
23319
|
+
:rtype: int
|
|
23320
|
+
"""
|
|
23321
|
+
return self._LinuxGid
|
|
23322
|
+
|
|
23323
|
+
@LinuxGid.setter
|
|
23324
|
+
def LinuxGid(self, LinuxGid):
|
|
23325
|
+
self._LinuxGid = LinuxGid
|
|
23326
|
+
|
|
23327
|
+
|
|
23328
|
+
def _deserialize(self, params):
|
|
23329
|
+
self._Uin = params.get("Uin")
|
|
23330
|
+
self._SubUin = params.get("SubUin")
|
|
23331
|
+
self._SubUinName = params.get("SubUinName")
|
|
23332
|
+
self._LinuxUid = params.get("LinuxUid")
|
|
23333
|
+
self._LinuxGid = params.get("LinuxGid")
|
|
23334
|
+
memeber_set = set(params.keys())
|
|
23335
|
+
for name, value in vars(self).items():
|
|
23336
|
+
property_name = name[1:]
|
|
23337
|
+
if property_name in memeber_set:
|
|
23338
|
+
memeber_set.remove(property_name)
|
|
23339
|
+
if len(memeber_set) > 0:
|
|
23340
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23341
|
+
|
|
23342
|
+
|
|
23343
|
+
|
|
23091
23344
|
class TCPSocketAction(AbstractModel):
|
|
23092
23345
|
r"""tcp socket 健康探针检查行为
|
|
23093
23346
|
|
|
@@ -25014,6 +25267,75 @@ STARTING启动中、RUNNING运行中、STOPPING停止中、STOPPED已停止、FA
|
|
|
25014
25267
|
|
|
25015
25268
|
|
|
25016
25269
|
|
|
25270
|
+
class UpdateSubAccountLinuxUserInfoRequest(AbstractModel):
|
|
25271
|
+
r"""UpdateSubAccountLinuxUserInfo请求参数结构体
|
|
25272
|
+
|
|
25273
|
+
"""
|
|
25274
|
+
|
|
25275
|
+
def __init__(self):
|
|
25276
|
+
r"""
|
|
25277
|
+
:param _SubAccountList: 子账号信息列表
|
|
25278
|
+
:type SubAccountList: list of SubAccountInfo
|
|
25279
|
+
"""
|
|
25280
|
+
self._SubAccountList = None
|
|
25281
|
+
|
|
25282
|
+
@property
|
|
25283
|
+
def SubAccountList(self):
|
|
25284
|
+
r"""子账号信息列表
|
|
25285
|
+
:rtype: list of SubAccountInfo
|
|
25286
|
+
"""
|
|
25287
|
+
return self._SubAccountList
|
|
25288
|
+
|
|
25289
|
+
@SubAccountList.setter
|
|
25290
|
+
def SubAccountList(self, SubAccountList):
|
|
25291
|
+
self._SubAccountList = SubAccountList
|
|
25292
|
+
|
|
25293
|
+
|
|
25294
|
+
def _deserialize(self, params):
|
|
25295
|
+
if params.get("SubAccountList") is not None:
|
|
25296
|
+
self._SubAccountList = []
|
|
25297
|
+
for item in params.get("SubAccountList"):
|
|
25298
|
+
obj = SubAccountInfo()
|
|
25299
|
+
obj._deserialize(item)
|
|
25300
|
+
self._SubAccountList.append(obj)
|
|
25301
|
+
memeber_set = set(params.keys())
|
|
25302
|
+
for name, value in vars(self).items():
|
|
25303
|
+
property_name = name[1:]
|
|
25304
|
+
if property_name in memeber_set:
|
|
25305
|
+
memeber_set.remove(property_name)
|
|
25306
|
+
if len(memeber_set) > 0:
|
|
25307
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
25308
|
+
|
|
25309
|
+
|
|
25310
|
+
|
|
25311
|
+
class UpdateSubAccountLinuxUserInfoResponse(AbstractModel):
|
|
25312
|
+
r"""UpdateSubAccountLinuxUserInfo返回参数结构体
|
|
25313
|
+
|
|
25314
|
+
"""
|
|
25315
|
+
|
|
25316
|
+
def __init__(self):
|
|
25317
|
+
r"""
|
|
25318
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
25319
|
+
:type RequestId: str
|
|
25320
|
+
"""
|
|
25321
|
+
self._RequestId = None
|
|
25322
|
+
|
|
25323
|
+
@property
|
|
25324
|
+
def RequestId(self):
|
|
25325
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
25326
|
+
:rtype: str
|
|
25327
|
+
"""
|
|
25328
|
+
return self._RequestId
|
|
25329
|
+
|
|
25330
|
+
@RequestId.setter
|
|
25331
|
+
def RequestId(self, RequestId):
|
|
25332
|
+
self._RequestId = RequestId
|
|
25333
|
+
|
|
25334
|
+
|
|
25335
|
+
def _deserialize(self, params):
|
|
25336
|
+
self._RequestId = params.get("RequestId")
|
|
25337
|
+
|
|
25338
|
+
|
|
25017
25339
|
class Usage(AbstractModel):
|
|
25018
25340
|
r"""大模型生成Token统计
|
|
25019
25341
|
|
|
@@ -25150,6 +25472,57 @@ class VolumeMount(AbstractModel):
|
|
|
25150
25472
|
|
|
25151
25473
|
|
|
25152
25474
|
|
|
25475
|
+
class WeightEntry(AbstractModel):
|
|
25476
|
+
r"""服务的权重
|
|
25477
|
+
|
|
25478
|
+
"""
|
|
25479
|
+
|
|
25480
|
+
def __init__(self):
|
|
25481
|
+
r"""
|
|
25482
|
+
:param _ServiceId: 服务id
|
|
25483
|
+
:type ServiceId: str
|
|
25484
|
+
:param _Weight: 流量权重值,同 ServiceGroup 下 总和应为 100
|
|
25485
|
+
:type Weight: int
|
|
25486
|
+
"""
|
|
25487
|
+
self._ServiceId = None
|
|
25488
|
+
self._Weight = None
|
|
25489
|
+
|
|
25490
|
+
@property
|
|
25491
|
+
def ServiceId(self):
|
|
25492
|
+
r"""服务id
|
|
25493
|
+
:rtype: str
|
|
25494
|
+
"""
|
|
25495
|
+
return self._ServiceId
|
|
25496
|
+
|
|
25497
|
+
@ServiceId.setter
|
|
25498
|
+
def ServiceId(self, ServiceId):
|
|
25499
|
+
self._ServiceId = ServiceId
|
|
25500
|
+
|
|
25501
|
+
@property
|
|
25502
|
+
def Weight(self):
|
|
25503
|
+
r"""流量权重值,同 ServiceGroup 下 总和应为 100
|
|
25504
|
+
:rtype: int
|
|
25505
|
+
"""
|
|
25506
|
+
return self._Weight
|
|
25507
|
+
|
|
25508
|
+
@Weight.setter
|
|
25509
|
+
def Weight(self, Weight):
|
|
25510
|
+
self._Weight = Weight
|
|
25511
|
+
|
|
25512
|
+
|
|
25513
|
+
def _deserialize(self, params):
|
|
25514
|
+
self._ServiceId = params.get("ServiceId")
|
|
25515
|
+
self._Weight = params.get("Weight")
|
|
25516
|
+
memeber_set = set(params.keys())
|
|
25517
|
+
for name, value in vars(self).items():
|
|
25518
|
+
property_name = name[1:]
|
|
25519
|
+
if property_name in memeber_set:
|
|
25520
|
+
memeber_set.remove(property_name)
|
|
25521
|
+
if len(memeber_set) > 0:
|
|
25522
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
25523
|
+
|
|
25524
|
+
|
|
25525
|
+
|
|
25153
25526
|
class WorkloadStatus(AbstractModel):
|
|
25154
25527
|
r"""工作负载的状态
|
|
25155
25528
|
|
|
@@ -928,6 +928,29 @@ class TioneClient(AbstractClient):
|
|
|
928
928
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
929
929
|
|
|
930
930
|
|
|
931
|
+
def DescribeSubAccountLinuxUserInfos(self, request):
|
|
932
|
+
r"""批量查询子账号Linux用户信息
|
|
933
|
+
|
|
934
|
+
:param request: Request instance for DescribeSubAccountLinuxUserInfos.
|
|
935
|
+
:type request: :class:`tencentcloud.tione.v20211111.models.DescribeSubAccountLinuxUserInfosRequest`
|
|
936
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.DescribeSubAccountLinuxUserInfosResponse`
|
|
937
|
+
|
|
938
|
+
"""
|
|
939
|
+
try:
|
|
940
|
+
params = request._serialize()
|
|
941
|
+
headers = request.headers
|
|
942
|
+
body = self.call("DescribeSubAccountLinuxUserInfos", params, headers=headers)
|
|
943
|
+
response = json.loads(body)
|
|
944
|
+
model = models.DescribeSubAccountLinuxUserInfosResponse()
|
|
945
|
+
model._deserialize(response["Response"])
|
|
946
|
+
return model
|
|
947
|
+
except Exception as e:
|
|
948
|
+
if isinstance(e, TencentCloudSDKException):
|
|
949
|
+
raise
|
|
950
|
+
else:
|
|
951
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
952
|
+
|
|
953
|
+
|
|
931
954
|
def DescribeTrainingModelVersion(self, request):
|
|
932
955
|
r"""查询模型版本
|
|
933
956
|
|
|
@@ -1158,6 +1181,29 @@ class TioneClient(AbstractClient):
|
|
|
1158
1181
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1159
1182
|
|
|
1160
1183
|
|
|
1184
|
+
def ModifyServiceGroupWeights(self, request):
|
|
1185
|
+
r"""更新推理服务组流量分配
|
|
1186
|
+
|
|
1187
|
+
:param request: Request instance for ModifyServiceGroupWeights.
|
|
1188
|
+
:type request: :class:`tencentcloud.tione.v20211111.models.ModifyServiceGroupWeightsRequest`
|
|
1189
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.ModifyServiceGroupWeightsResponse`
|
|
1190
|
+
|
|
1191
|
+
"""
|
|
1192
|
+
try:
|
|
1193
|
+
params = request._serialize()
|
|
1194
|
+
headers = request.headers
|
|
1195
|
+
body = self.call("ModifyServiceGroupWeights", params, headers=headers)
|
|
1196
|
+
response = json.loads(body)
|
|
1197
|
+
model = models.ModifyServiceGroupWeightsResponse()
|
|
1198
|
+
model._deserialize(response["Response"])
|
|
1199
|
+
return model
|
|
1200
|
+
except Exception as e:
|
|
1201
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1202
|
+
raise
|
|
1203
|
+
else:
|
|
1204
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1205
|
+
|
|
1206
|
+
|
|
1161
1207
|
def PushTrainingMetrics(self, request):
|
|
1162
1208
|
r"""上报训练自定义指标
|
|
1163
1209
|
|
|
@@ -1289,6 +1335,29 @@ class TioneClient(AbstractClient):
|
|
|
1289
1335
|
model = models.StopTrainingTaskResponse()
|
|
1290
1336
|
model._deserialize(response["Response"])
|
|
1291
1337
|
return model
|
|
1338
|
+
except Exception as e:
|
|
1339
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1340
|
+
raise
|
|
1341
|
+
else:
|
|
1342
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
def UpdateSubAccountLinuxUserInfo(self, request):
|
|
1346
|
+
r"""更新子账号Linux用户信息
|
|
1347
|
+
|
|
1348
|
+
:param request: Request instance for UpdateSubAccountLinuxUserInfo.
|
|
1349
|
+
:type request: :class:`tencentcloud.tione.v20211111.models.UpdateSubAccountLinuxUserInfoRequest`
|
|
1350
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.UpdateSubAccountLinuxUserInfoResponse`
|
|
1351
|
+
|
|
1352
|
+
"""
|
|
1353
|
+
try:
|
|
1354
|
+
params = request._serialize()
|
|
1355
|
+
headers = request.headers
|
|
1356
|
+
body = self.call("UpdateSubAccountLinuxUserInfo", params, headers=headers)
|
|
1357
|
+
response = json.loads(body)
|
|
1358
|
+
model = models.UpdateSubAccountLinuxUserInfoResponse()
|
|
1359
|
+
model._deserialize(response["Response"])
|
|
1360
|
+
return model
|
|
1292
1361
|
except Exception as e:
|
|
1293
1362
|
if isinstance(e, TencentCloudSDKException):
|
|
1294
1363
|
raise
|
|
@@ -732,6 +732,24 @@ class TioneClient(AbstractClient):
|
|
|
732
732
|
|
|
733
733
|
return await self.call_and_deserialize(**kwargs)
|
|
734
734
|
|
|
735
|
+
async def DescribeSubAccountLinuxUserInfos(
|
|
736
|
+
self,
|
|
737
|
+
request: models.DescribeSubAccountLinuxUserInfosRequest,
|
|
738
|
+
opts: Dict = None,
|
|
739
|
+
) -> models.DescribeSubAccountLinuxUserInfosResponse:
|
|
740
|
+
"""
|
|
741
|
+
批量查询子账号Linux用户信息
|
|
742
|
+
"""
|
|
743
|
+
|
|
744
|
+
kwargs = {}
|
|
745
|
+
kwargs["action"] = "DescribeSubAccountLinuxUserInfos"
|
|
746
|
+
kwargs["params"] = request._serialize()
|
|
747
|
+
kwargs["resp_cls"] = models.DescribeSubAccountLinuxUserInfosResponse
|
|
748
|
+
kwargs["headers"] = request.headers
|
|
749
|
+
kwargs["opts"] = opts or {}
|
|
750
|
+
|
|
751
|
+
return await self.call_and_deserialize(**kwargs)
|
|
752
|
+
|
|
735
753
|
async def DescribeTrainingModelVersion(
|
|
736
754
|
self,
|
|
737
755
|
request: models.DescribeTrainingModelVersionRequest,
|
|
@@ -912,6 +930,24 @@ class TioneClient(AbstractClient):
|
|
|
912
930
|
|
|
913
931
|
return await self.call_and_deserialize(**kwargs)
|
|
914
932
|
|
|
933
|
+
async def ModifyServiceGroupWeights(
|
|
934
|
+
self,
|
|
935
|
+
request: models.ModifyServiceGroupWeightsRequest,
|
|
936
|
+
opts: Dict = None,
|
|
937
|
+
) -> models.ModifyServiceGroupWeightsResponse:
|
|
938
|
+
"""
|
|
939
|
+
更新推理服务组流量分配
|
|
940
|
+
"""
|
|
941
|
+
|
|
942
|
+
kwargs = {}
|
|
943
|
+
kwargs["action"] = "ModifyServiceGroupWeights"
|
|
944
|
+
kwargs["params"] = request._serialize()
|
|
945
|
+
kwargs["resp_cls"] = models.ModifyServiceGroupWeightsResponse
|
|
946
|
+
kwargs["headers"] = request.headers
|
|
947
|
+
kwargs["opts"] = opts or {}
|
|
948
|
+
|
|
949
|
+
return await self.call_and_deserialize(**kwargs)
|
|
950
|
+
|
|
915
951
|
async def PushTrainingMetrics(
|
|
916
952
|
self,
|
|
917
953
|
request: models.PushTrainingMetricsRequest,
|
|
@@ -1018,4 +1054,22 @@ class TioneClient(AbstractClient):
|
|
|
1018
1054
|
kwargs["headers"] = request.headers
|
|
1019
1055
|
kwargs["opts"] = opts or {}
|
|
1020
1056
|
|
|
1057
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1058
|
+
|
|
1059
|
+
async def UpdateSubAccountLinuxUserInfo(
|
|
1060
|
+
self,
|
|
1061
|
+
request: models.UpdateSubAccountLinuxUserInfoRequest,
|
|
1062
|
+
opts: Dict = None,
|
|
1063
|
+
) -> models.UpdateSubAccountLinuxUserInfoResponse:
|
|
1064
|
+
"""
|
|
1065
|
+
更新子账号Linux用户信息
|
|
1066
|
+
"""
|
|
1067
|
+
|
|
1068
|
+
kwargs = {}
|
|
1069
|
+
kwargs["action"] = "UpdateSubAccountLinuxUserInfo"
|
|
1070
|
+
kwargs["params"] = request._serialize()
|
|
1071
|
+
kwargs["resp_cls"] = models.UpdateSubAccountLinuxUserInfoResponse
|
|
1072
|
+
kwargs["headers"] = request.headers
|
|
1073
|
+
kwargs["opts"] = opts or {}
|
|
1074
|
+
|
|
1021
1075
|
return await self.call_and_deserialize(**kwargs)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tione
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.35
|
|
4
4
|
Summary: Tencent Cloud Tione 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.35
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.35
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.28
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|