tencentcloud-sdk-python-clb 3.1.165__tar.gz → 3.1.169__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_clb-3.1.165 → tencentcloud_sdk_python_clb-3.1.169}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_clb-3.1.165 → tencentcloud_sdk_python_clb-3.1.169}/setup.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.165 → tencentcloud_sdk_python_clb-3.1.169}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.165 → tencentcloud_sdk_python_clb-3.1.169}/tencentcloud/clb/v20180317/clb_client.py +2 -0
- {tencentcloud_sdk_python_clb-3.1.165 → tencentcloud_sdk_python_clb-3.1.169}/tencentcloud/clb/v20180317/clb_client_async.py +2 -0
- {tencentcloud_sdk_python_clb-3.1.165 → tencentcloud_sdk_python_clb-3.1.169}/tencentcloud/clb/v20180317/models.py +477 -4
- {tencentcloud_sdk_python_clb-3.1.165 → tencentcloud_sdk_python_clb-3.1.169}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_clb-3.1.169/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_clb-3.1.165/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_clb-3.1.165 → tencentcloud_sdk_python_clb-3.1.169}/README.rst +0 -0
- {tencentcloud_sdk_python_clb-3.1.165 → tencentcloud_sdk_python_clb-3.1.169}/setup.cfg +0 -0
- {tencentcloud_sdk_python_clb-3.1.165 → tencentcloud_sdk_python_clb-3.1.169}/tencentcloud/clb/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.165 → tencentcloud_sdk_python_clb-3.1.169}/tencentcloud/clb/v20180317/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.165 → tencentcloud_sdk_python_clb-3.1.169}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.165 → tencentcloud_sdk_python_clb-3.1.169}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.165 → tencentcloud_sdk_python_clb-3.1.169}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.165 → tencentcloud_sdk_python_clb-3.1.169}/tencentcloud_sdk_python_clb.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-clb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.169
|
|
4
4
|
Summary: Tencent Cloud Clb 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.169
|
|
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-clb',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.169,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Clb SDK for Python',
|
|
@@ -3026,6 +3026,8 @@ class ClbClient(AbstractClient):
|
|
|
3026
3026
|
- 共享型升级为性能容量型实例后,不支持再回退到共享型实例。
|
|
3027
3027
|
- 传统型负载均衡实例不支持升级为性能容量型实例。
|
|
3028
3028
|
|
|
3029
|
+
本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
|
|
3030
|
+
|
|
3029
3031
|
:param request: Request instance for ModifyLoadBalancerSla.
|
|
3030
3032
|
:type request: :class:`tencentcloud.clb.v20180317.models.ModifyLoadBalancerSlaRequest`
|
|
3031
3033
|
:rtype: :class:`tencentcloud.clb.v20180317.models.ModifyLoadBalancerSlaResponse`
|
|
@@ -2394,6 +2394,8 @@ class ClbClient(AbstractClient):
|
|
|
2394
2394
|
限制条件:
|
|
2395
2395
|
- 共享型升级为性能容量型实例后,不支持再回退到共享型实例。
|
|
2396
2396
|
- 传统型负载均衡实例不支持升级为性能容量型实例。
|
|
2397
|
+
|
|
2398
|
+
本接口为异步接口,本接口返回成功后需以返回的RequestID为入参,调用 [DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683) 接口查询本次任务是否成功。
|
|
2397
2399
|
"""
|
|
2398
2400
|
|
|
2399
2401
|
kwargs = {}
|
|
@@ -211,6 +211,57 @@ class AddModelRewriteResponse(AbstractModel):
|
|
|
211
211
|
self._RequestId = params.get("RequestId")
|
|
212
212
|
|
|
213
213
|
|
|
214
|
+
class ApiBaseItem(AbstractModel):
|
|
215
|
+
r"""多协议 ApiBase 单条目。
|
|
216
|
+
|
|
217
|
+
"""
|
|
218
|
+
|
|
219
|
+
def __init__(self):
|
|
220
|
+
r"""
|
|
221
|
+
:param _Protocol: <p>后端转发协议</p>
|
|
222
|
+
:type Protocol: str
|
|
223
|
+
:param _ApiBase: <p>Api Base URL</p>
|
|
224
|
+
:type ApiBase: str
|
|
225
|
+
"""
|
|
226
|
+
self._Protocol = None
|
|
227
|
+
self._ApiBase = None
|
|
228
|
+
|
|
229
|
+
@property
|
|
230
|
+
def Protocol(self):
|
|
231
|
+
r"""<p>后端转发协议</p>
|
|
232
|
+
:rtype: str
|
|
233
|
+
"""
|
|
234
|
+
return self._Protocol
|
|
235
|
+
|
|
236
|
+
@Protocol.setter
|
|
237
|
+
def Protocol(self, Protocol):
|
|
238
|
+
self._Protocol = Protocol
|
|
239
|
+
|
|
240
|
+
@property
|
|
241
|
+
def ApiBase(self):
|
|
242
|
+
r"""<p>Api Base URL</p>
|
|
243
|
+
:rtype: str
|
|
244
|
+
"""
|
|
245
|
+
return self._ApiBase
|
|
246
|
+
|
|
247
|
+
@ApiBase.setter
|
|
248
|
+
def ApiBase(self, ApiBase):
|
|
249
|
+
self._ApiBase = ApiBase
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
def _deserialize(self, params):
|
|
253
|
+
self._Protocol = params.get("Protocol")
|
|
254
|
+
self._ApiBase = params.get("ApiBase")
|
|
255
|
+
memeber_set = set(params.keys())
|
|
256
|
+
for name, value in vars(self).items():
|
|
257
|
+
property_name = name[1:]
|
|
258
|
+
if property_name in memeber_set:
|
|
259
|
+
memeber_set.remove(property_name)
|
|
260
|
+
if len(memeber_set) > 0:
|
|
261
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
214
265
|
class AssociateBudgetRequest(AbstractModel):
|
|
215
266
|
r"""AssociateBudget请求参数结构体
|
|
216
267
|
|
|
@@ -7345,6 +7396,8 @@ class CreateModelRequest(AbstractModel):
|
|
|
7345
7396
|
:type Protocol: str
|
|
7346
7397
|
:param _ApiBase: <p>API Base URL</p>
|
|
7347
7398
|
:type ApiBase: str
|
|
7399
|
+
:param _ApiBases: <p>多协议 Api Base URL</p>
|
|
7400
|
+
:type ApiBases: list of ApiBaseItem
|
|
7348
7401
|
:param _VpcId: <p>VPC ID</p>
|
|
7349
7402
|
:type VpcId: str
|
|
7350
7403
|
:param _SubnetId: <p>子网 ID</p>
|
|
@@ -7357,6 +7410,10 @@ class CreateModelRequest(AbstractModel):
|
|
|
7357
7410
|
:type VerifySSL: bool
|
|
7358
7411
|
:param _HealthCheckConfig: <p>健康检查配置</p>
|
|
7359
7412
|
:type HealthCheckConfig: :class:`tencentcloud.clb.v20180317.models.ServiceProviderHealthCheckConfigInput`
|
|
7413
|
+
:param _CMRPrivateNetworkTunnelId: <p>私网管道 ID</p>
|
|
7414
|
+
:type CMRPrivateNetworkTunnelId: str
|
|
7415
|
+
:param _HealthCheckConfigs: <p>健康检查配置</p>
|
|
7416
|
+
:type HealthCheckConfigs: list of ServiceProviderHealthCheckConfigItemInput
|
|
7360
7417
|
"""
|
|
7361
7418
|
self._AccessType = None
|
|
7362
7419
|
self._ModelProvider = None
|
|
@@ -7366,12 +7423,15 @@ class CreateModelRequest(AbstractModel):
|
|
|
7366
7423
|
self._ServiceProviderName = None
|
|
7367
7424
|
self._Protocol = None
|
|
7368
7425
|
self._ApiBase = None
|
|
7426
|
+
self._ApiBases = None
|
|
7369
7427
|
self._VpcId = None
|
|
7370
7428
|
self._SubnetId = None
|
|
7371
7429
|
self._HostHeader = None
|
|
7372
7430
|
self._Tags = None
|
|
7373
7431
|
self._VerifySSL = None
|
|
7374
7432
|
self._HealthCheckConfig = None
|
|
7433
|
+
self._CMRPrivateNetworkTunnelId = None
|
|
7434
|
+
self._HealthCheckConfigs = None
|
|
7375
7435
|
|
|
7376
7436
|
@property
|
|
7377
7437
|
def AccessType(self):
|
|
@@ -7461,6 +7521,17 @@ class CreateModelRequest(AbstractModel):
|
|
|
7461
7521
|
def ApiBase(self, ApiBase):
|
|
7462
7522
|
self._ApiBase = ApiBase
|
|
7463
7523
|
|
|
7524
|
+
@property
|
|
7525
|
+
def ApiBases(self):
|
|
7526
|
+
r"""<p>多协议 Api Base URL</p>
|
|
7527
|
+
:rtype: list of ApiBaseItem
|
|
7528
|
+
"""
|
|
7529
|
+
return self._ApiBases
|
|
7530
|
+
|
|
7531
|
+
@ApiBases.setter
|
|
7532
|
+
def ApiBases(self, ApiBases):
|
|
7533
|
+
self._ApiBases = ApiBases
|
|
7534
|
+
|
|
7464
7535
|
@property
|
|
7465
7536
|
def VpcId(self):
|
|
7466
7537
|
r"""<p>VPC ID</p>
|
|
@@ -7527,6 +7598,28 @@ class CreateModelRequest(AbstractModel):
|
|
|
7527
7598
|
def HealthCheckConfig(self, HealthCheckConfig):
|
|
7528
7599
|
self._HealthCheckConfig = HealthCheckConfig
|
|
7529
7600
|
|
|
7601
|
+
@property
|
|
7602
|
+
def CMRPrivateNetworkTunnelId(self):
|
|
7603
|
+
r"""<p>私网管道 ID</p>
|
|
7604
|
+
:rtype: str
|
|
7605
|
+
"""
|
|
7606
|
+
return self._CMRPrivateNetworkTunnelId
|
|
7607
|
+
|
|
7608
|
+
@CMRPrivateNetworkTunnelId.setter
|
|
7609
|
+
def CMRPrivateNetworkTunnelId(self, CMRPrivateNetworkTunnelId):
|
|
7610
|
+
self._CMRPrivateNetworkTunnelId = CMRPrivateNetworkTunnelId
|
|
7611
|
+
|
|
7612
|
+
@property
|
|
7613
|
+
def HealthCheckConfigs(self):
|
|
7614
|
+
r"""<p>健康检查配置</p>
|
|
7615
|
+
:rtype: list of ServiceProviderHealthCheckConfigItemInput
|
|
7616
|
+
"""
|
|
7617
|
+
return self._HealthCheckConfigs
|
|
7618
|
+
|
|
7619
|
+
@HealthCheckConfigs.setter
|
|
7620
|
+
def HealthCheckConfigs(self, HealthCheckConfigs):
|
|
7621
|
+
self._HealthCheckConfigs = HealthCheckConfigs
|
|
7622
|
+
|
|
7530
7623
|
|
|
7531
7624
|
def _deserialize(self, params):
|
|
7532
7625
|
self._AccessType = params.get("AccessType")
|
|
@@ -7547,6 +7640,12 @@ class CreateModelRequest(AbstractModel):
|
|
|
7547
7640
|
self._ServiceProviderName = params.get("ServiceProviderName")
|
|
7548
7641
|
self._Protocol = params.get("Protocol")
|
|
7549
7642
|
self._ApiBase = params.get("ApiBase")
|
|
7643
|
+
if params.get("ApiBases") is not None:
|
|
7644
|
+
self._ApiBases = []
|
|
7645
|
+
for item in params.get("ApiBases"):
|
|
7646
|
+
obj = ApiBaseItem()
|
|
7647
|
+
obj._deserialize(item)
|
|
7648
|
+
self._ApiBases.append(obj)
|
|
7550
7649
|
self._VpcId = params.get("VpcId")
|
|
7551
7650
|
self._SubnetId = params.get("SubnetId")
|
|
7552
7651
|
self._HostHeader = params.get("HostHeader")
|
|
@@ -7560,6 +7659,13 @@ class CreateModelRequest(AbstractModel):
|
|
|
7560
7659
|
if params.get("HealthCheckConfig") is not None:
|
|
7561
7660
|
self._HealthCheckConfig = ServiceProviderHealthCheckConfigInput()
|
|
7562
7661
|
self._HealthCheckConfig._deserialize(params.get("HealthCheckConfig"))
|
|
7662
|
+
self._CMRPrivateNetworkTunnelId = params.get("CMRPrivateNetworkTunnelId")
|
|
7663
|
+
if params.get("HealthCheckConfigs") is not None:
|
|
7664
|
+
self._HealthCheckConfigs = []
|
|
7665
|
+
for item in params.get("HealthCheckConfigs"):
|
|
7666
|
+
obj = ServiceProviderHealthCheckConfigItemInput()
|
|
7667
|
+
obj._deserialize(item)
|
|
7668
|
+
self._HealthCheckConfigs.append(obj)
|
|
7563
7669
|
memeber_set = set(params.keys())
|
|
7564
7670
|
for name, value in vars(self).items():
|
|
7565
7671
|
property_name = name[1:]
|
|
@@ -17797,8 +17903,10 @@ class DescribeUpperModelsRequest(AbstractModel):
|
|
|
17797
17903
|
:type ModelProtocol: str
|
|
17798
17904
|
:param _ModelProvider: <p>模型提供商</p>
|
|
17799
17905
|
:type ModelProvider: str
|
|
17800
|
-
:param _ServiceProviderId: <p>BYOK 业务 ID,可选</p><p>格式:byok-xxxxxxxx
|
|
17906
|
+
:param _ServiceProviderId: <p>BYOK 业务 ID,可选</p><p>格式:byok-xxxxxxxx,预留参数</p>
|
|
17801
17907
|
:type ServiceProviderId: str
|
|
17908
|
+
:param _CMRPrivateNetworkTunnelId: <p> CMR 私网管道ID </p>
|
|
17909
|
+
:type CMRPrivateNetworkTunnelId: str
|
|
17802
17910
|
"""
|
|
17803
17911
|
self._AccessType = None
|
|
17804
17912
|
self._ApiBase = None
|
|
@@ -17809,6 +17917,7 @@ class DescribeUpperModelsRequest(AbstractModel):
|
|
|
17809
17917
|
self._ModelProtocol = None
|
|
17810
17918
|
self._ModelProvider = None
|
|
17811
17919
|
self._ServiceProviderId = None
|
|
17920
|
+
self._CMRPrivateNetworkTunnelId = None
|
|
17812
17921
|
|
|
17813
17922
|
@property
|
|
17814
17923
|
def AccessType(self):
|
|
@@ -17900,7 +18009,7 @@ class DescribeUpperModelsRequest(AbstractModel):
|
|
|
17900
18009
|
|
|
17901
18010
|
@property
|
|
17902
18011
|
def ServiceProviderId(self):
|
|
17903
|
-
r"""<p>BYOK 业务 ID,可选</p><p>格式:byok-xxxxxxxx
|
|
18012
|
+
r"""<p>BYOK 业务 ID,可选</p><p>格式:byok-xxxxxxxx,预留参数</p>
|
|
17904
18013
|
:rtype: str
|
|
17905
18014
|
"""
|
|
17906
18015
|
return self._ServiceProviderId
|
|
@@ -17909,6 +18018,17 @@ class DescribeUpperModelsRequest(AbstractModel):
|
|
|
17909
18018
|
def ServiceProviderId(self, ServiceProviderId):
|
|
17910
18019
|
self._ServiceProviderId = ServiceProviderId
|
|
17911
18020
|
|
|
18021
|
+
@property
|
|
18022
|
+
def CMRPrivateNetworkTunnelId(self):
|
|
18023
|
+
r"""<p> CMR 私网管道ID </p>
|
|
18024
|
+
:rtype: str
|
|
18025
|
+
"""
|
|
18026
|
+
return self._CMRPrivateNetworkTunnelId
|
|
18027
|
+
|
|
18028
|
+
@CMRPrivateNetworkTunnelId.setter
|
|
18029
|
+
def CMRPrivateNetworkTunnelId(self, CMRPrivateNetworkTunnelId):
|
|
18030
|
+
self._CMRPrivateNetworkTunnelId = CMRPrivateNetworkTunnelId
|
|
18031
|
+
|
|
17912
18032
|
|
|
17913
18033
|
def _deserialize(self, params):
|
|
17914
18034
|
self._AccessType = params.get("AccessType")
|
|
@@ -17920,6 +18040,7 @@ class DescribeUpperModelsRequest(AbstractModel):
|
|
|
17920
18040
|
self._ModelProtocol = params.get("ModelProtocol")
|
|
17921
18041
|
self._ModelProvider = params.get("ModelProvider")
|
|
17922
18042
|
self._ServiceProviderId = params.get("ServiceProviderId")
|
|
18043
|
+
self._CMRPrivateNetworkTunnelId = params.get("CMRPrivateNetworkTunnelId")
|
|
17923
18044
|
memeber_set = set(params.keys())
|
|
17924
18045
|
for name, value in vars(self).items():
|
|
17925
18046
|
property_name = name[1:]
|
|
@@ -24945,6 +25066,9 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
24945
25066
|
:param _ApiBase: <p>API Base URL</p>
|
|
24946
25067
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
24947
25068
|
:type ApiBase: str
|
|
25069
|
+
:param _ApiBases: <p>多协议 API Base URL</p>
|
|
25070
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25071
|
+
:type ApiBases: list of ApiBaseItem
|
|
24948
25072
|
:param _CreatedAt: <p>模型创建时间(ISO 8601)</p>
|
|
24949
25073
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
24950
25074
|
:type CreatedAt: str
|
|
@@ -24982,9 +25106,18 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
24982
25106
|
:type VpcId: str
|
|
24983
25107
|
:param _HealthCheckConfig: <p>健康检查配置</p>
|
|
24984
25108
|
:type HealthCheckConfig: :class:`tencentcloud.clb.v20180317.models.ServiceProviderHealthCheckConfigOutput`
|
|
25109
|
+
:param _CMRPrivateNetworkTunnelId: <p>私网管道 ID</p>
|
|
25110
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25111
|
+
:type CMRPrivateNetworkTunnelId: str
|
|
25112
|
+
:param _CMRPrivateNetworkTunnelName: <p>私网管道名称</p>
|
|
25113
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25114
|
+
:type CMRPrivateNetworkTunnelName: str
|
|
25115
|
+
:param _HealthCheckConfigs: <p>健康检查配置</p>
|
|
25116
|
+
:type HealthCheckConfigs: list of ServiceProviderHealthCheckConfigItemOutput
|
|
24985
25117
|
"""
|
|
24986
25118
|
self._AccessType = None
|
|
24987
25119
|
self._ApiBase = None
|
|
25120
|
+
self._ApiBases = None
|
|
24988
25121
|
self._CreatedAt = None
|
|
24989
25122
|
self._HostHeader = None
|
|
24990
25123
|
self._KeyCount = None
|
|
@@ -25001,6 +25134,9 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
25001
25134
|
self._VerifySSL = None
|
|
25002
25135
|
self._VpcId = None
|
|
25003
25136
|
self._HealthCheckConfig = None
|
|
25137
|
+
self._CMRPrivateNetworkTunnelId = None
|
|
25138
|
+
self._CMRPrivateNetworkTunnelName = None
|
|
25139
|
+
self._HealthCheckConfigs = None
|
|
25004
25140
|
|
|
25005
25141
|
@property
|
|
25006
25142
|
def AccessType(self):
|
|
@@ -25025,6 +25161,18 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
25025
25161
|
def ApiBase(self, ApiBase):
|
|
25026
25162
|
self._ApiBase = ApiBase
|
|
25027
25163
|
|
|
25164
|
+
@property
|
|
25165
|
+
def ApiBases(self):
|
|
25166
|
+
r"""<p>多协议 API Base URL</p>
|
|
25167
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25168
|
+
:rtype: list of ApiBaseItem
|
|
25169
|
+
"""
|
|
25170
|
+
return self._ApiBases
|
|
25171
|
+
|
|
25172
|
+
@ApiBases.setter
|
|
25173
|
+
def ApiBases(self, ApiBases):
|
|
25174
|
+
self._ApiBases = ApiBases
|
|
25175
|
+
|
|
25028
25176
|
@property
|
|
25029
25177
|
def CreatedAt(self):
|
|
25030
25178
|
r"""<p>模型创建时间(ISO 8601)</p>
|
|
@@ -25206,10 +25354,51 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
25206
25354
|
def HealthCheckConfig(self, HealthCheckConfig):
|
|
25207
25355
|
self._HealthCheckConfig = HealthCheckConfig
|
|
25208
25356
|
|
|
25357
|
+
@property
|
|
25358
|
+
def CMRPrivateNetworkTunnelId(self):
|
|
25359
|
+
r"""<p>私网管道 ID</p>
|
|
25360
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25361
|
+
:rtype: str
|
|
25362
|
+
"""
|
|
25363
|
+
return self._CMRPrivateNetworkTunnelId
|
|
25364
|
+
|
|
25365
|
+
@CMRPrivateNetworkTunnelId.setter
|
|
25366
|
+
def CMRPrivateNetworkTunnelId(self, CMRPrivateNetworkTunnelId):
|
|
25367
|
+
self._CMRPrivateNetworkTunnelId = CMRPrivateNetworkTunnelId
|
|
25368
|
+
|
|
25369
|
+
@property
|
|
25370
|
+
def CMRPrivateNetworkTunnelName(self):
|
|
25371
|
+
r"""<p>私网管道名称</p>
|
|
25372
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25373
|
+
:rtype: str
|
|
25374
|
+
"""
|
|
25375
|
+
return self._CMRPrivateNetworkTunnelName
|
|
25376
|
+
|
|
25377
|
+
@CMRPrivateNetworkTunnelName.setter
|
|
25378
|
+
def CMRPrivateNetworkTunnelName(self, CMRPrivateNetworkTunnelName):
|
|
25379
|
+
self._CMRPrivateNetworkTunnelName = CMRPrivateNetworkTunnelName
|
|
25380
|
+
|
|
25381
|
+
@property
|
|
25382
|
+
def HealthCheckConfigs(self):
|
|
25383
|
+
r"""<p>健康检查配置</p>
|
|
25384
|
+
:rtype: list of ServiceProviderHealthCheckConfigItemOutput
|
|
25385
|
+
"""
|
|
25386
|
+
return self._HealthCheckConfigs
|
|
25387
|
+
|
|
25388
|
+
@HealthCheckConfigs.setter
|
|
25389
|
+
def HealthCheckConfigs(self, HealthCheckConfigs):
|
|
25390
|
+
self._HealthCheckConfigs = HealthCheckConfigs
|
|
25391
|
+
|
|
25209
25392
|
|
|
25210
25393
|
def _deserialize(self, params):
|
|
25211
25394
|
self._AccessType = params.get("AccessType")
|
|
25212
25395
|
self._ApiBase = params.get("ApiBase")
|
|
25396
|
+
if params.get("ApiBases") is not None:
|
|
25397
|
+
self._ApiBases = []
|
|
25398
|
+
for item in params.get("ApiBases"):
|
|
25399
|
+
obj = ApiBaseItem()
|
|
25400
|
+
obj._deserialize(item)
|
|
25401
|
+
self._ApiBases.append(obj)
|
|
25213
25402
|
self._CreatedAt = params.get("CreatedAt")
|
|
25214
25403
|
self._HostHeader = params.get("HostHeader")
|
|
25215
25404
|
self._KeyCount = params.get("KeyCount")
|
|
@@ -25243,6 +25432,14 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
25243
25432
|
if params.get("HealthCheckConfig") is not None:
|
|
25244
25433
|
self._HealthCheckConfig = ServiceProviderHealthCheckConfigOutput()
|
|
25245
25434
|
self._HealthCheckConfig._deserialize(params.get("HealthCheckConfig"))
|
|
25435
|
+
self._CMRPrivateNetworkTunnelId = params.get("CMRPrivateNetworkTunnelId")
|
|
25436
|
+
self._CMRPrivateNetworkTunnelName = params.get("CMRPrivateNetworkTunnelName")
|
|
25437
|
+
if params.get("HealthCheckConfigs") is not None:
|
|
25438
|
+
self._HealthCheckConfigs = []
|
|
25439
|
+
for item in params.get("HealthCheckConfigs"):
|
|
25440
|
+
obj = ServiceProviderHealthCheckConfigItemOutput()
|
|
25441
|
+
obj._deserialize(item)
|
|
25442
|
+
self._HealthCheckConfigs.append(obj)
|
|
25246
25443
|
memeber_set = set(params.keys())
|
|
25247
25444
|
for name, value in vars(self).items():
|
|
25248
25445
|
property_name = name[1:]
|
|
@@ -25517,6 +25714,7 @@ class ModelRouterDetail(AbstractModel):
|
|
|
25517
25714
|
:param _VpcId: <p>模型路由实例所属VPC的ID</p>
|
|
25518
25715
|
:type VpcId: str
|
|
25519
25716
|
:param _Bandwidth: <p>带宽</p><p>单位:Mbps</p>
|
|
25717
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25520
25718
|
:type Bandwidth: int
|
|
25521
25719
|
:param _EipAddressId: <p>弹性公网IP的ID</p>
|
|
25522
25720
|
:type EipAddressId: str
|
|
@@ -25797,6 +25995,7 @@ class ModelRouterDetail(AbstractModel):
|
|
|
25797
25995
|
@property
|
|
25798
25996
|
def Bandwidth(self):
|
|
25799
25997
|
r"""<p>带宽</p><p>单位:Mbps</p>
|
|
25998
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25800
25999
|
:rtype: int
|
|
25801
26000
|
"""
|
|
25802
26001
|
return self._Bandwidth
|
|
@@ -29393,11 +29592,14 @@ class ModifyModelAttributesRequest(AbstractModel):
|
|
|
29393
29592
|
r"""
|
|
29394
29593
|
:param _ServiceProviderId: <p>BYOK的ID</p><p>参数格式:byok-kot39u7j</p>
|
|
29395
29594
|
:type ServiceProviderId: str
|
|
29396
|
-
:param _ServiceProviderName: <p>BYOK的自定义名字</p><p>入参限制:1~
|
|
29595
|
+
:param _ServiceProviderName: <p>BYOK的自定义名字</p><p>入参限制:1~255个字符</p>
|
|
29397
29596
|
:type ServiceProviderName: str
|
|
29597
|
+
:param _ApiBases: <p>多协议 Api Base URL</p>
|
|
29598
|
+
:type ApiBases: list of ApiBaseItem
|
|
29398
29599
|
"""
|
|
29399
29600
|
self._ServiceProviderId = None
|
|
29400
29601
|
self._ServiceProviderName = None
|
|
29602
|
+
self._ApiBases = None
|
|
29401
29603
|
|
|
29402
29604
|
@property
|
|
29403
29605
|
def ServiceProviderId(self):
|
|
@@ -29412,7 +29614,7 @@ class ModifyModelAttributesRequest(AbstractModel):
|
|
|
29412
29614
|
|
|
29413
29615
|
@property
|
|
29414
29616
|
def ServiceProviderName(self):
|
|
29415
|
-
r"""<p>BYOK的自定义名字</p><p>入参限制:1~
|
|
29617
|
+
r"""<p>BYOK的自定义名字</p><p>入参限制:1~255个字符</p>
|
|
29416
29618
|
:rtype: str
|
|
29417
29619
|
"""
|
|
29418
29620
|
return self._ServiceProviderName
|
|
@@ -29421,10 +29623,27 @@ class ModifyModelAttributesRequest(AbstractModel):
|
|
|
29421
29623
|
def ServiceProviderName(self, ServiceProviderName):
|
|
29422
29624
|
self._ServiceProviderName = ServiceProviderName
|
|
29423
29625
|
|
|
29626
|
+
@property
|
|
29627
|
+
def ApiBases(self):
|
|
29628
|
+
r"""<p>多协议 Api Base URL</p>
|
|
29629
|
+
:rtype: list of ApiBaseItem
|
|
29630
|
+
"""
|
|
29631
|
+
return self._ApiBases
|
|
29632
|
+
|
|
29633
|
+
@ApiBases.setter
|
|
29634
|
+
def ApiBases(self, ApiBases):
|
|
29635
|
+
self._ApiBases = ApiBases
|
|
29636
|
+
|
|
29424
29637
|
|
|
29425
29638
|
def _deserialize(self, params):
|
|
29426
29639
|
self._ServiceProviderId = params.get("ServiceProviderId")
|
|
29427
29640
|
self._ServiceProviderName = params.get("ServiceProviderName")
|
|
29641
|
+
if params.get("ApiBases") is not None:
|
|
29642
|
+
self._ApiBases = []
|
|
29643
|
+
for item in params.get("ApiBases"):
|
|
29644
|
+
obj = ApiBaseItem()
|
|
29645
|
+
obj._deserialize(item)
|
|
29646
|
+
self._ApiBases.append(obj)
|
|
29428
29647
|
memeber_set = set(params.keys())
|
|
29429
29648
|
for name, value in vars(self).items():
|
|
29430
29649
|
property_name = name[1:]
|
|
@@ -34908,6 +35127,200 @@ class ServiceProviderHealthCheckConfigInput(AbstractModel):
|
|
|
34908
35127
|
|
|
34909
35128
|
|
|
34910
35129
|
|
|
35130
|
+
class ServiceProviderHealthCheckConfigItemInput(AbstractModel):
|
|
35131
|
+
r"""健康检查配置
|
|
35132
|
+
|
|
35133
|
+
"""
|
|
35134
|
+
|
|
35135
|
+
def __init__(self):
|
|
35136
|
+
r"""
|
|
35137
|
+
:param _HealthCheckEnabled: <p>是否开启健康检查</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
|
|
35138
|
+
:type HealthCheckEnabled: bool
|
|
35139
|
+
:param _HealthCheckInterval: <p>健康检查间隔。支持以300s为步长配置。</p><p>取值范围:[300, 14400]</p><p>单位:s</p><p>默认值:300</p>
|
|
35140
|
+
:type HealthCheckInterval: int
|
|
35141
|
+
:param _HealthCheckUnhealthyThreshold: <p>不健康阈值。表示当模型连续多少次不健康时认为该模型不健康。</p><p>取值范围:[1, 10]</p>
|
|
35142
|
+
:type HealthCheckUnhealthyThreshold: int
|
|
35143
|
+
:param _HealthCheckMaxTokens: <p>健康检查使用的最大Token数量。部分模型如gpt系列可能仅支持大于等于16。</p><p>取值范围:[1, 1024]</p><p>默认值:1</p>
|
|
35144
|
+
:type HealthCheckMaxTokens: int
|
|
35145
|
+
:param _HealthCheckProtocol: <p>健康检查协议</p><p>枚举值:</p><ul><li>chat: 表示/chat/completion协议</li><li>messages: 表示/v1/messages协议</li><li>responses: 表示/v1/messages协议</li></ul>
|
|
35146
|
+
:type HealthCheckProtocol: str
|
|
35147
|
+
"""
|
|
35148
|
+
self._HealthCheckEnabled = None
|
|
35149
|
+
self._HealthCheckInterval = None
|
|
35150
|
+
self._HealthCheckUnhealthyThreshold = None
|
|
35151
|
+
self._HealthCheckMaxTokens = None
|
|
35152
|
+
self._HealthCheckProtocol = None
|
|
35153
|
+
|
|
35154
|
+
@property
|
|
35155
|
+
def HealthCheckEnabled(self):
|
|
35156
|
+
r"""<p>是否开启健康检查</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
|
|
35157
|
+
:rtype: bool
|
|
35158
|
+
"""
|
|
35159
|
+
return self._HealthCheckEnabled
|
|
35160
|
+
|
|
35161
|
+
@HealthCheckEnabled.setter
|
|
35162
|
+
def HealthCheckEnabled(self, HealthCheckEnabled):
|
|
35163
|
+
self._HealthCheckEnabled = HealthCheckEnabled
|
|
35164
|
+
|
|
35165
|
+
@property
|
|
35166
|
+
def HealthCheckInterval(self):
|
|
35167
|
+
r"""<p>健康检查间隔。支持以300s为步长配置。</p><p>取值范围:[300, 14400]</p><p>单位:s</p><p>默认值:300</p>
|
|
35168
|
+
:rtype: int
|
|
35169
|
+
"""
|
|
35170
|
+
return self._HealthCheckInterval
|
|
35171
|
+
|
|
35172
|
+
@HealthCheckInterval.setter
|
|
35173
|
+
def HealthCheckInterval(self, HealthCheckInterval):
|
|
35174
|
+
self._HealthCheckInterval = HealthCheckInterval
|
|
35175
|
+
|
|
35176
|
+
@property
|
|
35177
|
+
def HealthCheckUnhealthyThreshold(self):
|
|
35178
|
+
r"""<p>不健康阈值。表示当模型连续多少次不健康时认为该模型不健康。</p><p>取值范围:[1, 10]</p>
|
|
35179
|
+
:rtype: int
|
|
35180
|
+
"""
|
|
35181
|
+
return self._HealthCheckUnhealthyThreshold
|
|
35182
|
+
|
|
35183
|
+
@HealthCheckUnhealthyThreshold.setter
|
|
35184
|
+
def HealthCheckUnhealthyThreshold(self, HealthCheckUnhealthyThreshold):
|
|
35185
|
+
self._HealthCheckUnhealthyThreshold = HealthCheckUnhealthyThreshold
|
|
35186
|
+
|
|
35187
|
+
@property
|
|
35188
|
+
def HealthCheckMaxTokens(self):
|
|
35189
|
+
r"""<p>健康检查使用的最大Token数量。部分模型如gpt系列可能仅支持大于等于16。</p><p>取值范围:[1, 1024]</p><p>默认值:1</p>
|
|
35190
|
+
:rtype: int
|
|
35191
|
+
"""
|
|
35192
|
+
return self._HealthCheckMaxTokens
|
|
35193
|
+
|
|
35194
|
+
@HealthCheckMaxTokens.setter
|
|
35195
|
+
def HealthCheckMaxTokens(self, HealthCheckMaxTokens):
|
|
35196
|
+
self._HealthCheckMaxTokens = HealthCheckMaxTokens
|
|
35197
|
+
|
|
35198
|
+
@property
|
|
35199
|
+
def HealthCheckProtocol(self):
|
|
35200
|
+
r"""<p>健康检查协议</p><p>枚举值:</p><ul><li>chat: 表示/chat/completion协议</li><li>messages: 表示/v1/messages协议</li><li>responses: 表示/v1/messages协议</li></ul>
|
|
35201
|
+
:rtype: str
|
|
35202
|
+
"""
|
|
35203
|
+
return self._HealthCheckProtocol
|
|
35204
|
+
|
|
35205
|
+
@HealthCheckProtocol.setter
|
|
35206
|
+
def HealthCheckProtocol(self, HealthCheckProtocol):
|
|
35207
|
+
self._HealthCheckProtocol = HealthCheckProtocol
|
|
35208
|
+
|
|
35209
|
+
|
|
35210
|
+
def _deserialize(self, params):
|
|
35211
|
+
self._HealthCheckEnabled = params.get("HealthCheckEnabled")
|
|
35212
|
+
self._HealthCheckInterval = params.get("HealthCheckInterval")
|
|
35213
|
+
self._HealthCheckUnhealthyThreshold = params.get("HealthCheckUnhealthyThreshold")
|
|
35214
|
+
self._HealthCheckMaxTokens = params.get("HealthCheckMaxTokens")
|
|
35215
|
+
self._HealthCheckProtocol = params.get("HealthCheckProtocol")
|
|
35216
|
+
memeber_set = set(params.keys())
|
|
35217
|
+
for name, value in vars(self).items():
|
|
35218
|
+
property_name = name[1:]
|
|
35219
|
+
if property_name in memeber_set:
|
|
35220
|
+
memeber_set.remove(property_name)
|
|
35221
|
+
if len(memeber_set) > 0:
|
|
35222
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
35223
|
+
|
|
35224
|
+
|
|
35225
|
+
|
|
35226
|
+
class ServiceProviderHealthCheckConfigItemOutput(AbstractModel):
|
|
35227
|
+
r"""健康检查配置
|
|
35228
|
+
|
|
35229
|
+
"""
|
|
35230
|
+
|
|
35231
|
+
def __init__(self):
|
|
35232
|
+
r"""
|
|
35233
|
+
:param _HealthCheckEnabled: <p>是否开启健康检查</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
|
|
35234
|
+
:type HealthCheckEnabled: bool
|
|
35235
|
+
:param _HealthCheckInterval: <p>健康检查间隔。支持以300s为步长配置。</p><p>单位:s</p><p>默认值:300</p>
|
|
35236
|
+
:type HealthCheckInterval: int
|
|
35237
|
+
:param _HealthCheckUnhealthyThreshold: <p>不健康阈值。表示当模型连续多少次不健康时认为该模型不健康。</p><p>取值范围:[1, 10]</p><p>默认值:1</p>
|
|
35238
|
+
:type HealthCheckUnhealthyThreshold: int
|
|
35239
|
+
:param _HealthCheckMaxTokens: <p>健康检查使用的最大Token数量。部分模型如gpt系列可能仅支持大于等于16。</p><p>默认值:1</p>
|
|
35240
|
+
:type HealthCheckMaxTokens: int
|
|
35241
|
+
:param _HealthCheckProtocol: <p>健康检查协议</p><p>枚举值:</p><ul><li>chat: 表示/chat/completion协议</li><li>messages: 表示/v1/messages协议</li><li>responses: 表示/v1/messages协议</li></ul>
|
|
35242
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35243
|
+
:type HealthCheckProtocol: str
|
|
35244
|
+
"""
|
|
35245
|
+
self._HealthCheckEnabled = None
|
|
35246
|
+
self._HealthCheckInterval = None
|
|
35247
|
+
self._HealthCheckUnhealthyThreshold = None
|
|
35248
|
+
self._HealthCheckMaxTokens = None
|
|
35249
|
+
self._HealthCheckProtocol = None
|
|
35250
|
+
|
|
35251
|
+
@property
|
|
35252
|
+
def HealthCheckEnabled(self):
|
|
35253
|
+
r"""<p>是否开启健康检查</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
|
|
35254
|
+
:rtype: bool
|
|
35255
|
+
"""
|
|
35256
|
+
return self._HealthCheckEnabled
|
|
35257
|
+
|
|
35258
|
+
@HealthCheckEnabled.setter
|
|
35259
|
+
def HealthCheckEnabled(self, HealthCheckEnabled):
|
|
35260
|
+
self._HealthCheckEnabled = HealthCheckEnabled
|
|
35261
|
+
|
|
35262
|
+
@property
|
|
35263
|
+
def HealthCheckInterval(self):
|
|
35264
|
+
r"""<p>健康检查间隔。支持以300s为步长配置。</p><p>单位:s</p><p>默认值:300</p>
|
|
35265
|
+
:rtype: int
|
|
35266
|
+
"""
|
|
35267
|
+
return self._HealthCheckInterval
|
|
35268
|
+
|
|
35269
|
+
@HealthCheckInterval.setter
|
|
35270
|
+
def HealthCheckInterval(self, HealthCheckInterval):
|
|
35271
|
+
self._HealthCheckInterval = HealthCheckInterval
|
|
35272
|
+
|
|
35273
|
+
@property
|
|
35274
|
+
def HealthCheckUnhealthyThreshold(self):
|
|
35275
|
+
r"""<p>不健康阈值。表示当模型连续多少次不健康时认为该模型不健康。</p><p>取值范围:[1, 10]</p><p>默认值:1</p>
|
|
35276
|
+
:rtype: int
|
|
35277
|
+
"""
|
|
35278
|
+
return self._HealthCheckUnhealthyThreshold
|
|
35279
|
+
|
|
35280
|
+
@HealthCheckUnhealthyThreshold.setter
|
|
35281
|
+
def HealthCheckUnhealthyThreshold(self, HealthCheckUnhealthyThreshold):
|
|
35282
|
+
self._HealthCheckUnhealthyThreshold = HealthCheckUnhealthyThreshold
|
|
35283
|
+
|
|
35284
|
+
@property
|
|
35285
|
+
def HealthCheckMaxTokens(self):
|
|
35286
|
+
r"""<p>健康检查使用的最大Token数量。部分模型如gpt系列可能仅支持大于等于16。</p><p>默认值:1</p>
|
|
35287
|
+
:rtype: int
|
|
35288
|
+
"""
|
|
35289
|
+
return self._HealthCheckMaxTokens
|
|
35290
|
+
|
|
35291
|
+
@HealthCheckMaxTokens.setter
|
|
35292
|
+
def HealthCheckMaxTokens(self, HealthCheckMaxTokens):
|
|
35293
|
+
self._HealthCheckMaxTokens = HealthCheckMaxTokens
|
|
35294
|
+
|
|
35295
|
+
@property
|
|
35296
|
+
def HealthCheckProtocol(self):
|
|
35297
|
+
r"""<p>健康检查协议</p><p>枚举值:</p><ul><li>chat: 表示/chat/completion协议</li><li>messages: 表示/v1/messages协议</li><li>responses: 表示/v1/messages协议</li></ul>
|
|
35298
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35299
|
+
:rtype: str
|
|
35300
|
+
"""
|
|
35301
|
+
return self._HealthCheckProtocol
|
|
35302
|
+
|
|
35303
|
+
@HealthCheckProtocol.setter
|
|
35304
|
+
def HealthCheckProtocol(self, HealthCheckProtocol):
|
|
35305
|
+
self._HealthCheckProtocol = HealthCheckProtocol
|
|
35306
|
+
|
|
35307
|
+
|
|
35308
|
+
def _deserialize(self, params):
|
|
35309
|
+
self._HealthCheckEnabled = params.get("HealthCheckEnabled")
|
|
35310
|
+
self._HealthCheckInterval = params.get("HealthCheckInterval")
|
|
35311
|
+
self._HealthCheckUnhealthyThreshold = params.get("HealthCheckUnhealthyThreshold")
|
|
35312
|
+
self._HealthCheckMaxTokens = params.get("HealthCheckMaxTokens")
|
|
35313
|
+
self._HealthCheckProtocol = params.get("HealthCheckProtocol")
|
|
35314
|
+
memeber_set = set(params.keys())
|
|
35315
|
+
for name, value in vars(self).items():
|
|
35316
|
+
property_name = name[1:]
|
|
35317
|
+
if property_name in memeber_set:
|
|
35318
|
+
memeber_set.remove(property_name)
|
|
35319
|
+
if len(memeber_set) > 0:
|
|
35320
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
35321
|
+
|
|
35322
|
+
|
|
35323
|
+
|
|
34911
35324
|
class ServiceProviderHealthCheckConfigOutput(AbstractModel):
|
|
34912
35325
|
r"""健康检查配置
|
|
34913
35326
|
|
|
@@ -37549,6 +37962,10 @@ class TestModelInputModalitiesRequest(AbstractModel):
|
|
|
37549
37962
|
:type ServiceProviderId: str
|
|
37550
37963
|
:param _VerifySSL: <p>是否校验服务提供商的SSL证书</p><p>PublicBYOK时为True且禁止传入;若传入VerifySSL,则优先同步入参逻辑;若传入了ServiceProviderId则同步已创建的Byok实例该Model的逻辑;否则PublicCustom模式下为True,PrivateCustom模式下为False。</p>
|
|
37551
37964
|
:type VerifySSL: bool
|
|
37965
|
+
:param _HealthCheckProtocol: <p>健康检查协议</p><p>枚举值:</p><ul><li>chat: 表示/chat/completion协议</li><li>messages: 表示/v1/messages协议</li><li>responses: 表示/responses协议</li></ul>
|
|
37966
|
+
:type HealthCheckProtocol: str
|
|
37967
|
+
:param _CMRPrivateNetworkTunnelId: <p>CMR私网管道ID</p>
|
|
37968
|
+
:type CMRPrivateNetworkTunnelId: str
|
|
37552
37969
|
"""
|
|
37553
37970
|
self._Model = None
|
|
37554
37971
|
self._ProviderKey = None
|
|
@@ -37560,6 +37977,8 @@ class TestModelInputModalitiesRequest(AbstractModel):
|
|
|
37560
37977
|
self._HostHeader = None
|
|
37561
37978
|
self._ServiceProviderId = None
|
|
37562
37979
|
self._VerifySSL = None
|
|
37980
|
+
self._HealthCheckProtocol = None
|
|
37981
|
+
self._CMRPrivateNetworkTunnelId = None
|
|
37563
37982
|
|
|
37564
37983
|
@property
|
|
37565
37984
|
def Model(self):
|
|
@@ -37671,6 +38090,28 @@ class TestModelInputModalitiesRequest(AbstractModel):
|
|
|
37671
38090
|
def VerifySSL(self, VerifySSL):
|
|
37672
38091
|
self._VerifySSL = VerifySSL
|
|
37673
38092
|
|
|
38093
|
+
@property
|
|
38094
|
+
def HealthCheckProtocol(self):
|
|
38095
|
+
r"""<p>健康检查协议</p><p>枚举值:</p><ul><li>chat: 表示/chat/completion协议</li><li>messages: 表示/v1/messages协议</li><li>responses: 表示/responses协议</li></ul>
|
|
38096
|
+
:rtype: str
|
|
38097
|
+
"""
|
|
38098
|
+
return self._HealthCheckProtocol
|
|
38099
|
+
|
|
38100
|
+
@HealthCheckProtocol.setter
|
|
38101
|
+
def HealthCheckProtocol(self, HealthCheckProtocol):
|
|
38102
|
+
self._HealthCheckProtocol = HealthCheckProtocol
|
|
38103
|
+
|
|
38104
|
+
@property
|
|
38105
|
+
def CMRPrivateNetworkTunnelId(self):
|
|
38106
|
+
r"""<p>CMR私网管道ID</p>
|
|
38107
|
+
:rtype: str
|
|
38108
|
+
"""
|
|
38109
|
+
return self._CMRPrivateNetworkTunnelId
|
|
38110
|
+
|
|
38111
|
+
@CMRPrivateNetworkTunnelId.setter
|
|
38112
|
+
def CMRPrivateNetworkTunnelId(self, CMRPrivateNetworkTunnelId):
|
|
38113
|
+
self._CMRPrivateNetworkTunnelId = CMRPrivateNetworkTunnelId
|
|
38114
|
+
|
|
37674
38115
|
|
|
37675
38116
|
def _deserialize(self, params):
|
|
37676
38117
|
self._Model = params.get("Model")
|
|
@@ -37683,6 +38124,8 @@ class TestModelInputModalitiesRequest(AbstractModel):
|
|
|
37683
38124
|
self._HostHeader = params.get("HostHeader")
|
|
37684
38125
|
self._ServiceProviderId = params.get("ServiceProviderId")
|
|
37685
38126
|
self._VerifySSL = params.get("VerifySSL")
|
|
38127
|
+
self._HealthCheckProtocol = params.get("HealthCheckProtocol")
|
|
38128
|
+
self._CMRPrivateNetworkTunnelId = params.get("CMRPrivateNetworkTunnelId")
|
|
37686
38129
|
memeber_set = set(params.keys())
|
|
37687
38130
|
for name, value in vars(self).items():
|
|
37688
38131
|
property_name = name[1:]
|
|
@@ -37798,6 +38241,10 @@ class TestServiceProviderConnectionRequest(AbstractModel):
|
|
|
37798
38241
|
:type ServiceProviderId: str
|
|
37799
38242
|
:param _VerifySSL: <p>是否校验服务提供商的SSL证书</p><p>默认值:AccessType取值为:</p><ul><li>PublicBYOK时,该参数无效;</li><li>PublicCustom时,该参数默认为true;</li><li>PrivateCustom时,该参数默认为false;</li></ul>
|
|
37800
38243
|
:type VerifySSL: bool
|
|
38244
|
+
:param _HealthCheckProtocol: <p>健康检查协议</p><p>枚举值:</p><ul><li>chat: 表示/chat/completion协议</li><li>messages: 表示/v1/messages协议</li><li>responses: 表示/responses协议</li></ul>
|
|
38245
|
+
:type HealthCheckProtocol: str
|
|
38246
|
+
:param _CMRPrivateNetworkTunnelId: <p> CMR 私网管道ID </p>
|
|
38247
|
+
:type CMRPrivateNetworkTunnelId: str
|
|
37801
38248
|
"""
|
|
37802
38249
|
self._Models = None
|
|
37803
38250
|
self._ProviderKey = None
|
|
@@ -37809,6 +38256,8 @@ class TestServiceProviderConnectionRequest(AbstractModel):
|
|
|
37809
38256
|
self._HostHeader = None
|
|
37810
38257
|
self._ServiceProviderId = None
|
|
37811
38258
|
self._VerifySSL = None
|
|
38259
|
+
self._HealthCheckProtocol = None
|
|
38260
|
+
self._CMRPrivateNetworkTunnelId = None
|
|
37812
38261
|
|
|
37813
38262
|
@property
|
|
37814
38263
|
def Models(self):
|
|
@@ -37920,6 +38369,28 @@ class TestServiceProviderConnectionRequest(AbstractModel):
|
|
|
37920
38369
|
def VerifySSL(self, VerifySSL):
|
|
37921
38370
|
self._VerifySSL = VerifySSL
|
|
37922
38371
|
|
|
38372
|
+
@property
|
|
38373
|
+
def HealthCheckProtocol(self):
|
|
38374
|
+
r"""<p>健康检查协议</p><p>枚举值:</p><ul><li>chat: 表示/chat/completion协议</li><li>messages: 表示/v1/messages协议</li><li>responses: 表示/responses协议</li></ul>
|
|
38375
|
+
:rtype: str
|
|
38376
|
+
"""
|
|
38377
|
+
return self._HealthCheckProtocol
|
|
38378
|
+
|
|
38379
|
+
@HealthCheckProtocol.setter
|
|
38380
|
+
def HealthCheckProtocol(self, HealthCheckProtocol):
|
|
38381
|
+
self._HealthCheckProtocol = HealthCheckProtocol
|
|
38382
|
+
|
|
38383
|
+
@property
|
|
38384
|
+
def CMRPrivateNetworkTunnelId(self):
|
|
38385
|
+
r"""<p> CMR 私网管道ID </p>
|
|
38386
|
+
:rtype: str
|
|
38387
|
+
"""
|
|
38388
|
+
return self._CMRPrivateNetworkTunnelId
|
|
38389
|
+
|
|
38390
|
+
@CMRPrivateNetworkTunnelId.setter
|
|
38391
|
+
def CMRPrivateNetworkTunnelId(self, CMRPrivateNetworkTunnelId):
|
|
38392
|
+
self._CMRPrivateNetworkTunnelId = CMRPrivateNetworkTunnelId
|
|
38393
|
+
|
|
37923
38394
|
|
|
37924
38395
|
def _deserialize(self, params):
|
|
37925
38396
|
self._Models = params.get("Models")
|
|
@@ -37932,6 +38403,8 @@ class TestServiceProviderConnectionRequest(AbstractModel):
|
|
|
37932
38403
|
self._HostHeader = params.get("HostHeader")
|
|
37933
38404
|
self._ServiceProviderId = params.get("ServiceProviderId")
|
|
37934
38405
|
self._VerifySSL = params.get("VerifySSL")
|
|
38406
|
+
self._HealthCheckProtocol = params.get("HealthCheckProtocol")
|
|
38407
|
+
self._CMRPrivateNetworkTunnelId = params.get("CMRPrivateNetworkTunnelId")
|
|
37935
38408
|
memeber_set = set(params.keys())
|
|
37936
38409
|
for name, value in vars(self).items():
|
|
37937
38410
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-clb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.169
|
|
4
4
|
Summary: Tencent Cloud Clb 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.169
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.169
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.165
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|