tencentcloud-sdk-python-teo 3.1.166__tar.gz → 3.1.173__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.166 → tencentcloud_sdk_python_teo-3.1.173}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_teo-3.1.166 → tencentcloud_sdk_python_teo-3.1.173}/setup.py +1 -1
- {tencentcloud_sdk_python_teo-3.1.166 → tencentcloud_sdk_python_teo-3.1.173}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_teo-3.1.166 → tencentcloud_sdk_python_teo-3.1.173}/tencentcloud/teo/v20220901/models.py +672 -40
- {tencentcloud_sdk_python_teo-3.1.166 → tencentcloud_sdk_python_teo-3.1.173}/tencentcloud/teo/v20220901/teo_client.py +25 -2
- {tencentcloud_sdk_python_teo-3.1.166 → tencentcloud_sdk_python_teo-3.1.173}/tencentcloud/teo/v20220901/teo_client_async.py +20 -2
- {tencentcloud_sdk_python_teo-3.1.166 → tencentcloud_sdk_python_teo-3.1.173}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_teo-3.1.173/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_teo-3.1.166/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_teo-3.1.166 → tencentcloud_sdk_python_teo-3.1.173}/README.rst +0 -0
- {tencentcloud_sdk_python_teo-3.1.166 → tencentcloud_sdk_python_teo-3.1.173}/setup.cfg +0 -0
- {tencentcloud_sdk_python_teo-3.1.166 → tencentcloud_sdk_python_teo-3.1.173}/tencentcloud/teo/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.166 → tencentcloud_sdk_python_teo-3.1.173}/tencentcloud/teo/v20220106/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.166 → tencentcloud_sdk_python_teo-3.1.173}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.166 → tencentcloud_sdk_python_teo-3.1.173}/tencentcloud/teo/v20220106/models.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.166 → tencentcloud_sdk_python_teo-3.1.173}/tencentcloud/teo/v20220106/teo_client.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.166 → tencentcloud_sdk_python_teo-3.1.173}/tencentcloud/teo/v20220106/teo_client_async.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.166 → tencentcloud_sdk_python_teo-3.1.173}/tencentcloud/teo/v20220901/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.166 → tencentcloud_sdk_python_teo-3.1.173}/tencentcloud/teo/v20220901/errorcodes.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.166 → tencentcloud_sdk_python_teo-3.1.173}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_teo-3.1.166 → tencentcloud_sdk_python_teo-3.1.173}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_teo-3.1.166 → tencentcloud_sdk_python_teo-3.1.173}/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.173
|
|
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.173
|
|
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.173,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Teo SDK for Python',
|
|
@@ -425,6 +425,8 @@ class AccelerationDomain(AbstractModel):
|
|
|
425
425
|
:type CreatedOn: str
|
|
426
426
|
:param _ModifiedOn: <p>修改时间。</p>
|
|
427
427
|
:type ModifiedOn: str
|
|
428
|
+
:param _ComplianceRestrictions: <p>域名因合规问题产生的地区访问限制列表。</p>
|
|
429
|
+
:type ComplianceRestrictions: list of ComplianceRestriction
|
|
428
430
|
"""
|
|
429
431
|
self._ZoneId = None
|
|
430
432
|
self._DomainName = None
|
|
@@ -440,6 +442,7 @@ class AccelerationDomain(AbstractModel):
|
|
|
440
442
|
self._Certificate = None
|
|
441
443
|
self._CreatedOn = None
|
|
442
444
|
self._ModifiedOn = None
|
|
445
|
+
self._ComplianceRestrictions = None
|
|
443
446
|
|
|
444
447
|
@property
|
|
445
448
|
def ZoneId(self):
|
|
@@ -603,6 +606,17 @@ class AccelerationDomain(AbstractModel):
|
|
|
603
606
|
def ModifiedOn(self, ModifiedOn):
|
|
604
607
|
self._ModifiedOn = ModifiedOn
|
|
605
608
|
|
|
609
|
+
@property
|
|
610
|
+
def ComplianceRestrictions(self):
|
|
611
|
+
r"""<p>域名因合规问题产生的地区访问限制列表。</p>
|
|
612
|
+
:rtype: list of ComplianceRestriction
|
|
613
|
+
"""
|
|
614
|
+
return self._ComplianceRestrictions
|
|
615
|
+
|
|
616
|
+
@ComplianceRestrictions.setter
|
|
617
|
+
def ComplianceRestrictions(self, ComplianceRestrictions):
|
|
618
|
+
self._ComplianceRestrictions = ComplianceRestrictions
|
|
619
|
+
|
|
606
620
|
|
|
607
621
|
def _deserialize(self, params):
|
|
608
622
|
self._ZoneId = params.get("ZoneId")
|
|
@@ -625,6 +639,12 @@ class AccelerationDomain(AbstractModel):
|
|
|
625
639
|
self._Certificate._deserialize(params.get("Certificate"))
|
|
626
640
|
self._CreatedOn = params.get("CreatedOn")
|
|
627
641
|
self._ModifiedOn = params.get("ModifiedOn")
|
|
642
|
+
if params.get("ComplianceRestrictions") is not None:
|
|
643
|
+
self._ComplianceRestrictions = []
|
|
644
|
+
for item in params.get("ComplianceRestrictions"):
|
|
645
|
+
obj = ComplianceRestriction()
|
|
646
|
+
obj._deserialize(item)
|
|
647
|
+
self._ComplianceRestrictions.append(obj)
|
|
628
648
|
memeber_set = set(params.keys())
|
|
629
649
|
for name, value in vars(self).items():
|
|
630
650
|
property_name = name[1:]
|
|
@@ -8489,6 +8509,57 @@ class CodeAction(AbstractModel):
|
|
|
8489
8509
|
|
|
8490
8510
|
|
|
8491
8511
|
|
|
8512
|
+
class ComplianceRestriction(AbstractModel):
|
|
8513
|
+
r"""因政府法律法规、用户协议等规定,对资源进行地区访问限制信息。
|
|
8514
|
+
|
|
8515
|
+
"""
|
|
8516
|
+
|
|
8517
|
+
def __init__(self):
|
|
8518
|
+
r"""
|
|
8519
|
+
:param _Reason: <p>下发访问限制的原因。</p><p>枚举值:</p><ul><li>ICP_RECORD_REQUIRED: 未备案;</li><li>GOVERNMENT_ORDER: 政府指令。</li></ul>
|
|
8520
|
+
:type Reason: str
|
|
8521
|
+
:param _Region: <p>限制访问地区的具体国家/地区码,使用“ISO 3166 国家/地区代码标准”。</p><p>参数格式:查看链接:https://www.iso.org/iso-3166-country-codes.html。</p>
|
|
8522
|
+
:type Region: str
|
|
8523
|
+
"""
|
|
8524
|
+
self._Reason = None
|
|
8525
|
+
self._Region = None
|
|
8526
|
+
|
|
8527
|
+
@property
|
|
8528
|
+
def Reason(self):
|
|
8529
|
+
r"""<p>下发访问限制的原因。</p><p>枚举值:</p><ul><li>ICP_RECORD_REQUIRED: 未备案;</li><li>GOVERNMENT_ORDER: 政府指令。</li></ul>
|
|
8530
|
+
:rtype: str
|
|
8531
|
+
"""
|
|
8532
|
+
return self._Reason
|
|
8533
|
+
|
|
8534
|
+
@Reason.setter
|
|
8535
|
+
def Reason(self, Reason):
|
|
8536
|
+
self._Reason = Reason
|
|
8537
|
+
|
|
8538
|
+
@property
|
|
8539
|
+
def Region(self):
|
|
8540
|
+
r"""<p>限制访问地区的具体国家/地区码,使用“ISO 3166 国家/地区代码标准”。</p><p>参数格式:查看链接:https://www.iso.org/iso-3166-country-codes.html。</p>
|
|
8541
|
+
:rtype: str
|
|
8542
|
+
"""
|
|
8543
|
+
return self._Region
|
|
8544
|
+
|
|
8545
|
+
@Region.setter
|
|
8546
|
+
def Region(self, Region):
|
|
8547
|
+
self._Region = Region
|
|
8548
|
+
|
|
8549
|
+
|
|
8550
|
+
def _deserialize(self, params):
|
|
8551
|
+
self._Reason = params.get("Reason")
|
|
8552
|
+
self._Region = params.get("Region")
|
|
8553
|
+
memeber_set = set(params.keys())
|
|
8554
|
+
for name, value in vars(self).items():
|
|
8555
|
+
property_name = name[1:]
|
|
8556
|
+
if property_name in memeber_set:
|
|
8557
|
+
memeber_set.remove(property_name)
|
|
8558
|
+
if len(memeber_set) > 0:
|
|
8559
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8560
|
+
|
|
8561
|
+
|
|
8562
|
+
|
|
8492
8563
|
class ComponentReference(AbstractModel):
|
|
8493
8564
|
r"""组件被引用的实例信息,用于展示该组件与边缘函数等资源的绑定关系。当边缘函数需要访问组件(如 KV 命名空间)时,会建立引用关系,通过此结构体可查看引用的具体实例详情及所属站点信息。
|
|
8494
8565
|
|
|
@@ -10776,15 +10847,15 @@ class CreateCustomizeErrorPageRequest(AbstractModel):
|
|
|
10776
10847
|
|
|
10777
10848
|
def __init__(self):
|
|
10778
10849
|
r"""
|
|
10779
|
-
:param _ZoneId:
|
|
10850
|
+
:param _ZoneId: <p>站点 ID。</p>
|
|
10780
10851
|
:type ZoneId: str
|
|
10781
|
-
:param _Name:
|
|
10852
|
+
:param _Name: <p>自定义响应页面名称,名称为 2-30 个字符。</p>
|
|
10782
10853
|
:type Name: str
|
|
10783
|
-
:param _ContentType:
|
|
10854
|
+
:param _ContentType: <p>自定义响应页面类型,取值有:</p><ul><li>text/html</li><li>application/json</li><li>plain/text</li><li>text/xml</li><li>text/css</li><li>text/javascript</li><li>application/javascript</li><li>text/markdown</li></ul>
|
|
10784
10855
|
:type ContentType: str
|
|
10785
|
-
:param _Description:
|
|
10856
|
+
:param _Description: <p>自定义响应页面描述,描述不超过 60 个字符。</p>
|
|
10786
10857
|
:type Description: str
|
|
10787
|
-
:param _Content:
|
|
10858
|
+
:param _Content: <p>自定义响应页面内容,内容不超过 16KB。</p>
|
|
10788
10859
|
:type Content: str
|
|
10789
10860
|
"""
|
|
10790
10861
|
self._ZoneId = None
|
|
@@ -10795,7 +10866,7 @@ class CreateCustomizeErrorPageRequest(AbstractModel):
|
|
|
10795
10866
|
|
|
10796
10867
|
@property
|
|
10797
10868
|
def ZoneId(self):
|
|
10798
|
-
r"""
|
|
10869
|
+
r"""<p>站点 ID。</p>
|
|
10799
10870
|
:rtype: str
|
|
10800
10871
|
"""
|
|
10801
10872
|
return self._ZoneId
|
|
@@ -10806,7 +10877,7 @@ class CreateCustomizeErrorPageRequest(AbstractModel):
|
|
|
10806
10877
|
|
|
10807
10878
|
@property
|
|
10808
10879
|
def Name(self):
|
|
10809
|
-
r"""
|
|
10880
|
+
r"""<p>自定义响应页面名称,名称为 2-30 个字符。</p>
|
|
10810
10881
|
:rtype: str
|
|
10811
10882
|
"""
|
|
10812
10883
|
return self._Name
|
|
@@ -10817,7 +10888,7 @@ class CreateCustomizeErrorPageRequest(AbstractModel):
|
|
|
10817
10888
|
|
|
10818
10889
|
@property
|
|
10819
10890
|
def ContentType(self):
|
|
10820
|
-
r"""
|
|
10891
|
+
r"""<p>自定义响应页面类型,取值有:</p><ul><li>text/html</li><li>application/json</li><li>plain/text</li><li>text/xml</li><li>text/css</li><li>text/javascript</li><li>application/javascript</li><li>text/markdown</li></ul>
|
|
10821
10892
|
:rtype: str
|
|
10822
10893
|
"""
|
|
10823
10894
|
return self._ContentType
|
|
@@ -10828,7 +10899,7 @@ class CreateCustomizeErrorPageRequest(AbstractModel):
|
|
|
10828
10899
|
|
|
10829
10900
|
@property
|
|
10830
10901
|
def Description(self):
|
|
10831
|
-
r"""
|
|
10902
|
+
r"""<p>自定义响应页面描述,描述不超过 60 个字符。</p>
|
|
10832
10903
|
:rtype: str
|
|
10833
10904
|
"""
|
|
10834
10905
|
return self._Description
|
|
@@ -10839,7 +10910,7 @@ class CreateCustomizeErrorPageRequest(AbstractModel):
|
|
|
10839
10910
|
|
|
10840
10911
|
@property
|
|
10841
10912
|
def Content(self):
|
|
10842
|
-
r"""
|
|
10913
|
+
r"""<p>自定义响应页面内容,内容不超过 16KB。</p>
|
|
10843
10914
|
:rtype: str
|
|
10844
10915
|
"""
|
|
10845
10916
|
return self._Content
|
|
@@ -10872,7 +10943,7 @@ class CreateCustomizeErrorPageResponse(AbstractModel):
|
|
|
10872
10943
|
|
|
10873
10944
|
def __init__(self):
|
|
10874
10945
|
r"""
|
|
10875
|
-
:param _PageId:
|
|
10946
|
+
:param _PageId: <p>自定义响应页面 ID。</p>
|
|
10876
10947
|
:type PageId: str
|
|
10877
10948
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10878
10949
|
:type RequestId: str
|
|
@@ -10882,7 +10953,7 @@ class CreateCustomizeErrorPageResponse(AbstractModel):
|
|
|
10882
10953
|
|
|
10883
10954
|
@property
|
|
10884
10955
|
def PageId(self):
|
|
10885
|
-
r"""
|
|
10956
|
+
r"""<p>自定义响应页面 ID。</p>
|
|
10886
10957
|
:rtype: str
|
|
10887
10958
|
"""
|
|
10888
10959
|
return self._PageId
|
|
@@ -20749,6 +20820,185 @@ class DescribeApplicationProxiesResponse(AbstractModel):
|
|
|
20749
20820
|
self._RequestId = params.get("RequestId")
|
|
20750
20821
|
|
|
20751
20822
|
|
|
20823
|
+
class DescribeAvailableCustomActionsForRuleEngineRequest(AbstractModel):
|
|
20824
|
+
r"""DescribeAvailableCustomActionsForRuleEngine请求参数结构体
|
|
20825
|
+
|
|
20826
|
+
"""
|
|
20827
|
+
|
|
20828
|
+
def __init__(self):
|
|
20829
|
+
r"""
|
|
20830
|
+
:param _ZoneId: <p>站点 ID。</p>
|
|
20831
|
+
:type ZoneId: str
|
|
20832
|
+
:param _Filters: <p>过滤条件,多个条件为且关系,Filters.Values 的上限为 20。该参数不填写时,返回当前站点下所有可用的规则引擎定制配置。详细的过滤条件如下:</p><li>action-id:按照定制配置唯一标识 ID 进行过滤;</li><li>name:按照定制配置名称进行过滤。</li>模糊查询时仅支持过滤字段名为 <code>name</code>。<p></p>
|
|
20833
|
+
:type Filters: list of AdvancedFilter
|
|
20834
|
+
:param _Limit: <p>分页查询限制数目。</p><p>取值范围:[0, 1000]</p><p>默认值:20</p>
|
|
20835
|
+
:type Limit: int
|
|
20836
|
+
:param _Offset: <p>分页偏移量。</p><p>默认值:0</p>
|
|
20837
|
+
:type Offset: int
|
|
20838
|
+
:param _SortBy: <p>排序字段,取值有:</p><li>action-id:按照定制配置唯一标识 ID 排序;</li><li>create-time:按照定制配置创建时间排序。</li>默认值:<code>action-id</code>。<p></p>
|
|
20839
|
+
:type SortBy: str
|
|
20840
|
+
:param _SortOrder: <p>排序方式,取值有:</p><li>asc:升序排序;</li><li>desc:降序排序。</li>默认值:desc。<p></p>
|
|
20841
|
+
:type SortOrder: str
|
|
20842
|
+
"""
|
|
20843
|
+
self._ZoneId = None
|
|
20844
|
+
self._Filters = None
|
|
20845
|
+
self._Limit = None
|
|
20846
|
+
self._Offset = None
|
|
20847
|
+
self._SortBy = None
|
|
20848
|
+
self._SortOrder = None
|
|
20849
|
+
|
|
20850
|
+
@property
|
|
20851
|
+
def ZoneId(self):
|
|
20852
|
+
r"""<p>站点 ID。</p>
|
|
20853
|
+
:rtype: str
|
|
20854
|
+
"""
|
|
20855
|
+
return self._ZoneId
|
|
20856
|
+
|
|
20857
|
+
@ZoneId.setter
|
|
20858
|
+
def ZoneId(self, ZoneId):
|
|
20859
|
+
self._ZoneId = ZoneId
|
|
20860
|
+
|
|
20861
|
+
@property
|
|
20862
|
+
def Filters(self):
|
|
20863
|
+
r"""<p>过滤条件,多个条件为且关系,Filters.Values 的上限为 20。该参数不填写时,返回当前站点下所有可用的规则引擎定制配置。详细的过滤条件如下:</p><li>action-id:按照定制配置唯一标识 ID 进行过滤;</li><li>name:按照定制配置名称进行过滤。</li>模糊查询时仅支持过滤字段名为 <code>name</code>。<p></p>
|
|
20864
|
+
:rtype: list of AdvancedFilter
|
|
20865
|
+
"""
|
|
20866
|
+
return self._Filters
|
|
20867
|
+
|
|
20868
|
+
@Filters.setter
|
|
20869
|
+
def Filters(self, Filters):
|
|
20870
|
+
self._Filters = Filters
|
|
20871
|
+
|
|
20872
|
+
@property
|
|
20873
|
+
def Limit(self):
|
|
20874
|
+
r"""<p>分页查询限制数目。</p><p>取值范围:[0, 1000]</p><p>默认值:20</p>
|
|
20875
|
+
:rtype: int
|
|
20876
|
+
"""
|
|
20877
|
+
return self._Limit
|
|
20878
|
+
|
|
20879
|
+
@Limit.setter
|
|
20880
|
+
def Limit(self, Limit):
|
|
20881
|
+
self._Limit = Limit
|
|
20882
|
+
|
|
20883
|
+
@property
|
|
20884
|
+
def Offset(self):
|
|
20885
|
+
r"""<p>分页偏移量。</p><p>默认值:0</p>
|
|
20886
|
+
:rtype: int
|
|
20887
|
+
"""
|
|
20888
|
+
return self._Offset
|
|
20889
|
+
|
|
20890
|
+
@Offset.setter
|
|
20891
|
+
def Offset(self, Offset):
|
|
20892
|
+
self._Offset = Offset
|
|
20893
|
+
|
|
20894
|
+
@property
|
|
20895
|
+
def SortBy(self):
|
|
20896
|
+
r"""<p>排序字段,取值有:</p><li>action-id:按照定制配置唯一标识 ID 排序;</li><li>create-time:按照定制配置创建时间排序。</li>默认值:<code>action-id</code>。<p></p>
|
|
20897
|
+
:rtype: str
|
|
20898
|
+
"""
|
|
20899
|
+
return self._SortBy
|
|
20900
|
+
|
|
20901
|
+
@SortBy.setter
|
|
20902
|
+
def SortBy(self, SortBy):
|
|
20903
|
+
self._SortBy = SortBy
|
|
20904
|
+
|
|
20905
|
+
@property
|
|
20906
|
+
def SortOrder(self):
|
|
20907
|
+
r"""<p>排序方式,取值有:</p><li>asc:升序排序;</li><li>desc:降序排序。</li>默认值:desc。<p></p>
|
|
20908
|
+
:rtype: str
|
|
20909
|
+
"""
|
|
20910
|
+
return self._SortOrder
|
|
20911
|
+
|
|
20912
|
+
@SortOrder.setter
|
|
20913
|
+
def SortOrder(self, SortOrder):
|
|
20914
|
+
self._SortOrder = SortOrder
|
|
20915
|
+
|
|
20916
|
+
|
|
20917
|
+
def _deserialize(self, params):
|
|
20918
|
+
self._ZoneId = params.get("ZoneId")
|
|
20919
|
+
if params.get("Filters") is not None:
|
|
20920
|
+
self._Filters = []
|
|
20921
|
+
for item in params.get("Filters"):
|
|
20922
|
+
obj = AdvancedFilter()
|
|
20923
|
+
obj._deserialize(item)
|
|
20924
|
+
self._Filters.append(obj)
|
|
20925
|
+
self._Limit = params.get("Limit")
|
|
20926
|
+
self._Offset = params.get("Offset")
|
|
20927
|
+
self._SortBy = params.get("SortBy")
|
|
20928
|
+
self._SortOrder = params.get("SortOrder")
|
|
20929
|
+
memeber_set = set(params.keys())
|
|
20930
|
+
for name, value in vars(self).items():
|
|
20931
|
+
property_name = name[1:]
|
|
20932
|
+
if property_name in memeber_set:
|
|
20933
|
+
memeber_set.remove(property_name)
|
|
20934
|
+
if len(memeber_set) > 0:
|
|
20935
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
20936
|
+
|
|
20937
|
+
|
|
20938
|
+
|
|
20939
|
+
class DescribeAvailableCustomActionsForRuleEngineResponse(AbstractModel):
|
|
20940
|
+
r"""DescribeAvailableCustomActionsForRuleEngine返回参数结构体
|
|
20941
|
+
|
|
20942
|
+
"""
|
|
20943
|
+
|
|
20944
|
+
def __init__(self):
|
|
20945
|
+
r"""
|
|
20946
|
+
:param _TotalCount: <p>符合条件的规则引擎定制配置的总数。</p>
|
|
20947
|
+
:type TotalCount: int
|
|
20948
|
+
:param _CustomActionSet: <p>符合条件的规则引擎定制配置的列表。</p>
|
|
20949
|
+
:type CustomActionSet: list of RuleEngineCustomAction
|
|
20950
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20951
|
+
:type RequestId: str
|
|
20952
|
+
"""
|
|
20953
|
+
self._TotalCount = None
|
|
20954
|
+
self._CustomActionSet = None
|
|
20955
|
+
self._RequestId = None
|
|
20956
|
+
|
|
20957
|
+
@property
|
|
20958
|
+
def TotalCount(self):
|
|
20959
|
+
r"""<p>符合条件的规则引擎定制配置的总数。</p>
|
|
20960
|
+
:rtype: int
|
|
20961
|
+
"""
|
|
20962
|
+
return self._TotalCount
|
|
20963
|
+
|
|
20964
|
+
@TotalCount.setter
|
|
20965
|
+
def TotalCount(self, TotalCount):
|
|
20966
|
+
self._TotalCount = TotalCount
|
|
20967
|
+
|
|
20968
|
+
@property
|
|
20969
|
+
def CustomActionSet(self):
|
|
20970
|
+
r"""<p>符合条件的规则引擎定制配置的列表。</p>
|
|
20971
|
+
:rtype: list of RuleEngineCustomAction
|
|
20972
|
+
"""
|
|
20973
|
+
return self._CustomActionSet
|
|
20974
|
+
|
|
20975
|
+
@CustomActionSet.setter
|
|
20976
|
+
def CustomActionSet(self, CustomActionSet):
|
|
20977
|
+
self._CustomActionSet = CustomActionSet
|
|
20978
|
+
|
|
20979
|
+
@property
|
|
20980
|
+
def RequestId(self):
|
|
20981
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20982
|
+
:rtype: str
|
|
20983
|
+
"""
|
|
20984
|
+
return self._RequestId
|
|
20985
|
+
|
|
20986
|
+
@RequestId.setter
|
|
20987
|
+
def RequestId(self, RequestId):
|
|
20988
|
+
self._RequestId = RequestId
|
|
20989
|
+
|
|
20990
|
+
|
|
20991
|
+
def _deserialize(self, params):
|
|
20992
|
+
self._TotalCount = params.get("TotalCount")
|
|
20993
|
+
if params.get("CustomActionSet") is not None:
|
|
20994
|
+
self._CustomActionSet = []
|
|
20995
|
+
for item in params.get("CustomActionSet"):
|
|
20996
|
+
obj = RuleEngineCustomAction()
|
|
20997
|
+
obj._deserialize(item)
|
|
20998
|
+
self._CustomActionSet.append(obj)
|
|
20999
|
+
self._RequestId = params.get("RequestId")
|
|
21000
|
+
|
|
21001
|
+
|
|
20752
21002
|
class DescribeAvailablePlansRequest(AbstractModel):
|
|
20753
21003
|
r"""DescribeAvailablePlans请求参数结构体
|
|
20754
21004
|
|
|
@@ -36925,21 +37175,23 @@ class Function(AbstractModel):
|
|
|
36925
37175
|
|
|
36926
37176
|
def __init__(self):
|
|
36927
37177
|
r"""
|
|
36928
|
-
:param _FunctionId:
|
|
37178
|
+
:param _FunctionId: <p>函数 ID。</p>
|
|
36929
37179
|
:type FunctionId: str
|
|
36930
|
-
:param _ZoneId:
|
|
37180
|
+
:param _ZoneId: <p>站点 ID。</p>
|
|
36931
37181
|
:type ZoneId: str
|
|
36932
|
-
:param _Name:
|
|
37182
|
+
:param _Name: <p>函数名字。</p>
|
|
36933
37183
|
:type Name: str
|
|
36934
|
-
:param _Remark:
|
|
37184
|
+
:param _Remark: <p>函数描述。</p>
|
|
36935
37185
|
:type Remark: str
|
|
36936
|
-
:param _Content:
|
|
37186
|
+
:param _Content: <p>函数内容。</p>
|
|
36937
37187
|
:type Content: str
|
|
36938
|
-
:param _Domain:
|
|
37188
|
+
:param _Domain: <p>函数默认域名。</p>
|
|
36939
37189
|
:type Domain: str
|
|
36940
|
-
:param
|
|
37190
|
+
:param _DomainComplianceRestrictions: <p>边缘函数默认域名因合规问题产生的地区访问限制列表。</p>
|
|
37191
|
+
:type DomainComplianceRestrictions: list of ComplianceRestriction
|
|
37192
|
+
:param _CreateTime: <p>创建时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。</p>
|
|
36941
37193
|
:type CreateTime: str
|
|
36942
|
-
:param _UpdateTime:
|
|
37194
|
+
:param _UpdateTime: <p>修改时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。</p>
|
|
36943
37195
|
:type UpdateTime: str
|
|
36944
37196
|
"""
|
|
36945
37197
|
self._FunctionId = None
|
|
@@ -36948,12 +37200,13 @@ class Function(AbstractModel):
|
|
|
36948
37200
|
self._Remark = None
|
|
36949
37201
|
self._Content = None
|
|
36950
37202
|
self._Domain = None
|
|
37203
|
+
self._DomainComplianceRestrictions = None
|
|
36951
37204
|
self._CreateTime = None
|
|
36952
37205
|
self._UpdateTime = None
|
|
36953
37206
|
|
|
36954
37207
|
@property
|
|
36955
37208
|
def FunctionId(self):
|
|
36956
|
-
r"""
|
|
37209
|
+
r"""<p>函数 ID。</p>
|
|
36957
37210
|
:rtype: str
|
|
36958
37211
|
"""
|
|
36959
37212
|
return self._FunctionId
|
|
@@ -36964,7 +37217,7 @@ class Function(AbstractModel):
|
|
|
36964
37217
|
|
|
36965
37218
|
@property
|
|
36966
37219
|
def ZoneId(self):
|
|
36967
|
-
r"""
|
|
37220
|
+
r"""<p>站点 ID。</p>
|
|
36968
37221
|
:rtype: str
|
|
36969
37222
|
"""
|
|
36970
37223
|
return self._ZoneId
|
|
@@ -36975,7 +37228,7 @@ class Function(AbstractModel):
|
|
|
36975
37228
|
|
|
36976
37229
|
@property
|
|
36977
37230
|
def Name(self):
|
|
36978
|
-
r"""
|
|
37231
|
+
r"""<p>函数名字。</p>
|
|
36979
37232
|
:rtype: str
|
|
36980
37233
|
"""
|
|
36981
37234
|
return self._Name
|
|
@@ -36986,7 +37239,7 @@ class Function(AbstractModel):
|
|
|
36986
37239
|
|
|
36987
37240
|
@property
|
|
36988
37241
|
def Remark(self):
|
|
36989
|
-
r"""
|
|
37242
|
+
r"""<p>函数描述。</p>
|
|
36990
37243
|
:rtype: str
|
|
36991
37244
|
"""
|
|
36992
37245
|
return self._Remark
|
|
@@ -36997,7 +37250,7 @@ class Function(AbstractModel):
|
|
|
36997
37250
|
|
|
36998
37251
|
@property
|
|
36999
37252
|
def Content(self):
|
|
37000
|
-
r"""
|
|
37253
|
+
r"""<p>函数内容。</p>
|
|
37001
37254
|
:rtype: str
|
|
37002
37255
|
"""
|
|
37003
37256
|
return self._Content
|
|
@@ -37008,7 +37261,7 @@ class Function(AbstractModel):
|
|
|
37008
37261
|
|
|
37009
37262
|
@property
|
|
37010
37263
|
def Domain(self):
|
|
37011
|
-
r"""
|
|
37264
|
+
r"""<p>函数默认域名。</p>
|
|
37012
37265
|
:rtype: str
|
|
37013
37266
|
"""
|
|
37014
37267
|
return self._Domain
|
|
@@ -37017,9 +37270,20 @@ class Function(AbstractModel):
|
|
|
37017
37270
|
def Domain(self, Domain):
|
|
37018
37271
|
self._Domain = Domain
|
|
37019
37272
|
|
|
37273
|
+
@property
|
|
37274
|
+
def DomainComplianceRestrictions(self):
|
|
37275
|
+
r"""<p>边缘函数默认域名因合规问题产生的地区访问限制列表。</p>
|
|
37276
|
+
:rtype: list of ComplianceRestriction
|
|
37277
|
+
"""
|
|
37278
|
+
return self._DomainComplianceRestrictions
|
|
37279
|
+
|
|
37280
|
+
@DomainComplianceRestrictions.setter
|
|
37281
|
+
def DomainComplianceRestrictions(self, DomainComplianceRestrictions):
|
|
37282
|
+
self._DomainComplianceRestrictions = DomainComplianceRestrictions
|
|
37283
|
+
|
|
37020
37284
|
@property
|
|
37021
37285
|
def CreateTime(self):
|
|
37022
|
-
r"""
|
|
37286
|
+
r"""<p>创建时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。</p>
|
|
37023
37287
|
:rtype: str
|
|
37024
37288
|
"""
|
|
37025
37289
|
return self._CreateTime
|
|
@@ -37030,7 +37294,7 @@ class Function(AbstractModel):
|
|
|
37030
37294
|
|
|
37031
37295
|
@property
|
|
37032
37296
|
def UpdateTime(self):
|
|
37033
|
-
r"""
|
|
37297
|
+
r"""<p>修改时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。</p>
|
|
37034
37298
|
:rtype: str
|
|
37035
37299
|
"""
|
|
37036
37300
|
return self._UpdateTime
|
|
@@ -37047,6 +37311,12 @@ class Function(AbstractModel):
|
|
|
37047
37311
|
self._Remark = params.get("Remark")
|
|
37048
37312
|
self._Content = params.get("Content")
|
|
37049
37313
|
self._Domain = params.get("Domain")
|
|
37314
|
+
if params.get("DomainComplianceRestrictions") is not None:
|
|
37315
|
+
self._DomainComplianceRestrictions = []
|
|
37316
|
+
for item in params.get("DomainComplianceRestrictions"):
|
|
37317
|
+
obj = ComplianceRestriction()
|
|
37318
|
+
obj._deserialize(item)
|
|
37319
|
+
self._DomainComplianceRestrictions.append(obj)
|
|
37050
37320
|
self._CreateTime = params.get("CreateTime")
|
|
37051
37321
|
self._UpdateTime = params.get("UpdateTime")
|
|
37052
37322
|
memeber_set = set(params.keys())
|
|
@@ -46531,17 +46801,17 @@ class ModifyCustomErrorPageRequest(AbstractModel):
|
|
|
46531
46801
|
|
|
46532
46802
|
def __init__(self):
|
|
46533
46803
|
r"""
|
|
46534
|
-
:param _PageId:
|
|
46804
|
+
:param _PageId: <p>自定义响应页面 ID。</p>
|
|
46535
46805
|
:type PageId: str
|
|
46536
|
-
:param _ZoneId:
|
|
46806
|
+
:param _ZoneId: <p>站点 ID。</p>
|
|
46537
46807
|
:type ZoneId: str
|
|
46538
|
-
:param _Name:
|
|
46808
|
+
:param _Name: <p>自定义响应页面名称,名称为 2 - 60 个字符。</p>
|
|
46539
46809
|
:type Name: str
|
|
46540
|
-
:param _Description:
|
|
46810
|
+
:param _Description: <p>自定义响应页面描述,描述内容不超过 60 个字符。</p>
|
|
46541
46811
|
:type Description: str
|
|
46542
|
-
:param _ContentType:
|
|
46812
|
+
:param _ContentType: <p>自定义响应页面类型,取值有:</p><ul><li>text/html</li><li>application/json</li><li>plain/text</li><li>text/xml</li><li>text/css</li><li>text/javascript</li><li>application/javascript</li><li>text/markdown</li></ul>
|
|
46543
46813
|
:type ContentType: str
|
|
46544
|
-
:param _Content:
|
|
46814
|
+
:param _Content: <p>自定义响应页面内容。内容不超过 16KB。</p>
|
|
46545
46815
|
:type Content: str
|
|
46546
46816
|
"""
|
|
46547
46817
|
self._PageId = None
|
|
@@ -46553,7 +46823,7 @@ class ModifyCustomErrorPageRequest(AbstractModel):
|
|
|
46553
46823
|
|
|
46554
46824
|
@property
|
|
46555
46825
|
def PageId(self):
|
|
46556
|
-
r"""
|
|
46826
|
+
r"""<p>自定义响应页面 ID。</p>
|
|
46557
46827
|
:rtype: str
|
|
46558
46828
|
"""
|
|
46559
46829
|
return self._PageId
|
|
@@ -46564,7 +46834,7 @@ class ModifyCustomErrorPageRequest(AbstractModel):
|
|
|
46564
46834
|
|
|
46565
46835
|
@property
|
|
46566
46836
|
def ZoneId(self):
|
|
46567
|
-
r"""
|
|
46837
|
+
r"""<p>站点 ID。</p>
|
|
46568
46838
|
:rtype: str
|
|
46569
46839
|
"""
|
|
46570
46840
|
return self._ZoneId
|
|
@@ -46575,7 +46845,7 @@ class ModifyCustomErrorPageRequest(AbstractModel):
|
|
|
46575
46845
|
|
|
46576
46846
|
@property
|
|
46577
46847
|
def Name(self):
|
|
46578
|
-
r"""
|
|
46848
|
+
r"""<p>自定义响应页面名称,名称为 2 - 60 个字符。</p>
|
|
46579
46849
|
:rtype: str
|
|
46580
46850
|
"""
|
|
46581
46851
|
return self._Name
|
|
@@ -46586,7 +46856,7 @@ class ModifyCustomErrorPageRequest(AbstractModel):
|
|
|
46586
46856
|
|
|
46587
46857
|
@property
|
|
46588
46858
|
def Description(self):
|
|
46589
|
-
r"""
|
|
46859
|
+
r"""<p>自定义响应页面描述,描述内容不超过 60 个字符。</p>
|
|
46590
46860
|
:rtype: str
|
|
46591
46861
|
"""
|
|
46592
46862
|
return self._Description
|
|
@@ -46597,7 +46867,7 @@ class ModifyCustomErrorPageRequest(AbstractModel):
|
|
|
46597
46867
|
|
|
46598
46868
|
@property
|
|
46599
46869
|
def ContentType(self):
|
|
46600
|
-
r"""
|
|
46870
|
+
r"""<p>自定义响应页面类型,取值有:</p><ul><li>text/html</li><li>application/json</li><li>plain/text</li><li>text/xml</li><li>text/css</li><li>text/javascript</li><li>application/javascript</li><li>text/markdown</li></ul>
|
|
46601
46871
|
:rtype: str
|
|
46602
46872
|
"""
|
|
46603
46873
|
return self._ContentType
|
|
@@ -46608,7 +46878,7 @@ class ModifyCustomErrorPageRequest(AbstractModel):
|
|
|
46608
46878
|
|
|
46609
46879
|
@property
|
|
46610
46880
|
def Content(self):
|
|
46611
|
-
r"""
|
|
46881
|
+
r"""<p>自定义响应页面内容。内容不超过 16KB。</p>
|
|
46612
46882
|
:rtype: str
|
|
46613
46883
|
"""
|
|
46614
46884
|
return self._Content
|
|
@@ -60276,6 +60546,368 @@ class RuleEngineAction(AbstractModel):
|
|
|
60276
60546
|
|
|
60277
60547
|
|
|
60278
60548
|
|
|
60549
|
+
class RuleEngineCustomAction(AbstractModel):
|
|
60550
|
+
r"""规则引擎操作定制配置。
|
|
60551
|
+
|
|
60552
|
+
"""
|
|
60553
|
+
|
|
60554
|
+
def __init__(self):
|
|
60555
|
+
r"""
|
|
60556
|
+
:param _ActionId: <p>定制配置唯一 ID。</p>
|
|
60557
|
+
:type ActionId: str
|
|
60558
|
+
:param _Name: <p>定制配置名称。</p>
|
|
60559
|
+
:type Name: str
|
|
60560
|
+
:param _Description: <p>定制配置描述。</p>
|
|
60561
|
+
:type Description: str
|
|
60562
|
+
:param _Parameters: <p>定制配置参数定义列表。</p>
|
|
60563
|
+
:type Parameters: list of RuleEngineCustomActionParameterSchema
|
|
60564
|
+
:param _SupportedConditions: <p>定制配置支持的匹配条件。</p><p>支持匹配条件参考官方文档 <a href="https://cloud.tencent.com/document/product/1552/125344">通用参考-配置语法-变量</a>。</p>
|
|
60565
|
+
:type SupportedConditions: list of str
|
|
60566
|
+
"""
|
|
60567
|
+
self._ActionId = None
|
|
60568
|
+
self._Name = None
|
|
60569
|
+
self._Description = None
|
|
60570
|
+
self._Parameters = None
|
|
60571
|
+
self._SupportedConditions = None
|
|
60572
|
+
|
|
60573
|
+
@property
|
|
60574
|
+
def ActionId(self):
|
|
60575
|
+
r"""<p>定制配置唯一 ID。</p>
|
|
60576
|
+
:rtype: str
|
|
60577
|
+
"""
|
|
60578
|
+
return self._ActionId
|
|
60579
|
+
|
|
60580
|
+
@ActionId.setter
|
|
60581
|
+
def ActionId(self, ActionId):
|
|
60582
|
+
self._ActionId = ActionId
|
|
60583
|
+
|
|
60584
|
+
@property
|
|
60585
|
+
def Name(self):
|
|
60586
|
+
r"""<p>定制配置名称。</p>
|
|
60587
|
+
:rtype: str
|
|
60588
|
+
"""
|
|
60589
|
+
return self._Name
|
|
60590
|
+
|
|
60591
|
+
@Name.setter
|
|
60592
|
+
def Name(self, Name):
|
|
60593
|
+
self._Name = Name
|
|
60594
|
+
|
|
60595
|
+
@property
|
|
60596
|
+
def Description(self):
|
|
60597
|
+
r"""<p>定制配置描述。</p>
|
|
60598
|
+
:rtype: str
|
|
60599
|
+
"""
|
|
60600
|
+
return self._Description
|
|
60601
|
+
|
|
60602
|
+
@Description.setter
|
|
60603
|
+
def Description(self, Description):
|
|
60604
|
+
self._Description = Description
|
|
60605
|
+
|
|
60606
|
+
@property
|
|
60607
|
+
def Parameters(self):
|
|
60608
|
+
r"""<p>定制配置参数定义列表。</p>
|
|
60609
|
+
:rtype: list of RuleEngineCustomActionParameterSchema
|
|
60610
|
+
"""
|
|
60611
|
+
return self._Parameters
|
|
60612
|
+
|
|
60613
|
+
@Parameters.setter
|
|
60614
|
+
def Parameters(self, Parameters):
|
|
60615
|
+
self._Parameters = Parameters
|
|
60616
|
+
|
|
60617
|
+
@property
|
|
60618
|
+
def SupportedConditions(self):
|
|
60619
|
+
r"""<p>定制配置支持的匹配条件。</p><p>支持匹配条件参考官方文档 <a href="https://cloud.tencent.com/document/product/1552/125344">通用参考-配置语法-变量</a>。</p>
|
|
60620
|
+
:rtype: list of str
|
|
60621
|
+
"""
|
|
60622
|
+
return self._SupportedConditions
|
|
60623
|
+
|
|
60624
|
+
@SupportedConditions.setter
|
|
60625
|
+
def SupportedConditions(self, SupportedConditions):
|
|
60626
|
+
self._SupportedConditions = SupportedConditions
|
|
60627
|
+
|
|
60628
|
+
|
|
60629
|
+
def _deserialize(self, params):
|
|
60630
|
+
self._ActionId = params.get("ActionId")
|
|
60631
|
+
self._Name = params.get("Name")
|
|
60632
|
+
self._Description = params.get("Description")
|
|
60633
|
+
if params.get("Parameters") is not None:
|
|
60634
|
+
self._Parameters = []
|
|
60635
|
+
for item in params.get("Parameters"):
|
|
60636
|
+
obj = RuleEngineCustomActionParameterSchema()
|
|
60637
|
+
obj._deserialize(item)
|
|
60638
|
+
self._Parameters.append(obj)
|
|
60639
|
+
self._SupportedConditions = params.get("SupportedConditions")
|
|
60640
|
+
memeber_set = set(params.keys())
|
|
60641
|
+
for name, value in vars(self).items():
|
|
60642
|
+
property_name = name[1:]
|
|
60643
|
+
if property_name in memeber_set:
|
|
60644
|
+
memeber_set.remove(property_name)
|
|
60645
|
+
if len(memeber_set) > 0:
|
|
60646
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
60647
|
+
|
|
60648
|
+
|
|
60649
|
+
|
|
60650
|
+
class RuleEngineCustomActionParameterSchema(AbstractModel):
|
|
60651
|
+
r"""规则引擎操作定制配置参数结构定义。
|
|
60652
|
+
|
|
60653
|
+
"""
|
|
60654
|
+
|
|
60655
|
+
def __init__(self):
|
|
60656
|
+
r"""
|
|
60657
|
+
:param _Name: <p>参数字段名称。</p>
|
|
60658
|
+
:type Name: str
|
|
60659
|
+
:param _ValueType: <p>参数字段类型,取值有:<li>Boolean:布尔;</li><li>Integer:整型;</li><li>Float:浮点型;</li><li>String:字符串;</li><li>ArrayOfInteger:整型数组;</li><li>ArrayOfFloat:浮点型数组;</li><li>ArrayOfString:字符串数组。</li></p>
|
|
60660
|
+
:type ValueType: str
|
|
60661
|
+
:param _Description: <p>参数字段描述。</p>
|
|
60662
|
+
:type Description: str
|
|
60663
|
+
:param _Default: <p>参数字段默认值。</p>
|
|
60664
|
+
:type Default: str
|
|
60665
|
+
:param _Unit: <p>参数字段单位。</p>
|
|
60666
|
+
:type Unit: str
|
|
60667
|
+
:param _Required: <p>参数字段是否必填。</p><p>默认值:false</p><p>若填充,则适用于所有参数字段类型校验;若不填充则不校验。</p>
|
|
60668
|
+
:type Required: bool
|
|
60669
|
+
:param _MinValue: <p>参数字段最小值。</p><p>若填充,适用于整数、浮点数、整数数组、浮点数数组类型参数的数值校验;若不填充则不校验。</p>
|
|
60670
|
+
:type MinValue: float
|
|
60671
|
+
:param _MaxValue: <p>参数字段最大值。</p><p>若填充,适用于整数、浮点数、整数数组、浮点数数组类型参数的数值校验;若不填充则不校验。</p>
|
|
60672
|
+
:type MaxValue: float
|
|
60673
|
+
:param _MinLength: <p>参数字段最小长度。</p><p>若填充,适用于字符串、字符串数组类型参数的数值校验;若不填充则不校验。</p>
|
|
60674
|
+
:type MinLength: int
|
|
60675
|
+
:param _MaxLength: <p>参数字段最大长度。</p><p>若填充,适用于字符串、字符串数组类型参数的数值校验;若不填充则不校验。</p>
|
|
60676
|
+
:type MaxLength: int
|
|
60677
|
+
:param _MinItems: <p>参数字段最小项数。</p><p>若填充,适用于各类数组类型参数的数值校验;若不填充则不校验。</p>
|
|
60678
|
+
:type MinItems: int
|
|
60679
|
+
:param _MaxItems: <p>参数字段最大项数。</p><p>若填充,适用于各类数组类型参数的数值校验;若不填充则不校验。</p>
|
|
60680
|
+
:type MaxItems: int
|
|
60681
|
+
:param _UniqueItems: <p>参数字段项是否唯一。</p><p>默认值:false</p><p>若填充,适用于各类数组类型参数的数值校验;若不填充则不校验。</p>
|
|
60682
|
+
:type UniqueItems: bool
|
|
60683
|
+
:param _AllowedPattern: <p>参数字段允许的格式。</p><p>若填充,需要校验字符串或者字符串数组内容合适;若不填充则不校验。</p>
|
|
60684
|
+
:type AllowedPattern: str
|
|
60685
|
+
:param _AllowedValues: <p>参数字段允许的取值,若为空则不校验。</p><p>若本参数填充,则说明对应参数为枚举类型,仅允许填充本参数数组中的值;若不填充则不校验。</p>
|
|
60686
|
+
:type AllowedValues: list of str
|
|
60687
|
+
:param _MultipleOf: <p>参数字段最小步长。若填充,适用于浮点型和浮点型数组类型参数的数值校验;若不填充则不校验。</p>
|
|
60688
|
+
:type MultipleOf: str
|
|
60689
|
+
"""
|
|
60690
|
+
self._Name = None
|
|
60691
|
+
self._ValueType = None
|
|
60692
|
+
self._Description = None
|
|
60693
|
+
self._Default = None
|
|
60694
|
+
self._Unit = None
|
|
60695
|
+
self._Required = None
|
|
60696
|
+
self._MinValue = None
|
|
60697
|
+
self._MaxValue = None
|
|
60698
|
+
self._MinLength = None
|
|
60699
|
+
self._MaxLength = None
|
|
60700
|
+
self._MinItems = None
|
|
60701
|
+
self._MaxItems = None
|
|
60702
|
+
self._UniqueItems = None
|
|
60703
|
+
self._AllowedPattern = None
|
|
60704
|
+
self._AllowedValues = None
|
|
60705
|
+
self._MultipleOf = None
|
|
60706
|
+
|
|
60707
|
+
@property
|
|
60708
|
+
def Name(self):
|
|
60709
|
+
r"""<p>参数字段名称。</p>
|
|
60710
|
+
:rtype: str
|
|
60711
|
+
"""
|
|
60712
|
+
return self._Name
|
|
60713
|
+
|
|
60714
|
+
@Name.setter
|
|
60715
|
+
def Name(self, Name):
|
|
60716
|
+
self._Name = Name
|
|
60717
|
+
|
|
60718
|
+
@property
|
|
60719
|
+
def ValueType(self):
|
|
60720
|
+
r"""<p>参数字段类型,取值有:<li>Boolean:布尔;</li><li>Integer:整型;</li><li>Float:浮点型;</li><li>String:字符串;</li><li>ArrayOfInteger:整型数组;</li><li>ArrayOfFloat:浮点型数组;</li><li>ArrayOfString:字符串数组。</li></p>
|
|
60721
|
+
:rtype: str
|
|
60722
|
+
"""
|
|
60723
|
+
return self._ValueType
|
|
60724
|
+
|
|
60725
|
+
@ValueType.setter
|
|
60726
|
+
def ValueType(self, ValueType):
|
|
60727
|
+
self._ValueType = ValueType
|
|
60728
|
+
|
|
60729
|
+
@property
|
|
60730
|
+
def Description(self):
|
|
60731
|
+
r"""<p>参数字段描述。</p>
|
|
60732
|
+
:rtype: str
|
|
60733
|
+
"""
|
|
60734
|
+
return self._Description
|
|
60735
|
+
|
|
60736
|
+
@Description.setter
|
|
60737
|
+
def Description(self, Description):
|
|
60738
|
+
self._Description = Description
|
|
60739
|
+
|
|
60740
|
+
@property
|
|
60741
|
+
def Default(self):
|
|
60742
|
+
r"""<p>参数字段默认值。</p>
|
|
60743
|
+
:rtype: str
|
|
60744
|
+
"""
|
|
60745
|
+
return self._Default
|
|
60746
|
+
|
|
60747
|
+
@Default.setter
|
|
60748
|
+
def Default(self, Default):
|
|
60749
|
+
self._Default = Default
|
|
60750
|
+
|
|
60751
|
+
@property
|
|
60752
|
+
def Unit(self):
|
|
60753
|
+
r"""<p>参数字段单位。</p>
|
|
60754
|
+
:rtype: str
|
|
60755
|
+
"""
|
|
60756
|
+
return self._Unit
|
|
60757
|
+
|
|
60758
|
+
@Unit.setter
|
|
60759
|
+
def Unit(self, Unit):
|
|
60760
|
+
self._Unit = Unit
|
|
60761
|
+
|
|
60762
|
+
@property
|
|
60763
|
+
def Required(self):
|
|
60764
|
+
r"""<p>参数字段是否必填。</p><p>默认值:false</p><p>若填充,则适用于所有参数字段类型校验;若不填充则不校验。</p>
|
|
60765
|
+
:rtype: bool
|
|
60766
|
+
"""
|
|
60767
|
+
return self._Required
|
|
60768
|
+
|
|
60769
|
+
@Required.setter
|
|
60770
|
+
def Required(self, Required):
|
|
60771
|
+
self._Required = Required
|
|
60772
|
+
|
|
60773
|
+
@property
|
|
60774
|
+
def MinValue(self):
|
|
60775
|
+
r"""<p>参数字段最小值。</p><p>若填充,适用于整数、浮点数、整数数组、浮点数数组类型参数的数值校验;若不填充则不校验。</p>
|
|
60776
|
+
:rtype: float
|
|
60777
|
+
"""
|
|
60778
|
+
return self._MinValue
|
|
60779
|
+
|
|
60780
|
+
@MinValue.setter
|
|
60781
|
+
def MinValue(self, MinValue):
|
|
60782
|
+
self._MinValue = MinValue
|
|
60783
|
+
|
|
60784
|
+
@property
|
|
60785
|
+
def MaxValue(self):
|
|
60786
|
+
r"""<p>参数字段最大值。</p><p>若填充,适用于整数、浮点数、整数数组、浮点数数组类型参数的数值校验;若不填充则不校验。</p>
|
|
60787
|
+
:rtype: float
|
|
60788
|
+
"""
|
|
60789
|
+
return self._MaxValue
|
|
60790
|
+
|
|
60791
|
+
@MaxValue.setter
|
|
60792
|
+
def MaxValue(self, MaxValue):
|
|
60793
|
+
self._MaxValue = MaxValue
|
|
60794
|
+
|
|
60795
|
+
@property
|
|
60796
|
+
def MinLength(self):
|
|
60797
|
+
r"""<p>参数字段最小长度。</p><p>若填充,适用于字符串、字符串数组类型参数的数值校验;若不填充则不校验。</p>
|
|
60798
|
+
:rtype: int
|
|
60799
|
+
"""
|
|
60800
|
+
return self._MinLength
|
|
60801
|
+
|
|
60802
|
+
@MinLength.setter
|
|
60803
|
+
def MinLength(self, MinLength):
|
|
60804
|
+
self._MinLength = MinLength
|
|
60805
|
+
|
|
60806
|
+
@property
|
|
60807
|
+
def MaxLength(self):
|
|
60808
|
+
r"""<p>参数字段最大长度。</p><p>若填充,适用于字符串、字符串数组类型参数的数值校验;若不填充则不校验。</p>
|
|
60809
|
+
:rtype: int
|
|
60810
|
+
"""
|
|
60811
|
+
return self._MaxLength
|
|
60812
|
+
|
|
60813
|
+
@MaxLength.setter
|
|
60814
|
+
def MaxLength(self, MaxLength):
|
|
60815
|
+
self._MaxLength = MaxLength
|
|
60816
|
+
|
|
60817
|
+
@property
|
|
60818
|
+
def MinItems(self):
|
|
60819
|
+
r"""<p>参数字段最小项数。</p><p>若填充,适用于各类数组类型参数的数值校验;若不填充则不校验。</p>
|
|
60820
|
+
:rtype: int
|
|
60821
|
+
"""
|
|
60822
|
+
return self._MinItems
|
|
60823
|
+
|
|
60824
|
+
@MinItems.setter
|
|
60825
|
+
def MinItems(self, MinItems):
|
|
60826
|
+
self._MinItems = MinItems
|
|
60827
|
+
|
|
60828
|
+
@property
|
|
60829
|
+
def MaxItems(self):
|
|
60830
|
+
r"""<p>参数字段最大项数。</p><p>若填充,适用于各类数组类型参数的数值校验;若不填充则不校验。</p>
|
|
60831
|
+
:rtype: int
|
|
60832
|
+
"""
|
|
60833
|
+
return self._MaxItems
|
|
60834
|
+
|
|
60835
|
+
@MaxItems.setter
|
|
60836
|
+
def MaxItems(self, MaxItems):
|
|
60837
|
+
self._MaxItems = MaxItems
|
|
60838
|
+
|
|
60839
|
+
@property
|
|
60840
|
+
def UniqueItems(self):
|
|
60841
|
+
r"""<p>参数字段项是否唯一。</p><p>默认值:false</p><p>若填充,适用于各类数组类型参数的数值校验;若不填充则不校验。</p>
|
|
60842
|
+
:rtype: bool
|
|
60843
|
+
"""
|
|
60844
|
+
return self._UniqueItems
|
|
60845
|
+
|
|
60846
|
+
@UniqueItems.setter
|
|
60847
|
+
def UniqueItems(self, UniqueItems):
|
|
60848
|
+
self._UniqueItems = UniqueItems
|
|
60849
|
+
|
|
60850
|
+
@property
|
|
60851
|
+
def AllowedPattern(self):
|
|
60852
|
+
r"""<p>参数字段允许的格式。</p><p>若填充,需要校验字符串或者字符串数组内容合适;若不填充则不校验。</p>
|
|
60853
|
+
:rtype: str
|
|
60854
|
+
"""
|
|
60855
|
+
return self._AllowedPattern
|
|
60856
|
+
|
|
60857
|
+
@AllowedPattern.setter
|
|
60858
|
+
def AllowedPattern(self, AllowedPattern):
|
|
60859
|
+
self._AllowedPattern = AllowedPattern
|
|
60860
|
+
|
|
60861
|
+
@property
|
|
60862
|
+
def AllowedValues(self):
|
|
60863
|
+
r"""<p>参数字段允许的取值,若为空则不校验。</p><p>若本参数填充,则说明对应参数为枚举类型,仅允许填充本参数数组中的值;若不填充则不校验。</p>
|
|
60864
|
+
:rtype: list of str
|
|
60865
|
+
"""
|
|
60866
|
+
return self._AllowedValues
|
|
60867
|
+
|
|
60868
|
+
@AllowedValues.setter
|
|
60869
|
+
def AllowedValues(self, AllowedValues):
|
|
60870
|
+
self._AllowedValues = AllowedValues
|
|
60871
|
+
|
|
60872
|
+
@property
|
|
60873
|
+
def MultipleOf(self):
|
|
60874
|
+
r"""<p>参数字段最小步长。若填充,适用于浮点型和浮点型数组类型参数的数值校验;若不填充则不校验。</p>
|
|
60875
|
+
:rtype: str
|
|
60876
|
+
"""
|
|
60877
|
+
return self._MultipleOf
|
|
60878
|
+
|
|
60879
|
+
@MultipleOf.setter
|
|
60880
|
+
def MultipleOf(self, MultipleOf):
|
|
60881
|
+
self._MultipleOf = MultipleOf
|
|
60882
|
+
|
|
60883
|
+
|
|
60884
|
+
def _deserialize(self, params):
|
|
60885
|
+
self._Name = params.get("Name")
|
|
60886
|
+
self._ValueType = params.get("ValueType")
|
|
60887
|
+
self._Description = params.get("Description")
|
|
60888
|
+
self._Default = params.get("Default")
|
|
60889
|
+
self._Unit = params.get("Unit")
|
|
60890
|
+
self._Required = params.get("Required")
|
|
60891
|
+
self._MinValue = params.get("MinValue")
|
|
60892
|
+
self._MaxValue = params.get("MaxValue")
|
|
60893
|
+
self._MinLength = params.get("MinLength")
|
|
60894
|
+
self._MaxLength = params.get("MaxLength")
|
|
60895
|
+
self._MinItems = params.get("MinItems")
|
|
60896
|
+
self._MaxItems = params.get("MaxItems")
|
|
60897
|
+
self._UniqueItems = params.get("UniqueItems")
|
|
60898
|
+
self._AllowedPattern = params.get("AllowedPattern")
|
|
60899
|
+
self._AllowedValues = params.get("AllowedValues")
|
|
60900
|
+
self._MultipleOf = params.get("MultipleOf")
|
|
60901
|
+
memeber_set = set(params.keys())
|
|
60902
|
+
for name, value in vars(self).items():
|
|
60903
|
+
property_name = name[1:]
|
|
60904
|
+
if property_name in memeber_set:
|
|
60905
|
+
memeber_set.remove(property_name)
|
|
60906
|
+
if len(memeber_set) > 0:
|
|
60907
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
60908
|
+
|
|
60909
|
+
|
|
60910
|
+
|
|
60279
60911
|
class RuleEngineItem(AbstractModel):
|
|
60280
60912
|
r"""规则引擎规则详情。
|
|
60281
60913
|
|
|
@@ -388,7 +388,7 @@ class TeoClient(AbstractClient):
|
|
|
388
388
|
|
|
389
389
|
|
|
390
390
|
def CreateCustomizeErrorPage(self, request):
|
|
391
|
-
r"""
|
|
391
|
+
r"""创建自定义响应页面。
|
|
392
392
|
|
|
393
393
|
:param request: Request instance for CreateCustomizeErrorPage.
|
|
394
394
|
:type request: :class:`tencentcloud.teo.v20220901.models.CreateCustomizeErrorPageRequest`
|
|
@@ -1928,6 +1928,29 @@ class TeoClient(AbstractClient):
|
|
|
1928
1928
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1929
1929
|
|
|
1930
1930
|
|
|
1931
|
+
def DescribeAvailableCustomActionsForRuleEngine(self, request):
|
|
1932
|
+
r"""查询站点规则引擎操作可用的定制配置列表。
|
|
1933
|
+
|
|
1934
|
+
:param request: Request instance for DescribeAvailableCustomActionsForRuleEngine.
|
|
1935
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeAvailableCustomActionsForRuleEngineRequest`
|
|
1936
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeAvailableCustomActionsForRuleEngineResponse`
|
|
1937
|
+
|
|
1938
|
+
"""
|
|
1939
|
+
try:
|
|
1940
|
+
params = request._serialize()
|
|
1941
|
+
headers = request.headers
|
|
1942
|
+
body = self.call("DescribeAvailableCustomActionsForRuleEngine", params, headers=headers)
|
|
1943
|
+
response = json.loads(body)
|
|
1944
|
+
model = models.DescribeAvailableCustomActionsForRuleEngineResponse()
|
|
1945
|
+
model._deserialize(response["Response"])
|
|
1946
|
+
return model
|
|
1947
|
+
except Exception as e:
|
|
1948
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1949
|
+
raise
|
|
1950
|
+
else:
|
|
1951
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1952
|
+
|
|
1953
|
+
|
|
1931
1954
|
def DescribeAvailablePlans(self, request):
|
|
1932
1955
|
r"""查询当前账户可用套餐信息列表
|
|
1933
1956
|
|
|
@@ -4307,7 +4330,7 @@ class TeoClient(AbstractClient):
|
|
|
4307
4330
|
|
|
4308
4331
|
|
|
4309
4332
|
def ModifyCustomErrorPage(self, request):
|
|
4310
|
-
r"""
|
|
4333
|
+
r"""修改自定义响应页面。
|
|
4311
4334
|
|
|
4312
4335
|
:param request: Request instance for ModifyCustomErrorPage.
|
|
4313
4336
|
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyCustomErrorPageRequest`
|
|
@@ -317,7 +317,7 @@ class TeoClient(AbstractClient):
|
|
|
317
317
|
opts: Dict = None,
|
|
318
318
|
) -> models.CreateCustomizeErrorPageResponse:
|
|
319
319
|
"""
|
|
320
|
-
|
|
320
|
+
创建自定义响应页面。
|
|
321
321
|
"""
|
|
322
322
|
|
|
323
323
|
kwargs = {}
|
|
@@ -1522,6 +1522,24 @@ class TeoClient(AbstractClient):
|
|
|
1522
1522
|
|
|
1523
1523
|
return await self.call_and_deserialize(**kwargs)
|
|
1524
1524
|
|
|
1525
|
+
async def DescribeAvailableCustomActionsForRuleEngine(
|
|
1526
|
+
self,
|
|
1527
|
+
request: models.DescribeAvailableCustomActionsForRuleEngineRequest,
|
|
1528
|
+
opts: Dict = None,
|
|
1529
|
+
) -> models.DescribeAvailableCustomActionsForRuleEngineResponse:
|
|
1530
|
+
"""
|
|
1531
|
+
查询站点规则引擎操作可用的定制配置列表。
|
|
1532
|
+
"""
|
|
1533
|
+
|
|
1534
|
+
kwargs = {}
|
|
1535
|
+
kwargs["action"] = "DescribeAvailableCustomActionsForRuleEngine"
|
|
1536
|
+
kwargs["params"] = request._serialize()
|
|
1537
|
+
kwargs["resp_cls"] = models.DescribeAvailableCustomActionsForRuleEngineResponse
|
|
1538
|
+
kwargs["headers"] = request.headers
|
|
1539
|
+
kwargs["opts"] = opts or {}
|
|
1540
|
+
|
|
1541
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1542
|
+
|
|
1525
1543
|
async def DescribeAvailablePlans(
|
|
1526
1544
|
self,
|
|
1527
1545
|
request: models.DescribeAvailablePlansRequest,
|
|
@@ -3396,7 +3414,7 @@ class TeoClient(AbstractClient):
|
|
|
3396
3414
|
opts: Dict = None,
|
|
3397
3415
|
) -> models.ModifyCustomErrorPageResponse:
|
|
3398
3416
|
"""
|
|
3399
|
-
|
|
3417
|
+
修改自定义响应页面。
|
|
3400
3418
|
"""
|
|
3401
3419
|
|
|
3402
3420
|
kwargs = {}
|
|
@@ -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.173
|
|
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.173
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.173
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.166
|
|
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
|