tencentcloud-sdk-python 3.0.1382__py2.py3-none-any.whl → 3.0.1384__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/batch/v20170312/models.py +10 -2
- tencentcloud/cbs/v20170312/cbs_client.py +4 -6
- tencentcloud/cbs/v20170312/errorcodes.py +9 -0
- tencentcloud/cbs/v20170312/models.py +178 -119
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +44 -4
- tencentcloud/cdwdoris/v20211228/models.py +30 -0
- tencentcloud/cfs/v20190719/cfs_client.py +2 -2
- tencentcloud/cfs/v20190719/models.py +46 -48
- tencentcloud/cfw/v20190904/cfw_client.py +1 -1
- tencentcloud/cfw/v20190904/models.py +2 -2
- tencentcloud/cvm/v20170312/models.py +60 -40
- tencentcloud/cynosdb/v20190107/models.py +286 -4
- tencentcloud/dnspod/v20210323/dnspod_client.py +1 -1
- tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
- tencentcloud/dnspod/v20210323/models.py +104 -106
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +10 -12
- tencentcloud/emr/v20190103/models.py +15 -0
- tencentcloud/es/v20180416/models.py +87 -0
- tencentcloud/ess/v20201111/errorcodes.py +9 -0
- tencentcloud/ess/v20201111/ess_client.py +25 -0
- tencentcloud/ess/v20201111/models.py +237 -26
- tencentcloud/essbasic/v20210526/errorcodes.py +3 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
- tencentcloud/essbasic/v20210526/models.py +48 -6
- tencentcloud/gs/v20191118/models.py +30 -0
- tencentcloud/hai/v20230812/hai_client.py +9 -7
- tencentcloud/hai/v20230812/models.py +72 -84
- tencentcloud/lke/v20231130/models.py +700 -19
- tencentcloud/lkeap/v20240522/lkeap_client.py +23 -19
- tencentcloud/lkeap/v20240522/models.py +167 -144
- tencentcloud/mps/v20190612/models.py +324 -0
- tencentcloud/mrs/v20200910/models.py +52 -0
- tencentcloud/postgres/v20170312/errorcodes.py +0 -3
- tencentcloud/postgres/v20170312/models.py +0 -282
- tencentcloud/postgres/v20170312/postgres_client.py +0 -75
- tencentcloud/privatedns/v20201028/errorcodes.py +2 -2
- tencentcloud/privatedns/v20201028/models.py +12 -12
- tencentcloud/pts/v20210728/models.py +15 -0
- tencentcloud/ssl/v20191205/errorcodes.py +24 -0
- tencentcloud/ssl/v20191205/models.py +176 -6
- tencentcloud/tcbr/v20220217/models.py +0 -16
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/teo/v20220901/models.py +81 -13
- tencentcloud/teo/v20220901/teo_client.py +5 -0
- tencentcloud/tke/v20180525/errorcodes.py +18 -0
- tencentcloud/tke/v20180525/models.py +15 -184
- tencentcloud/tke/v20180525/tke_client.py +0 -23
- tencentcloud/tke/v20220501/models.py +115 -2
- tencentcloud/tms/v20201229/errorcodes.py +3 -0
- tencentcloud/tms/v20201229/models.py +36 -4
- tencentcloud/vpc/v20170312/errorcodes.py +15 -0
- tencentcloud/vpc/v20170312/models.py +18 -18
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- tencentcloud/waf/v20180125/models.py +120 -32
- {tencentcloud_sdk_python-3.0.1382.dist-info → tencentcloud_sdk_python-3.0.1384.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1382.dist-info → tencentcloud_sdk_python-3.0.1384.dist-info}/RECORD +62 -62
- {tencentcloud_sdk_python-3.0.1382.dist-info → tencentcloud_sdk_python-3.0.1384.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1382.dist-info → tencentcloud_sdk_python-3.0.1384.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1382.dist-info → tencentcloud_sdk_python-3.0.1384.dist-info}/top_level.txt +0 -0
@@ -10732,9 +10732,9 @@ class CreateFlowLogRequest(AbstractModel):
|
|
10732
10732
|
|
10733
10733
|
def __init__(self):
|
10734
10734
|
r"""
|
10735
|
-
:param _FlowLogName:
|
10735
|
+
:param _FlowLogName: 流日志实例名称。长度为不超过60个字符。
|
10736
10736
|
:type FlowLogName: str
|
10737
|
-
:param _ResourceType: 流日志所属资源类型,VPC
|
10737
|
+
:param _ResourceType: 流日志所属资源类型,VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。当选择VPC,SUBNET,CCN,DCG时,请通过工单加入白名单。
|
10738
10738
|
:type ResourceType: str
|
10739
10739
|
:param _ResourceId: 资源唯一ID。
|
10740
10740
|
:type ResourceId: str
|
@@ -10742,15 +10742,15 @@ class CreateFlowLogRequest(AbstractModel):
|
|
10742
10742
|
:type TrafficType: str
|
10743
10743
|
:param _VpcId: 私用网络唯一ID。当ResourceType为CCN时不填,其他类型必填。
|
10744
10744
|
:type VpcId: str
|
10745
|
-
:param _FlowLogDescription:
|
10745
|
+
:param _FlowLogDescription: 流日志实例描述。长度不超过512个字符。
|
10746
10746
|
:type FlowLogDescription: str
|
10747
10747
|
:param _CloudLogId: 流日志存储ID(cls的日志主题ID,
|
10748
|
-
可通过[DescribeTopics](https://cloud.tencent.com/document/
|
10748
|
+
可通过[DescribeTopics](https://cloud.tencent.com/document/product/614/56454)接口获取。
|
10749
10749
|
)。当StorageType为cls时,CloudLogId为必选。
|
10750
10750
|
:type CloudLogId: str
|
10751
10751
|
:param _Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
10752
10752
|
:type Tags: list of Tag
|
10753
|
-
:param _StorageType: 消费端类型:cls、ckafka。默认值cls。当选择
|
10753
|
+
:param _StorageType: 消费端类型:cls、ckafka。默认值cls。当选择ckafka时,请通过工单加入白名单。
|
10754
10754
|
:type StorageType: str
|
10755
10755
|
:param _FlowLogStorage: 流日志消费端信息,当消费端类型为ckafka时,必填。
|
10756
10756
|
:type FlowLogStorage: :class:`tencentcloud.vpc.v20170312.models.FlowLogStorage`
|
@@ -10771,7 +10771,7 @@ class CreateFlowLogRequest(AbstractModel):
|
|
10771
10771
|
|
10772
10772
|
@property
|
10773
10773
|
def FlowLogName(self):
|
10774
|
-
"""
|
10774
|
+
"""流日志实例名称。长度为不超过60个字符。
|
10775
10775
|
:rtype: str
|
10776
10776
|
"""
|
10777
10777
|
return self._FlowLogName
|
@@ -10782,7 +10782,7 @@ class CreateFlowLogRequest(AbstractModel):
|
|
10782
10782
|
|
10783
10783
|
@property
|
10784
10784
|
def ResourceType(self):
|
10785
|
-
"""流日志所属资源类型,VPC
|
10785
|
+
"""流日志所属资源类型,VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。当选择VPC,SUBNET,CCN,DCG时,请通过工单加入白名单。
|
10786
10786
|
:rtype: str
|
10787
10787
|
"""
|
10788
10788
|
return self._ResourceType
|
@@ -10826,7 +10826,7 @@ class CreateFlowLogRequest(AbstractModel):
|
|
10826
10826
|
|
10827
10827
|
@property
|
10828
10828
|
def FlowLogDescription(self):
|
10829
|
-
"""
|
10829
|
+
"""流日志实例描述。长度不超过512个字符。
|
10830
10830
|
:rtype: str
|
10831
10831
|
"""
|
10832
10832
|
return self._FlowLogDescription
|
@@ -10838,7 +10838,7 @@ class CreateFlowLogRequest(AbstractModel):
|
|
10838
10838
|
@property
|
10839
10839
|
def CloudLogId(self):
|
10840
10840
|
"""流日志存储ID(cls的日志主题ID,
|
10841
|
-
可通过[DescribeTopics](https://cloud.tencent.com/document/
|
10841
|
+
可通过[DescribeTopics](https://cloud.tencent.com/document/product/614/56454)接口获取。
|
10842
10842
|
)。当StorageType为cls时,CloudLogId为必选。
|
10843
10843
|
:rtype: str
|
10844
10844
|
"""
|
@@ -10861,7 +10861,7 @@ class CreateFlowLogRequest(AbstractModel):
|
|
10861
10861
|
|
10862
10862
|
@property
|
10863
10863
|
def StorageType(self):
|
10864
|
-
"""消费端类型:cls、ckafka。默认值cls。当选择
|
10864
|
+
"""消费端类型:cls、ckafka。默认值cls。当选择ckafka时,请通过工单加入白名单。
|
10865
10865
|
:rtype: str
|
10866
10866
|
"""
|
10867
10867
|
return self._StorageType
|
@@ -26468,9 +26468,9 @@ class DescribeFlowLogsRequest(AbstractModel):
|
|
26468
26468
|
:type VpcId: str
|
26469
26469
|
:param _FlowLogId: 流日志唯一ID。可通过[CreateFlowLog](https://cloud.tencent.com/document/product/215/35015)接口创建。
|
26470
26470
|
:type FlowLogId: str
|
26471
|
-
:param _FlowLogName:
|
26471
|
+
:param _FlowLogName: 流日志实例名称。长度不超过60个字符。
|
26472
26472
|
:type FlowLogName: str
|
26473
|
-
:param _ResourceType:
|
26473
|
+
:param _ResourceType: 流日志所属资源类型,VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。
|
26474
26474
|
|
26475
26475
|
:type ResourceType: str
|
26476
26476
|
:param _ResourceId: 资源唯一ID。
|
@@ -26535,7 +26535,7 @@ class DescribeFlowLogsRequest(AbstractModel):
|
|
26535
26535
|
|
26536
26536
|
@property
|
26537
26537
|
def FlowLogName(self):
|
26538
|
-
"""
|
26538
|
+
"""流日志实例名称。长度不超过60个字符。
|
26539
26539
|
:rtype: str
|
26540
26540
|
"""
|
26541
26541
|
return self._FlowLogName
|
@@ -26546,7 +26546,7 @@ class DescribeFlowLogsRequest(AbstractModel):
|
|
26546
26546
|
|
26547
26547
|
@property
|
26548
26548
|
def ResourceType(self):
|
26549
|
-
"""
|
26549
|
+
"""流日志所属资源类型,VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。
|
26550
26550
|
|
26551
26551
|
:rtype: str
|
26552
26552
|
"""
|
@@ -49104,9 +49104,9 @@ class ModifyFlowLogAttributeRequest(AbstractModel):
|
|
49104
49104
|
:type FlowLogId: str
|
49105
49105
|
:param _VpcId: 私用网络唯一ID。修改云联网流日志属性时可不填,其他流日志类型必填。
|
49106
49106
|
:type VpcId: str
|
49107
|
-
:param _FlowLogName:
|
49107
|
+
:param _FlowLogName: 流日志实例名称。长度为不超过60字符。
|
49108
49108
|
:type FlowLogName: str
|
49109
|
-
:param _FlowLogDescription: 流日志实例描述。长度为不超过512
|
49109
|
+
:param _FlowLogDescription: 流日志实例描述。长度为不超过512个字符。
|
49110
49110
|
:type FlowLogDescription: str
|
49111
49111
|
"""
|
49112
49112
|
self._FlowLogId = None
|
@@ -49138,7 +49138,7 @@ class ModifyFlowLogAttributeRequest(AbstractModel):
|
|
49138
49138
|
|
49139
49139
|
@property
|
49140
49140
|
def FlowLogName(self):
|
49141
|
-
"""
|
49141
|
+
"""流日志实例名称。长度为不超过60字符。
|
49142
49142
|
:rtype: str
|
49143
49143
|
"""
|
49144
49144
|
return self._FlowLogName
|
@@ -49149,7 +49149,7 @@ class ModifyFlowLogAttributeRequest(AbstractModel):
|
|
49149
49149
|
|
49150
49150
|
@property
|
49151
49151
|
def FlowLogDescription(self):
|
49152
|
-
"""流日志实例描述。长度为不超过512
|
49152
|
+
"""流日志实例描述。长度为不超过512个字符。
|
49153
49153
|
:rtype: str
|
49154
49154
|
"""
|
49155
49155
|
return self._FlowLogDescription
|
@@ -4419,7 +4419,7 @@ class VpcClient(AbstractClient):
|
|
4419
4419
|
def DescribeInstanceJumbo(self, request):
|
4420
4420
|
"""本接口用于检查云服务器是否支持巨帧。
|
4421
4421
|
使用限制:
|
4422
|
-
1. 需要CAM策略授权该接口的操作权限,并且授权对应实例的读取权限(该接口会访问CVM实例,所以会校验是否有实例的CAM权限)。例如:CAM action放通vpc:DescribeInstanceJumbo;
|
4422
|
+
1. 需要CAM策略授权该接口的操作权限,并且授权对应实例的读取权限(该接口会访问CVM实例,所以会校验是否有实例的CAM权限)。例如:CAM action放通vpc:DescribeInstanceJumbo;resource放通qcs::cvm:ap-guangzhou:uin/2126195383:instance/*。
|
4423
4423
|
2. 实例迁移前后,可能会出现该接口返回的巨帧状态前后不一致(需要检查迁移前后实例所在的宿主机是否都支持巨帧,一种可能的原因为实例迁移到了不支持巨帧的宿主机)。
|
4424
4424
|
|
4425
4425
|
:param request: Request instance for DescribeInstanceJumbo.
|
@@ -1751,6 +1751,8 @@ class AddCustomWhiteRuleRequest(AbstractModel):
|
|
1751
1751
|
:type JobType: str
|
1752
1752
|
:param _JobDateTime: 定时任务配置
|
1753
1753
|
:type JobDateTime: :class:`tencentcloud.waf.v20180125.models.JobDateTime`
|
1754
|
+
:param _LogicalOp: 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
1755
|
+
:type LogicalOp: str
|
1754
1756
|
"""
|
1755
1757
|
self._Name = None
|
1756
1758
|
self._SortId = None
|
@@ -1760,6 +1762,7 @@ class AddCustomWhiteRuleRequest(AbstractModel):
|
|
1760
1762
|
self._ExpireTime = None
|
1761
1763
|
self._JobType = None
|
1762
1764
|
self._JobDateTime = None
|
1765
|
+
self._LogicalOp = None
|
1763
1766
|
|
1764
1767
|
@property
|
1765
1768
|
def Name(self):
|
@@ -1849,6 +1852,17 @@ class AddCustomWhiteRuleRequest(AbstractModel):
|
|
1849
1852
|
def JobDateTime(self, JobDateTime):
|
1850
1853
|
self._JobDateTime = JobDateTime
|
1851
1854
|
|
1855
|
+
@property
|
1856
|
+
def LogicalOp(self):
|
1857
|
+
"""匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
1858
|
+
:rtype: str
|
1859
|
+
"""
|
1860
|
+
return self._LogicalOp
|
1861
|
+
|
1862
|
+
@LogicalOp.setter
|
1863
|
+
def LogicalOp(self, LogicalOp):
|
1864
|
+
self._LogicalOp = LogicalOp
|
1865
|
+
|
1852
1866
|
|
1853
1867
|
def _deserialize(self, params):
|
1854
1868
|
self._Name = params.get("Name")
|
@@ -1866,6 +1880,7 @@ class AddCustomWhiteRuleRequest(AbstractModel):
|
|
1866
1880
|
if params.get("JobDateTime") is not None:
|
1867
1881
|
self._JobDateTime = JobDateTime()
|
1868
1882
|
self._JobDateTime._deserialize(params.get("JobDateTime"))
|
1883
|
+
self._LogicalOp = params.get("LogicalOp")
|
1869
1884
|
memeber_set = set(params.keys())
|
1870
1885
|
for name, value in vars(self).items():
|
1871
1886
|
property_name = name[1:]
|
@@ -6521,6 +6536,10 @@ class CCRuleItems(AbstractModel):
|
|
6521
6536
|
:type CreateTime: int
|
6522
6537
|
:param _LimitMethod: 限频方式
|
6523
6538
|
:type LimitMethod: str
|
6539
|
+
:param _CelRule: cel表达式
|
6540
|
+
:type CelRule: str
|
6541
|
+
:param _LogicalOp: 逻辑操作符
|
6542
|
+
:type LogicalOp: str
|
6524
6543
|
"""
|
6525
6544
|
self._Name = None
|
6526
6545
|
self._Status = None
|
@@ -6539,6 +6558,8 @@ class CCRuleItems(AbstractModel):
|
|
6539
6558
|
self._SessionApplied = None
|
6540
6559
|
self._CreateTime = None
|
6541
6560
|
self._LimitMethod = None
|
6561
|
+
self._CelRule = None
|
6562
|
+
self._LogicalOp = None
|
6542
6563
|
|
6543
6564
|
@property
|
6544
6565
|
def Name(self):
|
@@ -6727,6 +6748,28 @@ class CCRuleItems(AbstractModel):
|
|
6727
6748
|
def LimitMethod(self, LimitMethod):
|
6728
6749
|
self._LimitMethod = LimitMethod
|
6729
6750
|
|
6751
|
+
@property
|
6752
|
+
def CelRule(self):
|
6753
|
+
"""cel表达式
|
6754
|
+
:rtype: str
|
6755
|
+
"""
|
6756
|
+
return self._CelRule
|
6757
|
+
|
6758
|
+
@CelRule.setter
|
6759
|
+
def CelRule(self, CelRule):
|
6760
|
+
self._CelRule = CelRule
|
6761
|
+
|
6762
|
+
@property
|
6763
|
+
def LogicalOp(self):
|
6764
|
+
"""逻辑操作符
|
6765
|
+
:rtype: str
|
6766
|
+
"""
|
6767
|
+
return self._LogicalOp
|
6768
|
+
|
6769
|
+
@LogicalOp.setter
|
6770
|
+
def LogicalOp(self, LogicalOp):
|
6771
|
+
self._LogicalOp = LogicalOp
|
6772
|
+
|
6730
6773
|
|
6731
6774
|
def _deserialize(self, params):
|
6732
6775
|
self._Name = params.get("Name")
|
@@ -6746,6 +6789,8 @@ class CCRuleItems(AbstractModel):
|
|
6746
6789
|
self._SessionApplied = params.get("SessionApplied")
|
6747
6790
|
self._CreateTime = params.get("CreateTime")
|
6748
6791
|
self._LimitMethod = params.get("LimitMethod")
|
6792
|
+
self._CelRule = params.get("CelRule")
|
6793
|
+
self._LogicalOp = params.get("LogicalOp")
|
6749
6794
|
memeber_set = set(params.keys())
|
6750
6795
|
for name, value in vars(self).items():
|
6751
6796
|
property_name = name[1:]
|
@@ -9910,7 +9955,6 @@ class DeleteBotSceneUCBRuleResponse(AbstractModel):
|
|
9910
9955
|
def __init__(self):
|
9911
9956
|
r"""
|
9912
9957
|
:param _Data: 正常情况下为null
|
9913
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9914
9958
|
:type Data: str
|
9915
9959
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9916
9960
|
:type RequestId: str
|
@@ -9921,7 +9965,6 @@ class DeleteBotSceneUCBRuleResponse(AbstractModel):
|
|
9921
9965
|
@property
|
9922
9966
|
def Data(self):
|
9923
9967
|
"""正常情况下为null
|
9924
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9925
9968
|
:rtype: str
|
9926
9969
|
"""
|
9927
9970
|
return self._Data
|
@@ -32572,6 +32615,8 @@ class ModifyCustomWhiteRuleRequest(AbstractModel):
|
|
32572
32615
|
:type JobType: str
|
32573
32616
|
:param _JobDateTime: 定时任务配置
|
32574
32617
|
:type JobDateTime: :class:`tencentcloud.waf.v20180125.models.JobDateTime`
|
32618
|
+
:param _LogicalOp: 匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
32619
|
+
:type LogicalOp: str
|
32575
32620
|
"""
|
32576
32621
|
self._Domain = None
|
32577
32622
|
self._RuleId = None
|
@@ -32582,6 +32627,7 @@ class ModifyCustomWhiteRuleRequest(AbstractModel):
|
|
32582
32627
|
self._Strategies = None
|
32583
32628
|
self._JobType = None
|
32584
32629
|
self._JobDateTime = None
|
32630
|
+
self._LogicalOp = None
|
32585
32631
|
|
32586
32632
|
@property
|
32587
32633
|
def Domain(self):
|
@@ -32682,6 +32728,17 @@ class ModifyCustomWhiteRuleRequest(AbstractModel):
|
|
32682
32728
|
def JobDateTime(self, JobDateTime):
|
32683
32729
|
self._JobDateTime = JobDateTime
|
32684
32730
|
|
32731
|
+
@property
|
32732
|
+
def LogicalOp(self):
|
32733
|
+
"""匹配条件的逻辑关系,支持and、or,分别表示多个逻辑匹配条件是与、或的关系
|
32734
|
+
:rtype: str
|
32735
|
+
"""
|
32736
|
+
return self._LogicalOp
|
32737
|
+
|
32738
|
+
@LogicalOp.setter
|
32739
|
+
def LogicalOp(self, LogicalOp):
|
32740
|
+
self._LogicalOp = LogicalOp
|
32741
|
+
|
32685
32742
|
|
32686
32743
|
def _deserialize(self, params):
|
32687
32744
|
self._Domain = params.get("Domain")
|
@@ -32700,6 +32757,7 @@ class ModifyCustomWhiteRuleRequest(AbstractModel):
|
|
32700
32757
|
if params.get("JobDateTime") is not None:
|
32701
32758
|
self._JobDateTime = JobDateTime()
|
32702
32759
|
self._JobDateTime._deserialize(params.get("JobDateTime"))
|
32760
|
+
self._LogicalOp = params.get("LogicalOp")
|
32703
32761
|
memeber_set = set(params.keys())
|
32704
32762
|
for name, value in vars(self).items():
|
32705
32763
|
property_name = name[1:]
|
@@ -40773,16 +40831,16 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
40773
40831
|
:type Limit: str
|
40774
40832
|
:param _Interval: CC检测周期
|
40775
40833
|
:type Interval: str
|
40776
|
-
:param _Url: 检测Url
|
40777
|
-
:type Url: str
|
40778
|
-
:param _MatchFunc: 匹配方法,0表示等于,1表示前缀匹配,2表示包含,3表示不等于,6表示后缀匹配,7表示不包含
|
40779
|
-
:type MatchFunc: int
|
40780
40834
|
:param _ActionType: 动作,20表示观察,21表示人机识别,22表示拦截,23表示精准拦截,26表示精准人机识别,27表示JS校验
|
40781
40835
|
:type ActionType: str
|
40782
40836
|
:param _Priority: 优先级
|
40783
40837
|
:type Priority: int
|
40784
40838
|
:param _ValidTime: 动作有效时间
|
40785
40839
|
:type ValidTime: int
|
40840
|
+
:param _Url: 检测Url
|
40841
|
+
:type Url: str
|
40842
|
+
:param _MatchFunc: 匹配方法,0表示等于,1表示前缀匹配,2表示包含,3表示不等于,6表示后缀匹配,7表示不包含
|
40843
|
+
:type MatchFunc: int
|
40786
40844
|
:param _OptionsArr: CC的匹配条件JSON序列化的字符串,示例:[{\"key\":\"Method\",\"args\":[\"=R0VU\"],\"match\":\"0\",\"encodeflag\":true}] Key可选值为 Method、Post、Referer、Cookie、User-Agent、CustomHeader match可选值为,当Key为Method的时候可选值为0(等于)、3(不等于)。 Key为Post的时候可选值为0(等于)、3(不等于),Key为Cookie的时候可选值为0(等于)、2(包含),3(不等于)、7(不包含)、 当Key为Referer的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为Cookie的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为User-Agent的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为CustomHeader的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空)。 Key为IPLocation时,可选值为13(属于)、14(不属于)。args用来表示匹配内容,需要设置encodeflag为true,当Key为Post、Cookie、CustomHeader时,用等号=来分别串接Key和Value,并分别用Base64编码,类似YWJj=YWJj。当Key为Referer、User-Agent时,用等号=来串接Value,类似=YWJj。
|
40787
40845
|
:type OptionsArr: str
|
40788
40846
|
:param _Edition: waf版本,sparta-waf或者clb-waf
|
@@ -40801,6 +40859,10 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
40801
40859
|
:type Length: int
|
40802
40860
|
:param _LimitMethod: 限频方式
|
40803
40861
|
:type LimitMethod: str
|
40862
|
+
:param _CelRule: cel表达式
|
40863
|
+
:type CelRule: str
|
40864
|
+
:param _LogicalOp: 配置方式的逻辑操作符,and或者or
|
40865
|
+
:type LogicalOp: str
|
40804
40866
|
"""
|
40805
40867
|
self._Domain = None
|
40806
40868
|
self._Name = None
|
@@ -40808,11 +40870,11 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
40808
40870
|
self._Advance = None
|
40809
40871
|
self._Limit = None
|
40810
40872
|
self._Interval = None
|
40811
|
-
self._Url = None
|
40812
|
-
self._MatchFunc = None
|
40813
40873
|
self._ActionType = None
|
40814
40874
|
self._Priority = None
|
40815
40875
|
self._ValidTime = None
|
40876
|
+
self._Url = None
|
40877
|
+
self._MatchFunc = None
|
40816
40878
|
self._OptionsArr = None
|
40817
40879
|
self._Edition = None
|
40818
40880
|
self._Type = None
|
@@ -40822,6 +40884,8 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
40822
40884
|
self._CreateTime = None
|
40823
40885
|
self._Length = None
|
40824
40886
|
self._LimitMethod = None
|
40887
|
+
self._CelRule = None
|
40888
|
+
self._LogicalOp = None
|
40825
40889
|
|
40826
40890
|
@property
|
40827
40891
|
def Domain(self):
|
@@ -40889,28 +40953,6 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
40889
40953
|
def Interval(self, Interval):
|
40890
40954
|
self._Interval = Interval
|
40891
40955
|
|
40892
|
-
@property
|
40893
|
-
def Url(self):
|
40894
|
-
"""检测Url
|
40895
|
-
:rtype: str
|
40896
|
-
"""
|
40897
|
-
return self._Url
|
40898
|
-
|
40899
|
-
@Url.setter
|
40900
|
-
def Url(self, Url):
|
40901
|
-
self._Url = Url
|
40902
|
-
|
40903
|
-
@property
|
40904
|
-
def MatchFunc(self):
|
40905
|
-
"""匹配方法,0表示等于,1表示前缀匹配,2表示包含,3表示不等于,6表示后缀匹配,7表示不包含
|
40906
|
-
:rtype: int
|
40907
|
-
"""
|
40908
|
-
return self._MatchFunc
|
40909
|
-
|
40910
|
-
@MatchFunc.setter
|
40911
|
-
def MatchFunc(self, MatchFunc):
|
40912
|
-
self._MatchFunc = MatchFunc
|
40913
|
-
|
40914
40956
|
@property
|
40915
40957
|
def ActionType(self):
|
40916
40958
|
"""动作,20表示观察,21表示人机识别,22表示拦截,23表示精准拦截,26表示精准人机识别,27表示JS校验
|
@@ -40944,6 +40986,28 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
40944
40986
|
def ValidTime(self, ValidTime):
|
40945
40987
|
self._ValidTime = ValidTime
|
40946
40988
|
|
40989
|
+
@property
|
40990
|
+
def Url(self):
|
40991
|
+
"""检测Url
|
40992
|
+
:rtype: str
|
40993
|
+
"""
|
40994
|
+
return self._Url
|
40995
|
+
|
40996
|
+
@Url.setter
|
40997
|
+
def Url(self, Url):
|
40998
|
+
self._Url = Url
|
40999
|
+
|
41000
|
+
@property
|
41001
|
+
def MatchFunc(self):
|
41002
|
+
"""匹配方法,0表示等于,1表示前缀匹配,2表示包含,3表示不等于,6表示后缀匹配,7表示不包含
|
41003
|
+
:rtype: int
|
41004
|
+
"""
|
41005
|
+
return self._MatchFunc
|
41006
|
+
|
41007
|
+
@MatchFunc.setter
|
41008
|
+
def MatchFunc(self, MatchFunc):
|
41009
|
+
self._MatchFunc = MatchFunc
|
41010
|
+
|
40947
41011
|
@property
|
40948
41012
|
def OptionsArr(self):
|
40949
41013
|
"""CC的匹配条件JSON序列化的字符串,示例:[{\"key\":\"Method\",\"args\":[\"=R0VU\"],\"match\":\"0\",\"encodeflag\":true}] Key可选值为 Method、Post、Referer、Cookie、User-Agent、CustomHeader match可选值为,当Key为Method的时候可选值为0(等于)、3(不等于)。 Key为Post的时候可选值为0(等于)、3(不等于),Key为Cookie的时候可选值为0(等于)、2(包含),3(不等于)、7(不包含)、 当Key为Referer的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为Cookie的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为User-Agent的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为CustomHeader的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空)。 Key为IPLocation时,可选值为13(属于)、14(不属于)。args用来表示匹配内容,需要设置encodeflag为true,当Key为Post、Cookie、CustomHeader时,用等号=来分别串接Key和Value,并分别用Base64编码,类似YWJj=YWJj。当Key为Referer、User-Agent时,用等号=来串接Value,类似=YWJj。
|
@@ -41043,6 +41107,28 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
41043
41107
|
def LimitMethod(self, LimitMethod):
|
41044
41108
|
self._LimitMethod = LimitMethod
|
41045
41109
|
|
41110
|
+
@property
|
41111
|
+
def CelRule(self):
|
41112
|
+
"""cel表达式
|
41113
|
+
:rtype: str
|
41114
|
+
"""
|
41115
|
+
return self._CelRule
|
41116
|
+
|
41117
|
+
@CelRule.setter
|
41118
|
+
def CelRule(self, CelRule):
|
41119
|
+
self._CelRule = CelRule
|
41120
|
+
|
41121
|
+
@property
|
41122
|
+
def LogicalOp(self):
|
41123
|
+
"""配置方式的逻辑操作符,and或者or
|
41124
|
+
:rtype: str
|
41125
|
+
"""
|
41126
|
+
return self._LogicalOp
|
41127
|
+
|
41128
|
+
@LogicalOp.setter
|
41129
|
+
def LogicalOp(self, LogicalOp):
|
41130
|
+
self._LogicalOp = LogicalOp
|
41131
|
+
|
41046
41132
|
|
41047
41133
|
def _deserialize(self, params):
|
41048
41134
|
self._Domain = params.get("Domain")
|
@@ -41051,11 +41137,11 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
41051
41137
|
self._Advance = params.get("Advance")
|
41052
41138
|
self._Limit = params.get("Limit")
|
41053
41139
|
self._Interval = params.get("Interval")
|
41054
|
-
self._Url = params.get("Url")
|
41055
|
-
self._MatchFunc = params.get("MatchFunc")
|
41056
41140
|
self._ActionType = params.get("ActionType")
|
41057
41141
|
self._Priority = params.get("Priority")
|
41058
41142
|
self._ValidTime = params.get("ValidTime")
|
41143
|
+
self._Url = params.get("Url")
|
41144
|
+
self._MatchFunc = params.get("MatchFunc")
|
41059
41145
|
self._OptionsArr = params.get("OptionsArr")
|
41060
41146
|
self._Edition = params.get("Edition")
|
41061
41147
|
self._Type = params.get("Type")
|
@@ -41065,6 +41151,8 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
41065
41151
|
self._CreateTime = params.get("CreateTime")
|
41066
41152
|
self._Length = params.get("Length")
|
41067
41153
|
self._LimitMethod = params.get("LimitMethod")
|
41154
|
+
self._CelRule = params.get("CelRule")
|
41155
|
+
self._LogicalOp = params.get("LogicalOp")
|
41068
41156
|
memeber_set = set(params.keys())
|
41069
41157
|
for name, value in vars(self).items():
|
41070
41158
|
property_name = name[1:]
|