tencentcloud-sdk-python-teo 3.0.1164__tar.gz → 3.0.1166__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.0.1164 → tencentcloud-sdk-python-teo-3.0.1166}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-teo-3.0.1164 → tencentcloud-sdk-python-teo-3.0.1166}/setup.py +1 -1
- {tencentcloud-sdk-python-teo-3.0.1164 → tencentcloud-sdk-python-teo-3.0.1166}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-teo-3.0.1164 → tencentcloud-sdk-python-teo-3.0.1166}/tencentcloud/teo/v20220901/errorcodes.py +6 -0
- {tencentcloud-sdk-python-teo-3.0.1164 → tencentcloud-sdk-python-teo-3.0.1166}/tencentcloud/teo/v20220901/models.py +581 -0
- {tencentcloud-sdk-python-teo-3.0.1164 → tencentcloud-sdk-python-teo-3.0.1166}/tencentcloud/teo/v20220901/teo_client.py +92 -0
- {tencentcloud-sdk-python-teo-3.0.1164 → tencentcloud-sdk-python-teo-3.0.1166}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-teo-3.0.1166/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-teo-3.0.1164/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-teo-3.0.1164 → tencentcloud-sdk-python-teo-3.0.1166}/README.rst +0 -0
- {tencentcloud-sdk-python-teo-3.0.1164 → tencentcloud-sdk-python-teo-3.0.1166}/setup.cfg +0 -0
- {tencentcloud-sdk-python-teo-3.0.1164 → tencentcloud-sdk-python-teo-3.0.1166}/tencentcloud/teo/__init__.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1164 → tencentcloud-sdk-python-teo-3.0.1166}/tencentcloud/teo/v20220106/__init__.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1164 → tencentcloud-sdk-python-teo-3.0.1166}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1164 → tencentcloud-sdk-python-teo-3.0.1166}/tencentcloud/teo/v20220106/models.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1164 → tencentcloud-sdk-python-teo-3.0.1166}/tencentcloud/teo/v20220106/teo_client.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1164 → tencentcloud-sdk-python-teo-3.0.1166}/tencentcloud/teo/v20220901/__init__.py +0 -0
- {tencentcloud-sdk-python-teo-3.0.1164 → tencentcloud-sdk-python-teo-3.0.1166}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-teo-3.0.1164 → tencentcloud-sdk-python-teo-3.0.1166}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-teo-3.0.1164 → tencentcloud-sdk-python-teo-3.0.1166}/tencentcloud_sdk_python_teo.egg-info/top_level.txt +0 -0
|
@@ -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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1166"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Teo SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -686,6 +686,9 @@ INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = 'InvalidParameterValue.ConflictWith
|
|
|
686
686
|
# 主机记录与记录值不能取值相同。
|
|
687
687
|
INVALIDPARAMETERVALUE_CONTENTSAMEASNAME = 'InvalidParameterValue.ContentSameAsName'
|
|
688
688
|
|
|
689
|
+
# 页面内容与Content-Type不匹配。
|
|
690
|
+
INVALIDPARAMETERVALUE_CONTENTTYPENOTMATCH = 'InvalidParameterValue.ContentTypeNotMatch'
|
|
691
|
+
|
|
689
692
|
# 入参中的域名与站点参数不匹配,请更正后重试。
|
|
690
693
|
INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = 'InvalidParameterValue.DomainNotMatchZone'
|
|
691
694
|
|
|
@@ -737,6 +740,9 @@ INVALIDPARAMETERVALUE_NOTWITHINRANGE = 'InvalidParameterValue.NotWithinRange'
|
|
|
737
740
|
# 指定的源站组不存在。
|
|
738
741
|
INVALIDPARAMETERVALUE_ORIGINGROUPNOTEXISTS = 'InvalidParameterValue.OriginGroupNotExists'
|
|
739
742
|
|
|
743
|
+
# 页面名称已存在。
|
|
744
|
+
INVALIDPARAMETERVALUE_PAGENAMEALREADYEXIST = 'InvalidParameterValue.PageNameAlreadyExist'
|
|
745
|
+
|
|
740
746
|
# 不符合指定的正则表达式。
|
|
741
747
|
INVALIDPARAMETERVALUE_REGEXMISMATCH = 'InvalidParameterValue.RegExMismatch'
|
|
742
748
|
|
|
@@ -4756,6 +4756,124 @@ class CreateConfigGroupVersionResponse(AbstractModel):
|
|
|
4756
4756
|
self._RequestId = params.get("RequestId")
|
|
4757
4757
|
|
|
4758
4758
|
|
|
4759
|
+
class CreateCustomizeErrorPageRequest(AbstractModel):
|
|
4760
|
+
"""CreateCustomizeErrorPage请求参数结构体
|
|
4761
|
+
|
|
4762
|
+
"""
|
|
4763
|
+
|
|
4764
|
+
def __init__(self):
|
|
4765
|
+
r"""
|
|
4766
|
+
:param _ZoneId: 站点 ID。
|
|
4767
|
+
:type ZoneId: str
|
|
4768
|
+
:param _Name: 自定义错误页名称,名称为 2-30 个字符。
|
|
4769
|
+
:type Name: str
|
|
4770
|
+
:param _ContentType: 自定义错误页面类型,取值有:<li>text/html; </li><li>application/json;</li><li>text/plain;</li><li>text/xml。</li>
|
|
4771
|
+
:type ContentType: str
|
|
4772
|
+
:param _Description: 自定义错误页面描述,描述不超过 60 个字符。
|
|
4773
|
+
:type Description: str
|
|
4774
|
+
:param _Content: 自定义错误页面内容,内容不超过 2KB。
|
|
4775
|
+
:type Content: str
|
|
4776
|
+
"""
|
|
4777
|
+
self._ZoneId = None
|
|
4778
|
+
self._Name = None
|
|
4779
|
+
self._ContentType = None
|
|
4780
|
+
self._Description = None
|
|
4781
|
+
self._Content = None
|
|
4782
|
+
|
|
4783
|
+
@property
|
|
4784
|
+
def ZoneId(self):
|
|
4785
|
+
return self._ZoneId
|
|
4786
|
+
|
|
4787
|
+
@ZoneId.setter
|
|
4788
|
+
def ZoneId(self, ZoneId):
|
|
4789
|
+
self._ZoneId = ZoneId
|
|
4790
|
+
|
|
4791
|
+
@property
|
|
4792
|
+
def Name(self):
|
|
4793
|
+
return self._Name
|
|
4794
|
+
|
|
4795
|
+
@Name.setter
|
|
4796
|
+
def Name(self, Name):
|
|
4797
|
+
self._Name = Name
|
|
4798
|
+
|
|
4799
|
+
@property
|
|
4800
|
+
def ContentType(self):
|
|
4801
|
+
return self._ContentType
|
|
4802
|
+
|
|
4803
|
+
@ContentType.setter
|
|
4804
|
+
def ContentType(self, ContentType):
|
|
4805
|
+
self._ContentType = ContentType
|
|
4806
|
+
|
|
4807
|
+
@property
|
|
4808
|
+
def Description(self):
|
|
4809
|
+
return self._Description
|
|
4810
|
+
|
|
4811
|
+
@Description.setter
|
|
4812
|
+
def Description(self, Description):
|
|
4813
|
+
self._Description = Description
|
|
4814
|
+
|
|
4815
|
+
@property
|
|
4816
|
+
def Content(self):
|
|
4817
|
+
return self._Content
|
|
4818
|
+
|
|
4819
|
+
@Content.setter
|
|
4820
|
+
def Content(self, Content):
|
|
4821
|
+
self._Content = Content
|
|
4822
|
+
|
|
4823
|
+
|
|
4824
|
+
def _deserialize(self, params):
|
|
4825
|
+
self._ZoneId = params.get("ZoneId")
|
|
4826
|
+
self._Name = params.get("Name")
|
|
4827
|
+
self._ContentType = params.get("ContentType")
|
|
4828
|
+
self._Description = params.get("Description")
|
|
4829
|
+
self._Content = params.get("Content")
|
|
4830
|
+
memeber_set = set(params.keys())
|
|
4831
|
+
for name, value in vars(self).items():
|
|
4832
|
+
property_name = name[1:]
|
|
4833
|
+
if property_name in memeber_set:
|
|
4834
|
+
memeber_set.remove(property_name)
|
|
4835
|
+
if len(memeber_set) > 0:
|
|
4836
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4837
|
+
|
|
4838
|
+
|
|
4839
|
+
|
|
4840
|
+
class CreateCustomizeErrorPageResponse(AbstractModel):
|
|
4841
|
+
"""CreateCustomizeErrorPage返回参数结构体
|
|
4842
|
+
|
|
4843
|
+
"""
|
|
4844
|
+
|
|
4845
|
+
def __init__(self):
|
|
4846
|
+
r"""
|
|
4847
|
+
:param _PageId: 页面 ID。
|
|
4848
|
+
:type PageId: str
|
|
4849
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4850
|
+
:type RequestId: str
|
|
4851
|
+
"""
|
|
4852
|
+
self._PageId = None
|
|
4853
|
+
self._RequestId = None
|
|
4854
|
+
|
|
4855
|
+
@property
|
|
4856
|
+
def PageId(self):
|
|
4857
|
+
return self._PageId
|
|
4858
|
+
|
|
4859
|
+
@PageId.setter
|
|
4860
|
+
def PageId(self, PageId):
|
|
4861
|
+
self._PageId = PageId
|
|
4862
|
+
|
|
4863
|
+
@property
|
|
4864
|
+
def RequestId(self):
|
|
4865
|
+
return self._RequestId
|
|
4866
|
+
|
|
4867
|
+
@RequestId.setter
|
|
4868
|
+
def RequestId(self, RequestId):
|
|
4869
|
+
self._RequestId = RequestId
|
|
4870
|
+
|
|
4871
|
+
|
|
4872
|
+
def _deserialize(self, params):
|
|
4873
|
+
self._PageId = params.get("PageId")
|
|
4874
|
+
self._RequestId = params.get("RequestId")
|
|
4875
|
+
|
|
4876
|
+
|
|
4759
4877
|
class CreateL4ProxyRequest(AbstractModel):
|
|
4760
4878
|
"""CreateL4Proxy请求参数结构体
|
|
4761
4879
|
|
|
@@ -6510,6 +6628,116 @@ class CustomEndpoint(AbstractModel):
|
|
|
6510
6628
|
|
|
6511
6629
|
|
|
6512
6630
|
|
|
6631
|
+
class CustomErrorPage(AbstractModel):
|
|
6632
|
+
"""自定义错误码页面结构体。
|
|
6633
|
+
|
|
6634
|
+
"""
|
|
6635
|
+
|
|
6636
|
+
def __init__(self):
|
|
6637
|
+
r"""
|
|
6638
|
+
:param _PageId: 自定义错误页面 ID。
|
|
6639
|
+
:type PageId: str
|
|
6640
|
+
:param _ZoneId: 站点 ID。
|
|
6641
|
+
:type ZoneId: str
|
|
6642
|
+
:param _Name: 自定义错误页面名称。
|
|
6643
|
+
:type Name: str
|
|
6644
|
+
:param _ContentType: 自定义错误页面类型。
|
|
6645
|
+
:type ContentType: str
|
|
6646
|
+
:param _Description: 自定义错误页面描述。
|
|
6647
|
+
:type Description: str
|
|
6648
|
+
:param _Content: 自定义错误页面内容。
|
|
6649
|
+
:type Content: str
|
|
6650
|
+
:param _References: 自定义错误页面引用。
|
|
6651
|
+
:type References: list of ErrorPageReference
|
|
6652
|
+
"""
|
|
6653
|
+
self._PageId = None
|
|
6654
|
+
self._ZoneId = None
|
|
6655
|
+
self._Name = None
|
|
6656
|
+
self._ContentType = None
|
|
6657
|
+
self._Description = None
|
|
6658
|
+
self._Content = None
|
|
6659
|
+
self._References = None
|
|
6660
|
+
|
|
6661
|
+
@property
|
|
6662
|
+
def PageId(self):
|
|
6663
|
+
return self._PageId
|
|
6664
|
+
|
|
6665
|
+
@PageId.setter
|
|
6666
|
+
def PageId(self, PageId):
|
|
6667
|
+
self._PageId = PageId
|
|
6668
|
+
|
|
6669
|
+
@property
|
|
6670
|
+
def ZoneId(self):
|
|
6671
|
+
return self._ZoneId
|
|
6672
|
+
|
|
6673
|
+
@ZoneId.setter
|
|
6674
|
+
def ZoneId(self, ZoneId):
|
|
6675
|
+
self._ZoneId = ZoneId
|
|
6676
|
+
|
|
6677
|
+
@property
|
|
6678
|
+
def Name(self):
|
|
6679
|
+
return self._Name
|
|
6680
|
+
|
|
6681
|
+
@Name.setter
|
|
6682
|
+
def Name(self, Name):
|
|
6683
|
+
self._Name = Name
|
|
6684
|
+
|
|
6685
|
+
@property
|
|
6686
|
+
def ContentType(self):
|
|
6687
|
+
return self._ContentType
|
|
6688
|
+
|
|
6689
|
+
@ContentType.setter
|
|
6690
|
+
def ContentType(self, ContentType):
|
|
6691
|
+
self._ContentType = ContentType
|
|
6692
|
+
|
|
6693
|
+
@property
|
|
6694
|
+
def Description(self):
|
|
6695
|
+
return self._Description
|
|
6696
|
+
|
|
6697
|
+
@Description.setter
|
|
6698
|
+
def Description(self, Description):
|
|
6699
|
+
self._Description = Description
|
|
6700
|
+
|
|
6701
|
+
@property
|
|
6702
|
+
def Content(self):
|
|
6703
|
+
return self._Content
|
|
6704
|
+
|
|
6705
|
+
@Content.setter
|
|
6706
|
+
def Content(self, Content):
|
|
6707
|
+
self._Content = Content
|
|
6708
|
+
|
|
6709
|
+
@property
|
|
6710
|
+
def References(self):
|
|
6711
|
+
return self._References
|
|
6712
|
+
|
|
6713
|
+
@References.setter
|
|
6714
|
+
def References(self, References):
|
|
6715
|
+
self._References = References
|
|
6716
|
+
|
|
6717
|
+
|
|
6718
|
+
def _deserialize(self, params):
|
|
6719
|
+
self._PageId = params.get("PageId")
|
|
6720
|
+
self._ZoneId = params.get("ZoneId")
|
|
6721
|
+
self._Name = params.get("Name")
|
|
6722
|
+
self._ContentType = params.get("ContentType")
|
|
6723
|
+
self._Description = params.get("Description")
|
|
6724
|
+
self._Content = params.get("Content")
|
|
6725
|
+
if params.get("References") is not None:
|
|
6726
|
+
self._References = []
|
|
6727
|
+
for item in params.get("References"):
|
|
6728
|
+
obj = ErrorPageReference()
|
|
6729
|
+
obj._deserialize(item)
|
|
6730
|
+
self._References.append(obj)
|
|
6731
|
+
memeber_set = set(params.keys())
|
|
6732
|
+
for name, value in vars(self).items():
|
|
6733
|
+
property_name = name[1:]
|
|
6734
|
+
if property_name in memeber_set:
|
|
6735
|
+
memeber_set.remove(property_name)
|
|
6736
|
+
if len(memeber_set) > 0:
|
|
6737
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6738
|
+
|
|
6739
|
+
|
|
6740
|
+
|
|
6513
6741
|
class CustomField(AbstractModel):
|
|
6514
6742
|
"""实时日志投递任务中的自定义日志字段。
|
|
6515
6743
|
|
|
@@ -7359,6 +7587,76 @@ class DeleteApplicationProxyRuleResponse(AbstractModel):
|
|
|
7359
7587
|
self._RequestId = params.get("RequestId")
|
|
7360
7588
|
|
|
7361
7589
|
|
|
7590
|
+
class DeleteCustomErrorPageRequest(AbstractModel):
|
|
7591
|
+
"""DeleteCustomErrorPage请求参数结构体
|
|
7592
|
+
|
|
7593
|
+
"""
|
|
7594
|
+
|
|
7595
|
+
def __init__(self):
|
|
7596
|
+
r"""
|
|
7597
|
+
:param _ZoneId: 站点 ID。
|
|
7598
|
+
:type ZoneId: str
|
|
7599
|
+
:param _PageId: 自定义页面 ID。
|
|
7600
|
+
:type PageId: str
|
|
7601
|
+
"""
|
|
7602
|
+
self._ZoneId = None
|
|
7603
|
+
self._PageId = None
|
|
7604
|
+
|
|
7605
|
+
@property
|
|
7606
|
+
def ZoneId(self):
|
|
7607
|
+
return self._ZoneId
|
|
7608
|
+
|
|
7609
|
+
@ZoneId.setter
|
|
7610
|
+
def ZoneId(self, ZoneId):
|
|
7611
|
+
self._ZoneId = ZoneId
|
|
7612
|
+
|
|
7613
|
+
@property
|
|
7614
|
+
def PageId(self):
|
|
7615
|
+
return self._PageId
|
|
7616
|
+
|
|
7617
|
+
@PageId.setter
|
|
7618
|
+
def PageId(self, PageId):
|
|
7619
|
+
self._PageId = PageId
|
|
7620
|
+
|
|
7621
|
+
|
|
7622
|
+
def _deserialize(self, params):
|
|
7623
|
+
self._ZoneId = params.get("ZoneId")
|
|
7624
|
+
self._PageId = params.get("PageId")
|
|
7625
|
+
memeber_set = set(params.keys())
|
|
7626
|
+
for name, value in vars(self).items():
|
|
7627
|
+
property_name = name[1:]
|
|
7628
|
+
if property_name in memeber_set:
|
|
7629
|
+
memeber_set.remove(property_name)
|
|
7630
|
+
if len(memeber_set) > 0:
|
|
7631
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7632
|
+
|
|
7633
|
+
|
|
7634
|
+
|
|
7635
|
+
class DeleteCustomErrorPageResponse(AbstractModel):
|
|
7636
|
+
"""DeleteCustomErrorPage返回参数结构体
|
|
7637
|
+
|
|
7638
|
+
"""
|
|
7639
|
+
|
|
7640
|
+
def __init__(self):
|
|
7641
|
+
r"""
|
|
7642
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7643
|
+
:type RequestId: str
|
|
7644
|
+
"""
|
|
7645
|
+
self._RequestId = None
|
|
7646
|
+
|
|
7647
|
+
@property
|
|
7648
|
+
def RequestId(self):
|
|
7649
|
+
return self._RequestId
|
|
7650
|
+
|
|
7651
|
+
@RequestId.setter
|
|
7652
|
+
def RequestId(self, RequestId):
|
|
7653
|
+
self._RequestId = RequestId
|
|
7654
|
+
|
|
7655
|
+
|
|
7656
|
+
def _deserialize(self, params):
|
|
7657
|
+
self._RequestId = params.get("RequestId")
|
|
7658
|
+
|
|
7659
|
+
|
|
7362
7660
|
class DeleteL4ProxyRequest(AbstractModel):
|
|
7363
7661
|
"""DeleteL4Proxy请求参数结构体
|
|
7364
7662
|
|
|
@@ -9154,6 +9452,138 @@ class DescribeContentQuotaResponse(AbstractModel):
|
|
|
9154
9452
|
self._RequestId = params.get("RequestId")
|
|
9155
9453
|
|
|
9156
9454
|
|
|
9455
|
+
class DescribeCustomErrorPagesRequest(AbstractModel):
|
|
9456
|
+
"""DescribeCustomErrorPages请求参数结构体
|
|
9457
|
+
|
|
9458
|
+
"""
|
|
9459
|
+
|
|
9460
|
+
def __init__(self):
|
|
9461
|
+
r"""
|
|
9462
|
+
:param _ZoneId: 站点 ID。
|
|
9463
|
+
:type ZoneId: str
|
|
9464
|
+
:param _Filters: 过滤条件,Filters.Values 的上限为20,详细的过滤条件Name值如下:
|
|
9465
|
+
<li>page-id: 按照页面 ID 进行过滤;</li>
|
|
9466
|
+
<li>name: 按照页面名称进行过滤;</li>
|
|
9467
|
+
<li>description:按照页面描述过滤;</li>
|
|
9468
|
+
<li>content-type:按照页面类型过滤。</li>
|
|
9469
|
+
:type Filters: list of AdvancedFilter
|
|
9470
|
+
:param _Offset: 分页查询偏移量。默认值:0。
|
|
9471
|
+
:type Offset: int
|
|
9472
|
+
:param _Limit: 分页查询限制数目。默认值:20,最大值:1000。
|
|
9473
|
+
:type Limit: int
|
|
9474
|
+
"""
|
|
9475
|
+
self._ZoneId = None
|
|
9476
|
+
self._Filters = None
|
|
9477
|
+
self._Offset = None
|
|
9478
|
+
self._Limit = None
|
|
9479
|
+
|
|
9480
|
+
@property
|
|
9481
|
+
def ZoneId(self):
|
|
9482
|
+
return self._ZoneId
|
|
9483
|
+
|
|
9484
|
+
@ZoneId.setter
|
|
9485
|
+
def ZoneId(self, ZoneId):
|
|
9486
|
+
self._ZoneId = ZoneId
|
|
9487
|
+
|
|
9488
|
+
@property
|
|
9489
|
+
def Filters(self):
|
|
9490
|
+
return self._Filters
|
|
9491
|
+
|
|
9492
|
+
@Filters.setter
|
|
9493
|
+
def Filters(self, Filters):
|
|
9494
|
+
self._Filters = Filters
|
|
9495
|
+
|
|
9496
|
+
@property
|
|
9497
|
+
def Offset(self):
|
|
9498
|
+
return self._Offset
|
|
9499
|
+
|
|
9500
|
+
@Offset.setter
|
|
9501
|
+
def Offset(self, Offset):
|
|
9502
|
+
self._Offset = Offset
|
|
9503
|
+
|
|
9504
|
+
@property
|
|
9505
|
+
def Limit(self):
|
|
9506
|
+
return self._Limit
|
|
9507
|
+
|
|
9508
|
+
@Limit.setter
|
|
9509
|
+
def Limit(self, Limit):
|
|
9510
|
+
self._Limit = Limit
|
|
9511
|
+
|
|
9512
|
+
|
|
9513
|
+
def _deserialize(self, params):
|
|
9514
|
+
self._ZoneId = params.get("ZoneId")
|
|
9515
|
+
if params.get("Filters") is not None:
|
|
9516
|
+
self._Filters = []
|
|
9517
|
+
for item in params.get("Filters"):
|
|
9518
|
+
obj = AdvancedFilter()
|
|
9519
|
+
obj._deserialize(item)
|
|
9520
|
+
self._Filters.append(obj)
|
|
9521
|
+
self._Offset = params.get("Offset")
|
|
9522
|
+
self._Limit = params.get("Limit")
|
|
9523
|
+
memeber_set = set(params.keys())
|
|
9524
|
+
for name, value in vars(self).items():
|
|
9525
|
+
property_name = name[1:]
|
|
9526
|
+
if property_name in memeber_set:
|
|
9527
|
+
memeber_set.remove(property_name)
|
|
9528
|
+
if len(memeber_set) > 0:
|
|
9529
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9530
|
+
|
|
9531
|
+
|
|
9532
|
+
|
|
9533
|
+
class DescribeCustomErrorPagesResponse(AbstractModel):
|
|
9534
|
+
"""DescribeCustomErrorPages返回参数结构体
|
|
9535
|
+
|
|
9536
|
+
"""
|
|
9537
|
+
|
|
9538
|
+
def __init__(self):
|
|
9539
|
+
r"""
|
|
9540
|
+
:param _TotalCount: 自定义错误页面总数。
|
|
9541
|
+
:type TotalCount: int
|
|
9542
|
+
:param _ErrorPages: 自定义错误页面数据列表。
|
|
9543
|
+
:type ErrorPages: list of CustomErrorPage
|
|
9544
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9545
|
+
:type RequestId: str
|
|
9546
|
+
"""
|
|
9547
|
+
self._TotalCount = None
|
|
9548
|
+
self._ErrorPages = None
|
|
9549
|
+
self._RequestId = None
|
|
9550
|
+
|
|
9551
|
+
@property
|
|
9552
|
+
def TotalCount(self):
|
|
9553
|
+
return self._TotalCount
|
|
9554
|
+
|
|
9555
|
+
@TotalCount.setter
|
|
9556
|
+
def TotalCount(self, TotalCount):
|
|
9557
|
+
self._TotalCount = TotalCount
|
|
9558
|
+
|
|
9559
|
+
@property
|
|
9560
|
+
def ErrorPages(self):
|
|
9561
|
+
return self._ErrorPages
|
|
9562
|
+
|
|
9563
|
+
@ErrorPages.setter
|
|
9564
|
+
def ErrorPages(self, ErrorPages):
|
|
9565
|
+
self._ErrorPages = ErrorPages
|
|
9566
|
+
|
|
9567
|
+
@property
|
|
9568
|
+
def RequestId(self):
|
|
9569
|
+
return self._RequestId
|
|
9570
|
+
|
|
9571
|
+
@RequestId.setter
|
|
9572
|
+
def RequestId(self, RequestId):
|
|
9573
|
+
self._RequestId = RequestId
|
|
9574
|
+
|
|
9575
|
+
|
|
9576
|
+
def _deserialize(self, params):
|
|
9577
|
+
self._TotalCount = params.get("TotalCount")
|
|
9578
|
+
if params.get("ErrorPages") is not None:
|
|
9579
|
+
self._ErrorPages = []
|
|
9580
|
+
for item in params.get("ErrorPages"):
|
|
9581
|
+
obj = CustomErrorPage()
|
|
9582
|
+
obj._deserialize(item)
|
|
9583
|
+
self._ErrorPages.append(obj)
|
|
9584
|
+
self._RequestId = params.get("RequestId")
|
|
9585
|
+
|
|
9586
|
+
|
|
9157
9587
|
class DescribeDDoSAttackDataRequest(AbstractModel):
|
|
9158
9588
|
"""DescribeDDoSAttackData请求参数结构体
|
|
9159
9589
|
|
|
@@ -14370,6 +14800,39 @@ class EnvInfo(AbstractModel):
|
|
|
14370
14800
|
|
|
14371
14801
|
|
|
14372
14802
|
|
|
14803
|
+
class ErrorPageReference(AbstractModel):
|
|
14804
|
+
"""自定义错误页面被引用的来源
|
|
14805
|
+
|
|
14806
|
+
"""
|
|
14807
|
+
|
|
14808
|
+
def __init__(self):
|
|
14809
|
+
r"""
|
|
14810
|
+
:param _BusinessId: 引用的业务 ID,如自定义拦截规则 ID。
|
|
14811
|
+
:type BusinessId: str
|
|
14812
|
+
"""
|
|
14813
|
+
self._BusinessId = None
|
|
14814
|
+
|
|
14815
|
+
@property
|
|
14816
|
+
def BusinessId(self):
|
|
14817
|
+
return self._BusinessId
|
|
14818
|
+
|
|
14819
|
+
@BusinessId.setter
|
|
14820
|
+
def BusinessId(self, BusinessId):
|
|
14821
|
+
self._BusinessId = BusinessId
|
|
14822
|
+
|
|
14823
|
+
|
|
14824
|
+
def _deserialize(self, params):
|
|
14825
|
+
self._BusinessId = params.get("BusinessId")
|
|
14826
|
+
memeber_set = set(params.keys())
|
|
14827
|
+
for name, value in vars(self).items():
|
|
14828
|
+
property_name = name[1:]
|
|
14829
|
+
if property_name in memeber_set:
|
|
14830
|
+
memeber_set.remove(property_name)
|
|
14831
|
+
if len(memeber_set) > 0:
|
|
14832
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14833
|
+
|
|
14834
|
+
|
|
14835
|
+
|
|
14373
14836
|
class ExceptConfig(AbstractModel):
|
|
14374
14837
|
"""例外规则,用于配置需要跳过特定场景的规则
|
|
14375
14838
|
|
|
@@ -17940,6 +18403,124 @@ class ModifyApplicationProxyStatusResponse(AbstractModel):
|
|
|
17940
18403
|
self._RequestId = params.get("RequestId")
|
|
17941
18404
|
|
|
17942
18405
|
|
|
18406
|
+
class ModifyCustomErrorPageRequest(AbstractModel):
|
|
18407
|
+
"""ModifyCustomErrorPage请求参数结构体
|
|
18408
|
+
|
|
18409
|
+
"""
|
|
18410
|
+
|
|
18411
|
+
def __init__(self):
|
|
18412
|
+
r"""
|
|
18413
|
+
:param _PageId: 自定义错误页面 ID。
|
|
18414
|
+
:type PageId: str
|
|
18415
|
+
:param _ZoneId: 站点 ID。
|
|
18416
|
+
:type ZoneId: str
|
|
18417
|
+
:param _Name: 自定义错误页名称,名称为2 - 60个字符。
|
|
18418
|
+
:type Name: str
|
|
18419
|
+
:param _Description: 自定义错误页描述,描述内容不超过60个字符。
|
|
18420
|
+
:type Description: str
|
|
18421
|
+
:param _ContentType: 自定义错误页面类型,取值有:<li>text/html。 </li><li>application/json。</li><li>plain/text。</li><li>text/xml。</li>
|
|
18422
|
+
:type ContentType: str
|
|
18423
|
+
:param _Content: 自定义错误页面内容。内容不超过 2KB。
|
|
18424
|
+
:type Content: str
|
|
18425
|
+
"""
|
|
18426
|
+
self._PageId = None
|
|
18427
|
+
self._ZoneId = None
|
|
18428
|
+
self._Name = None
|
|
18429
|
+
self._Description = None
|
|
18430
|
+
self._ContentType = None
|
|
18431
|
+
self._Content = None
|
|
18432
|
+
|
|
18433
|
+
@property
|
|
18434
|
+
def PageId(self):
|
|
18435
|
+
return self._PageId
|
|
18436
|
+
|
|
18437
|
+
@PageId.setter
|
|
18438
|
+
def PageId(self, PageId):
|
|
18439
|
+
self._PageId = PageId
|
|
18440
|
+
|
|
18441
|
+
@property
|
|
18442
|
+
def ZoneId(self):
|
|
18443
|
+
return self._ZoneId
|
|
18444
|
+
|
|
18445
|
+
@ZoneId.setter
|
|
18446
|
+
def ZoneId(self, ZoneId):
|
|
18447
|
+
self._ZoneId = ZoneId
|
|
18448
|
+
|
|
18449
|
+
@property
|
|
18450
|
+
def Name(self):
|
|
18451
|
+
return self._Name
|
|
18452
|
+
|
|
18453
|
+
@Name.setter
|
|
18454
|
+
def Name(self, Name):
|
|
18455
|
+
self._Name = Name
|
|
18456
|
+
|
|
18457
|
+
@property
|
|
18458
|
+
def Description(self):
|
|
18459
|
+
return self._Description
|
|
18460
|
+
|
|
18461
|
+
@Description.setter
|
|
18462
|
+
def Description(self, Description):
|
|
18463
|
+
self._Description = Description
|
|
18464
|
+
|
|
18465
|
+
@property
|
|
18466
|
+
def ContentType(self):
|
|
18467
|
+
return self._ContentType
|
|
18468
|
+
|
|
18469
|
+
@ContentType.setter
|
|
18470
|
+
def ContentType(self, ContentType):
|
|
18471
|
+
self._ContentType = ContentType
|
|
18472
|
+
|
|
18473
|
+
@property
|
|
18474
|
+
def Content(self):
|
|
18475
|
+
return self._Content
|
|
18476
|
+
|
|
18477
|
+
@Content.setter
|
|
18478
|
+
def Content(self, Content):
|
|
18479
|
+
self._Content = Content
|
|
18480
|
+
|
|
18481
|
+
|
|
18482
|
+
def _deserialize(self, params):
|
|
18483
|
+
self._PageId = params.get("PageId")
|
|
18484
|
+
self._ZoneId = params.get("ZoneId")
|
|
18485
|
+
self._Name = params.get("Name")
|
|
18486
|
+
self._Description = params.get("Description")
|
|
18487
|
+
self._ContentType = params.get("ContentType")
|
|
18488
|
+
self._Content = params.get("Content")
|
|
18489
|
+
memeber_set = set(params.keys())
|
|
18490
|
+
for name, value in vars(self).items():
|
|
18491
|
+
property_name = name[1:]
|
|
18492
|
+
if property_name in memeber_set:
|
|
18493
|
+
memeber_set.remove(property_name)
|
|
18494
|
+
if len(memeber_set) > 0:
|
|
18495
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18496
|
+
|
|
18497
|
+
|
|
18498
|
+
|
|
18499
|
+
class ModifyCustomErrorPageResponse(AbstractModel):
|
|
18500
|
+
"""ModifyCustomErrorPage返回参数结构体
|
|
18501
|
+
|
|
18502
|
+
"""
|
|
18503
|
+
|
|
18504
|
+
def __init__(self):
|
|
18505
|
+
r"""
|
|
18506
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18507
|
+
:type RequestId: str
|
|
18508
|
+
"""
|
|
18509
|
+
self._RequestId = None
|
|
18510
|
+
|
|
18511
|
+
@property
|
|
18512
|
+
def RequestId(self):
|
|
18513
|
+
return self._RequestId
|
|
18514
|
+
|
|
18515
|
+
@RequestId.setter
|
|
18516
|
+
def RequestId(self, RequestId):
|
|
18517
|
+
self._RequestId = RequestId
|
|
18518
|
+
|
|
18519
|
+
|
|
18520
|
+
def _deserialize(self, params):
|
|
18521
|
+
self._RequestId = params.get("RequestId")
|
|
18522
|
+
|
|
18523
|
+
|
|
17943
18524
|
class ModifyHostsCertificateRequest(AbstractModel):
|
|
17944
18525
|
"""ModifyHostsCertificate请求参数结构体
|
|
17945
18526
|
|
|
@@ -259,6 +259,29 @@ class TeoClient(AbstractClient):
|
|
|
259
259
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
260
260
|
|
|
261
261
|
|
|
262
|
+
def CreateCustomizeErrorPage(self, request):
|
|
263
|
+
"""创建自定义错误页面。
|
|
264
|
+
|
|
265
|
+
:param request: Request instance for CreateCustomizeErrorPage.
|
|
266
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.CreateCustomizeErrorPageRequest`
|
|
267
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.CreateCustomizeErrorPageResponse`
|
|
268
|
+
|
|
269
|
+
"""
|
|
270
|
+
try:
|
|
271
|
+
params = request._serialize()
|
|
272
|
+
headers = request.headers
|
|
273
|
+
body = self.call("CreateCustomizeErrorPage", params, headers=headers)
|
|
274
|
+
response = json.loads(body)
|
|
275
|
+
model = models.CreateCustomizeErrorPageResponse()
|
|
276
|
+
model._deserialize(response["Response"])
|
|
277
|
+
return model
|
|
278
|
+
except Exception as e:
|
|
279
|
+
if isinstance(e, TencentCloudSDKException):
|
|
280
|
+
raise
|
|
281
|
+
else:
|
|
282
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
283
|
+
|
|
284
|
+
|
|
262
285
|
def CreateL4Proxy(self, request):
|
|
263
286
|
"""用于创建四层代理实例。
|
|
264
287
|
|
|
@@ -634,6 +657,29 @@ class TeoClient(AbstractClient):
|
|
|
634
657
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
635
658
|
|
|
636
659
|
|
|
660
|
+
def DeleteCustomErrorPage(self, request):
|
|
661
|
+
"""删除自定义错误页面。
|
|
662
|
+
|
|
663
|
+
:param request: Request instance for DeleteCustomErrorPage.
|
|
664
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DeleteCustomErrorPageRequest`
|
|
665
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DeleteCustomErrorPageResponse`
|
|
666
|
+
|
|
667
|
+
"""
|
|
668
|
+
try:
|
|
669
|
+
params = request._serialize()
|
|
670
|
+
headers = request.headers
|
|
671
|
+
body = self.call("DeleteCustomErrorPage", params, headers=headers)
|
|
672
|
+
response = json.loads(body)
|
|
673
|
+
model = models.DeleteCustomErrorPageResponse()
|
|
674
|
+
model._deserialize(response["Response"])
|
|
675
|
+
return model
|
|
676
|
+
except Exception as e:
|
|
677
|
+
if isinstance(e, TencentCloudSDKException):
|
|
678
|
+
raise
|
|
679
|
+
else:
|
|
680
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
681
|
+
|
|
682
|
+
|
|
637
683
|
def DeleteL4Proxy(self, request):
|
|
638
684
|
"""用于删除四层代理实例。
|
|
639
685
|
|
|
@@ -1025,6 +1071,29 @@ class TeoClient(AbstractClient):
|
|
|
1025
1071
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1026
1072
|
|
|
1027
1073
|
|
|
1074
|
+
def DescribeCustomErrorPages(self, request):
|
|
1075
|
+
"""查询自定义错误页列表。
|
|
1076
|
+
|
|
1077
|
+
:param request: Request instance for DescribeCustomErrorPages.
|
|
1078
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeCustomErrorPagesRequest`
|
|
1079
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeCustomErrorPagesResponse`
|
|
1080
|
+
|
|
1081
|
+
"""
|
|
1082
|
+
try:
|
|
1083
|
+
params = request._serialize()
|
|
1084
|
+
headers = request.headers
|
|
1085
|
+
body = self.call("DescribeCustomErrorPages", params, headers=headers)
|
|
1086
|
+
response = json.loads(body)
|
|
1087
|
+
model = models.DescribeCustomErrorPagesResponse()
|
|
1088
|
+
model._deserialize(response["Response"])
|
|
1089
|
+
return model
|
|
1090
|
+
except Exception as e:
|
|
1091
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1092
|
+
raise
|
|
1093
|
+
else:
|
|
1094
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1095
|
+
|
|
1096
|
+
|
|
1028
1097
|
def DescribeDDoSAttackData(self, request):
|
|
1029
1098
|
"""本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。
|
|
1030
1099
|
|
|
@@ -2005,6 +2074,29 @@ class TeoClient(AbstractClient):
|
|
|
2005
2074
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2006
2075
|
|
|
2007
2076
|
|
|
2077
|
+
def ModifyCustomErrorPage(self, request):
|
|
2078
|
+
"""修改自定义错误页面。
|
|
2079
|
+
|
|
2080
|
+
:param request: Request instance for ModifyCustomErrorPage.
|
|
2081
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyCustomErrorPageRequest`
|
|
2082
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ModifyCustomErrorPageResponse`
|
|
2083
|
+
|
|
2084
|
+
"""
|
|
2085
|
+
try:
|
|
2086
|
+
params = request._serialize()
|
|
2087
|
+
headers = request.headers
|
|
2088
|
+
body = self.call("ModifyCustomErrorPage", params, headers=headers)
|
|
2089
|
+
response = json.loads(body)
|
|
2090
|
+
model = models.ModifyCustomErrorPageResponse()
|
|
2091
|
+
model._deserialize(response["Response"])
|
|
2092
|
+
return model
|
|
2093
|
+
except Exception as e:
|
|
2094
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2095
|
+
raise
|
|
2096
|
+
else:
|
|
2097
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2098
|
+
|
|
2099
|
+
|
|
2008
2100
|
def ModifyHostsCertificate(self, request):
|
|
2009
2101
|
"""完成域名创建之后,您可以为域名配置自有证书,也可以使用 EdgeOne 为您提供的 [免费证书](https://cloud.tencent.com/document/product/1552/90437)。
|
|
2010
2102
|
如果您需要配置自有证书,请先将证书上传至 [SSL证书控制台](https://console.cloud.tencent.com/certoverview),然后在本接口中传入对应的证书 ID。详情参考 [部署自有证书至 EdgeOne 域名
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1166
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1164
|
|
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
|