tencentcloud-sdk-python-teo 3.1.175__tar.gz → 3.1.177__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/setup.py +1 -1
  3. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/tencentcloud/teo/v20220901/models.py +438 -34
  5. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/tencentcloud/teo/v20220901/teo_client.py +1 -1
  6. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/tencentcloud/teo/v20220901/teo_client_async.py +1 -1
  7. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_teo-3.1.177/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_teo-3.1.175/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/README.rst +0 -0
  11. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/tencentcloud/teo/__init__.py +0 -0
  13. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/tencentcloud/teo/v20220106/__init__.py +0 -0
  14. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/tencentcloud/teo/v20220106/models.py +0 -0
  16. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/tencentcloud/teo/v20220106/teo_client.py +0 -0
  17. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/tencentcloud/teo/v20220106/teo_client_async.py +0 -0
  18. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/tencentcloud/teo/v20220901/__init__.py +0 -0
  19. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/tencentcloud/teo/v20220901/errorcodes.py +0 -0
  20. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.177}/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.175
3
+ Version: 3.1.177
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.175
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.177
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.175,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.177,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Teo SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.175'
17
+ __version__ = '3.1.177'
@@ -16621,6 +16621,323 @@ class CustomTime(AbstractModel):
16621
16621
 
16622
16622
 
16623
16623
 
16624
+ class CustomVariable(AbstractModel):
16625
+ r"""自定义变量详情。
16626
+
16627
+ """
16628
+
16629
+ def __init__(self):
16630
+ r"""
16631
+ :param _Name: <p>变量名称。需填写完整前缀:user.zone.* 表示站点级自定义变量,user.rule.* 表示规则级自定义变量。前缀后的自定义部分仅支持大小写字母、数字和下划线。变量名称区分大小写,长度不能超过 50 个字符。变量创建成功后,名称不可修改。</p>
16632
+ :type Name: str
16633
+ :param _InitialValue: <p>变量初始值。支持使用常量字符串、变量以及公式。长度不能超过 255 个字符。</p>
16634
+ :type InitialValue: str
16635
+ :param _Description: <p>变量描述。长度限制不超过 60 个字符。</p>
16636
+ :type Description: str
16637
+ """
16638
+ self._Name = None
16639
+ self._InitialValue = None
16640
+ self._Description = None
16641
+
16642
+ @property
16643
+ def Name(self):
16644
+ r"""<p>变量名称。需填写完整前缀:user.zone.* 表示站点级自定义变量,user.rule.* 表示规则级自定义变量。前缀后的自定义部分仅支持大小写字母、数字和下划线。变量名称区分大小写,长度不能超过 50 个字符。变量创建成功后,名称不可修改。</p>
16645
+ :rtype: str
16646
+ """
16647
+ return self._Name
16648
+
16649
+ @Name.setter
16650
+ def Name(self, Name):
16651
+ self._Name = Name
16652
+
16653
+ @property
16654
+ def InitialValue(self):
16655
+ r"""<p>变量初始值。支持使用常量字符串、变量以及公式。长度不能超过 255 个字符。</p>
16656
+ :rtype: str
16657
+ """
16658
+ return self._InitialValue
16659
+
16660
+ @InitialValue.setter
16661
+ def InitialValue(self, InitialValue):
16662
+ self._InitialValue = InitialValue
16663
+
16664
+ @property
16665
+ def Description(self):
16666
+ r"""<p>变量描述。长度限制不超过 60 个字符。</p>
16667
+ :rtype: str
16668
+ """
16669
+ return self._Description
16670
+
16671
+ @Description.setter
16672
+ def Description(self, Description):
16673
+ self._Description = Description
16674
+
16675
+
16676
+ def _deserialize(self, params):
16677
+ self._Name = params.get("Name")
16678
+ self._InitialValue = params.get("InitialValue")
16679
+ self._Description = params.get("Description")
16680
+ memeber_set = set(params.keys())
16681
+ for name, value in vars(self).items():
16682
+ property_name = name[1:]
16683
+ if property_name in memeber_set:
16684
+ memeber_set.remove(property_name)
16685
+ if len(memeber_set) > 0:
16686
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16687
+
16688
+
16689
+
16690
+ class CustomVariableOperation(AbstractModel):
16691
+ r"""自定义变量运算详情。
16692
+
16693
+ """
16694
+
16695
+ def __init__(self):
16696
+ r"""
16697
+ :param _Branches: <p>子规则分支。此列表当前只支持填写一项规则,多填无效。</p>
16698
+ 注意:此字段可能返回 null,表示取不到有效值。
16699
+ :type Branches: list of CustomVariableOperationRuleBranch
16700
+ :param _Description: <p>规则注释。可以填写多个注释。</p>
16701
+ :type Description: list of str
16702
+ """
16703
+ self._Branches = None
16704
+ self._Description = None
16705
+
16706
+ @property
16707
+ def Branches(self):
16708
+ r"""<p>子规则分支。此列表当前只支持填写一项规则,多填无效。</p>
16709
+ 注意:此字段可能返回 null,表示取不到有效值。
16710
+ :rtype: list of CustomVariableOperationRuleBranch
16711
+ """
16712
+ return self._Branches
16713
+
16714
+ @Branches.setter
16715
+ def Branches(self, Branches):
16716
+ self._Branches = Branches
16717
+
16718
+ @property
16719
+ def Description(self):
16720
+ r"""<p>规则注释。可以填写多个注释。</p>
16721
+ :rtype: list of str
16722
+ """
16723
+ return self._Description
16724
+
16725
+ @Description.setter
16726
+ def Description(self, Description):
16727
+ self._Description = Description
16728
+
16729
+
16730
+ def _deserialize(self, params):
16731
+ if params.get("Branches") is not None:
16732
+ self._Branches = []
16733
+ for item in params.get("Branches"):
16734
+ obj = CustomVariableOperationRuleBranch()
16735
+ obj._deserialize(item)
16736
+ self._Branches.append(obj)
16737
+ self._Description = params.get("Description")
16738
+ memeber_set = set(params.keys())
16739
+ for name, value in vars(self).items():
16740
+ property_name = name[1:]
16741
+ if property_name in memeber_set:
16742
+ memeber_set.remove(property_name)
16743
+ if len(memeber_set) > 0:
16744
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16745
+
16746
+
16747
+
16748
+ class CustomVariableOperationRuleAction(AbstractModel):
16749
+ r"""自定义变量规则操作。
16750
+
16751
+ """
16752
+
16753
+ def __init__(self):
16754
+ r"""
16755
+ :param _Name: <p>操作名称。名称需要与参数结构体对应,例如 Name=Set,则 SetParameters 必填。当前仅支持填写 Set。</p><li>Set:自定义变量设置;</li>
16756
+ :type Name: str
16757
+ :param _SetParameters: <p>自定义变量设置参数。此参数中若存在多条运算,按照数组的顺序依次执行。当 Name 取值为 Set 时,该参数必填。</p>
16758
+ 注意:此字段可能返回 null,表示取不到有效值。
16759
+ :type SetParameters: :class:`tencentcloud.teo.v20220901.models.SetParameters`
16760
+ """
16761
+ self._Name = None
16762
+ self._SetParameters = None
16763
+
16764
+ @property
16765
+ def Name(self):
16766
+ r"""<p>操作名称。名称需要与参数结构体对应,例如 Name=Set,则 SetParameters 必填。当前仅支持填写 Set。</p><li>Set:自定义变量设置;</li>
16767
+ :rtype: str
16768
+ """
16769
+ return self._Name
16770
+
16771
+ @Name.setter
16772
+ def Name(self, Name):
16773
+ self._Name = Name
16774
+
16775
+ @property
16776
+ def SetParameters(self):
16777
+ r"""<p>自定义变量设置参数。此参数中若存在多条运算,按照数组的顺序依次执行。当 Name 取值为 Set 时,该参数必填。</p>
16778
+ 注意:此字段可能返回 null,表示取不到有效值。
16779
+ :rtype: :class:`tencentcloud.teo.v20220901.models.SetParameters`
16780
+ """
16781
+ return self._SetParameters
16782
+
16783
+ @SetParameters.setter
16784
+ def SetParameters(self, SetParameters):
16785
+ self._SetParameters = SetParameters
16786
+
16787
+
16788
+ def _deserialize(self, params):
16789
+ self._Name = params.get("Name")
16790
+ if params.get("SetParameters") is not None:
16791
+ self._SetParameters = SetParameters()
16792
+ self._SetParameters._deserialize(params.get("SetParameters"))
16793
+ memeber_set = set(params.keys())
16794
+ for name, value in vars(self).items():
16795
+ property_name = name[1:]
16796
+ if property_name in memeber_set:
16797
+ memeber_set.remove(property_name)
16798
+ if len(memeber_set) > 0:
16799
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16800
+
16801
+
16802
+
16803
+ class CustomVariableOperationRuleBranch(AbstractModel):
16804
+ r"""自定义变量运算子规则分支。
16805
+
16806
+ """
16807
+
16808
+ def __init__(self):
16809
+ r"""
16810
+ :param _Condition: <p><a href="https://cloud.tencent.com/document/product/1552/90438#33f65828-c6c6-4b66-a011-25a20b548d5d">匹配条件</a>。</p>
16811
+ :type Condition: str
16812
+ :param _Actions: <p><a href="https://cloud.tencent.com/document/product/1552/90438#c7bd7e02-9247-4a72-b0e4-11c27cadb198">操作</a>。<br>注意:Actions 和 SubRules 不可同时为空。</p>
16813
+ 注意:此字段可能返回 null,表示取不到有效值。
16814
+ :type Actions: list of CustomVariableOperationRuleAction
16815
+ :param _SubRules: <p>子规则列表。此列表中若存在多条规则,按照从上往下的顺序依次执行。<br>注意:SubRules 和 Actions 不可同时为空。且当前只支持填写一层 SubRules。</p>
16816
+ 注意:此字段可能返回 null,表示取不到有效值。
16817
+ :type SubRules: list of CustomVariableOperationSubRule
16818
+ """
16819
+ self._Condition = None
16820
+ self._Actions = None
16821
+ self._SubRules = None
16822
+
16823
+ @property
16824
+ def Condition(self):
16825
+ r"""<p><a href="https://cloud.tencent.com/document/product/1552/90438#33f65828-c6c6-4b66-a011-25a20b548d5d">匹配条件</a>。</p>
16826
+ :rtype: str
16827
+ """
16828
+ return self._Condition
16829
+
16830
+ @Condition.setter
16831
+ def Condition(self, Condition):
16832
+ self._Condition = Condition
16833
+
16834
+ @property
16835
+ def Actions(self):
16836
+ r"""<p><a href="https://cloud.tencent.com/document/product/1552/90438#c7bd7e02-9247-4a72-b0e4-11c27cadb198">操作</a>。<br>注意:Actions 和 SubRules 不可同时为空。</p>
16837
+ 注意:此字段可能返回 null,表示取不到有效值。
16838
+ :rtype: list of CustomVariableOperationRuleAction
16839
+ """
16840
+ return self._Actions
16841
+
16842
+ @Actions.setter
16843
+ def Actions(self, Actions):
16844
+ self._Actions = Actions
16845
+
16846
+ @property
16847
+ def SubRules(self):
16848
+ r"""<p>子规则列表。此列表中若存在多条规则,按照从上往下的顺序依次执行。<br>注意:SubRules 和 Actions 不可同时为空。且当前只支持填写一层 SubRules。</p>
16849
+ 注意:此字段可能返回 null,表示取不到有效值。
16850
+ :rtype: list of CustomVariableOperationSubRule
16851
+ """
16852
+ return self._SubRules
16853
+
16854
+ @SubRules.setter
16855
+ def SubRules(self, SubRules):
16856
+ self._SubRules = SubRules
16857
+
16858
+
16859
+ def _deserialize(self, params):
16860
+ self._Condition = params.get("Condition")
16861
+ if params.get("Actions") is not None:
16862
+ self._Actions = []
16863
+ for item in params.get("Actions"):
16864
+ obj = CustomVariableOperationRuleAction()
16865
+ obj._deserialize(item)
16866
+ self._Actions.append(obj)
16867
+ if params.get("SubRules") is not None:
16868
+ self._SubRules = []
16869
+ for item in params.get("SubRules"):
16870
+ obj = CustomVariableOperationSubRule()
16871
+ obj._deserialize(item)
16872
+ self._SubRules.append(obj)
16873
+ memeber_set = set(params.keys())
16874
+ for name, value in vars(self).items():
16875
+ property_name = name[1:]
16876
+ if property_name in memeber_set:
16877
+ memeber_set.remove(property_name)
16878
+ if len(memeber_set) > 0:
16879
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16880
+
16881
+
16882
+
16883
+ class CustomVariableOperationSubRule(AbstractModel):
16884
+ r"""自定义变量运算子规则。
16885
+
16886
+ """
16887
+
16888
+ def __init__(self):
16889
+ r"""
16890
+ :param _Branches: <p>子规则分支</p>
16891
+ 注意:此字段可能返回 null,表示取不到有效值。
16892
+ :type Branches: list of CustomVariableOperationRuleBranch
16893
+ :param _Description: <p>规则注释。</p>
16894
+ :type Description: list of str
16895
+ """
16896
+ self._Branches = None
16897
+ self._Description = None
16898
+
16899
+ @property
16900
+ def Branches(self):
16901
+ r"""<p>子规则分支</p>
16902
+ 注意:此字段可能返回 null,表示取不到有效值。
16903
+ :rtype: list of CustomVariableOperationRuleBranch
16904
+ """
16905
+ return self._Branches
16906
+
16907
+ @Branches.setter
16908
+ def Branches(self, Branches):
16909
+ self._Branches = Branches
16910
+
16911
+ @property
16912
+ def Description(self):
16913
+ r"""<p>规则注释。</p>
16914
+ :rtype: list of str
16915
+ """
16916
+ return self._Description
16917
+
16918
+ @Description.setter
16919
+ def Description(self, Description):
16920
+ self._Description = Description
16921
+
16922
+
16923
+ def _deserialize(self, params):
16924
+ if params.get("Branches") is not None:
16925
+ self._Branches = []
16926
+ for item in params.get("Branches"):
16927
+ obj = CustomVariableOperationRuleBranch()
16928
+ obj._deserialize(item)
16929
+ self._Branches.append(obj)
16930
+ self._Description = params.get("Description")
16931
+ memeber_set = set(params.keys())
16932
+ for name, value in vars(self).items():
16933
+ property_name = name[1:]
16934
+ if property_name in memeber_set:
16935
+ memeber_set.remove(property_name)
16936
+ if len(memeber_set) > 0:
16937
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
16938
+
16939
+
16940
+
16624
16941
  class CustomizedHeader(AbstractModel):
16625
16942
  r"""负载均衡实例 HTTP/HTTPS 健康检查策略下可配置的自定义头部。
16626
16943
 
@@ -17867,7 +18184,7 @@ class DeleteCustomErrorPageRequest(AbstractModel):
17867
18184
  r"""
17868
18185
  :param _ZoneId: 站点 ID。
17869
18186
  :type ZoneId: str
17870
- :param _PageId: 自定义页面 ID。
18187
+ :param _PageId: 自定义响应页面 ID。
17871
18188
  :type PageId: str
17872
18189
  """
17873
18190
  self._ZoneId = None
@@ -17886,7 +18203,7 @@ class DeleteCustomErrorPageRequest(AbstractModel):
17886
18203
 
17887
18204
  @property
17888
18205
  def PageId(self):
17889
- r"""自定义页面 ID。
18206
+ r"""自定义响应页面 ID。
17890
18207
  :rtype: str
17891
18208
  """
17892
18209
  return self._PageId
@@ -21780,17 +22097,13 @@ class DescribeCustomErrorPagesRequest(AbstractModel):
21780
22097
 
21781
22098
  def __init__(self):
21782
22099
  r"""
21783
- :param _ZoneId: 站点 ID。
22100
+ :param _ZoneId: <p>站点 ID。</p>
21784
22101
  :type ZoneId: str
21785
- :param _Filters: 过滤条件,Filters.Values 的上限为20,详细的过滤条件Name值如下:
21786
- <li>page-id: 按照页面 ID 进行过滤;</li>
21787
- <li>name: 按照页面名称进行过滤;</li>
21788
- <li>description:按照页面描述过滤;</li>
21789
- <li>content-type:按照页面类型过滤。</li>
22102
+ :param _Filters: <p>过滤条件,Filters.Values 的上限为 20,详细的过滤条件Name值如下:<li>page-id: 按照页面 ID 进行过滤;</li><li>name: 按照页面名称进行过滤;</li><li>description:按照页面描述过滤;</li><li>content-type:按照页面类型过滤。</li></p>
21790
22103
  :type Filters: list of AdvancedFilter
21791
- :param _Offset: 分页查询偏移量。默认值:0。
22104
+ :param _Offset: <p>分页查询偏移量。默认值:0。</p>
21792
22105
  :type Offset: int
21793
- :param _Limit: 分页查询限制数目。默认值:20,最大值:1000。
22106
+ :param _Limit: <p>分页查询限制数目。默认值:20,最大值:1000。</p>
21794
22107
  :type Limit: int
21795
22108
  """
21796
22109
  self._ZoneId = None
@@ -21800,7 +22113,7 @@ class DescribeCustomErrorPagesRequest(AbstractModel):
21800
22113
 
21801
22114
  @property
21802
22115
  def ZoneId(self):
21803
- r"""站点 ID。
22116
+ r"""<p>站点 ID。</p>
21804
22117
  :rtype: str
21805
22118
  """
21806
22119
  return self._ZoneId
@@ -21811,11 +22124,7 @@ class DescribeCustomErrorPagesRequest(AbstractModel):
21811
22124
 
21812
22125
  @property
21813
22126
  def Filters(self):
21814
- r"""过滤条件,Filters.Values 的上限为20,详细的过滤条件Name值如下:
21815
- <li>page-id: 按照页面 ID 进行过滤;</li>
21816
- <li>name: 按照页面名称进行过滤;</li>
21817
- <li>description:按照页面描述过滤;</li>
21818
- <li>content-type:按照页面类型过滤。</li>
22127
+ r"""<p>过滤条件,Filters.Values 的上限为 20,详细的过滤条件Name值如下:<li>page-id: 按照页面 ID 进行过滤;</li><li>name: 按照页面名称进行过滤;</li><li>description:按照页面描述过滤;</li><li>content-type:按照页面类型过滤。</li></p>
21819
22128
  :rtype: list of AdvancedFilter
21820
22129
  """
21821
22130
  return self._Filters
@@ -21826,7 +22135,7 @@ class DescribeCustomErrorPagesRequest(AbstractModel):
21826
22135
 
21827
22136
  @property
21828
22137
  def Offset(self):
21829
- r"""分页查询偏移量。默认值:0。
22138
+ r"""<p>分页查询偏移量。默认值:0。</p>
21830
22139
  :rtype: int
21831
22140
  """
21832
22141
  return self._Offset
@@ -21837,7 +22146,7 @@ class DescribeCustomErrorPagesRequest(AbstractModel):
21837
22146
 
21838
22147
  @property
21839
22148
  def Limit(self):
21840
- r"""分页查询限制数目。默认值:20,最大值:1000。
22149
+ r"""<p>分页查询限制数目。默认值:20,最大值:1000。</p>
21841
22150
  :rtype: int
21842
22151
  """
21843
22152
  return self._Limit
@@ -21874,9 +22183,9 @@ class DescribeCustomErrorPagesResponse(AbstractModel):
21874
22183
 
21875
22184
  def __init__(self):
21876
22185
  r"""
21877
- :param _TotalCount: 自定义错误页面总数。
22186
+ :param _TotalCount: <p>自定义响应页面总数。</p>
21878
22187
  :type TotalCount: int
21879
- :param _ErrorPages: 自定义错误页面数据列表。
22188
+ :param _ErrorPages: <p>自定义响应页面数据列表。</p>
21880
22189
  :type ErrorPages: list of CustomErrorPage
21881
22190
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
21882
22191
  :type RequestId: str
@@ -21887,7 +22196,7 @@ class DescribeCustomErrorPagesResponse(AbstractModel):
21887
22196
 
21888
22197
  @property
21889
22198
  def TotalCount(self):
21890
- r"""自定义错误页面总数。
22199
+ r"""<p>自定义响应页面总数。</p>
21891
22200
  :rtype: int
21892
22201
  """
21893
22202
  return self._TotalCount
@@ -21898,7 +22207,7 @@ class DescribeCustomErrorPagesResponse(AbstractModel):
21898
22207
 
21899
22208
  @property
21900
22209
  def ErrorPages(self):
21901
- r"""自定义错误页面数据列表。
22210
+ r"""<p>自定义响应页面数据列表。</p>
21902
22211
  :rtype: list of CustomErrorPage
21903
22212
  """
21904
22213
  return self._ErrorPages
@@ -61164,30 +61473,38 @@ class RuleEngineItem(AbstractModel):
61164
61473
 
61165
61474
  def __init__(self):
61166
61475
  r"""
61167
- :param _Status: 规则状态。取值有:<li> enable: 启用; </li><li> disable: 未启用。</li>
61476
+ :param _Status: <p>规则状态。取值有:<li> enable: 启用; </li><li> disable: 未启用。</li></p>
61168
61477
  :type Status: str
61169
- :param _RuleId: 规则 ID。规则的唯一性标识,当调用 ModifyL7AccRules 时,该参数必填。
61478
+ :param _RuleId: <p>规则 ID。规则的唯一性标识,当调用 ModifyL7AccRule 时,该参数必填。</p>
61170
61479
  :type RuleId: str
61171
- :param _RuleName: 规则名称。名称长度限制不超过 255 个字符。
61480
+ :param _RuleName: <p>规则名称。名称长度限制不超过 255 个字符。</p>
61172
61481
  :type RuleName: str
61173
- :param _Description: 规则注释。可以填写多个注释。
61482
+ :param _Description: <p>规则注释。可以填写多个注释。</p>
61174
61483
  :type Description: list of str
61175
- :param _Branches: 子规则分支。此列表当前只支持填写一项规则,多填无效。
61484
+ :param _CustomVariables: <p>规则级自定义变量列表。CustomVariable.Name 需要使用 user.rule. 作为前缀。变量按照数组顺序依次初始化,InitialValue 支持引用站点级自定义变量,以及位于当前变量之前的规则级自定义变量,不支持引用当前变量自身或位于其后的规则级自定义变量。站点级自定义变量可通过 DescribeZoneCustomVariables 接口查询。当 Branches 为空时 CustomVariable 不允许填写,填写无效。</p>
61485
+ 注意:此字段可能返回 null,表示取不到有效值。
61486
+ :type CustomVariables: list of CustomVariable
61487
+ :param _CustomVariableOperations: <p>规则级自定义变量运算详情。运算中支持引用站点级自定义变量和当前规则已定义的规则级自定义变量。站点级自定义变量可通过 DescribeZoneCustomVariables 接口查询。此列表当前只支持填写一项规则,多填无效。当 Branches 为空时 CustomVariableOperations 不允许填写,填写无效。</p>
61488
+ 注意:此字段可能返回 null,表示取不到有效值。
61489
+ :type CustomVariableOperations: list of CustomVariableOperation
61490
+ :param _Branches: <p>子规则分支。此列表当前只支持填写一项规则,多填无效。</p>
61176
61491
  注意:此字段可能返回 null,表示取不到有效值。
61177
61492
  :type Branches: list of RuleBranch
61178
- :param _RulePriority: 规则优先级。仅作为出参使用。
61493
+ :param _RulePriority: <p>规则优先级。仅作为出参使用。</p>
61179
61494
  :type RulePriority: int
61180
61495
  """
61181
61496
  self._Status = None
61182
61497
  self._RuleId = None
61183
61498
  self._RuleName = None
61184
61499
  self._Description = None
61500
+ self._CustomVariables = None
61501
+ self._CustomVariableOperations = None
61185
61502
  self._Branches = None
61186
61503
  self._RulePriority = None
61187
61504
 
61188
61505
  @property
61189
61506
  def Status(self):
61190
- r"""规则状态。取值有:<li> enable: 启用; </li><li> disable: 未启用。</li>
61507
+ r"""<p>规则状态。取值有:<li> enable: 启用; </li><li> disable: 未启用。</li></p>
61191
61508
  :rtype: str
61192
61509
  """
61193
61510
  return self._Status
@@ -61198,7 +61515,7 @@ class RuleEngineItem(AbstractModel):
61198
61515
 
61199
61516
  @property
61200
61517
  def RuleId(self):
61201
- r"""规则 ID。规则的唯一性标识,当调用 ModifyL7AccRules 时,该参数必填。
61518
+ r"""<p>规则 ID。规则的唯一性标识,当调用 ModifyL7AccRule 时,该参数必填。</p>
61202
61519
  :rtype: str
61203
61520
  """
61204
61521
  return self._RuleId
@@ -61209,7 +61526,7 @@ class RuleEngineItem(AbstractModel):
61209
61526
 
61210
61527
  @property
61211
61528
  def RuleName(self):
61212
- r"""规则名称。名称长度限制不超过 255 个字符。
61529
+ r"""<p>规则名称。名称长度限制不超过 255 个字符。</p>
61213
61530
  :rtype: str
61214
61531
  """
61215
61532
  return self._RuleName
@@ -61220,7 +61537,7 @@ class RuleEngineItem(AbstractModel):
61220
61537
 
61221
61538
  @property
61222
61539
  def Description(self):
61223
- r"""规则注释。可以填写多个注释。
61540
+ r"""<p>规则注释。可以填写多个注释。</p>
61224
61541
  :rtype: list of str
61225
61542
  """
61226
61543
  return self._Description
@@ -61229,9 +61546,33 @@ class RuleEngineItem(AbstractModel):
61229
61546
  def Description(self, Description):
61230
61547
  self._Description = Description
61231
61548
 
61549
+ @property
61550
+ def CustomVariables(self):
61551
+ r"""<p>规则级自定义变量列表。CustomVariable.Name 需要使用 user.rule. 作为前缀。变量按照数组顺序依次初始化,InitialValue 支持引用站点级自定义变量,以及位于当前变量之前的规则级自定义变量,不支持引用当前变量自身或位于其后的规则级自定义变量。站点级自定义变量可通过 DescribeZoneCustomVariables 接口查询。当 Branches 为空时 CustomVariable 不允许填写,填写无效。</p>
61552
+ 注意:此字段可能返回 null,表示取不到有效值。
61553
+ :rtype: list of CustomVariable
61554
+ """
61555
+ return self._CustomVariables
61556
+
61557
+ @CustomVariables.setter
61558
+ def CustomVariables(self, CustomVariables):
61559
+ self._CustomVariables = CustomVariables
61560
+
61561
+ @property
61562
+ def CustomVariableOperations(self):
61563
+ r"""<p>规则级自定义变量运算详情。运算中支持引用站点级自定义变量和当前规则已定义的规则级自定义变量。站点级自定义变量可通过 DescribeZoneCustomVariables 接口查询。此列表当前只支持填写一项规则,多填无效。当 Branches 为空时 CustomVariableOperations 不允许填写,填写无效。</p>
61564
+ 注意:此字段可能返回 null,表示取不到有效值。
61565
+ :rtype: list of CustomVariableOperation
61566
+ """
61567
+ return self._CustomVariableOperations
61568
+
61569
+ @CustomVariableOperations.setter
61570
+ def CustomVariableOperations(self, CustomVariableOperations):
61571
+ self._CustomVariableOperations = CustomVariableOperations
61572
+
61232
61573
  @property
61233
61574
  def Branches(self):
61234
- r"""子规则分支。此列表当前只支持填写一项规则,多填无效。
61575
+ r"""<p>子规则分支。此列表当前只支持填写一项规则,多填无效。</p>
61235
61576
  注意:此字段可能返回 null,表示取不到有效值。
61236
61577
  :rtype: list of RuleBranch
61237
61578
  """
@@ -61243,7 +61584,7 @@ class RuleEngineItem(AbstractModel):
61243
61584
 
61244
61585
  @property
61245
61586
  def RulePriority(self):
61246
- r"""规则优先级。仅作为出参使用。
61587
+ r"""<p>规则优先级。仅作为出参使用。</p>
61247
61588
  :rtype: int
61248
61589
  """
61249
61590
  return self._RulePriority
@@ -61258,6 +61599,18 @@ class RuleEngineItem(AbstractModel):
61258
61599
  self._RuleId = params.get("RuleId")
61259
61600
  self._RuleName = params.get("RuleName")
61260
61601
  self._Description = params.get("Description")
61602
+ if params.get("CustomVariables") is not None:
61603
+ self._CustomVariables = []
61604
+ for item in params.get("CustomVariables"):
61605
+ obj = CustomVariable()
61606
+ obj._deserialize(item)
61607
+ self._CustomVariables.append(obj)
61608
+ if params.get("CustomVariableOperations") is not None:
61609
+ self._CustomVariableOperations = []
61610
+ for item in params.get("CustomVariableOperations"):
61611
+ obj = CustomVariableOperation()
61612
+ obj._deserialize(item)
61613
+ self._CustomVariableOperations.append(obj)
61261
61614
  if params.get("Branches") is not None:
61262
61615
  self._Branches = []
61263
61616
  for item in params.get("Branches"):
@@ -63337,6 +63690,57 @@ class SetContentIdentifierParameters(AbstractModel):
63337
63690
 
63338
63691
 
63339
63692
 
63693
+ class SetParameters(AbstractModel):
63694
+ r"""自定义变量设置参数。
63695
+
63696
+ """
63697
+
63698
+ def __init__(self):
63699
+ r"""
63700
+ :param _Name: <p>自定义变量名称。自定义变量必须先被定义才可进行运算。</p>
63701
+ :type Name: str
63702
+ :param _Value: <p>自定义变量赋值。支持使用常量字符串、变量以及公式,不支持中文。长度不能超过 1000 个字符。</p>
63703
+ :type Value: str
63704
+ """
63705
+ self._Name = None
63706
+ self._Value = None
63707
+
63708
+ @property
63709
+ def Name(self):
63710
+ r"""<p>自定义变量名称。自定义变量必须先被定义才可进行运算。</p>
63711
+ :rtype: str
63712
+ """
63713
+ return self._Name
63714
+
63715
+ @Name.setter
63716
+ def Name(self, Name):
63717
+ self._Name = Name
63718
+
63719
+ @property
63720
+ def Value(self):
63721
+ r"""<p>自定义变量赋值。支持使用常量字符串、变量以及公式,不支持中文。长度不能超过 1000 个字符。</p>
63722
+ :rtype: str
63723
+ """
63724
+ return self._Value
63725
+
63726
+ @Value.setter
63727
+ def Value(self, Value):
63728
+ self._Value = Value
63729
+
63730
+
63731
+ def _deserialize(self, params):
63732
+ self._Name = params.get("Name")
63733
+ self._Value = params.get("Value")
63734
+ memeber_set = set(params.keys())
63735
+ for name, value in vars(self).items():
63736
+ property_name = name[1:]
63737
+ if property_name in memeber_set:
63738
+ memeber_set.remove(property_name)
63739
+ if len(memeber_set) > 0:
63740
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
63741
+
63742
+
63743
+
63340
63744
  class SharedCNAMEInfo(AbstractModel):
63341
63745
  r"""共享CNAME明细
63342
63746
 
@@ -1260,7 +1260,7 @@ class TeoClient(AbstractClient):
1260
1260
 
1261
1261
 
1262
1262
  def DeleteCustomErrorPage(self, request):
1263
- r"""删除自定义错误页面。
1263
+ r"""删除自定义响应页面。
1264
1264
 
1265
1265
  :param request: Request instance for DeleteCustomErrorPage.
1266
1266
  :type request: :class:`tencentcloud.teo.v20220901.models.DeleteCustomErrorPageRequest`
@@ -1004,7 +1004,7 @@ class TeoClient(AbstractClient):
1004
1004
  opts: Dict = None,
1005
1005
  ) -> models.DeleteCustomErrorPageResponse:
1006
1006
  """
1007
- 删除自定义错误页面。
1007
+ 删除自定义响应页面。
1008
1008
  """
1009
1009
 
1010
1010
  kwargs = {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-teo
3
- Version: 3.1.175
3
+ Version: 3.1.177
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.175
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.177
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.177
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.175