tencentcloud-sdk-python-teo 3.1.175__tar.gz → 3.1.176__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.175 → tencentcloud_sdk_python_teo-3.1.176}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.176}/setup.py +1 -1
- {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.176}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.176}/tencentcloud/teo/v20220901/models.py +424 -12
- {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.176}/tencentcloud_sdk_python_teo.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_teo-3.1.176/tencentcloud_sdk_python_teo.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_teo-3.1.175/tencentcloud_sdk_python_teo.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.176}/README.rst +0 -0
- {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.176}/setup.cfg +0 -0
- {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.176}/tencentcloud/teo/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.176}/tencentcloud/teo/v20220106/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.176}/tencentcloud/teo/v20220106/errorcodes.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.176}/tencentcloud/teo/v20220106/models.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.176}/tencentcloud/teo/v20220106/teo_client.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.176}/tencentcloud/teo/v20220106/teo_client_async.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.176}/tencentcloud/teo/v20220901/__init__.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.176}/tencentcloud/teo/v20220901/errorcodes.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.176}/tencentcloud/teo/v20220901/teo_client.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.176}/tencentcloud/teo/v20220901/teo_client_async.py +0 -0
- {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.176}/tencentcloud_sdk_python_teo.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.176}/tencentcloud_sdk_python_teo.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_teo-3.1.175 → tencentcloud_sdk_python_teo-3.1.176}/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.176
|
|
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.176
|
|
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.176,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Teo SDK for Python',
|
|
@@ -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
|
|
|
@@ -61164,30 +61481,38 @@ class RuleEngineItem(AbstractModel):
|
|
|
61164
61481
|
|
|
61165
61482
|
def __init__(self):
|
|
61166
61483
|
r"""
|
|
61167
|
-
:param _Status:
|
|
61484
|
+
:param _Status: <p>规则状态。取值有:<li> enable: 启用; </li><li> disable: 未启用。</li></p>
|
|
61168
61485
|
:type Status: str
|
|
61169
|
-
:param _RuleId:
|
|
61486
|
+
:param _RuleId: <p>规则 ID。规则的唯一性标识,当调用 ModifyL7AccRule 时,该参数必填。</p>
|
|
61170
61487
|
:type RuleId: str
|
|
61171
|
-
:param _RuleName:
|
|
61488
|
+
:param _RuleName: <p>规则名称。名称长度限制不超过 255 个字符。</p>
|
|
61172
61489
|
:type RuleName: str
|
|
61173
|
-
:param _Description:
|
|
61490
|
+
:param _Description: <p>规则注释。可以填写多个注释。</p>
|
|
61174
61491
|
:type Description: list of str
|
|
61175
|
-
:param
|
|
61492
|
+
:param _CustomVariables: <p>规则级自定义变量列表。CustomVariable.Name 需要使用 user.rule. 作为前缀。变量按照数组顺序依次初始化,InitialValue 支持引用站点级自定义变量,以及位于当前变量之前的规则级自定义变量,不支持引用当前变量自身或位于其后的规则级自定义变量。站点级自定义变量可通过 DescribeZoneCustomVariables 接口查询。当 Branches 为空时 CustomVariable 不允许填写,填写无效。</p>
|
|
61493
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
61494
|
+
:type CustomVariables: list of CustomVariable
|
|
61495
|
+
:param _CustomVariableOperations: <p>规则级自定义变量运算详情。运算中支持引用站点级自定义变量和当前规则已定义的规则级自定义变量。站点级自定义变量可通过 DescribeZoneCustomVariables 接口查询。此列表当前只支持填写一项规则,多填无效。当 Branches 为空时 CustomVariableOperations 不允许填写,填写无效。</p>
|
|
61496
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
61497
|
+
:type CustomVariableOperations: list of CustomVariableOperation
|
|
61498
|
+
:param _Branches: <p>子规则分支。此列表当前只支持填写一项规则,多填无效。</p>
|
|
61176
61499
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
61177
61500
|
:type Branches: list of RuleBranch
|
|
61178
|
-
:param _RulePriority:
|
|
61501
|
+
:param _RulePriority: <p>规则优先级。仅作为出参使用。</p>
|
|
61179
61502
|
:type RulePriority: int
|
|
61180
61503
|
"""
|
|
61181
61504
|
self._Status = None
|
|
61182
61505
|
self._RuleId = None
|
|
61183
61506
|
self._RuleName = None
|
|
61184
61507
|
self._Description = None
|
|
61508
|
+
self._CustomVariables = None
|
|
61509
|
+
self._CustomVariableOperations = None
|
|
61185
61510
|
self._Branches = None
|
|
61186
61511
|
self._RulePriority = None
|
|
61187
61512
|
|
|
61188
61513
|
@property
|
|
61189
61514
|
def Status(self):
|
|
61190
|
-
r"""
|
|
61515
|
+
r"""<p>规则状态。取值有:<li> enable: 启用; </li><li> disable: 未启用。</li></p>
|
|
61191
61516
|
:rtype: str
|
|
61192
61517
|
"""
|
|
61193
61518
|
return self._Status
|
|
@@ -61198,7 +61523,7 @@ class RuleEngineItem(AbstractModel):
|
|
|
61198
61523
|
|
|
61199
61524
|
@property
|
|
61200
61525
|
def RuleId(self):
|
|
61201
|
-
r"""
|
|
61526
|
+
r"""<p>规则 ID。规则的唯一性标识,当调用 ModifyL7AccRule 时,该参数必填。</p>
|
|
61202
61527
|
:rtype: str
|
|
61203
61528
|
"""
|
|
61204
61529
|
return self._RuleId
|
|
@@ -61209,7 +61534,7 @@ class RuleEngineItem(AbstractModel):
|
|
|
61209
61534
|
|
|
61210
61535
|
@property
|
|
61211
61536
|
def RuleName(self):
|
|
61212
|
-
r"""
|
|
61537
|
+
r"""<p>规则名称。名称长度限制不超过 255 个字符。</p>
|
|
61213
61538
|
:rtype: str
|
|
61214
61539
|
"""
|
|
61215
61540
|
return self._RuleName
|
|
@@ -61220,7 +61545,7 @@ class RuleEngineItem(AbstractModel):
|
|
|
61220
61545
|
|
|
61221
61546
|
@property
|
|
61222
61547
|
def Description(self):
|
|
61223
|
-
r"""
|
|
61548
|
+
r"""<p>规则注释。可以填写多个注释。</p>
|
|
61224
61549
|
:rtype: list of str
|
|
61225
61550
|
"""
|
|
61226
61551
|
return self._Description
|
|
@@ -61229,9 +61554,33 @@ class RuleEngineItem(AbstractModel):
|
|
|
61229
61554
|
def Description(self, Description):
|
|
61230
61555
|
self._Description = Description
|
|
61231
61556
|
|
|
61557
|
+
@property
|
|
61558
|
+
def CustomVariables(self):
|
|
61559
|
+
r"""<p>规则级自定义变量列表。CustomVariable.Name 需要使用 user.rule. 作为前缀。变量按照数组顺序依次初始化,InitialValue 支持引用站点级自定义变量,以及位于当前变量之前的规则级自定义变量,不支持引用当前变量自身或位于其后的规则级自定义变量。站点级自定义变量可通过 DescribeZoneCustomVariables 接口查询。当 Branches 为空时 CustomVariable 不允许填写,填写无效。</p>
|
|
61560
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
61561
|
+
:rtype: list of CustomVariable
|
|
61562
|
+
"""
|
|
61563
|
+
return self._CustomVariables
|
|
61564
|
+
|
|
61565
|
+
@CustomVariables.setter
|
|
61566
|
+
def CustomVariables(self, CustomVariables):
|
|
61567
|
+
self._CustomVariables = CustomVariables
|
|
61568
|
+
|
|
61569
|
+
@property
|
|
61570
|
+
def CustomVariableOperations(self):
|
|
61571
|
+
r"""<p>规则级自定义变量运算详情。运算中支持引用站点级自定义变量和当前规则已定义的规则级自定义变量。站点级自定义变量可通过 DescribeZoneCustomVariables 接口查询。此列表当前只支持填写一项规则,多填无效。当 Branches 为空时 CustomVariableOperations 不允许填写,填写无效。</p>
|
|
61572
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
61573
|
+
:rtype: list of CustomVariableOperation
|
|
61574
|
+
"""
|
|
61575
|
+
return self._CustomVariableOperations
|
|
61576
|
+
|
|
61577
|
+
@CustomVariableOperations.setter
|
|
61578
|
+
def CustomVariableOperations(self, CustomVariableOperations):
|
|
61579
|
+
self._CustomVariableOperations = CustomVariableOperations
|
|
61580
|
+
|
|
61232
61581
|
@property
|
|
61233
61582
|
def Branches(self):
|
|
61234
|
-
r"""
|
|
61583
|
+
r"""<p>子规则分支。此列表当前只支持填写一项规则,多填无效。</p>
|
|
61235
61584
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
61236
61585
|
:rtype: list of RuleBranch
|
|
61237
61586
|
"""
|
|
@@ -61243,7 +61592,7 @@ class RuleEngineItem(AbstractModel):
|
|
|
61243
61592
|
|
|
61244
61593
|
@property
|
|
61245
61594
|
def RulePriority(self):
|
|
61246
|
-
r"""
|
|
61595
|
+
r"""<p>规则优先级。仅作为出参使用。</p>
|
|
61247
61596
|
:rtype: int
|
|
61248
61597
|
"""
|
|
61249
61598
|
return self._RulePriority
|
|
@@ -61258,6 +61607,18 @@ class RuleEngineItem(AbstractModel):
|
|
|
61258
61607
|
self._RuleId = params.get("RuleId")
|
|
61259
61608
|
self._RuleName = params.get("RuleName")
|
|
61260
61609
|
self._Description = params.get("Description")
|
|
61610
|
+
if params.get("CustomVariables") is not None:
|
|
61611
|
+
self._CustomVariables = []
|
|
61612
|
+
for item in params.get("CustomVariables"):
|
|
61613
|
+
obj = CustomVariable()
|
|
61614
|
+
obj._deserialize(item)
|
|
61615
|
+
self._CustomVariables.append(obj)
|
|
61616
|
+
if params.get("CustomVariableOperations") is not None:
|
|
61617
|
+
self._CustomVariableOperations = []
|
|
61618
|
+
for item in params.get("CustomVariableOperations"):
|
|
61619
|
+
obj = CustomVariableOperation()
|
|
61620
|
+
obj._deserialize(item)
|
|
61621
|
+
self._CustomVariableOperations.append(obj)
|
|
61261
61622
|
if params.get("Branches") is not None:
|
|
61262
61623
|
self._Branches = []
|
|
61263
61624
|
for item in params.get("Branches"):
|
|
@@ -63337,6 +63698,57 @@ class SetContentIdentifierParameters(AbstractModel):
|
|
|
63337
63698
|
|
|
63338
63699
|
|
|
63339
63700
|
|
|
63701
|
+
class SetParameters(AbstractModel):
|
|
63702
|
+
r"""自定义变量设置参数。
|
|
63703
|
+
|
|
63704
|
+
"""
|
|
63705
|
+
|
|
63706
|
+
def __init__(self):
|
|
63707
|
+
r"""
|
|
63708
|
+
:param _Name: <p>自定义变量名称。自定义变量必须先被定义才可进行运算。</p>
|
|
63709
|
+
:type Name: str
|
|
63710
|
+
:param _Value: <p>自定义变量赋值。支持使用常量字符串、变量以及公式,不支持中文。长度不能超过 1000 个字符。</p>
|
|
63711
|
+
:type Value: str
|
|
63712
|
+
"""
|
|
63713
|
+
self._Name = None
|
|
63714
|
+
self._Value = None
|
|
63715
|
+
|
|
63716
|
+
@property
|
|
63717
|
+
def Name(self):
|
|
63718
|
+
r"""<p>自定义变量名称。自定义变量必须先被定义才可进行运算。</p>
|
|
63719
|
+
:rtype: str
|
|
63720
|
+
"""
|
|
63721
|
+
return self._Name
|
|
63722
|
+
|
|
63723
|
+
@Name.setter
|
|
63724
|
+
def Name(self, Name):
|
|
63725
|
+
self._Name = Name
|
|
63726
|
+
|
|
63727
|
+
@property
|
|
63728
|
+
def Value(self):
|
|
63729
|
+
r"""<p>自定义变量赋值。支持使用常量字符串、变量以及公式,不支持中文。长度不能超过 1000 个字符。</p>
|
|
63730
|
+
:rtype: str
|
|
63731
|
+
"""
|
|
63732
|
+
return self._Value
|
|
63733
|
+
|
|
63734
|
+
@Value.setter
|
|
63735
|
+
def Value(self, Value):
|
|
63736
|
+
self._Value = Value
|
|
63737
|
+
|
|
63738
|
+
|
|
63739
|
+
def _deserialize(self, params):
|
|
63740
|
+
self._Name = params.get("Name")
|
|
63741
|
+
self._Value = params.get("Value")
|
|
63742
|
+
memeber_set = set(params.keys())
|
|
63743
|
+
for name, value in vars(self).items():
|
|
63744
|
+
property_name = name[1:]
|
|
63745
|
+
if property_name in memeber_set:
|
|
63746
|
+
memeber_set.remove(property_name)
|
|
63747
|
+
if len(memeber_set) > 0:
|
|
63748
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
63749
|
+
|
|
63750
|
+
|
|
63751
|
+
|
|
63340
63752
|
class SharedCNAMEInfo(AbstractModel):
|
|
63341
63753
|
r"""共享CNAME明细
|
|
63342
63754
|
|
|
@@ -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.176
|
|
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.176
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.176
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.175
|
|
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
|
|
File without changes
|
|
File without changes
|