tencentcloud-sdk-python 3.0.1383__py2.py3-none-any.whl → 3.0.1385__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 +12 -4
- tencentcloud/cbs/v20170312/cbs_client.py +1 -3
- tencentcloud/cbs/v20170312/models.py +104 -66
- tencentcloud/cdb/v20170320/models.py +24 -4
- tencentcloud/cdwdoris/v20211228/models.py +62 -2
- tencentcloud/clb/v20180317/models.py +10 -2
- tencentcloud/cls/v20201016/cls_client.py +2 -1
- tencentcloud/cls/v20201016/models.py +21 -2
- tencentcloud/cvm/v20170312/errorcodes.py +12 -3
- tencentcloud/cvm/v20170312/models.py +36 -34
- tencentcloud/cynosdb/v20190107/models.py +34 -8
- tencentcloud/dnspod/v20210323/dnspod_client.py +1 -1
- tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
- tencentcloud/dnspod/v20210323/models.py +104 -104
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +10 -12
- tencentcloud/dsgc/v20190723/dsgc_client.py +45 -15
- tencentcloud/dsgc/v20190723/models.py +24 -4
- tencentcloud/dts/v20180330/models.py +8 -0
- tencentcloud/es/v20180416/models.py +87 -0
- tencentcloud/ess/v20201111/ess_client.py +25 -0
- tencentcloud/ess/v20201111/models.py +185 -2
- tencentcloud/essbasic/v20210526/models.py +8 -0
- tencentcloud/goosefs/v20220519/goosefs_client.py +138 -0
- tencentcloud/goosefs/v20220519/models.py +861 -1
- tencentcloud/hai/v20230812/hai_client.py +1 -1
- tencentcloud/hai/v20230812/models.py +6 -6
- tencentcloud/iotexplorer/v20190423/models.py +19 -4
- tencentcloud/keewidb/v20220308/models.py +26 -2
- tencentcloud/lighthouse/v20200324/models.py +4 -0
- tencentcloud/lke/v20231130/lke_client.py +3 -3
- tencentcloud/lke/v20231130/models.py +29 -107
- 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 -338
- tencentcloud/postgres/v20170312/postgres_client.py +0 -50
- tencentcloud/privatedns/v20201028/models.py +4 -4
- tencentcloud/scf/v20180416/models.py +4 -4
- tencentcloud/sqlserver/v20180328/models.py +2 -2
- tencentcloud/ssl/v20191205/errorcodes.py +6 -0
- tencentcloud/ssl/v20191205/models.py +30 -0
- tencentcloud/tcbr/v20220217/models.py +0 -16
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/teo/v20220901/models.py +81 -13
- tencentcloud/tke/v20180525/errorcodes.py +18 -0
- tencentcloud/tke/v20220501/models.py +115 -2
- tencentcloud/trtc/v20190722/models.py +50 -2
- tencentcloud/tse/v20201207/errorcodes.py +3 -0
- tencentcloud/tse/v20201207/models.py +126 -0
- tencentcloud/vpc/v20170312/errorcodes.py +9 -0
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- tencentcloud/waf/v20180125/models.py +120 -32
- {tencentcloud_sdk_python-3.0.1383.dist-info → tencentcloud_sdk_python-3.0.1385.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1383.dist-info → tencentcloud_sdk_python-3.0.1385.dist-info}/RECORD +61 -61
- {tencentcloud_sdk_python-3.0.1383.dist-info → tencentcloud_sdk_python-3.0.1385.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1383.dist-info → tencentcloud_sdk_python-3.0.1385.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1383.dist-info → tencentcloud_sdk_python-3.0.1385.dist-info}/top_level.txt +0 -0
@@ -18968,6 +18968,9 @@ class GovernanceAlias(AbstractModel):
|
|
18968
18968
|
:type Id: str
|
18969
18969
|
:param _Editable: 该服务别名是否可以编辑
|
18970
18970
|
:type Editable: bool
|
18971
|
+
:param _Metadatas: 元数据信息
|
18972
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18973
|
+
:type Metadatas: list of Metadata
|
18971
18974
|
"""
|
18972
18975
|
self._Alias = None
|
18973
18976
|
self._AliasNamespace = None
|
@@ -18978,6 +18981,7 @@ class GovernanceAlias(AbstractModel):
|
|
18978
18981
|
self._ModifyTime = None
|
18979
18982
|
self._Id = None
|
18980
18983
|
self._Editable = None
|
18984
|
+
self._Metadatas = None
|
18981
18985
|
|
18982
18986
|
@property
|
18983
18987
|
def Alias(self):
|
@@ -19078,6 +19082,18 @@ class GovernanceAlias(AbstractModel):
|
|
19078
19082
|
def Editable(self, Editable):
|
19079
19083
|
self._Editable = Editable
|
19080
19084
|
|
19085
|
+
@property
|
19086
|
+
def Metadatas(self):
|
19087
|
+
"""元数据信息
|
19088
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
19089
|
+
:rtype: list of Metadata
|
19090
|
+
"""
|
19091
|
+
return self._Metadatas
|
19092
|
+
|
19093
|
+
@Metadatas.setter
|
19094
|
+
def Metadatas(self, Metadatas):
|
19095
|
+
self._Metadatas = Metadatas
|
19096
|
+
|
19081
19097
|
|
19082
19098
|
def _deserialize(self, params):
|
19083
19099
|
self._Alias = params.get("Alias")
|
@@ -19089,6 +19105,12 @@ class GovernanceAlias(AbstractModel):
|
|
19089
19105
|
self._ModifyTime = params.get("ModifyTime")
|
19090
19106
|
self._Id = params.get("Id")
|
19091
19107
|
self._Editable = params.get("Editable")
|
19108
|
+
if params.get("Metadatas") is not None:
|
19109
|
+
self._Metadatas = []
|
19110
|
+
for item in params.get("Metadatas"):
|
19111
|
+
obj = Metadata()
|
19112
|
+
obj._deserialize(item)
|
19113
|
+
self._Metadatas.append(obj)
|
19092
19114
|
memeber_set = set(params.keys())
|
19093
19115
|
for name, value in vars(self).items():
|
19094
19116
|
property_name = name[1:]
|
@@ -19995,6 +20017,9 @@ class GovernanceNamespace(AbstractModel):
|
|
19995
20017
|
:type ServiceExportTo: list of str
|
19996
20018
|
:param _SyncToGlobalRegistry: 是否开启同步到全局注册中心
|
19997
20019
|
:type SyncToGlobalRegistry: bool
|
20020
|
+
:param _Metadatas: 元数据
|
20021
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20022
|
+
:type Metadatas: list of Metadata
|
19998
20023
|
"""
|
19999
20024
|
self._Name = None
|
20000
20025
|
self._Comment = None
|
@@ -20011,6 +20036,7 @@ class GovernanceNamespace(AbstractModel):
|
|
20011
20036
|
self._RemoveGroupIds = None
|
20012
20037
|
self._ServiceExportTo = None
|
20013
20038
|
self._SyncToGlobalRegistry = None
|
20039
|
+
self._Metadatas = None
|
20014
20040
|
|
20015
20041
|
@property
|
20016
20042
|
def Name(self):
|
@@ -20177,6 +20203,18 @@ class GovernanceNamespace(AbstractModel):
|
|
20177
20203
|
def SyncToGlobalRegistry(self, SyncToGlobalRegistry):
|
20178
20204
|
self._SyncToGlobalRegistry = SyncToGlobalRegistry
|
20179
20205
|
|
20206
|
+
@property
|
20207
|
+
def Metadatas(self):
|
20208
|
+
"""元数据
|
20209
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20210
|
+
:rtype: list of Metadata
|
20211
|
+
"""
|
20212
|
+
return self._Metadatas
|
20213
|
+
|
20214
|
+
@Metadatas.setter
|
20215
|
+
def Metadatas(self, Metadatas):
|
20216
|
+
self._Metadatas = Metadatas
|
20217
|
+
|
20180
20218
|
|
20181
20219
|
def _deserialize(self, params):
|
20182
20220
|
self._Name = params.get("Name")
|
@@ -20194,6 +20232,12 @@ class GovernanceNamespace(AbstractModel):
|
|
20194
20232
|
self._RemoveGroupIds = params.get("RemoveGroupIds")
|
20195
20233
|
self._ServiceExportTo = params.get("ServiceExportTo")
|
20196
20234
|
self._SyncToGlobalRegistry = params.get("SyncToGlobalRegistry")
|
20235
|
+
if params.get("Metadatas") is not None:
|
20236
|
+
self._Metadatas = []
|
20237
|
+
for item in params.get("Metadatas"):
|
20238
|
+
obj = Metadata()
|
20239
|
+
obj._deserialize(item)
|
20240
|
+
self._Metadatas.append(obj)
|
20197
20241
|
memeber_set = set(params.keys())
|
20198
20242
|
for name, value in vars(self).items():
|
20199
20243
|
property_name = name[1:]
|
@@ -20691,6 +20735,9 @@ class GovernanceServiceContract(AbstractModel):
|
|
20691
20735
|
:type ModifyTime: str
|
20692
20736
|
:param _Interfaces: 契约接口列表
|
20693
20737
|
:type Interfaces: list of GovernanceInterfaceDescription
|
20738
|
+
:param _Metadatas: 元数据
|
20739
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20740
|
+
:type Metadatas: list of Metadata
|
20694
20741
|
"""
|
20695
20742
|
self._Name = None
|
20696
20743
|
self._Namespace = None
|
@@ -20703,6 +20750,7 @@ class GovernanceServiceContract(AbstractModel):
|
|
20703
20750
|
self._CreateTime = None
|
20704
20751
|
self._ModifyTime = None
|
20705
20752
|
self._Interfaces = None
|
20753
|
+
self._Metadatas = None
|
20706
20754
|
|
20707
20755
|
@property
|
20708
20756
|
def Name(self):
|
@@ -20825,6 +20873,18 @@ class GovernanceServiceContract(AbstractModel):
|
|
20825
20873
|
def Interfaces(self, Interfaces):
|
20826
20874
|
self._Interfaces = Interfaces
|
20827
20875
|
|
20876
|
+
@property
|
20877
|
+
def Metadatas(self):
|
20878
|
+
"""元数据
|
20879
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20880
|
+
:rtype: list of Metadata
|
20881
|
+
"""
|
20882
|
+
return self._Metadatas
|
20883
|
+
|
20884
|
+
@Metadatas.setter
|
20885
|
+
def Metadatas(self, Metadatas):
|
20886
|
+
self._Metadatas = Metadatas
|
20887
|
+
|
20828
20888
|
|
20829
20889
|
def _deserialize(self, params):
|
20830
20890
|
self._Name = params.get("Name")
|
@@ -20843,6 +20903,12 @@ class GovernanceServiceContract(AbstractModel):
|
|
20843
20903
|
obj = GovernanceInterfaceDescription()
|
20844
20904
|
obj._deserialize(item)
|
20845
20905
|
self._Interfaces.append(obj)
|
20906
|
+
if params.get("Metadatas") is not None:
|
20907
|
+
self._Metadatas = []
|
20908
|
+
for item in params.get("Metadatas"):
|
20909
|
+
obj = Metadata()
|
20910
|
+
obj._deserialize(item)
|
20911
|
+
self._Metadatas.append(obj)
|
20846
20912
|
memeber_set = set(params.keys())
|
20847
20913
|
for name, value in vars(self).items():
|
20848
20914
|
property_name = name[1:]
|
@@ -28470,6 +28536,14 @@ class SREInstance(AbstractModel):
|
|
28470
28536
|
:type ZookeeperRegionInfo: :class:`tencentcloud.tse.v20201207.models.ZookeeperRegionInfo`
|
28471
28537
|
:param _DeployMode: 部署架构
|
28472
28538
|
:type DeployMode: str
|
28539
|
+
:param _GlobalType: 全局属性
|
28540
|
+
:type GlobalType: str
|
28541
|
+
:param _GroupType: 所属组类型
|
28542
|
+
:type GroupType: str
|
28543
|
+
:param _GroupId: 组id
|
28544
|
+
:type GroupId: list of str
|
28545
|
+
:param _IsMainRegion: 是否为主地域
|
28546
|
+
:type IsMainRegion: bool
|
28473
28547
|
"""
|
28474
28548
|
self._InstanceId = None
|
28475
28549
|
self._Name = None
|
@@ -28507,6 +28581,10 @@ class SREInstance(AbstractModel):
|
|
28507
28581
|
self._StorageOption = None
|
28508
28582
|
self._ZookeeperRegionInfo = None
|
28509
28583
|
self._DeployMode = None
|
28584
|
+
self._GlobalType = None
|
28585
|
+
self._GroupType = None
|
28586
|
+
self._GroupId = None
|
28587
|
+
self._IsMainRegion = None
|
28510
28588
|
|
28511
28589
|
@property
|
28512
28590
|
def InstanceId(self):
|
@@ -28904,6 +28982,50 @@ class SREInstance(AbstractModel):
|
|
28904
28982
|
def DeployMode(self, DeployMode):
|
28905
28983
|
self._DeployMode = DeployMode
|
28906
28984
|
|
28985
|
+
@property
|
28986
|
+
def GlobalType(self):
|
28987
|
+
"""全局属性
|
28988
|
+
:rtype: str
|
28989
|
+
"""
|
28990
|
+
return self._GlobalType
|
28991
|
+
|
28992
|
+
@GlobalType.setter
|
28993
|
+
def GlobalType(self, GlobalType):
|
28994
|
+
self._GlobalType = GlobalType
|
28995
|
+
|
28996
|
+
@property
|
28997
|
+
def GroupType(self):
|
28998
|
+
"""所属组类型
|
28999
|
+
:rtype: str
|
29000
|
+
"""
|
29001
|
+
return self._GroupType
|
29002
|
+
|
29003
|
+
@GroupType.setter
|
29004
|
+
def GroupType(self, GroupType):
|
29005
|
+
self._GroupType = GroupType
|
29006
|
+
|
29007
|
+
@property
|
29008
|
+
def GroupId(self):
|
29009
|
+
"""组id
|
29010
|
+
:rtype: list of str
|
29011
|
+
"""
|
29012
|
+
return self._GroupId
|
29013
|
+
|
29014
|
+
@GroupId.setter
|
29015
|
+
def GroupId(self, GroupId):
|
29016
|
+
self._GroupId = GroupId
|
29017
|
+
|
29018
|
+
@property
|
29019
|
+
def IsMainRegion(self):
|
29020
|
+
"""是否为主地域
|
29021
|
+
:rtype: bool
|
29022
|
+
"""
|
29023
|
+
return self._IsMainRegion
|
29024
|
+
|
29025
|
+
@IsMainRegion.setter
|
29026
|
+
def IsMainRegion(self, IsMainRegion):
|
29027
|
+
self._IsMainRegion = IsMainRegion
|
29028
|
+
|
28907
29029
|
|
28908
29030
|
def _deserialize(self, params):
|
28909
29031
|
self._InstanceId = params.get("InstanceId")
|
@@ -28974,6 +29096,10 @@ class SREInstance(AbstractModel):
|
|
28974
29096
|
self._ZookeeperRegionInfo = ZookeeperRegionInfo()
|
28975
29097
|
self._ZookeeperRegionInfo._deserialize(params.get("ZookeeperRegionInfo"))
|
28976
29098
|
self._DeployMode = params.get("DeployMode")
|
29099
|
+
self._GlobalType = params.get("GlobalType")
|
29100
|
+
self._GroupType = params.get("GroupType")
|
29101
|
+
self._GroupId = params.get("GroupId")
|
29102
|
+
self._IsMainRegion = params.get("IsMainRegion")
|
28977
29103
|
memeber_set = set(params.keys())
|
28978
29104
|
for name, value in vars(self).items():
|
28979
29105
|
property_name = name[1:]
|
@@ -710,6 +710,9 @@ RESOURCEINUSE = 'ResourceInUse'
|
|
710
710
|
# 指定IP地址已经在使用中。
|
711
711
|
RESOURCEINUSE_ADDRESS = 'ResourceInUse.Address'
|
712
712
|
|
713
|
+
# 当前NAT实例已关联云防火墙,不可删除。
|
714
|
+
RESOURCEINUSE_NATUSEDBYCFW = 'ResourceInUse.NatUsedByCFW'
|
715
|
+
|
713
716
|
# 资源不足。
|
714
717
|
RESOURCEINSUFFICIENT = 'ResourceInsufficient'
|
715
718
|
|
@@ -857,6 +860,9 @@ UNSUPPORTEDOPERATION_CCNROUTETABLENOTEXIST = 'UnsupportedOperation.CcnRouteTable
|
|
857
860
|
# 流量计量类型云联网暂不支持跨境
|
858
861
|
UNSUPPORTEDOPERATION_CCNTRAFFICMETERINGUNABLECROSSBORDER = 'UnsupportedOperation.CcnTrafficMeteringUnableCrossBorder'
|
859
862
|
|
863
|
+
# 配置Cdc子网发布前需要先设置VPC属性CdcId。
|
864
|
+
UNSUPPORTEDOPERATION_CDCPUBLISHNEEDCDCID = 'UnsupportedOperation.CdcPublishNeedCdcId'
|
865
|
+
|
860
866
|
# CDC子网不支持创建非本地网关类型的路由。
|
861
867
|
UNSUPPORTEDOPERATION_CDCSUBNETNOTSUPPORTUNLOCALGATEWAY = 'UnsupportedOperation.CdcSubnetNotSupportUnLocalGateway'
|
862
868
|
|
@@ -1199,6 +1205,9 @@ UNSUPPORTEDOPERATION_SSLCLIENTCERTALREADYENABLEORCERTABNORMAL = 'UnsupportedOper
|
|
1199
1205
|
# SSL客户端状态不可用,不支持下载
|
1200
1206
|
UNSUPPORTEDOPERATION_SSLCLIENTCERTDISABLEUNSUPPORTEDDOWNLOADSSLCLIENTCERT = 'UnsupportedOperation.SSLClientCertDisableUnsupportedDownloadSSLClientCert'
|
1201
1207
|
|
1208
|
+
# 安全组展开后的规则已达到上限。
|
1209
|
+
UNSUPPORTEDOPERATION_SGNUMEXCEEDLIMIT = 'UnsupportedOperation.SgNumExceedLimit'
|
1210
|
+
|
1202
1211
|
# 实例已关联快照策略。
|
1203
1212
|
UNSUPPORTEDOPERATION_SNAPSHOTATTACHED = 'UnsupportedOperation.SnapshotAttached'
|
1204
1213
|
|
@@ -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:]
|