tencentcloud-sdk-python-teo 3.0.1235__tar.gz → 3.0.1239__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.1235 → tencentcloud-sdk-python-teo-3.0.1239}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-teo-3.0.1235 → tencentcloud-sdk-python-teo-3.0.1239}/setup.py +1 -1
  3. {tencentcloud-sdk-python-teo-3.0.1235 → tencentcloud-sdk-python-teo-3.0.1239}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-teo-3.0.1235 → tencentcloud-sdk-python-teo-3.0.1239}/tencentcloud/teo/v20220901/models.py +89 -7
  5. {tencentcloud-sdk-python-teo-3.0.1235 → tencentcloud-sdk-python-teo-3.0.1239}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-teo-3.0.1239/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-teo-3.0.1235/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-teo-3.0.1235 → tencentcloud-sdk-python-teo-3.0.1239}/README.rst +0 -0
  9. {tencentcloud-sdk-python-teo-3.0.1235 → tencentcloud-sdk-python-teo-3.0.1239}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-teo-3.0.1235 → tencentcloud-sdk-python-teo-3.0.1239}/tencentcloud/teo/__init__.py +0 -0
  11. {tencentcloud-sdk-python-teo-3.0.1235 → tencentcloud-sdk-python-teo-3.0.1239}/tencentcloud/teo/v20220106/__init__.py +0 -0
  12. {tencentcloud-sdk-python-teo-3.0.1235 → tencentcloud-sdk-python-teo-3.0.1239}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-teo-3.0.1235 → tencentcloud-sdk-python-teo-3.0.1239}/tencentcloud/teo/v20220106/models.py +0 -0
  14. {tencentcloud-sdk-python-teo-3.0.1235 → tencentcloud-sdk-python-teo-3.0.1239}/tencentcloud/teo/v20220106/teo_client.py +0 -0
  15. {tencentcloud-sdk-python-teo-3.0.1235 → tencentcloud-sdk-python-teo-3.0.1239}/tencentcloud/teo/v20220901/__init__.py +0 -0
  16. {tencentcloud-sdk-python-teo-3.0.1235 → tencentcloud-sdk-python-teo-3.0.1239}/tencentcloud/teo/v20220901/errorcodes.py +0 -0
  17. {tencentcloud-sdk-python-teo-3.0.1235 → tencentcloud-sdk-python-teo-3.0.1239}/tencentcloud/teo/v20220901/teo_client.py +0 -0
  18. {tencentcloud-sdk-python-teo-3.0.1235 → tencentcloud-sdk-python-teo-3.0.1239}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-teo-3.0.1235 → tencentcloud-sdk-python-teo-3.0.1239}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-teo-3.0.1235 → tencentcloud-sdk-python-teo-3.0.1239}/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.1235
3
+ Version: 3.0.1239
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.1235"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1239"],
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.1235'
17
+ __version__ = '3.0.1239'
@@ -11727,18 +11727,22 @@ class DescribePurgeTasksRequest(AbstractModel):
11727
11727
 
11728
11728
  def __init__(self):
11729
11729
  r"""
11730
- :param _ZoneId: 站点ID。
11731
- 必填参数。
11730
+ :param _ZoneId: 站点 ID。该参数必填。
11732
11731
  :type ZoneId: str
11733
- :param _StartTime: 查询起始时间,时间与job-id必填一个。
11732
+ :param _StartTime: 查询起始时间,时间与 job-id 必填一个。
11734
11733
  :type StartTime: str
11735
- :param _EndTime: 查询结束时间,时间与job-id必填一个。
11734
+ :param _EndTime: 查询结束时间,时间与 job-id 必填一个。
11736
11735
  :type EndTime: str
11737
- :param _Offset: 分页查询偏移量,默认为0。
11736
+ :param _Offset: 分页查询偏移量,默认为 0。
11738
11737
  :type Offset: int
11739
- :param _Limit: 分页查限制数目,默认值:20,最大值:1000。
11738
+ :param _Limit: 分页查询限制数目,默认值:20,最大值:1000。
11740
11739
  :type Limit: int
11741
- :param _Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:<li>job-id<br>   按照【<strong>任务ID</strong>】进行过滤。job-id形如:1379afjk91u32h,暂不支持多值。<br>   类型:String<br>   必选:否<br>   模糊查询:不支持</li><li>target<br>   按照【<strong>目标资源信息</strong>】进行过滤,target形如:http://www.qq.com/1.txt或者tag1,暂不支持多值<br>   类型:String<br>   必选:否<br>   模糊查询:不支持</li><li>domains<br>   按照【<strong>域名</strong>】进行过滤,domains形如:www.qq.com<br>   类型:String<br>   必选:否<br>   模糊查询:不支持。</li><li>statuses<br>   按照【<strong>任务状态</strong>】进行过滤<br>   必选:否<br>   模糊查询:不支持。<br>   可选项:<br>   processing:处理中<br>   success:成功<br>   failed:失败<br>   timeout:超时</li><li>type<br>   按照【<strong>清除缓存类型</strong>】进行过滤,暂不支持多值。<br>   类型:String<br>   必选:否<br>   模糊查询:不支持<br>   可选项:<br>   purge_url:URL<br>   purge_prefix:前缀<br>   purge_all:全部缓存内容<br>   purge_host:Hostname<br>   purge_cache_tag:CacheTag</li>
11740
+ :param _Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
11741
+ <li>job-id:按照任务 ID 进行过滤。job-id 形如:1379afjk91u32h,暂不支持多值,不支持模糊查询;</li>
11742
+ <li>target:按照目标资源信息进行过滤,target 形如:http://www.qq.com/1.txt 或者 tag1,暂不支持多值,支持模糊查询;</li>
11743
+ <li>domains:按照域名进行过滤,形如:www.qq.com,不支持模糊查询;</li>
11744
+ <li>statuses:按照任务状态进行过滤,不支持模糊查询。可选项:<br>   processing:处理中<br>   success:成功<br>   failed:失败<br>   timeout:超时</li>
11745
+ <li>type:按照清除缓存类型进行过滤,暂不支持多值,不支持模糊查询。可选项:<br>   purge_url:URL<br>   purge_prefix:前缀<br>   purge_all:全部缓存内容<br>   purge_host:Hostname<br>   purge_cache_tag:CacheTag</li>
11742
11746
  :type Filters: list of AdvancedFilter
11743
11747
  """
11744
11748
  self._ZoneId = None
@@ -16988,6 +16992,68 @@ class L4Proxy(AbstractModel):
16988
16992
 
16989
16993
 
16990
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
+
16991
17057
  class L4ProxyRule(AbstractModel):
16992
17058
  """四层代理转发规则详情。
16993
17059
 
@@ -17055,6 +17121,10 @@ class L4ProxyRule(AbstractModel):
17055
17121
  :type Status: str
17056
17122
  :param _BuId: BuID。
17057
17123
  :type BuId: str
17124
+ :param _RemoteAuth: 远程鉴权信息。
17125
+ 注意:RemoteAuth 在 CreateL4ProxyRules 或 ModifyL4ProxyRules 不可作为入参使用,如有传此参数,会忽略。在 DescribeL4ProxyRules 返回为空时,表示没有开启远程鉴权。
17126
+ 注意:此字段可能返回 null,表示取不到有效值。
17127
+ :type RemoteAuth: :class:`tencentcloud.teo.v20220901.models.L4ProxyRemoteAuth`
17058
17128
  """
17059
17129
  self._RuleId = None
17060
17130
  self._Protocol = None
@@ -17068,6 +17138,7 @@ class L4ProxyRule(AbstractModel):
17068
17138
  self._RuleTag = None
17069
17139
  self._Status = None
17070
17140
  self._BuId = None
17141
+ self._RemoteAuth = None
17071
17142
 
17072
17143
  @property
17073
17144
  def RuleId(self):
@@ -17165,6 +17236,14 @@ class L4ProxyRule(AbstractModel):
17165
17236
  def BuId(self, BuId):
17166
17237
  self._BuId = BuId
17167
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
+
17168
17247
 
17169
17248
  def _deserialize(self, params):
17170
17249
  self._RuleId = params.get("RuleId")
@@ -17179,6 +17258,9 @@ class L4ProxyRule(AbstractModel):
17179
17258
  self._RuleTag = params.get("RuleTag")
17180
17259
  self._Status = params.get("Status")
17181
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"))
17182
17264
  memeber_set = set(params.keys())
17183
17265
  for name, value in vars(self).items():
17184
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.1235
3
+ Version: 3.0.1239
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.1239
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1235