tencentcloud-sdk-python 3.0.1163__py2.py3-none-any.whl → 3.0.1165__py2.py3-none-any.whl
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/__init__.py +1 -1
- tencentcloud/common/credential.py +1 -1
- tencentcloud/dlc/v20210125/dlc_client.py +230 -0
- tencentcloud/dlc/v20210125/models.py +1298 -22
- tencentcloud/domain/v20180808/models.py +959 -23
- tencentcloud/dts/v20180330/models.py +13 -13
- tencentcloud/eb/v20210416/models.py +10 -1
- tencentcloud/emr/v20190103/models.py +26 -0
- tencentcloud/ess/v20201111/models.py +2 -2
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/mongodb/v20190725/models.py +4 -4
- tencentcloud/ocr/v20181119/ocr_client.py +3 -2
- tencentcloud/postgres/v20170312/models.py +251 -88
- tencentcloud/postgres/v20170312/postgres_client.py +25 -2
- tencentcloud/redis/v20180412/models.py +226 -0
- tencentcloud/redis/v20180412/redis_client.py +23 -0
- tencentcloud/teo/v20220901/errorcodes.py +6 -0
- tencentcloud/teo/v20220901/models.py +586 -3
- tencentcloud/teo/v20220901/teo_client.py +92 -0
- tencentcloud/tione/v20211111/errorcodes.py +15 -0
- tencentcloud/tione/v20211111/models.py +119 -13
- tencentcloud/tse/v20201207/models.py +70 -0
- tencentcloud/tse/v20201207/tse_client.py +23 -0
- tencentcloud/vtc/v20240223/errorcodes.py +3 -0
- tencentcloud/vtc/v20240223/models.py +24 -0
- tencentcloud/wedata/v20210820/models.py +26 -0
- {tencentcloud_sdk_python-3.0.1163.dist-info → tencentcloud_sdk_python-3.0.1165.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1163.dist-info → tencentcloud_sdk_python-3.0.1165.dist-info}/RECORD +31 -31
- {tencentcloud_sdk_python-3.0.1163.dist-info → tencentcloud_sdk_python-3.0.1165.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1163.dist-info → tencentcloud_sdk_python-3.0.1165.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1163.dist-info → tencentcloud_sdk_python-3.0.1165.dist-info}/top_level.txt +0 -0
@@ -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
|
|
@@ -19960,6 +20541,7 @@ class OriginDetail(AbstractModel):
|
|
19960
20541
|
<li>AWS_S3:AWS S3 对象存储源站;</li>
|
19961
20542
|
<li>ORIGIN_GROUP:源站组类型源站;</li>
|
19962
20543
|
<li>VODEO:云点播-混合云版;</li>
|
20544
|
+
<li>VOD:云点播;</li>
|
19963
20545
|
<li>SPACE:源站卸载,当前仅白名单开放;</li>
|
19964
20546
|
<li>LB:负载均衡,当前仅白名单开放。</li>
|
19965
20547
|
:type OriginType: str
|
@@ -19968,6 +20550,7 @@ class OriginDetail(AbstractModel):
|
|
19968
20550
|
<li>当 OriginType = COS 时,该参数为 COS 桶的访问域名;</li>
|
19969
20551
|
<li>当 OriginType = AWS_S3,该参数为 S3 桶的访问域名;</li>
|
19970
20552
|
<li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;</li>
|
20553
|
+
<li>当 OriginType = VOD 时,该参数请填写云点播应用 ID ;</li>
|
19971
20554
|
<li>当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数为 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数为对应存储桶域名。</li>
|
19972
20555
|
:type Origin: str
|
19973
20556
|
:param _BackupOrigin: 备用源站组 ID,该参数仅在 OriginType = ORIGIN_GROUP 且配置了备源站组时会生效。
|
@@ -20312,7 +20895,7 @@ class OriginInfo(AbstractModel):
|
|
20312
20895
|
<li>COS:腾讯云 COS 对象存储源站;</li>
|
20313
20896
|
<li>AWS_S3:AWS S3 对象存储源站;</li>
|
20314
20897
|
<li>ORIGIN_GROUP:源站组类型源站;</li>
|
20315
|
-
<li>
|
20898
|
+
<li>VOD:云点播;</li>
|
20316
20899
|
<li>SPACE:源站卸载,当前仅白名单开放;</li>
|
20317
20900
|
<li>LB:负载均衡,当前仅白名单开放。</li>
|
20318
20901
|
:type OriginType: str
|
@@ -20321,7 +20904,7 @@ class OriginInfo(AbstractModel):
|
|
20321
20904
|
<li>当 OriginType = COS 时,该参数请填写 COS 桶的访问域名;</li>
|
20322
20905
|
<li>当 OriginType = AWS_S3,该参数请填写 S3 桶的访问域名;</li>
|
20323
20906
|
<li>当 OriginType = ORIGIN_GROUP 时,该参数请填写源站组 ID;</li>
|
20324
|
-
<li>当 OriginType =
|
20907
|
+
<li>当 OriginType = VOD 时,该参数请填写云点播应用 ID ;</li>
|
20325
20908
|
<li>当 OriginType = LB 时,该参数请填写负载均衡实例 ID,该功能当前仅白名单开放;</li>
|
20326
20909
|
<li>当 OriginType = SPACE 时,该参数请填写源站卸载空间 ID,该功能当前仅白名单开放。</li>
|
20327
20910
|
:type Origin: str
|
@@ -20338,7 +20921,7 @@ class OriginInfo(AbstractModel):
|
|
20338
20921
|
:type VodeoSubAppId: int
|
20339
20922
|
:param _VodeoDistributionRange: VODEO 分发范围,该参数当 OriginType = VODEO 时必填。取值有:
|
20340
20923
|
<li>All:当前应用下所有存储桶;</li>
|
20341
|
-
<li>Bucket:指定的某一个存储桶。</li>
|
20924
|
+
<li>Bucket:指定的某一个存储桶。</li>
|
20342
20925
|
:type VodeoDistributionRange: str
|
20343
20926
|
:param _VodeoBucketId: VODEO 存储桶 ID,该参数当 OriginType = VODEO 且 VodeoDistributionRange = Bucket 时必填。
|
20344
20927
|
:type VodeoBucketId: str
|