tencentcloud-sdk-python-clb 3.1.151__tar.gz → 3.1.154__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.151 → tencentcloud_sdk_python_clb-3.1.154}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_clb-3.1.151 → tencentcloud_sdk_python_clb-3.1.154}/setup.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.151 → tencentcloud_sdk_python_clb-3.1.154}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_clb-3.1.151 → tencentcloud_sdk_python_clb-3.1.154}/tencentcloud/clb/v20180317/models.py +160 -36
- {tencentcloud_sdk_python_clb-3.1.151 → tencentcloud_sdk_python_clb-3.1.154}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_clb-3.1.154/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_clb-3.1.151/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_clb-3.1.151 → tencentcloud_sdk_python_clb-3.1.154}/README.rst +0 -0
- {tencentcloud_sdk_python_clb-3.1.151 → tencentcloud_sdk_python_clb-3.1.154}/setup.cfg +0 -0
- {tencentcloud_sdk_python_clb-3.1.151 → tencentcloud_sdk_python_clb-3.1.154}/tencentcloud/clb/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.151 → tencentcloud_sdk_python_clb-3.1.154}/tencentcloud/clb/v20180317/__init__.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.151 → tencentcloud_sdk_python_clb-3.1.154}/tencentcloud/clb/v20180317/clb_client.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.151 → tencentcloud_sdk_python_clb-3.1.154}/tencentcloud/clb/v20180317/clb_client_async.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.151 → tencentcloud_sdk_python_clb-3.1.154}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
- {tencentcloud_sdk_python_clb-3.1.151 → tencentcloud_sdk_python_clb-3.1.154}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.151 → tencentcloud_sdk_python_clb-3.1.154}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_clb-3.1.151 → tencentcloud_sdk_python_clb-3.1.154}/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.154
|
|
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.154
|
|
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.154,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Clb SDK for Python',
|
|
@@ -7357,6 +7357,8 @@ class CreateModelRequest(AbstractModel):
|
|
|
7357
7357
|
:type Tags: list of TagInfo
|
|
7358
7358
|
:param _VerifySSL: <p>是否校验服务提供商的SSL证书</p>
|
|
7359
7359
|
:type VerifySSL: bool
|
|
7360
|
+
:param _HealthCheckConfig: <p>健康检查配置</p>
|
|
7361
|
+
:type HealthCheckConfig: :class:`tencentcloud.clb.v20180317.models.ServiceProviderHealthCheckConfigInput`
|
|
7360
7362
|
"""
|
|
7361
7363
|
self._AccessType = None
|
|
7362
7364
|
self._ModelProvider = None
|
|
@@ -7371,6 +7373,7 @@ class CreateModelRequest(AbstractModel):
|
|
|
7371
7373
|
self._HostHeader = None
|
|
7372
7374
|
self._Tags = None
|
|
7373
7375
|
self._VerifySSL = None
|
|
7376
|
+
self._HealthCheckConfig = None
|
|
7374
7377
|
|
|
7375
7378
|
@property
|
|
7376
7379
|
def AccessType(self):
|
|
@@ -7515,6 +7518,17 @@ class CreateModelRequest(AbstractModel):
|
|
|
7515
7518
|
def VerifySSL(self, VerifySSL):
|
|
7516
7519
|
self._VerifySSL = VerifySSL
|
|
7517
7520
|
|
|
7521
|
+
@property
|
|
7522
|
+
def HealthCheckConfig(self):
|
|
7523
|
+
r"""<p>健康检查配置</p>
|
|
7524
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.ServiceProviderHealthCheckConfigInput`
|
|
7525
|
+
"""
|
|
7526
|
+
return self._HealthCheckConfig
|
|
7527
|
+
|
|
7528
|
+
@HealthCheckConfig.setter
|
|
7529
|
+
def HealthCheckConfig(self, HealthCheckConfig):
|
|
7530
|
+
self._HealthCheckConfig = HealthCheckConfig
|
|
7531
|
+
|
|
7518
7532
|
|
|
7519
7533
|
def _deserialize(self, params):
|
|
7520
7534
|
self._AccessType = params.get("AccessType")
|
|
@@ -7545,6 +7559,9 @@ class CreateModelRequest(AbstractModel):
|
|
|
7545
7559
|
obj._deserialize(item)
|
|
7546
7560
|
self._Tags.append(obj)
|
|
7547
7561
|
self._VerifySSL = params.get("VerifySSL")
|
|
7562
|
+
if params.get("HealthCheckConfig") is not None:
|
|
7563
|
+
self._HealthCheckConfig = ServiceProviderHealthCheckConfigInput()
|
|
7564
|
+
self._HealthCheckConfig._deserialize(params.get("HealthCheckConfig"))
|
|
7548
7565
|
memeber_set = set(params.keys())
|
|
7549
7566
|
for name, value in vars(self).items():
|
|
7550
7567
|
property_name = name[1:]
|
|
@@ -14990,10 +15007,13 @@ class DescribeModelNamesRequest(AbstractModel):
|
|
|
14990
15007
|
:type Limit: int
|
|
14991
15008
|
:param _VpcId: <p>过滤PrivateCustom类型自建模型。如果传递了此参数,则只返回具有相同VPC Id的模型。</p>
|
|
14992
15009
|
:type VpcId: str
|
|
15010
|
+
:param _Filters: <p>过滤器,Name取值:</p><ul><li>ModelName:按照模型名称过滤。</li><li>ServiceProviderId:按照BYOK ID过滤。</li><li>InputModalitiesUnion:按照模态过滤。</li></ul>
|
|
15011
|
+
:type Filters: list of Filter
|
|
14993
15012
|
"""
|
|
14994
15013
|
self._Offset = None
|
|
14995
15014
|
self._Limit = None
|
|
14996
15015
|
self._VpcId = None
|
|
15016
|
+
self._Filters = None
|
|
14997
15017
|
|
|
14998
15018
|
@property
|
|
14999
15019
|
def Offset(self):
|
|
@@ -15028,11 +15048,28 @@ class DescribeModelNamesRequest(AbstractModel):
|
|
|
15028
15048
|
def VpcId(self, VpcId):
|
|
15029
15049
|
self._VpcId = VpcId
|
|
15030
15050
|
|
|
15051
|
+
@property
|
|
15052
|
+
def Filters(self):
|
|
15053
|
+
r"""<p>过滤器,Name取值:</p><ul><li>ModelName:按照模型名称过滤。</li><li>ServiceProviderId:按照BYOK ID过滤。</li><li>InputModalitiesUnion:按照模态过滤。</li></ul>
|
|
15054
|
+
:rtype: list of Filter
|
|
15055
|
+
"""
|
|
15056
|
+
return self._Filters
|
|
15057
|
+
|
|
15058
|
+
@Filters.setter
|
|
15059
|
+
def Filters(self, Filters):
|
|
15060
|
+
self._Filters = Filters
|
|
15061
|
+
|
|
15031
15062
|
|
|
15032
15063
|
def _deserialize(self, params):
|
|
15033
15064
|
self._Offset = params.get("Offset")
|
|
15034
15065
|
self._Limit = params.get("Limit")
|
|
15035
15066
|
self._VpcId = params.get("VpcId")
|
|
15067
|
+
if params.get("Filters") is not None:
|
|
15068
|
+
self._Filters = []
|
|
15069
|
+
for item in params.get("Filters"):
|
|
15070
|
+
obj = Filter()
|
|
15071
|
+
obj._deserialize(item)
|
|
15072
|
+
self._Filters.append(obj)
|
|
15036
15073
|
memeber_set = set(params.keys())
|
|
15037
15074
|
for name, value in vars(self).items():
|
|
15038
15075
|
property_name = name[1:]
|
|
@@ -24887,7 +24924,7 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
24887
24924
|
:param _ServiceProviderName: <p>服务提供商自定义名称</p>
|
|
24888
24925
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
24889
24926
|
:type ServiceProviderName: str
|
|
24890
|
-
:param _Status: <p>模型状态</p><p>枚举值:</p><ul><li>Active: 运行中</li><li>Provisioning: 创建中</li><li>Configuring: 变配中</li
|
|
24927
|
+
:param _Status: <p>模型状态</p><p>枚举值:</p><ul><li>Active: 运行中</li><li>Provisioning: 创建中</li><li>Configuring: 变配中</li></ul>
|
|
24891
24928
|
:type Status: str
|
|
24892
24929
|
:param _SubnetId: <p>子网 ID</p>
|
|
24893
24930
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -24899,6 +24936,8 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
24899
24936
|
:param _VpcId: <p>VPC 实例 ID</p>
|
|
24900
24937
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
24901
24938
|
:type VpcId: str
|
|
24939
|
+
:param _HealthCheckConfig: <p>健康检查配置</p>
|
|
24940
|
+
:type HealthCheckConfig: :class:`tencentcloud.clb.v20180317.models.ServiceProviderHealthCheckConfigOutput`
|
|
24902
24941
|
"""
|
|
24903
24942
|
self._AccessType = None
|
|
24904
24943
|
self._ApiBase = None
|
|
@@ -24917,6 +24956,7 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
24917
24956
|
self._Tags = None
|
|
24918
24957
|
self._VerifySSL = None
|
|
24919
24958
|
self._VpcId = None
|
|
24959
|
+
self._HealthCheckConfig = None
|
|
24920
24960
|
|
|
24921
24961
|
@property
|
|
24922
24962
|
def AccessType(self):
|
|
@@ -25056,7 +25096,7 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
25056
25096
|
|
|
25057
25097
|
@property
|
|
25058
25098
|
def Status(self):
|
|
25059
|
-
r"""<p>模型状态</p><p>枚举值:</p><ul><li>Active: 运行中</li><li>Provisioning: 创建中</li><li>Configuring: 变配中</li
|
|
25099
|
+
r"""<p>模型状态</p><p>枚举值:</p><ul><li>Active: 运行中</li><li>Provisioning: 创建中</li><li>Configuring: 变配中</li></ul>
|
|
25060
25100
|
:rtype: str
|
|
25061
25101
|
"""
|
|
25062
25102
|
return self._Status
|
|
@@ -25111,6 +25151,17 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
25111
25151
|
def VpcId(self, VpcId):
|
|
25112
25152
|
self._VpcId = VpcId
|
|
25113
25153
|
|
|
25154
|
+
@property
|
|
25155
|
+
def HealthCheckConfig(self):
|
|
25156
|
+
r"""<p>健康检查配置</p>
|
|
25157
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.ServiceProviderHealthCheckConfigOutput`
|
|
25158
|
+
"""
|
|
25159
|
+
return self._HealthCheckConfig
|
|
25160
|
+
|
|
25161
|
+
@HealthCheckConfig.setter
|
|
25162
|
+
def HealthCheckConfig(self, HealthCheckConfig):
|
|
25163
|
+
self._HealthCheckConfig = HealthCheckConfig
|
|
25164
|
+
|
|
25114
25165
|
|
|
25115
25166
|
def _deserialize(self, params):
|
|
25116
25167
|
self._AccessType = params.get("AccessType")
|
|
@@ -25145,6 +25196,9 @@ class ModelKeyInfoItem(AbstractModel):
|
|
|
25145
25196
|
self._Tags.append(obj)
|
|
25146
25197
|
self._VerifySSL = params.get("VerifySSL")
|
|
25147
25198
|
self._VpcId = params.get("VpcId")
|
|
25199
|
+
if params.get("HealthCheckConfig") is not None:
|
|
25200
|
+
self._HealthCheckConfig = ServiceProviderHealthCheckConfigOutput()
|
|
25201
|
+
self._HealthCheckConfig._deserialize(params.get("HealthCheckConfig"))
|
|
25148
25202
|
memeber_set = set(params.keys())
|
|
25149
25203
|
for name, value in vars(self).items():
|
|
25150
25204
|
property_name = name[1:]
|
|
@@ -33469,38 +33523,37 @@ class RuleInput(AbstractModel):
|
|
|
33469
33523
|
|
|
33470
33524
|
def __init__(self):
|
|
33471
33525
|
r"""
|
|
33472
|
-
:param _Url:
|
|
33526
|
+
:param _Url: <p>转发规则的路径。长度限制为:1~200。</p>
|
|
33473
33527
|
:type Url: str
|
|
33474
|
-
:param _Domain:
|
|
33528
|
+
:param _Domain: <p>转发规则的域名。长度限制为:1~80。Domain和Domains只需要传一个,单域名规则传Domain,多域名规则传Domains。</p>
|
|
33475
33529
|
:type Domain: str
|
|
33476
|
-
:param _SessionExpireTime:
|
|
33530
|
+
:param _SessionExpireTime: <p>会话保持时间。设置为0表示关闭会话保持,开启会话保持可取值30~86400,单位:秒。</p>
|
|
33477
33531
|
:type SessionExpireTime: int
|
|
33478
|
-
:param _HealthCheck:
|
|
33532
|
+
:param _HealthCheck: <p>健康检查信息。详情请参见:<a href="https://cloud.tencent.com/document/product/214/6097">健康检查</a></p>
|
|
33479
33533
|
:type HealthCheck: :class:`tencentcloud.clb.v20180317.models.HealthCheck`
|
|
33480
|
-
:param _Certificate:
|
|
33534
|
+
:param _Certificate: <p>证书信息;此参数和MultiCertInfo不能同时传入。</p>
|
|
33481
33535
|
:type Certificate: :class:`tencentcloud.clb.v20180317.models.CertificateInput`
|
|
33482
|
-
:param _Scheduler:
|
|
33483
|
-
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
|
|
33536
|
+
:param _Scheduler: <p>规则的请求转发方式,可选值:WRR、LEAST_CONN、IP_HASH<br>分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。</p>
|
|
33484
33537
|
:type Scheduler: str
|
|
33485
|
-
:param _ForwardType:
|
|
33538
|
+
:param _ForwardType: <p>负载均衡与后端服务之间的转发协议,目前支持 HTTP/HTTPS/GRPC/GRPCS/TRPC,TRPC暂未对外开放,默认HTTP。</p>
|
|
33486
33539
|
:type ForwardType: str
|
|
33487
|
-
:param _DefaultServer:
|
|
33540
|
+
:param _DefaultServer: <p>是否将该域名设为默认域名,注意,一个监听器下只能设置一个默认域名。</p>
|
|
33488
33541
|
:type DefaultServer: bool
|
|
33489
|
-
:param _Http2:
|
|
33542
|
+
:param _Http2: <p>是否开启Http2,注意,只有HTTPS域名才能开启Http2。</p>
|
|
33490
33543
|
:type Http2: bool
|
|
33491
|
-
:param _TargetType:
|
|
33544
|
+
:param _TargetType: <p>后端目标类型,NODE表示绑定普通节点,TARGETGROUP表示绑定目标组</p><p>枚举值:</p><ul><li>NODE: 绑定普通节点</li><li>TARGETGROUP: 绑定目标组 v1</li><li>TARGETGROUP-V2: 绑定目标组 v2</li></ul>
|
|
33492
33545
|
:type TargetType: str
|
|
33493
|
-
:param _TrpcCallee: TRPC被调服务器路由,ForwardType为TRPC
|
|
33546
|
+
:param _TrpcCallee: <p>TRPC被调服务器路由,ForwardType为TRPC时必填。目前暂未对外开放。</p>
|
|
33494
33547
|
:type TrpcCallee: str
|
|
33495
|
-
:param _TrpcFunc: TRPC调用服务接口,ForwardType为TRPC
|
|
33548
|
+
:param _TrpcFunc: <p>TRPC调用服务接口,ForwardType为TRPC时必填。目前暂未对外开放</p>
|
|
33496
33549
|
:type TrpcFunc: str
|
|
33497
|
-
:param _Quic:
|
|
33550
|
+
:param _Quic: <p>是否开启QUIC,注意,只有HTTPS域名才能开启QUIC</p>
|
|
33498
33551
|
:type Quic: bool
|
|
33499
|
-
:param _Domains:
|
|
33552
|
+
:param _Domains: <p>转发规则的域名列表。每个域名的长度限制为:1~80。Domain和Domains只需要传一个,单域名规则传Domain,多域名规则传Domains。</p>
|
|
33500
33553
|
:type Domains: list of str
|
|
33501
|
-
:param _MultiCertInfo:
|
|
33554
|
+
:param _MultiCertInfo: <p>证书信息,支持同时传入不同算法类型的多本服务端证书;此参数和Certificate不能同时传入。</p>
|
|
33502
33555
|
:type MultiCertInfo: :class:`tencentcloud.clb.v20180317.models.MultiCertInfo`
|
|
33503
|
-
:param _CookieName:
|
|
33556
|
+
:param _CookieName: <p>自定义cookie名</p>
|
|
33504
33557
|
:type CookieName: str
|
|
33505
33558
|
"""
|
|
33506
33559
|
self._Url = None
|
|
@@ -33522,7 +33575,7 @@ class RuleInput(AbstractModel):
|
|
|
33522
33575
|
|
|
33523
33576
|
@property
|
|
33524
33577
|
def Url(self):
|
|
33525
|
-
r"""
|
|
33578
|
+
r"""<p>转发规则的路径。长度限制为:1~200。</p>
|
|
33526
33579
|
:rtype: str
|
|
33527
33580
|
"""
|
|
33528
33581
|
return self._Url
|
|
@@ -33533,7 +33586,7 @@ class RuleInput(AbstractModel):
|
|
|
33533
33586
|
|
|
33534
33587
|
@property
|
|
33535
33588
|
def Domain(self):
|
|
33536
|
-
r"""
|
|
33589
|
+
r"""<p>转发规则的域名。长度限制为:1~80。Domain和Domains只需要传一个,单域名规则传Domain,多域名规则传Domains。</p>
|
|
33537
33590
|
:rtype: str
|
|
33538
33591
|
"""
|
|
33539
33592
|
return self._Domain
|
|
@@ -33544,7 +33597,7 @@ class RuleInput(AbstractModel):
|
|
|
33544
33597
|
|
|
33545
33598
|
@property
|
|
33546
33599
|
def SessionExpireTime(self):
|
|
33547
|
-
r"""
|
|
33600
|
+
r"""<p>会话保持时间。设置为0表示关闭会话保持,开启会话保持可取值30~86400,单位:秒。</p>
|
|
33548
33601
|
:rtype: int
|
|
33549
33602
|
"""
|
|
33550
33603
|
return self._SessionExpireTime
|
|
@@ -33555,7 +33608,7 @@ class RuleInput(AbstractModel):
|
|
|
33555
33608
|
|
|
33556
33609
|
@property
|
|
33557
33610
|
def HealthCheck(self):
|
|
33558
|
-
r"""
|
|
33611
|
+
r"""<p>健康检查信息。详情请参见:<a href="https://cloud.tencent.com/document/product/214/6097">健康检查</a></p>
|
|
33559
33612
|
:rtype: :class:`tencentcloud.clb.v20180317.models.HealthCheck`
|
|
33560
33613
|
"""
|
|
33561
33614
|
return self._HealthCheck
|
|
@@ -33566,7 +33619,7 @@ class RuleInput(AbstractModel):
|
|
|
33566
33619
|
|
|
33567
33620
|
@property
|
|
33568
33621
|
def Certificate(self):
|
|
33569
|
-
r"""
|
|
33622
|
+
r"""<p>证书信息;此参数和MultiCertInfo不能同时传入。</p>
|
|
33570
33623
|
:rtype: :class:`tencentcloud.clb.v20180317.models.CertificateInput`
|
|
33571
33624
|
"""
|
|
33572
33625
|
return self._Certificate
|
|
@@ -33577,8 +33630,7 @@ class RuleInput(AbstractModel):
|
|
|
33577
33630
|
|
|
33578
33631
|
@property
|
|
33579
33632
|
def Scheduler(self):
|
|
33580
|
-
r"""
|
|
33581
|
-
分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。
|
|
33633
|
+
r"""<p>规则的请求转发方式,可选值:WRR、LEAST_CONN、IP_HASH<br>分别表示按权重轮询、最小连接数、按IP哈希, 默认为 WRR。</p>
|
|
33582
33634
|
:rtype: str
|
|
33583
33635
|
"""
|
|
33584
33636
|
return self._Scheduler
|
|
@@ -33589,7 +33641,7 @@ class RuleInput(AbstractModel):
|
|
|
33589
33641
|
|
|
33590
33642
|
@property
|
|
33591
33643
|
def ForwardType(self):
|
|
33592
|
-
r"""
|
|
33644
|
+
r"""<p>负载均衡与后端服务之间的转发协议,目前支持 HTTP/HTTPS/GRPC/GRPCS/TRPC,TRPC暂未对外开放,默认HTTP。</p>
|
|
33593
33645
|
:rtype: str
|
|
33594
33646
|
"""
|
|
33595
33647
|
return self._ForwardType
|
|
@@ -33600,7 +33652,7 @@ class RuleInput(AbstractModel):
|
|
|
33600
33652
|
|
|
33601
33653
|
@property
|
|
33602
33654
|
def DefaultServer(self):
|
|
33603
|
-
r"""
|
|
33655
|
+
r"""<p>是否将该域名设为默认域名,注意,一个监听器下只能设置一个默认域名。</p>
|
|
33604
33656
|
:rtype: bool
|
|
33605
33657
|
"""
|
|
33606
33658
|
return self._DefaultServer
|
|
@@ -33611,7 +33663,7 @@ class RuleInput(AbstractModel):
|
|
|
33611
33663
|
|
|
33612
33664
|
@property
|
|
33613
33665
|
def Http2(self):
|
|
33614
|
-
r"""
|
|
33666
|
+
r"""<p>是否开启Http2,注意,只有HTTPS域名才能开启Http2。</p>
|
|
33615
33667
|
:rtype: bool
|
|
33616
33668
|
"""
|
|
33617
33669
|
return self._Http2
|
|
@@ -33622,7 +33674,7 @@ class RuleInput(AbstractModel):
|
|
|
33622
33674
|
|
|
33623
33675
|
@property
|
|
33624
33676
|
def TargetType(self):
|
|
33625
|
-
r"""
|
|
33677
|
+
r"""<p>后端目标类型,NODE表示绑定普通节点,TARGETGROUP表示绑定目标组</p><p>枚举值:</p><ul><li>NODE: 绑定普通节点</li><li>TARGETGROUP: 绑定目标组 v1</li><li>TARGETGROUP-V2: 绑定目标组 v2</li></ul>
|
|
33626
33678
|
:rtype: str
|
|
33627
33679
|
"""
|
|
33628
33680
|
return self._TargetType
|
|
@@ -33633,7 +33685,7 @@ class RuleInput(AbstractModel):
|
|
|
33633
33685
|
|
|
33634
33686
|
@property
|
|
33635
33687
|
def TrpcCallee(self):
|
|
33636
|
-
r"""TRPC被调服务器路由,ForwardType为TRPC
|
|
33688
|
+
r"""<p>TRPC被调服务器路由,ForwardType为TRPC时必填。目前暂未对外开放。</p>
|
|
33637
33689
|
:rtype: str
|
|
33638
33690
|
"""
|
|
33639
33691
|
return self._TrpcCallee
|
|
@@ -33644,7 +33696,7 @@ class RuleInput(AbstractModel):
|
|
|
33644
33696
|
|
|
33645
33697
|
@property
|
|
33646
33698
|
def TrpcFunc(self):
|
|
33647
|
-
r"""TRPC调用服务接口,ForwardType为TRPC
|
|
33699
|
+
r"""<p>TRPC调用服务接口,ForwardType为TRPC时必填。目前暂未对外开放</p>
|
|
33648
33700
|
:rtype: str
|
|
33649
33701
|
"""
|
|
33650
33702
|
return self._TrpcFunc
|
|
@@ -33655,7 +33707,7 @@ class RuleInput(AbstractModel):
|
|
|
33655
33707
|
|
|
33656
33708
|
@property
|
|
33657
33709
|
def Quic(self):
|
|
33658
|
-
r"""
|
|
33710
|
+
r"""<p>是否开启QUIC,注意,只有HTTPS域名才能开启QUIC</p>
|
|
33659
33711
|
:rtype: bool
|
|
33660
33712
|
"""
|
|
33661
33713
|
return self._Quic
|
|
@@ -33666,7 +33718,7 @@ class RuleInput(AbstractModel):
|
|
|
33666
33718
|
|
|
33667
33719
|
@property
|
|
33668
33720
|
def Domains(self):
|
|
33669
|
-
r"""
|
|
33721
|
+
r"""<p>转发规则的域名列表。每个域名的长度限制为:1~80。Domain和Domains只需要传一个,单域名规则传Domain,多域名规则传Domains。</p>
|
|
33670
33722
|
:rtype: list of str
|
|
33671
33723
|
"""
|
|
33672
33724
|
return self._Domains
|
|
@@ -33677,7 +33729,7 @@ class RuleInput(AbstractModel):
|
|
|
33677
33729
|
|
|
33678
33730
|
@property
|
|
33679
33731
|
def MultiCertInfo(self):
|
|
33680
|
-
r"""
|
|
33732
|
+
r"""<p>证书信息,支持同时传入不同算法类型的多本服务端证书;此参数和Certificate不能同时传入。</p>
|
|
33681
33733
|
:rtype: :class:`tencentcloud.clb.v20180317.models.MultiCertInfo`
|
|
33682
33734
|
"""
|
|
33683
33735
|
return self._MultiCertInfo
|
|
@@ -33688,7 +33740,7 @@ class RuleInput(AbstractModel):
|
|
|
33688
33740
|
|
|
33689
33741
|
@property
|
|
33690
33742
|
def CookieName(self):
|
|
33691
|
-
r"""
|
|
33743
|
+
r"""<p>自定义cookie名</p>
|
|
33692
33744
|
:rtype: str
|
|
33693
33745
|
"""
|
|
33694
33746
|
return self._CookieName
|
|
@@ -34634,6 +34686,78 @@ class ServiceProviderCoefficient(AbstractModel):
|
|
|
34634
34686
|
|
|
34635
34687
|
|
|
34636
34688
|
|
|
34689
|
+
class ServiceProviderHealthCheckConfigInput(AbstractModel):
|
|
34690
|
+
r"""健康检查配置
|
|
34691
|
+
|
|
34692
|
+
"""
|
|
34693
|
+
|
|
34694
|
+
def __init__(self):
|
|
34695
|
+
r"""
|
|
34696
|
+
:param _HealthCheckEnabled: <p>是否开启健康检查</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
|
|
34697
|
+
:type HealthCheckEnabled: bool
|
|
34698
|
+
"""
|
|
34699
|
+
self._HealthCheckEnabled = None
|
|
34700
|
+
|
|
34701
|
+
@property
|
|
34702
|
+
def HealthCheckEnabled(self):
|
|
34703
|
+
r"""<p>是否开启健康检查</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
|
|
34704
|
+
:rtype: bool
|
|
34705
|
+
"""
|
|
34706
|
+
return self._HealthCheckEnabled
|
|
34707
|
+
|
|
34708
|
+
@HealthCheckEnabled.setter
|
|
34709
|
+
def HealthCheckEnabled(self, HealthCheckEnabled):
|
|
34710
|
+
self._HealthCheckEnabled = HealthCheckEnabled
|
|
34711
|
+
|
|
34712
|
+
|
|
34713
|
+
def _deserialize(self, params):
|
|
34714
|
+
self._HealthCheckEnabled = params.get("HealthCheckEnabled")
|
|
34715
|
+
memeber_set = set(params.keys())
|
|
34716
|
+
for name, value in vars(self).items():
|
|
34717
|
+
property_name = name[1:]
|
|
34718
|
+
if property_name in memeber_set:
|
|
34719
|
+
memeber_set.remove(property_name)
|
|
34720
|
+
if len(memeber_set) > 0:
|
|
34721
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
34722
|
+
|
|
34723
|
+
|
|
34724
|
+
|
|
34725
|
+
class ServiceProviderHealthCheckConfigOutput(AbstractModel):
|
|
34726
|
+
r"""健康检查配置
|
|
34727
|
+
|
|
34728
|
+
"""
|
|
34729
|
+
|
|
34730
|
+
def __init__(self):
|
|
34731
|
+
r"""
|
|
34732
|
+
:param _HealthCheckEnabled: <p>是否开启健康检查</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
|
|
34733
|
+
:type HealthCheckEnabled: bool
|
|
34734
|
+
"""
|
|
34735
|
+
self._HealthCheckEnabled = None
|
|
34736
|
+
|
|
34737
|
+
@property
|
|
34738
|
+
def HealthCheckEnabled(self):
|
|
34739
|
+
r"""<p>是否开启健康检查</p><p>枚举值:</p><ul><li>true: 是</li><li>false: 否</li></ul>
|
|
34740
|
+
:rtype: bool
|
|
34741
|
+
"""
|
|
34742
|
+
return self._HealthCheckEnabled
|
|
34743
|
+
|
|
34744
|
+
@HealthCheckEnabled.setter
|
|
34745
|
+
def HealthCheckEnabled(self, HealthCheckEnabled):
|
|
34746
|
+
self._HealthCheckEnabled = HealthCheckEnabled
|
|
34747
|
+
|
|
34748
|
+
|
|
34749
|
+
def _deserialize(self, params):
|
|
34750
|
+
self._HealthCheckEnabled = params.get("HealthCheckEnabled")
|
|
34751
|
+
memeber_set = set(params.keys())
|
|
34752
|
+
for name, value in vars(self).items():
|
|
34753
|
+
property_name = name[1:]
|
|
34754
|
+
if property_name in memeber_set:
|
|
34755
|
+
memeber_set.remove(property_name)
|
|
34756
|
+
if len(memeber_set) > 0:
|
|
34757
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
34758
|
+
|
|
34759
|
+
|
|
34760
|
+
|
|
34637
34761
|
class ServiceProviderItem(AbstractModel):
|
|
34638
34762
|
r"""服务商详情
|
|
34639
34763
|
|
|
@@ -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.154
|
|
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.154
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.154
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.151
|
|
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
|