tencentcloud-sdk-python-clb 3.0.1214__tar.gz → 3.0.1220__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.
Files changed (16) hide show
  1. {tencentcloud-sdk-python-clb-3.0.1214 → tencentcloud-sdk-python-clb-3.0.1220}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-clb-3.0.1214 → tencentcloud-sdk-python-clb-3.0.1220}/setup.py +1 -1
  3. {tencentcloud-sdk-python-clb-3.0.1214 → tencentcloud-sdk-python-clb-3.0.1220}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-clb-3.0.1214 → tencentcloud-sdk-python-clb-3.0.1220}/tencentcloud/clb/v20180317/models.py +80 -1
  5. {tencentcloud-sdk-python-clb-3.0.1214 → tencentcloud-sdk-python-clb-3.0.1220}/tencentcloud_sdk_python_clb.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-clb-3.0.1220/tencentcloud_sdk_python_clb.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-clb-3.0.1214/tencentcloud_sdk_python_clb.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-clb-3.0.1214 → tencentcloud-sdk-python-clb-3.0.1220}/README.rst +0 -0
  9. {tencentcloud-sdk-python-clb-3.0.1214 → tencentcloud-sdk-python-clb-3.0.1220}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-clb-3.0.1214 → tencentcloud-sdk-python-clb-3.0.1220}/tencentcloud/clb/__init__.py +0 -0
  11. {tencentcloud-sdk-python-clb-3.0.1214 → tencentcloud-sdk-python-clb-3.0.1220}/tencentcloud/clb/v20180317/__init__.py +0 -0
  12. {tencentcloud-sdk-python-clb-3.0.1214 → tencentcloud-sdk-python-clb-3.0.1220}/tencentcloud/clb/v20180317/clb_client.py +0 -0
  13. {tencentcloud-sdk-python-clb-3.0.1214 → tencentcloud-sdk-python-clb-3.0.1220}/tencentcloud/clb/v20180317/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-clb-3.0.1214 → tencentcloud-sdk-python-clb-3.0.1220}/tencentcloud_sdk_python_clb.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-clb-3.0.1214 → tencentcloud-sdk-python-clb-3.0.1220}/tencentcloud_sdk_python_clb.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-clb-3.0.1214 → tencentcloud-sdk-python-clb-3.0.1220}/tencentcloud_sdk_python_clb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-clb
3
- Version: 3.0.1214
3
+ Version: 3.0.1220
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
@@ -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.0.1214"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1220"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Clb SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1214'
17
+ __version__ = '3.0.1220'
@@ -3060,7 +3060,7 @@ class CreateListenerRequest(AbstractModel):
3060
3060
  :type MaxConn: int
3061
3061
  :param _MaxCps: 监听器最大新增连接数,当前仅性能容量型实例且仅TCP/UDP/TCP_SSL/QUIC监听器支持,不传或者传-1表示监听器维度不限速。基础网络实例不支持该参数。
3062
3062
  :type MaxCps: int
3063
- :param _IdleConnectTimeout: 空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。默认值:900,取值范围:共享型实例和独占型实例支持:300900,性能容量型实例支持:300~2000。如需设置超过2000s,请通过 [工单申请](https://console.cloud.tencent.com/workorder/category),最大可设置到3600s
3063
+ :param _IdleConnectTimeout: 空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。取值范围:共享型实例和独占型实例支持:300-900,性能容量型实例支持:300-2000。如需设置请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)。
3064
3064
  :type IdleConnectTimeout: int
3065
3065
  :param _SnatEnable: 是否开启SNAT。
3066
3066
  :type SnatEnable: bool
@@ -13446,6 +13446,8 @@ class ModifyRuleRequest(AbstractModel):
13446
13446
  :type TrpcCallee: str
13447
13447
  :param _TrpcFunc: TRPC调用服务接口,ForwardType为TRPC时必填。目前暂未对外开放。
13448
13448
  :type TrpcFunc: str
13449
+ :param _OAuth: OAuth配置信息。
13450
+ :type OAuth: :class:`tencentcloud.clb.v20180317.models.OAuth`
13449
13451
  """
13450
13452
  self._LoadBalancerId = None
13451
13453
  self._ListenerId = None
@@ -13457,6 +13459,7 @@ class ModifyRuleRequest(AbstractModel):
13457
13459
  self._ForwardType = None
13458
13460
  self._TrpcCallee = None
13459
13461
  self._TrpcFunc = None
13462
+ self._OAuth = None
13460
13463
 
13461
13464
  @property
13462
13465
  def LoadBalancerId(self):
@@ -13538,6 +13541,14 @@ class ModifyRuleRequest(AbstractModel):
13538
13541
  def TrpcFunc(self, TrpcFunc):
13539
13542
  self._TrpcFunc = TrpcFunc
13540
13543
 
13544
+ @property
13545
+ def OAuth(self):
13546
+ return self._OAuth
13547
+
13548
+ @OAuth.setter
13549
+ def OAuth(self, OAuth):
13550
+ self._OAuth = OAuth
13551
+
13541
13552
 
13542
13553
  def _deserialize(self, params):
13543
13554
  self._LoadBalancerId = params.get("LoadBalancerId")
@@ -13552,6 +13563,9 @@ class ModifyRuleRequest(AbstractModel):
13552
13563
  self._ForwardType = params.get("ForwardType")
13553
13564
  self._TrpcCallee = params.get("TrpcCallee")
13554
13565
  self._TrpcFunc = params.get("TrpcFunc")
13566
+ if params.get("OAuth") is not None:
13567
+ self._OAuth = OAuth()
13568
+ self._OAuth._deserialize(params.get("OAuth"))
13555
13569
  memeber_set = set(params.keys())
13556
13570
  for name, value in vars(self).items():
13557
13571
  property_name = name[1:]
@@ -14139,6 +14153,56 @@ class MultiCertInfo(AbstractModel):
14139
14153
 
14140
14154
 
14141
14155
 
14156
+ class OAuth(AbstractModel):
14157
+ """OAuth配置信息。
14158
+
14159
+ """
14160
+
14161
+ def __init__(self):
14162
+ r"""
14163
+ :param _OAuthEnable: 开启或关闭鉴权。
14164
+ True: 开启;
14165
+ False: 关闭
14166
+ 注意:此字段可能返回 null,表示取不到有效值。
14167
+ :type OAuthEnable: bool
14168
+ :param _OAuthFailureStatus: IAP全部故障后,拒绝请求还是放行。BYPASS:通过,
14169
+ REJECT: 拒绝
14170
+ 注意:此字段可能返回 null,表示取不到有效值。
14171
+ :type OAuthFailureStatus: str
14172
+ """
14173
+ self._OAuthEnable = None
14174
+ self._OAuthFailureStatus = None
14175
+
14176
+ @property
14177
+ def OAuthEnable(self):
14178
+ return self._OAuthEnable
14179
+
14180
+ @OAuthEnable.setter
14181
+ def OAuthEnable(self, OAuthEnable):
14182
+ self._OAuthEnable = OAuthEnable
14183
+
14184
+ @property
14185
+ def OAuthFailureStatus(self):
14186
+ return self._OAuthFailureStatus
14187
+
14188
+ @OAuthFailureStatus.setter
14189
+ def OAuthFailureStatus(self, OAuthFailureStatus):
14190
+ self._OAuthFailureStatus = OAuthFailureStatus
14191
+
14192
+
14193
+ def _deserialize(self, params):
14194
+ self._OAuthEnable = params.get("OAuthEnable")
14195
+ self._OAuthFailureStatus = params.get("OAuthFailureStatus")
14196
+ memeber_set = set(params.keys())
14197
+ for name, value in vars(self).items():
14198
+ property_name = name[1:]
14199
+ if property_name in memeber_set:
14200
+ memeber_set.remove(property_name)
14201
+ if len(memeber_set) > 0:
14202
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
14203
+
14204
+
14205
+
14142
14206
  class Price(AbstractModel):
14143
14207
  """表示负载均衡的价格
14144
14208
 
@@ -15564,6 +15628,9 @@ WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Has
15564
15628
  :param _TargetGroupList: 绑定的目标组列表
15565
15629
  注意:此字段可能返回 null,表示取不到有效值。
15566
15630
  :type TargetGroupList: list of BasicTargetGroupInfo
15631
+ :param _OAuth: OAuth配置状态信息。
15632
+ 注意:此字段可能返回 null,表示取不到有效值。
15633
+ :type OAuth: :class:`tencentcloud.clb.v20180317.models.OAuth`
15567
15634
  """
15568
15635
  self._LocationId = None
15569
15636
  self._Domain = None
@@ -15588,6 +15655,7 @@ WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Has
15588
15655
  self._QuicStatus = None
15589
15656
  self._Domains = None
15590
15657
  self._TargetGroupList = None
15658
+ self._OAuth = None
15591
15659
 
15592
15660
  @property
15593
15661
  def LocationId(self):
@@ -15773,6 +15841,14 @@ WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Has
15773
15841
  def TargetGroupList(self, TargetGroupList):
15774
15842
  self._TargetGroupList = TargetGroupList
15775
15843
 
15844
+ @property
15845
+ def OAuth(self):
15846
+ return self._OAuth
15847
+
15848
+ @OAuth.setter
15849
+ def OAuth(self, OAuth):
15850
+ self._OAuth = OAuth
15851
+
15776
15852
 
15777
15853
  def _deserialize(self, params):
15778
15854
  self._LocationId = params.get("LocationId")
@@ -15811,6 +15887,9 @@ WRR、LEAST_CONN、IP_HASH分别表示按权重轮询、最小连接数、IP Has
15811
15887
  obj = BasicTargetGroupInfo()
15812
15888
  obj._deserialize(item)
15813
15889
  self._TargetGroupList.append(obj)
15890
+ if params.get("OAuth") is not None:
15891
+ self._OAuth = OAuth()
15892
+ self._OAuth._deserialize(params.get("OAuth"))
15814
15893
  memeber_set = set(params.keys())
15815
15894
  for name, value in vars(self).items():
15816
15895
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-clb
3
- Version: 3.0.1214
3
+ Version: 3.0.1220
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1220
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1214