tencentcloud-sdk-python-hai 3.1.114__tar.gz → 3.1.131__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_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.131}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.131}/setup.py +1 -1
- {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.131}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.131}/tencentcloud/hai/v20230812/errorcodes.py +3 -0
- {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.131}/tencentcloud/hai/v20230812/models.py +260 -2
- {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.131}/tencentcloud_sdk_python_hai.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_hai-3.1.131/tencentcloud_sdk_python_hai.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_hai-3.1.114/tencentcloud_sdk_python_hai.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.131}/README.rst +0 -0
- {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.131}/setup.cfg +0 -0
- {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.131}/tencentcloud/hai/__init__.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.131}/tencentcloud/hai/v20230812/__init__.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.131}/tencentcloud/hai/v20230812/hai_client.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.131}/tencentcloud/hai/v20230812/hai_client_async.py +0 -0
- {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.131}/tencentcloud_sdk_python_hai.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.131}/tencentcloud_sdk_python_hai.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_hai-3.1.114 → tencentcloud_sdk_python_hai-3.1.131}/tencentcloud_sdk_python_hai.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-hai
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.131
|
|
4
4
|
Summary: Tencent Cloud Hai 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.131
|
|
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-hai',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.131,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Hai SDK for Python',
|
|
@@ -20,6 +20,9 @@ FAILEDOPERATION = 'FailedOperation'
|
|
|
20
20
|
# 欠费账户不能创建实例
|
|
21
21
|
FAILEDOPERATION_ARREARSACCOUNTCANNOTRUNINSTANCES = 'FailedOperation.ArrearsAccountCannotRunInstances'
|
|
22
22
|
|
|
23
|
+
# 该服务已开启自动扩缩容功能,请先关闭自动扩缩容,再手动调整副本数。
|
|
24
|
+
FAILEDOPERATION_AUTOSCALEMANUALCONFLICT = 'FailedOperation.AutoscaleManualConflict'
|
|
25
|
+
|
|
23
26
|
# 资源不允许退还
|
|
24
27
|
FAILEDOPERATION_CANNOTRETURN = 'FailedOperation.CannotReturn'
|
|
25
28
|
|
|
@@ -318,6 +318,10 @@ class ComputeDetail(AbstractModel):
|
|
|
318
318
|
:type CPU: str
|
|
319
319
|
:param _Memory: 内存
|
|
320
320
|
:type Memory: str
|
|
321
|
+
:param _PrepaidEnable: 该套餐是否支持包年包月
|
|
322
|
+
:type PrepaidEnable: bool
|
|
323
|
+
:param _PostpaidEnable: 该套餐是否支持按量计费
|
|
324
|
+
:type PostpaidEnable: bool
|
|
321
325
|
"""
|
|
322
326
|
self._BundleType = None
|
|
323
327
|
self._Count = None
|
|
@@ -326,6 +330,8 @@ class ComputeDetail(AbstractModel):
|
|
|
326
330
|
self._GPUPerformance = None
|
|
327
331
|
self._CPU = None
|
|
328
332
|
self._Memory = None
|
|
333
|
+
self._PrepaidEnable = None
|
|
334
|
+
self._PostpaidEnable = None
|
|
329
335
|
|
|
330
336
|
@property
|
|
331
337
|
def BundleType(self):
|
|
@@ -404,6 +410,28 @@ class ComputeDetail(AbstractModel):
|
|
|
404
410
|
def Memory(self, Memory):
|
|
405
411
|
self._Memory = Memory
|
|
406
412
|
|
|
413
|
+
@property
|
|
414
|
+
def PrepaidEnable(self):
|
|
415
|
+
r"""该套餐是否支持包年包月
|
|
416
|
+
:rtype: bool
|
|
417
|
+
"""
|
|
418
|
+
return self._PrepaidEnable
|
|
419
|
+
|
|
420
|
+
@PrepaidEnable.setter
|
|
421
|
+
def PrepaidEnable(self, PrepaidEnable):
|
|
422
|
+
self._PrepaidEnable = PrepaidEnable
|
|
423
|
+
|
|
424
|
+
@property
|
|
425
|
+
def PostpaidEnable(self):
|
|
426
|
+
r"""该套餐是否支持按量计费
|
|
427
|
+
:rtype: bool
|
|
428
|
+
"""
|
|
429
|
+
return self._PostpaidEnable
|
|
430
|
+
|
|
431
|
+
@PostpaidEnable.setter
|
|
432
|
+
def PostpaidEnable(self, PostpaidEnable):
|
|
433
|
+
self._PostpaidEnable = PostpaidEnable
|
|
434
|
+
|
|
407
435
|
|
|
408
436
|
def _deserialize(self, params):
|
|
409
437
|
self._BundleType = params.get("BundleType")
|
|
@@ -413,6 +441,8 @@ class ComputeDetail(AbstractModel):
|
|
|
413
441
|
self._GPUPerformance = params.get("GPUPerformance")
|
|
414
442
|
self._CPU = params.get("CPU")
|
|
415
443
|
self._Memory = params.get("Memory")
|
|
444
|
+
self._PrepaidEnable = params.get("PrepaidEnable")
|
|
445
|
+
self._PostpaidEnable = params.get("PostpaidEnable")
|
|
416
446
|
memeber_set = set(params.keys())
|
|
417
447
|
for name, value in vars(self).items():
|
|
418
448
|
property_name = name[1:]
|
|
@@ -785,6 +815,8 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
|
|
|
785
815
|
:type NetworkSetting: :class:`tencentcloud.hai.v20230812.models.NetworkSetting`
|
|
786
816
|
:param _SecurityType: <p>推理服务安全类型</p><p>枚举值:</p><ul><li>STANDARD: 标准推理服务</li><li>CONFIDENTIAL: 可信推理服务</li></ul>
|
|
787
817
|
:type SecurityType: str
|
|
818
|
+
:param _ServiceChargePrepaid: <p>包年包月参数(ServiceChargeType为包月时必填)</p>
|
|
819
|
+
:type ServiceChargePrepaid: :class:`tencentcloud.hai.v20230812.models.ServiceChargePrepaid`
|
|
788
820
|
"""
|
|
789
821
|
self._TemplateId = None
|
|
790
822
|
self._ServiceName = None
|
|
@@ -793,6 +825,7 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
|
|
|
793
825
|
self._HyperParam = None
|
|
794
826
|
self._NetworkSetting = None
|
|
795
827
|
self._SecurityType = None
|
|
828
|
+
self._ServiceChargePrepaid = None
|
|
796
829
|
|
|
797
830
|
@property
|
|
798
831
|
def TemplateId(self):
|
|
@@ -871,6 +904,17 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
|
|
|
871
904
|
def SecurityType(self, SecurityType):
|
|
872
905
|
self._SecurityType = SecurityType
|
|
873
906
|
|
|
907
|
+
@property
|
|
908
|
+
def ServiceChargePrepaid(self):
|
|
909
|
+
r"""<p>包年包月参数(ServiceChargeType为包月时必填)</p>
|
|
910
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.ServiceChargePrepaid`
|
|
911
|
+
"""
|
|
912
|
+
return self._ServiceChargePrepaid
|
|
913
|
+
|
|
914
|
+
@ServiceChargePrepaid.setter
|
|
915
|
+
def ServiceChargePrepaid(self, ServiceChargePrepaid):
|
|
916
|
+
self._ServiceChargePrepaid = ServiceChargePrepaid
|
|
917
|
+
|
|
874
918
|
|
|
875
919
|
def _deserialize(self, params):
|
|
876
920
|
self._TemplateId = params.get("TemplateId")
|
|
@@ -884,6 +928,9 @@ class CreateInferServiceByTemplateRequest(AbstractModel):
|
|
|
884
928
|
self._NetworkSetting = NetworkSetting()
|
|
885
929
|
self._NetworkSetting._deserialize(params.get("NetworkSetting"))
|
|
886
930
|
self._SecurityType = params.get("SecurityType")
|
|
931
|
+
if params.get("ServiceChargePrepaid") is not None:
|
|
932
|
+
self._ServiceChargePrepaid = ServiceChargePrepaid()
|
|
933
|
+
self._ServiceChargePrepaid._deserialize(params.get("ServiceChargePrepaid"))
|
|
887
934
|
memeber_set = set(params.keys())
|
|
888
935
|
for name, value in vars(self).items():
|
|
889
936
|
property_name = name[1:]
|
|
@@ -1053,14 +1100,14 @@ class DeleteServiceRequest(AbstractModel):
|
|
|
1053
1100
|
|
|
1054
1101
|
def __init__(self):
|
|
1055
1102
|
r"""
|
|
1056
|
-
:param _ServiceId:
|
|
1103
|
+
:param _ServiceId: <p>服务ID</p>
|
|
1057
1104
|
:type ServiceId: str
|
|
1058
1105
|
"""
|
|
1059
1106
|
self._ServiceId = None
|
|
1060
1107
|
|
|
1061
1108
|
@property
|
|
1062
1109
|
def ServiceId(self):
|
|
1063
|
-
r"""
|
|
1110
|
+
r"""<p>服务ID</p>
|
|
1064
1111
|
:rtype: str
|
|
1065
1112
|
"""
|
|
1066
1113
|
return self._ServiceId
|
|
@@ -1129,6 +1176,8 @@ class DeployInferServiceRequest(AbstractModel):
|
|
|
1129
1176
|
:type NetworkSetting: :class:`tencentcloud.hai.v20230812.models.NetworkSetting`
|
|
1130
1177
|
:param _SecurityType: <p>安全类型</p><p>枚举值:</p><ul><li>STANDARD: 标准推理</li><li>CONFIDENTIAL: 可信推理</li></ul>
|
|
1131
1178
|
:type SecurityType: str
|
|
1179
|
+
:param _ServiceChargePrepaid: <p>包年包月参数(包月时必填)</p>
|
|
1180
|
+
:type ServiceChargePrepaid: :class:`tencentcloud.hai.v20230812.models.ServiceChargePrepaid`
|
|
1132
1181
|
"""
|
|
1133
1182
|
self._ServiceMetaData = None
|
|
1134
1183
|
self._ComputeInfo = None
|
|
@@ -1136,6 +1185,7 @@ class DeployInferServiceRequest(AbstractModel):
|
|
|
1136
1185
|
self._HyperParam = None
|
|
1137
1186
|
self._NetworkSetting = None
|
|
1138
1187
|
self._SecurityType = None
|
|
1188
|
+
self._ServiceChargePrepaid = None
|
|
1139
1189
|
|
|
1140
1190
|
@property
|
|
1141
1191
|
def ServiceMetaData(self):
|
|
@@ -1203,6 +1253,17 @@ class DeployInferServiceRequest(AbstractModel):
|
|
|
1203
1253
|
def SecurityType(self, SecurityType):
|
|
1204
1254
|
self._SecurityType = SecurityType
|
|
1205
1255
|
|
|
1256
|
+
@property
|
|
1257
|
+
def ServiceChargePrepaid(self):
|
|
1258
|
+
r"""<p>包年包月参数(包月时必填)</p>
|
|
1259
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.ServiceChargePrepaid`
|
|
1260
|
+
"""
|
|
1261
|
+
return self._ServiceChargePrepaid
|
|
1262
|
+
|
|
1263
|
+
@ServiceChargePrepaid.setter
|
|
1264
|
+
def ServiceChargePrepaid(self, ServiceChargePrepaid):
|
|
1265
|
+
self._ServiceChargePrepaid = ServiceChargePrepaid
|
|
1266
|
+
|
|
1206
1267
|
|
|
1207
1268
|
def _deserialize(self, params):
|
|
1208
1269
|
if params.get("ServiceMetaData") is not None:
|
|
@@ -1224,6 +1285,9 @@ class DeployInferServiceRequest(AbstractModel):
|
|
|
1224
1285
|
self._NetworkSetting = NetworkSetting()
|
|
1225
1286
|
self._NetworkSetting._deserialize(params.get("NetworkSetting"))
|
|
1226
1287
|
self._SecurityType = params.get("SecurityType")
|
|
1288
|
+
if params.get("ServiceChargePrepaid") is not None:
|
|
1289
|
+
self._ServiceChargePrepaid = ServiceChargePrepaid()
|
|
1290
|
+
self._ServiceChargePrepaid._deserialize(params.get("ServiceChargePrepaid"))
|
|
1227
1291
|
memeber_set = set(params.keys())
|
|
1228
1292
|
for name, value in vars(self).items():
|
|
1229
1293
|
property_name = name[1:]
|
|
@@ -4551,6 +4615,8 @@ class ProbeConfig(AbstractModel):
|
|
|
4551
4615
|
:type SuccessThreshold: int
|
|
4552
4616
|
:param _FailureThreshold: <p>探测失败后,Kubernetes的重试次数</p>
|
|
4553
4617
|
:type FailureThreshold: int
|
|
4618
|
+
:param _TcpSocket: <p>TCP Socket请求进行健康检查</p>
|
|
4619
|
+
:type TcpSocket: :class:`tencentcloud.hai.v20230812.models.TcpSocketConfig`
|
|
4554
4620
|
"""
|
|
4555
4621
|
self._HttpGet = None
|
|
4556
4622
|
self._InitialDelaySeconds = None
|
|
@@ -4558,6 +4624,7 @@ class ProbeConfig(AbstractModel):
|
|
|
4558
4624
|
self._TimeoutSeconds = None
|
|
4559
4625
|
self._SuccessThreshold = None
|
|
4560
4626
|
self._FailureThreshold = None
|
|
4627
|
+
self._TcpSocket = None
|
|
4561
4628
|
|
|
4562
4629
|
@property
|
|
4563
4630
|
def HttpGet(self):
|
|
@@ -4625,6 +4692,17 @@ class ProbeConfig(AbstractModel):
|
|
|
4625
4692
|
def FailureThreshold(self, FailureThreshold):
|
|
4626
4693
|
self._FailureThreshold = FailureThreshold
|
|
4627
4694
|
|
|
4695
|
+
@property
|
|
4696
|
+
def TcpSocket(self):
|
|
4697
|
+
r"""<p>TCP Socket请求进行健康检查</p>
|
|
4698
|
+
:rtype: :class:`tencentcloud.hai.v20230812.models.TcpSocketConfig`
|
|
4699
|
+
"""
|
|
4700
|
+
return self._TcpSocket
|
|
4701
|
+
|
|
4702
|
+
@TcpSocket.setter
|
|
4703
|
+
def TcpSocket(self, TcpSocket):
|
|
4704
|
+
self._TcpSocket = TcpSocket
|
|
4705
|
+
|
|
4628
4706
|
|
|
4629
4707
|
def _deserialize(self, params):
|
|
4630
4708
|
if params.get("HttpGet") is not None:
|
|
@@ -4635,6 +4713,9 @@ class ProbeConfig(AbstractModel):
|
|
|
4635
4713
|
self._TimeoutSeconds = params.get("TimeoutSeconds")
|
|
4636
4714
|
self._SuccessThreshold = params.get("SuccessThreshold")
|
|
4637
4715
|
self._FailureThreshold = params.get("FailureThreshold")
|
|
4716
|
+
if params.get("TcpSocket") is not None:
|
|
4717
|
+
self._TcpSocket = TcpSocketConfig()
|
|
4718
|
+
self._TcpSocket._deserialize(params.get("TcpSocket"))
|
|
4638
4719
|
memeber_set = set(params.keys())
|
|
4639
4720
|
for name, value in vars(self).items():
|
|
4640
4721
|
property_name = name[1:]
|
|
@@ -5218,6 +5299,72 @@ class SceneInfo(AbstractModel):
|
|
|
5218
5299
|
|
|
5219
5300
|
|
|
5220
5301
|
|
|
5302
|
+
class ServiceChargePrepaid(AbstractModel):
|
|
5303
|
+
r"""服务级包年包月入参
|
|
5304
|
+
|
|
5305
|
+
"""
|
|
5306
|
+
|
|
5307
|
+
def __init__(self):
|
|
5308
|
+
r"""
|
|
5309
|
+
:param _Period: <p>购买时长,默认1</p>
|
|
5310
|
+
:type Period: int
|
|
5311
|
+
:param _TimeUnit: <p>时长单位:MONTH(月)/DAY(天)</p>
|
|
5312
|
+
:type TimeUnit: str
|
|
5313
|
+
:param _RenewFlag: <p>自动续费:NOTIFY_AND_AUTO_RENEW/NOTIFY_AND_MANUAL_RENEW/DISABLE_NOTIFY_AND_MANUAL_RENEW</p>
|
|
5314
|
+
:type RenewFlag: str
|
|
5315
|
+
"""
|
|
5316
|
+
self._Period = None
|
|
5317
|
+
self._TimeUnit = None
|
|
5318
|
+
self._RenewFlag = None
|
|
5319
|
+
|
|
5320
|
+
@property
|
|
5321
|
+
def Period(self):
|
|
5322
|
+
r"""<p>购买时长,默认1</p>
|
|
5323
|
+
:rtype: int
|
|
5324
|
+
"""
|
|
5325
|
+
return self._Period
|
|
5326
|
+
|
|
5327
|
+
@Period.setter
|
|
5328
|
+
def Period(self, Period):
|
|
5329
|
+
self._Period = Period
|
|
5330
|
+
|
|
5331
|
+
@property
|
|
5332
|
+
def TimeUnit(self):
|
|
5333
|
+
r"""<p>时长单位:MONTH(月)/DAY(天)</p>
|
|
5334
|
+
:rtype: str
|
|
5335
|
+
"""
|
|
5336
|
+
return self._TimeUnit
|
|
5337
|
+
|
|
5338
|
+
@TimeUnit.setter
|
|
5339
|
+
def TimeUnit(self, TimeUnit):
|
|
5340
|
+
self._TimeUnit = TimeUnit
|
|
5341
|
+
|
|
5342
|
+
@property
|
|
5343
|
+
def RenewFlag(self):
|
|
5344
|
+
r"""<p>自动续费:NOTIFY_AND_AUTO_RENEW/NOTIFY_AND_MANUAL_RENEW/DISABLE_NOTIFY_AND_MANUAL_RENEW</p>
|
|
5345
|
+
:rtype: str
|
|
5346
|
+
"""
|
|
5347
|
+
return self._RenewFlag
|
|
5348
|
+
|
|
5349
|
+
@RenewFlag.setter
|
|
5350
|
+
def RenewFlag(self, RenewFlag):
|
|
5351
|
+
self._RenewFlag = RenewFlag
|
|
5352
|
+
|
|
5353
|
+
|
|
5354
|
+
def _deserialize(self, params):
|
|
5355
|
+
self._Period = params.get("Period")
|
|
5356
|
+
self._TimeUnit = params.get("TimeUnit")
|
|
5357
|
+
self._RenewFlag = params.get("RenewFlag")
|
|
5358
|
+
memeber_set = set(params.keys())
|
|
5359
|
+
for name, value in vars(self).items():
|
|
5360
|
+
property_name = name[1:]
|
|
5361
|
+
if property_name in memeber_set:
|
|
5362
|
+
memeber_set.remove(property_name)
|
|
5363
|
+
if len(memeber_set) > 0:
|
|
5364
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5365
|
+
|
|
5366
|
+
|
|
5367
|
+
|
|
5221
5368
|
class ServiceDetail(AbstractModel):
|
|
5222
5369
|
r"""服务详情
|
|
5223
5370
|
|
|
@@ -5251,6 +5398,16 @@ class ServiceDetail(AbstractModel):
|
|
|
5251
5398
|
:type RoleComputeSet: list of ComputeDetail
|
|
5252
5399
|
:param _TargetReplicas:
|
|
5253
5400
|
:type TargetReplicas: int
|
|
5401
|
+
:param _ChargeType: 计费类型:POSTPAID_BY_HOUR(按量)/PREPAID_BY_MONTH(包月)
|
|
5402
|
+
:type ChargeType: str
|
|
5403
|
+
:param _ExpireTime: 到期时间(包月),按量为空
|
|
5404
|
+
:type ExpireTime: str
|
|
5405
|
+
:param _RenewFlag: 自动续费标识(包月)
|
|
5406
|
+
:type RenewFlag: str
|
|
5407
|
+
:param _RestrictState: 受限状态(如欠费隔离)
|
|
5408
|
+
:type RestrictState: str
|
|
5409
|
+
:param _IsCustomDeploy: 是否自定义部署:1是 0否
|
|
5410
|
+
:type IsCustomDeploy: int
|
|
5254
5411
|
"""
|
|
5255
5412
|
self._ServiceId = None
|
|
5256
5413
|
self._ServiceName = None
|
|
@@ -5265,6 +5422,11 @@ class ServiceDetail(AbstractModel):
|
|
|
5265
5422
|
self._SecurityType = None
|
|
5266
5423
|
self._RoleComputeSet = None
|
|
5267
5424
|
self._TargetReplicas = None
|
|
5425
|
+
self._ChargeType = None
|
|
5426
|
+
self._ExpireTime = None
|
|
5427
|
+
self._RenewFlag = None
|
|
5428
|
+
self._RestrictState = None
|
|
5429
|
+
self._IsCustomDeploy = None
|
|
5268
5430
|
|
|
5269
5431
|
@property
|
|
5270
5432
|
def ServiceId(self):
|
|
@@ -5409,6 +5571,61 @@ class ServiceDetail(AbstractModel):
|
|
|
5409
5571
|
def TargetReplicas(self, TargetReplicas):
|
|
5410
5572
|
self._TargetReplicas = TargetReplicas
|
|
5411
5573
|
|
|
5574
|
+
@property
|
|
5575
|
+
def ChargeType(self):
|
|
5576
|
+
r"""计费类型:POSTPAID_BY_HOUR(按量)/PREPAID_BY_MONTH(包月)
|
|
5577
|
+
:rtype: str
|
|
5578
|
+
"""
|
|
5579
|
+
return self._ChargeType
|
|
5580
|
+
|
|
5581
|
+
@ChargeType.setter
|
|
5582
|
+
def ChargeType(self, ChargeType):
|
|
5583
|
+
self._ChargeType = ChargeType
|
|
5584
|
+
|
|
5585
|
+
@property
|
|
5586
|
+
def ExpireTime(self):
|
|
5587
|
+
r"""到期时间(包月),按量为空
|
|
5588
|
+
:rtype: str
|
|
5589
|
+
"""
|
|
5590
|
+
return self._ExpireTime
|
|
5591
|
+
|
|
5592
|
+
@ExpireTime.setter
|
|
5593
|
+
def ExpireTime(self, ExpireTime):
|
|
5594
|
+
self._ExpireTime = ExpireTime
|
|
5595
|
+
|
|
5596
|
+
@property
|
|
5597
|
+
def RenewFlag(self):
|
|
5598
|
+
r"""自动续费标识(包月)
|
|
5599
|
+
:rtype: str
|
|
5600
|
+
"""
|
|
5601
|
+
return self._RenewFlag
|
|
5602
|
+
|
|
5603
|
+
@RenewFlag.setter
|
|
5604
|
+
def RenewFlag(self, RenewFlag):
|
|
5605
|
+
self._RenewFlag = RenewFlag
|
|
5606
|
+
|
|
5607
|
+
@property
|
|
5608
|
+
def RestrictState(self):
|
|
5609
|
+
r"""受限状态(如欠费隔离)
|
|
5610
|
+
:rtype: str
|
|
5611
|
+
"""
|
|
5612
|
+
return self._RestrictState
|
|
5613
|
+
|
|
5614
|
+
@RestrictState.setter
|
|
5615
|
+
def RestrictState(self, RestrictState):
|
|
5616
|
+
self._RestrictState = RestrictState
|
|
5617
|
+
|
|
5618
|
+
@property
|
|
5619
|
+
def IsCustomDeploy(self):
|
|
5620
|
+
r"""是否自定义部署:1是 0否
|
|
5621
|
+
:rtype: int
|
|
5622
|
+
"""
|
|
5623
|
+
return self._IsCustomDeploy
|
|
5624
|
+
|
|
5625
|
+
@IsCustomDeploy.setter
|
|
5626
|
+
def IsCustomDeploy(self, IsCustomDeploy):
|
|
5627
|
+
self._IsCustomDeploy = IsCustomDeploy
|
|
5628
|
+
|
|
5412
5629
|
|
|
5413
5630
|
def _deserialize(self, params):
|
|
5414
5631
|
self._ServiceId = params.get("ServiceId")
|
|
@@ -5441,6 +5658,11 @@ class ServiceDetail(AbstractModel):
|
|
|
5441
5658
|
obj._deserialize(item)
|
|
5442
5659
|
self._RoleComputeSet.append(obj)
|
|
5443
5660
|
self._TargetReplicas = params.get("TargetReplicas")
|
|
5661
|
+
self._ChargeType = params.get("ChargeType")
|
|
5662
|
+
self._ExpireTime = params.get("ExpireTime")
|
|
5663
|
+
self._RenewFlag = params.get("RenewFlag")
|
|
5664
|
+
self._RestrictState = params.get("RestrictState")
|
|
5665
|
+
self._IsCustomDeploy = params.get("IsCustomDeploy")
|
|
5444
5666
|
memeber_set = set(params.keys())
|
|
5445
5667
|
for name, value in vars(self).items():
|
|
5446
5668
|
property_name = name[1:]
|
|
@@ -5866,6 +6088,42 @@ class SystemDisk(AbstractModel):
|
|
|
5866
6088
|
|
|
5867
6089
|
|
|
5868
6090
|
|
|
6091
|
+
class TcpSocketConfig(AbstractModel):
|
|
6092
|
+
r"""推理服务TcpSocket的配置
|
|
6093
|
+
|
|
6094
|
+
"""
|
|
6095
|
+
|
|
6096
|
+
def __init__(self):
|
|
6097
|
+
r"""
|
|
6098
|
+
:param _Port:
|
|
6099
|
+
:type Port: int
|
|
6100
|
+
"""
|
|
6101
|
+
self._Port = None
|
|
6102
|
+
|
|
6103
|
+
@property
|
|
6104
|
+
def Port(self):
|
|
6105
|
+
r"""
|
|
6106
|
+
:rtype: int
|
|
6107
|
+
"""
|
|
6108
|
+
return self._Port
|
|
6109
|
+
|
|
6110
|
+
@Port.setter
|
|
6111
|
+
def Port(self, Port):
|
|
6112
|
+
self._Port = Port
|
|
6113
|
+
|
|
6114
|
+
|
|
6115
|
+
def _deserialize(self, params):
|
|
6116
|
+
self._Port = params.get("Port")
|
|
6117
|
+
memeber_set = set(params.keys())
|
|
6118
|
+
for name, value in vars(self).items():
|
|
6119
|
+
property_name = name[1:]
|
|
6120
|
+
if property_name in memeber_set:
|
|
6121
|
+
memeber_set.remove(property_name)
|
|
6122
|
+
if len(memeber_set) > 0:
|
|
6123
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6124
|
+
|
|
6125
|
+
|
|
6126
|
+
|
|
5869
6127
|
class TemplateDetail(AbstractModel):
|
|
5870
6128
|
r"""模板详情
|
|
5871
6129
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-hai
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.131
|
|
4
4
|
Summary: Tencent Cloud Hai 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.131
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.131
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.114
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|