tencentcloud-sdk-python-teo 3.1.178__tar.gz → 3.1.179__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_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/setup.py +1 -1
- {tencentcloud_sdk_python_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/tencentcloud/teo/v20220901/models.py +220 -16
- {tencentcloud_sdk_python_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/tencentcloud/teo/v20220901/teo_client.py +50 -0
- {tencentcloud_sdk_python_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/tencentcloud/teo/v20220901/teo_client_async.py +40 -0
- {tencentcloud_sdk_python_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_teo-3.1.179/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_teo-3.1.178/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/README.rst +0 -0
- {tencentcloud_sdk_python_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/setup.cfg +0 -0
- {tencentcloud_sdk_python_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/tencentcloud/teo/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/tencentcloud/teo/v20220106/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/tencentcloud/teo/v20220106/models.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/tencentcloud/teo/v20220106/teo_client.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/tencentcloud/teo/v20220106/teo_client_async.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/tencentcloud/teo/v20220901/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/tencentcloud/teo/v20220901/errorcodes.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_teo-3.1.178 → tencentcloud_sdk_python_teo-3.1.179}/tencentcloud_sdk_python_teo.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-teo
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.179
|
|
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
|
|
@@ -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.179
|
|
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-teo',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.179,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Teo SDK for Python',
|
|
@@ -32945,6 +32945,110 @@ class DescribeZoneConfigImportResultResponse(AbstractModel):
|
|
|
32945
32945
|
self._RequestId = params.get("RequestId")
|
|
32946
32946
|
|
|
32947
32947
|
|
|
32948
|
+
class DescribeZoneCustomVariablesRequest(AbstractModel):
|
|
32949
|
+
r"""DescribeZoneCustomVariables请求参数结构体
|
|
32950
|
+
|
|
32951
|
+
"""
|
|
32952
|
+
|
|
32953
|
+
def __init__(self):
|
|
32954
|
+
r"""
|
|
32955
|
+
:param _ZoneId: <p>站点 ID。</p>
|
|
32956
|
+
:type ZoneId: str
|
|
32957
|
+
"""
|
|
32958
|
+
self._ZoneId = None
|
|
32959
|
+
|
|
32960
|
+
@property
|
|
32961
|
+
def ZoneId(self):
|
|
32962
|
+
r"""<p>站点 ID。</p>
|
|
32963
|
+
:rtype: str
|
|
32964
|
+
"""
|
|
32965
|
+
return self._ZoneId
|
|
32966
|
+
|
|
32967
|
+
@ZoneId.setter
|
|
32968
|
+
def ZoneId(self, ZoneId):
|
|
32969
|
+
self._ZoneId = ZoneId
|
|
32970
|
+
|
|
32971
|
+
|
|
32972
|
+
def _deserialize(self, params):
|
|
32973
|
+
self._ZoneId = params.get("ZoneId")
|
|
32974
|
+
memeber_set = set(params.keys())
|
|
32975
|
+
for name, value in vars(self).items():
|
|
32976
|
+
property_name = name[1:]
|
|
32977
|
+
if property_name in memeber_set:
|
|
32978
|
+
memeber_set.remove(property_name)
|
|
32979
|
+
if len(memeber_set) > 0:
|
|
32980
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
32981
|
+
|
|
32982
|
+
|
|
32983
|
+
|
|
32984
|
+
class DescribeZoneCustomVariablesResponse(AbstractModel):
|
|
32985
|
+
r"""DescribeZoneCustomVariables返回参数结构体
|
|
32986
|
+
|
|
32987
|
+
"""
|
|
32988
|
+
|
|
32989
|
+
def __init__(self):
|
|
32990
|
+
r"""
|
|
32991
|
+
:param _CustomVariables: <p>站点级自定义变量列表。</p>
|
|
32992
|
+
:type CustomVariables: list of CustomVariable
|
|
32993
|
+
:param _CustomVariableOperations: <p>站点级自定义变量运算规则。</p>
|
|
32994
|
+
:type CustomVariableOperations: list of CustomVariableOperation
|
|
32995
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
32996
|
+
:type RequestId: str
|
|
32997
|
+
"""
|
|
32998
|
+
self._CustomVariables = None
|
|
32999
|
+
self._CustomVariableOperations = None
|
|
33000
|
+
self._RequestId = None
|
|
33001
|
+
|
|
33002
|
+
@property
|
|
33003
|
+
def CustomVariables(self):
|
|
33004
|
+
r"""<p>站点级自定义变量列表。</p>
|
|
33005
|
+
:rtype: list of CustomVariable
|
|
33006
|
+
"""
|
|
33007
|
+
return self._CustomVariables
|
|
33008
|
+
|
|
33009
|
+
@CustomVariables.setter
|
|
33010
|
+
def CustomVariables(self, CustomVariables):
|
|
33011
|
+
self._CustomVariables = CustomVariables
|
|
33012
|
+
|
|
33013
|
+
@property
|
|
33014
|
+
def CustomVariableOperations(self):
|
|
33015
|
+
r"""<p>站点级自定义变量运算规则。</p>
|
|
33016
|
+
:rtype: list of CustomVariableOperation
|
|
33017
|
+
"""
|
|
33018
|
+
return self._CustomVariableOperations
|
|
33019
|
+
|
|
33020
|
+
@CustomVariableOperations.setter
|
|
33021
|
+
def CustomVariableOperations(self, CustomVariableOperations):
|
|
33022
|
+
self._CustomVariableOperations = CustomVariableOperations
|
|
33023
|
+
|
|
33024
|
+
@property
|
|
33025
|
+
def RequestId(self):
|
|
33026
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
33027
|
+
:rtype: str
|
|
33028
|
+
"""
|
|
33029
|
+
return self._RequestId
|
|
33030
|
+
|
|
33031
|
+
@RequestId.setter
|
|
33032
|
+
def RequestId(self, RequestId):
|
|
33033
|
+
self._RequestId = RequestId
|
|
33034
|
+
|
|
33035
|
+
|
|
33036
|
+
def _deserialize(self, params):
|
|
33037
|
+
if params.get("CustomVariables") is not None:
|
|
33038
|
+
self._CustomVariables = []
|
|
33039
|
+
for item in params.get("CustomVariables"):
|
|
33040
|
+
obj = CustomVariable()
|
|
33041
|
+
obj._deserialize(item)
|
|
33042
|
+
self._CustomVariables.append(obj)
|
|
33043
|
+
if params.get("CustomVariableOperations") is not None:
|
|
33044
|
+
self._CustomVariableOperations = []
|
|
33045
|
+
for item in params.get("CustomVariableOperations"):
|
|
33046
|
+
obj = CustomVariableOperation()
|
|
33047
|
+
obj._deserialize(item)
|
|
33048
|
+
self._CustomVariableOperations.append(obj)
|
|
33049
|
+
self._RequestId = params.get("RequestId")
|
|
33050
|
+
|
|
33051
|
+
|
|
32948
33052
|
class DescribeZoneSettingRequest(AbstractModel):
|
|
32949
33053
|
r"""DescribeZoneSetting请求参数结构体
|
|
32950
33054
|
|
|
@@ -52212,6 +52316,110 @@ class ModifyWebSecurityTemplateResponse(AbstractModel):
|
|
|
52212
52316
|
self._RequestId = params.get("RequestId")
|
|
52213
52317
|
|
|
52214
52318
|
|
|
52319
|
+
class ModifyZoneCustomVariablesRequest(AbstractModel):
|
|
52320
|
+
r"""ModifyZoneCustomVariables请求参数结构体
|
|
52321
|
+
|
|
52322
|
+
"""
|
|
52323
|
+
|
|
52324
|
+
def __init__(self):
|
|
52325
|
+
r"""
|
|
52326
|
+
:param _ZoneId: <p>站点 ID。</p>
|
|
52327
|
+
:type ZoneId: str
|
|
52328
|
+
:param _CustomVariables: <p>站点级自定义变量列表。CustomVariable.Name 需要使用 user.zone. 作为前缀。变量按照数组顺序依次初始化,InitialValue 仅支持引用位于当前变量之前的变量,不支持引用当前变量自身或位于当前变量之后的变量。</p>
|
|
52329
|
+
:type CustomVariables: list of CustomVariable
|
|
52330
|
+
:param _CustomVariableOperations: <p>站点级自定义变量运算规则。运算中支持引用已定义的站点级自定义变量。此列表当前只支持填写一项规则,多填无效。</p>
|
|
52331
|
+
:type CustomVariableOperations: list of CustomVariableOperation
|
|
52332
|
+
"""
|
|
52333
|
+
self._ZoneId = None
|
|
52334
|
+
self._CustomVariables = None
|
|
52335
|
+
self._CustomVariableOperations = None
|
|
52336
|
+
|
|
52337
|
+
@property
|
|
52338
|
+
def ZoneId(self):
|
|
52339
|
+
r"""<p>站点 ID。</p>
|
|
52340
|
+
:rtype: str
|
|
52341
|
+
"""
|
|
52342
|
+
return self._ZoneId
|
|
52343
|
+
|
|
52344
|
+
@ZoneId.setter
|
|
52345
|
+
def ZoneId(self, ZoneId):
|
|
52346
|
+
self._ZoneId = ZoneId
|
|
52347
|
+
|
|
52348
|
+
@property
|
|
52349
|
+
def CustomVariables(self):
|
|
52350
|
+
r"""<p>站点级自定义变量列表。CustomVariable.Name 需要使用 user.zone. 作为前缀。变量按照数组顺序依次初始化,InitialValue 仅支持引用位于当前变量之前的变量,不支持引用当前变量自身或位于当前变量之后的变量。</p>
|
|
52351
|
+
:rtype: list of CustomVariable
|
|
52352
|
+
"""
|
|
52353
|
+
return self._CustomVariables
|
|
52354
|
+
|
|
52355
|
+
@CustomVariables.setter
|
|
52356
|
+
def CustomVariables(self, CustomVariables):
|
|
52357
|
+
self._CustomVariables = CustomVariables
|
|
52358
|
+
|
|
52359
|
+
@property
|
|
52360
|
+
def CustomVariableOperations(self):
|
|
52361
|
+
r"""<p>站点级自定义变量运算规则。运算中支持引用已定义的站点级自定义变量。此列表当前只支持填写一项规则,多填无效。</p>
|
|
52362
|
+
:rtype: list of CustomVariableOperation
|
|
52363
|
+
"""
|
|
52364
|
+
return self._CustomVariableOperations
|
|
52365
|
+
|
|
52366
|
+
@CustomVariableOperations.setter
|
|
52367
|
+
def CustomVariableOperations(self, CustomVariableOperations):
|
|
52368
|
+
self._CustomVariableOperations = CustomVariableOperations
|
|
52369
|
+
|
|
52370
|
+
|
|
52371
|
+
def _deserialize(self, params):
|
|
52372
|
+
self._ZoneId = params.get("ZoneId")
|
|
52373
|
+
if params.get("CustomVariables") is not None:
|
|
52374
|
+
self._CustomVariables = []
|
|
52375
|
+
for item in params.get("CustomVariables"):
|
|
52376
|
+
obj = CustomVariable()
|
|
52377
|
+
obj._deserialize(item)
|
|
52378
|
+
self._CustomVariables.append(obj)
|
|
52379
|
+
if params.get("CustomVariableOperations") is not None:
|
|
52380
|
+
self._CustomVariableOperations = []
|
|
52381
|
+
for item in params.get("CustomVariableOperations"):
|
|
52382
|
+
obj = CustomVariableOperation()
|
|
52383
|
+
obj._deserialize(item)
|
|
52384
|
+
self._CustomVariableOperations.append(obj)
|
|
52385
|
+
memeber_set = set(params.keys())
|
|
52386
|
+
for name, value in vars(self).items():
|
|
52387
|
+
property_name = name[1:]
|
|
52388
|
+
if property_name in memeber_set:
|
|
52389
|
+
memeber_set.remove(property_name)
|
|
52390
|
+
if len(memeber_set) > 0:
|
|
52391
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
52392
|
+
|
|
52393
|
+
|
|
52394
|
+
|
|
52395
|
+
class ModifyZoneCustomVariablesResponse(AbstractModel):
|
|
52396
|
+
r"""ModifyZoneCustomVariables返回参数结构体
|
|
52397
|
+
|
|
52398
|
+
"""
|
|
52399
|
+
|
|
52400
|
+
def __init__(self):
|
|
52401
|
+
r"""
|
|
52402
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
52403
|
+
:type RequestId: str
|
|
52404
|
+
"""
|
|
52405
|
+
self._RequestId = None
|
|
52406
|
+
|
|
52407
|
+
@property
|
|
52408
|
+
def RequestId(self):
|
|
52409
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
52410
|
+
:rtype: str
|
|
52411
|
+
"""
|
|
52412
|
+
return self._RequestId
|
|
52413
|
+
|
|
52414
|
+
@RequestId.setter
|
|
52415
|
+
def RequestId(self, RequestId):
|
|
52416
|
+
self._RequestId = RequestId
|
|
52417
|
+
|
|
52418
|
+
|
|
52419
|
+
def _deserialize(self, params):
|
|
52420
|
+
self._RequestId = params.get("RequestId")
|
|
52421
|
+
|
|
52422
|
+
|
|
52215
52423
|
class ModifyZoneRequest(AbstractModel):
|
|
52216
52424
|
r"""ModifyZone请求参数结构体
|
|
52217
52425
|
|
|
@@ -63987,19 +64195,17 @@ class SharedCNAMEInfo(AbstractModel):
|
|
|
63987
64195
|
|
|
63988
64196
|
def __init__(self):
|
|
63989
64197
|
r"""
|
|
63990
|
-
:param _Type:
|
|
63991
|
-
<li>custom:由用户创建的自定义共享CNAME</li>
|
|
63992
|
-
<li>ip-ssl:IP SSL类型的共享CNAME</li>
|
|
64198
|
+
:param _Type: <p>共享CNAME类型:取值范围如下:</p><li>custom:由用户创建的自定义共享CNAME</li><li>ip-ssl:IP SSL类型的共享CNAME</li><li>zero-rating:免流类型的共享CNAME</li><li>preset:预置资源类型的共享CNAME</li>
|
|
63993
64199
|
:type Type: str
|
|
63994
|
-
:param _SharedCNAME:
|
|
64200
|
+
:param _SharedCNAME: <p>共享CNAME名称。</p>
|
|
63995
64201
|
:type SharedCNAME: str
|
|
63996
|
-
:param _Description:
|
|
64202
|
+
:param _Description: <p>描述。</p>
|
|
63997
64203
|
:type Description: str
|
|
63998
|
-
:param _IPSSLConfig:
|
|
64204
|
+
:param _IPSSLConfig: <p>当type为ip-ssl时,展示该共享CNAME关联的 IP SSL 配置信息。</p>
|
|
63999
64205
|
:type IPSSLConfig: :class:`tencentcloud.teo.v20220901.models.IPSSLConfig`
|
|
64000
|
-
:param _BindDomainCount:
|
|
64206
|
+
:param _BindDomainCount: <p>共享CNAME绑定的加速域名数量。</p>
|
|
64001
64207
|
:type BindDomainCount: int
|
|
64002
|
-
:param _AccelerationDomains:
|
|
64208
|
+
:param _AccelerationDomains: <p>加入该共享CNAME的加速域名列表。当加入的域名数量超过100个时,只返回前100个加速域名。</p>
|
|
64003
64209
|
:type AccelerationDomains: list of ReferenceHolder
|
|
64004
64210
|
"""
|
|
64005
64211
|
self._Type = None
|
|
@@ -64011,9 +64217,7 @@ class SharedCNAMEInfo(AbstractModel):
|
|
|
64011
64217
|
|
|
64012
64218
|
@property
|
|
64013
64219
|
def Type(self):
|
|
64014
|
-
r"""
|
|
64015
|
-
<li>custom:由用户创建的自定义共享CNAME</li>
|
|
64016
|
-
<li>ip-ssl:IP SSL类型的共享CNAME</li>
|
|
64220
|
+
r"""<p>共享CNAME类型:取值范围如下:</p><li>custom:由用户创建的自定义共享CNAME</li><li>ip-ssl:IP SSL类型的共享CNAME</li><li>zero-rating:免流类型的共享CNAME</li><li>preset:预置资源类型的共享CNAME</li>
|
|
64017
64221
|
:rtype: str
|
|
64018
64222
|
"""
|
|
64019
64223
|
return self._Type
|
|
@@ -64024,7 +64228,7 @@ class SharedCNAMEInfo(AbstractModel):
|
|
|
64024
64228
|
|
|
64025
64229
|
@property
|
|
64026
64230
|
def SharedCNAME(self):
|
|
64027
|
-
r"""
|
|
64231
|
+
r"""<p>共享CNAME名称。</p>
|
|
64028
64232
|
:rtype: str
|
|
64029
64233
|
"""
|
|
64030
64234
|
return self._SharedCNAME
|
|
@@ -64035,7 +64239,7 @@ class SharedCNAMEInfo(AbstractModel):
|
|
|
64035
64239
|
|
|
64036
64240
|
@property
|
|
64037
64241
|
def Description(self):
|
|
64038
|
-
r"""
|
|
64242
|
+
r"""<p>描述。</p>
|
|
64039
64243
|
:rtype: str
|
|
64040
64244
|
"""
|
|
64041
64245
|
return self._Description
|
|
@@ -64046,7 +64250,7 @@ class SharedCNAMEInfo(AbstractModel):
|
|
|
64046
64250
|
|
|
64047
64251
|
@property
|
|
64048
64252
|
def IPSSLConfig(self):
|
|
64049
|
-
r"""
|
|
64253
|
+
r"""<p>当type为ip-ssl时,展示该共享CNAME关联的 IP SSL 配置信息。</p>
|
|
64050
64254
|
:rtype: :class:`tencentcloud.teo.v20220901.models.IPSSLConfig`
|
|
64051
64255
|
"""
|
|
64052
64256
|
return self._IPSSLConfig
|
|
@@ -64057,7 +64261,7 @@ class SharedCNAMEInfo(AbstractModel):
|
|
|
64057
64261
|
|
|
64058
64262
|
@property
|
|
64059
64263
|
def BindDomainCount(self):
|
|
64060
|
-
r"""
|
|
64264
|
+
r"""<p>共享CNAME绑定的加速域名数量。</p>
|
|
64061
64265
|
:rtype: int
|
|
64062
64266
|
"""
|
|
64063
64267
|
return self._BindDomainCount
|
|
@@ -64068,7 +64272,7 @@ class SharedCNAMEInfo(AbstractModel):
|
|
|
64068
64272
|
|
|
64069
64273
|
@property
|
|
64070
64274
|
def AccelerationDomains(self):
|
|
64071
|
-
r"""
|
|
64275
|
+
r"""<p>加入该共享CNAME的加速域名列表。当加入的域名数量超过100个时,只返回前100个加速域名。</p>
|
|
64072
64276
|
:rtype: list of ReferenceHolder
|
|
64073
64277
|
"""
|
|
64074
64278
|
return self._AccelerationDomains
|
|
@@ -3752,6 +3752,31 @@ class TeoClient(AbstractClient):
|
|
|
3752
3752
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3753
3753
|
|
|
3754
3754
|
|
|
3755
|
+
def DescribeZoneCustomVariables(self, request):
|
|
3756
|
+
r"""本接口用于查询站点级自定义变量配置,包括变量定义和变量运算。未配置时,变量定义和变量运算均返回空列表。
|
|
3757
|
+
|
|
3758
|
+
如需查询规则级自定义变量,请调用 DescribeL7AccRules 接口。
|
|
3759
|
+
|
|
3760
|
+
:param request: Request instance for DescribeZoneCustomVariables.
|
|
3761
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeZoneCustomVariablesRequest`
|
|
3762
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeZoneCustomVariablesResponse`
|
|
3763
|
+
|
|
3764
|
+
"""
|
|
3765
|
+
try:
|
|
3766
|
+
params = request._serialize()
|
|
3767
|
+
headers = request.headers
|
|
3768
|
+
body = self.call("DescribeZoneCustomVariables", params, headers=headers)
|
|
3769
|
+
response = json.loads(body)
|
|
3770
|
+
model = models.DescribeZoneCustomVariablesResponse()
|
|
3771
|
+
model._deserialize(response["Response"])
|
|
3772
|
+
return model
|
|
3773
|
+
except Exception as e:
|
|
3774
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3775
|
+
raise
|
|
3776
|
+
else:
|
|
3777
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3778
|
+
|
|
3779
|
+
|
|
3755
3780
|
def DescribeZoneSetting(self, request):
|
|
3756
3781
|
r"""本接口为旧版,EdgeOne 已对规则引擎相关接口全面升级,详情请参考 [DescribeL7AccSetting](https://cloud.tencent.com/document/product/1552/115819)。
|
|
3757
3782
|
|
|
@@ -5271,6 +5296,31 @@ class TeoClient(AbstractClient):
|
|
|
5271
5296
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5272
5297
|
|
|
5273
5298
|
|
|
5299
|
+
def ModifyZoneCustomVariables(self, request):
|
|
5300
|
+
r"""本接口用于管理站点级自定义变量,支持创建、修改和删除变量定义及变量运算。提交的列表将覆盖对应的现有配置;如需清空配置,请传入空列表。未传入的配置项保持不变。变量定义和变量运算的默认值均为空。
|
|
5301
|
+
|
|
5302
|
+
规则级自定义变量相关操作,请调用 CreateL7AccRules 或 ModifyL7AccRule 接口。
|
|
5303
|
+
|
|
5304
|
+
:param request: Request instance for ModifyZoneCustomVariables.
|
|
5305
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyZoneCustomVariablesRequest`
|
|
5306
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ModifyZoneCustomVariablesResponse`
|
|
5307
|
+
|
|
5308
|
+
"""
|
|
5309
|
+
try:
|
|
5310
|
+
params = request._serialize()
|
|
5311
|
+
headers = request.headers
|
|
5312
|
+
body = self.call("ModifyZoneCustomVariables", params, headers=headers)
|
|
5313
|
+
response = json.loads(body)
|
|
5314
|
+
model = models.ModifyZoneCustomVariablesResponse()
|
|
5315
|
+
model._deserialize(response["Response"])
|
|
5316
|
+
return model
|
|
5317
|
+
except Exception as e:
|
|
5318
|
+
if isinstance(e, TencentCloudSDKException):
|
|
5319
|
+
raise
|
|
5320
|
+
else:
|
|
5321
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5322
|
+
|
|
5323
|
+
|
|
5274
5324
|
def ModifyZoneSetting(self, request):
|
|
5275
5325
|
r"""本接口为旧版,EdgeOne 已对规则引擎相关接口全面升级,详情请参考 [ModifyL7AccSetting](https://cloud.tencent.com/document/product/1552/115817)。
|
|
5276
5326
|
|
|
@@ -2956,6 +2956,26 @@ class TeoClient(AbstractClient):
|
|
|
2956
2956
|
|
|
2957
2957
|
return await self.call_and_deserialize(**kwargs)
|
|
2958
2958
|
|
|
2959
|
+
async def DescribeZoneCustomVariables(
|
|
2960
|
+
self,
|
|
2961
|
+
request: models.DescribeZoneCustomVariablesRequest,
|
|
2962
|
+
opts: Dict = None,
|
|
2963
|
+
) -> models.DescribeZoneCustomVariablesResponse:
|
|
2964
|
+
"""
|
|
2965
|
+
本接口用于查询站点级自定义变量配置,包括变量定义和变量运算。未配置时,变量定义和变量运算均返回空列表。
|
|
2966
|
+
|
|
2967
|
+
如需查询规则级自定义变量,请调用 DescribeL7AccRules 接口。
|
|
2968
|
+
"""
|
|
2969
|
+
|
|
2970
|
+
kwargs = {}
|
|
2971
|
+
kwargs["action"] = "DescribeZoneCustomVariables"
|
|
2972
|
+
kwargs["params"] = request._serialize()
|
|
2973
|
+
kwargs["resp_cls"] = models.DescribeZoneCustomVariablesResponse
|
|
2974
|
+
kwargs["headers"] = request.headers
|
|
2975
|
+
kwargs["opts"] = opts or {}
|
|
2976
|
+
|
|
2977
|
+
return await self.call_and_deserialize(**kwargs)
|
|
2978
|
+
|
|
2959
2979
|
async def DescribeZoneSetting(
|
|
2960
2980
|
self,
|
|
2961
2981
|
request: models.DescribeZoneSettingRequest,
|
|
@@ -4150,6 +4170,26 @@ class TeoClient(AbstractClient):
|
|
|
4150
4170
|
|
|
4151
4171
|
return await self.call_and_deserialize(**kwargs)
|
|
4152
4172
|
|
|
4173
|
+
async def ModifyZoneCustomVariables(
|
|
4174
|
+
self,
|
|
4175
|
+
request: models.ModifyZoneCustomVariablesRequest,
|
|
4176
|
+
opts: Dict = None,
|
|
4177
|
+
) -> models.ModifyZoneCustomVariablesResponse:
|
|
4178
|
+
"""
|
|
4179
|
+
本接口用于管理站点级自定义变量,支持创建、修改和删除变量定义及变量运算。提交的列表将覆盖对应的现有配置;如需清空配置,请传入空列表。未传入的配置项保持不变。变量定义和变量运算的默认值均为空。
|
|
4180
|
+
|
|
4181
|
+
规则级自定义变量相关操作,请调用 CreateL7AccRules 或 ModifyL7AccRule 接口。
|
|
4182
|
+
"""
|
|
4183
|
+
|
|
4184
|
+
kwargs = {}
|
|
4185
|
+
kwargs["action"] = "ModifyZoneCustomVariables"
|
|
4186
|
+
kwargs["params"] = request._serialize()
|
|
4187
|
+
kwargs["resp_cls"] = models.ModifyZoneCustomVariablesResponse
|
|
4188
|
+
kwargs["headers"] = request.headers
|
|
4189
|
+
kwargs["opts"] = opts or {}
|
|
4190
|
+
|
|
4191
|
+
return await self.call_and_deserialize(**kwargs)
|
|
4192
|
+
|
|
4153
4193
|
async def ModifyZoneSetting(
|
|
4154
4194
|
self,
|
|
4155
4195
|
request: models.ModifyZoneSettingRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-teo
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.179
|
|
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
|
|
@@ -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.179
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.179
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.178
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|