tencentcloud-sdk-python-teo 3.0.1238__tar.gz → 3.0.1240__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 (20) hide show
  1. {tencentcloud-sdk-python-teo-3.0.1238 → tencentcloud-sdk-python-teo-3.0.1240}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-teo-3.0.1238 → tencentcloud-sdk-python-teo-3.0.1240}/setup.py +1 -1
  3. {tencentcloud-sdk-python-teo-3.0.1238 → tencentcloud-sdk-python-teo-3.0.1240}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-teo-3.0.1238 → tencentcloud-sdk-python-teo-3.0.1240}/tencentcloud/teo/v20220901/models.py +78 -0
  5. {tencentcloud-sdk-python-teo-3.0.1238 → tencentcloud-sdk-python-teo-3.0.1240}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-teo-3.0.1240/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-teo-3.0.1238/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-teo-3.0.1238 → tencentcloud-sdk-python-teo-3.0.1240}/README.rst +0 -0
  9. {tencentcloud-sdk-python-teo-3.0.1238 → tencentcloud-sdk-python-teo-3.0.1240}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-teo-3.0.1238 → tencentcloud-sdk-python-teo-3.0.1240}/tencentcloud/teo/__init__.py +0 -0
  11. {tencentcloud-sdk-python-teo-3.0.1238 → tencentcloud-sdk-python-teo-3.0.1240}/tencentcloud/teo/v20220106/__init__.py +0 -0
  12. {tencentcloud-sdk-python-teo-3.0.1238 → tencentcloud-sdk-python-teo-3.0.1240}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-teo-3.0.1238 → tencentcloud-sdk-python-teo-3.0.1240}/tencentcloud/teo/v20220106/models.py +0 -0
  14. {tencentcloud-sdk-python-teo-3.0.1238 → tencentcloud-sdk-python-teo-3.0.1240}/tencentcloud/teo/v20220106/teo_client.py +0 -0
  15. {tencentcloud-sdk-python-teo-3.0.1238 → tencentcloud-sdk-python-teo-3.0.1240}/tencentcloud/teo/v20220901/__init__.py +0 -0
  16. {tencentcloud-sdk-python-teo-3.0.1238 → tencentcloud-sdk-python-teo-3.0.1240}/tencentcloud/teo/v20220901/errorcodes.py +0 -0
  17. {tencentcloud-sdk-python-teo-3.0.1238 → tencentcloud-sdk-python-teo-3.0.1240}/tencentcloud/teo/v20220901/teo_client.py +0 -0
  18. {tencentcloud-sdk-python-teo-3.0.1238 → tencentcloud-sdk-python-teo-3.0.1240}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-teo-3.0.1238 → tencentcloud-sdk-python-teo-3.0.1240}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-teo-3.0.1238 → tencentcloud-sdk-python-teo-3.0.1240}/tencentcloud_sdk_python_teo.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-teo
3
- Version: 3.0.1238
3
+ Version: 3.0.1240
4
4
  Summary: Tencent Cloud Teo 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-teo',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1238"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1240"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Teo 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.1238'
17
+ __version__ = '3.0.1240'
@@ -16992,6 +16992,68 @@ class L4Proxy(AbstractModel):
16992
16992
 
16993
16993
 
16994
16994
 
16995
+ class L4ProxyRemoteAuth(AbstractModel):
16996
+ """四层远程鉴权信息
16997
+
16998
+ """
16999
+
17000
+ def __init__(self):
17001
+ r"""
17002
+ :param _Switch: 四层远程鉴权开关,取值有:
17003
+ <li>on:表示开启;</li>
17004
+ <li>off:表示关闭。</li>
17005
+ :type Switch: str
17006
+ :param _Address: 远程鉴权服务地址,格式为: domain/ip:port。例:example.auth.com:8888
17007
+
17008
+ :type Address: str
17009
+ :param _ServerFaultyBehavior: 远程鉴权服务不可访问后,经过四层转发规则默认回源行为,取值有:
17010
+ <li>reject:表示进行拦截,拒绝访问;</li>
17011
+ <li>allow:表示允许通过。</li>
17012
+ :type ServerFaultyBehavior: str
17013
+ """
17014
+ self._Switch = None
17015
+ self._Address = None
17016
+ self._ServerFaultyBehavior = None
17017
+
17018
+ @property
17019
+ def Switch(self):
17020
+ return self._Switch
17021
+
17022
+ @Switch.setter
17023
+ def Switch(self, Switch):
17024
+ self._Switch = Switch
17025
+
17026
+ @property
17027
+ def Address(self):
17028
+ return self._Address
17029
+
17030
+ @Address.setter
17031
+ def Address(self, Address):
17032
+ self._Address = Address
17033
+
17034
+ @property
17035
+ def ServerFaultyBehavior(self):
17036
+ return self._ServerFaultyBehavior
17037
+
17038
+ @ServerFaultyBehavior.setter
17039
+ def ServerFaultyBehavior(self, ServerFaultyBehavior):
17040
+ self._ServerFaultyBehavior = ServerFaultyBehavior
17041
+
17042
+
17043
+ def _deserialize(self, params):
17044
+ self._Switch = params.get("Switch")
17045
+ self._Address = params.get("Address")
17046
+ self._ServerFaultyBehavior = params.get("ServerFaultyBehavior")
17047
+ memeber_set = set(params.keys())
17048
+ for name, value in vars(self).items():
17049
+ property_name = name[1:]
17050
+ if property_name in memeber_set:
17051
+ memeber_set.remove(property_name)
17052
+ if len(memeber_set) > 0:
17053
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
17054
+
17055
+
17056
+
16995
17057
  class L4ProxyRule(AbstractModel):
16996
17058
  """四层代理转发规则详情。
16997
17059
 
@@ -17059,6 +17121,10 @@ class L4ProxyRule(AbstractModel):
17059
17121
  :type Status: str
17060
17122
  :param _BuId: BuID。
17061
17123
  :type BuId: str
17124
+ :param _RemoteAuth: 远程鉴权信息。
17125
+ 注意:RemoteAuth 在 CreateL4ProxyRules 或 ModifyL4ProxyRules 不可作为入参使用,如有传此参数,会忽略。在 DescribeL4ProxyRules 返回为空时,表示没有开启远程鉴权。
17126
+ 注意:此字段可能返回 null,表示取不到有效值。
17127
+ :type RemoteAuth: :class:`tencentcloud.teo.v20220901.models.L4ProxyRemoteAuth`
17062
17128
  """
17063
17129
  self._RuleId = None
17064
17130
  self._Protocol = None
@@ -17072,6 +17138,7 @@ class L4ProxyRule(AbstractModel):
17072
17138
  self._RuleTag = None
17073
17139
  self._Status = None
17074
17140
  self._BuId = None
17141
+ self._RemoteAuth = None
17075
17142
 
17076
17143
  @property
17077
17144
  def RuleId(self):
@@ -17169,6 +17236,14 @@ class L4ProxyRule(AbstractModel):
17169
17236
  def BuId(self, BuId):
17170
17237
  self._BuId = BuId
17171
17238
 
17239
+ @property
17240
+ def RemoteAuth(self):
17241
+ return self._RemoteAuth
17242
+
17243
+ @RemoteAuth.setter
17244
+ def RemoteAuth(self, RemoteAuth):
17245
+ self._RemoteAuth = RemoteAuth
17246
+
17172
17247
 
17173
17248
  def _deserialize(self, params):
17174
17249
  self._RuleId = params.get("RuleId")
@@ -17183,6 +17258,9 @@ class L4ProxyRule(AbstractModel):
17183
17258
  self._RuleTag = params.get("RuleTag")
17184
17259
  self._Status = params.get("Status")
17185
17260
  self._BuId = params.get("BuId")
17261
+ if params.get("RemoteAuth") is not None:
17262
+ self._RemoteAuth = L4ProxyRemoteAuth()
17263
+ self._RemoteAuth._deserialize(params.get("RemoteAuth"))
17186
17264
  memeber_set = set(params.keys())
17187
17265
  for name, value in vars(self).items():
17188
17266
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-teo
3
- Version: 3.0.1238
3
+ Version: 3.0.1240
4
4
  Summary: Tencent Cloud Teo 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.1240
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1238