tencentcloud-sdk-python 3.0.1376__py2.py3-none-any.whl → 3.0.1377__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/apm/v20210622/models.py +30 -0
- tencentcloud/asr/v20190614/models.py +15 -0
- tencentcloud/bh/v20230418/models.py +317 -2
- tencentcloud/cdb/v20170320/cdb_client.py +0 -25
- tencentcloud/cdb/v20170320/models.py +0 -113
- tencentcloud/cfw/v20190904/models.py +17 -2
- tencentcloud/dsgc/v20190723/models.py +15 -0
- tencentcloud/ess/v20201111/ess_client.py +27 -0
- tencentcloud/ess/v20201111/models.py +186 -4
- tencentcloud/essbasic/v20210526/essbasic_client.py +27 -0
- tencentcloud/essbasic/v20210526/models.py +220 -4
- tencentcloud/gaap/v20180529/errorcodes.py +0 -33
- tencentcloud/gaap/v20180529/gaap_client.py +0 -75
- tencentcloud/gaap/v20180529/models.py +0 -653
- tencentcloud/hunyuan/v20230901/models.py +20 -8
- tencentcloud/iai/v20180301/models.py +44 -34
- tencentcloud/keewidb/v20220308/models.py +4 -0
- tencentcloud/lighthouse/v20200324/models.py +4 -4
- tencentcloud/postgres/v20170312/models.py +0 -6
- tencentcloud/redis/v20180412/models.py +48 -0
- tencentcloud/tcbr/v20220217/models.py +162 -0
- tencentcloud/tdmq/v20200217/models.py +6 -6
- tencentcloud/thpc/v20230321/models.py +2 -2
- tencentcloud/vpc/v20170312/models.py +20 -20
- tencentcloud/waf/v20180125/errorcodes.py +12 -0
- tencentcloud/waf/v20180125/models.py +246 -29
- tencentcloud/wedata/v20210820/models.py +2692 -154
- tencentcloud/wedata/v20210820/wedata_client.py +161 -0
- {tencentcloud_sdk_python-3.0.1376.dist-info → tencentcloud_sdk_python-3.0.1377.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1376.dist-info → tencentcloud_sdk_python-3.0.1377.dist-info}/RECORD +34 -34
- {tencentcloud_sdk_python-3.0.1376.dist-info → tencentcloud_sdk_python-3.0.1377.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1376.dist-info → tencentcloud_sdk_python-3.0.1377.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1376.dist-info → tencentcloud_sdk_python-3.0.1377.dist-info}/top_level.txt +0 -0
@@ -6519,6 +6519,8 @@ class CCRuleItems(AbstractModel):
|
|
6519
6519
|
:type SessionApplied: list of int
|
6520
6520
|
:param _CreateTime: 创建时间
|
6521
6521
|
:type CreateTime: int
|
6522
|
+
:param _LimitMethod: 限频方式
|
6523
|
+
:type LimitMethod: str
|
6522
6524
|
"""
|
6523
6525
|
self._Name = None
|
6524
6526
|
self._Status = None
|
@@ -6536,6 +6538,7 @@ class CCRuleItems(AbstractModel):
|
|
6536
6538
|
self._EventId = None
|
6537
6539
|
self._SessionApplied = None
|
6538
6540
|
self._CreateTime = None
|
6541
|
+
self._LimitMethod = None
|
6539
6542
|
|
6540
6543
|
@property
|
6541
6544
|
def Name(self):
|
@@ -6713,6 +6716,17 @@ class CCRuleItems(AbstractModel):
|
|
6713
6716
|
def CreateTime(self, CreateTime):
|
6714
6717
|
self._CreateTime = CreateTime
|
6715
6718
|
|
6719
|
+
@property
|
6720
|
+
def LimitMethod(self):
|
6721
|
+
"""限频方式
|
6722
|
+
:rtype: str
|
6723
|
+
"""
|
6724
|
+
return self._LimitMethod
|
6725
|
+
|
6726
|
+
@LimitMethod.setter
|
6727
|
+
def LimitMethod(self, LimitMethod):
|
6728
|
+
self._LimitMethod = LimitMethod
|
6729
|
+
|
6716
6730
|
|
6717
6731
|
def _deserialize(self, params):
|
6718
6732
|
self._Name = params.get("Name")
|
@@ -6731,6 +6745,7 @@ class CCRuleItems(AbstractModel):
|
|
6731
6745
|
self._EventId = params.get("EventId")
|
6732
6746
|
self._SessionApplied = params.get("SessionApplied")
|
6733
6747
|
self._CreateTime = params.get("CreateTime")
|
6748
|
+
self._LimitMethod = params.get("LimitMethod")
|
6734
6749
|
memeber_set = set(params.keys())
|
6735
6750
|
for name, value in vars(self).items():
|
6736
6751
|
property_name = name[1:]
|
@@ -7349,6 +7364,10 @@ class ClbObject(AbstractModel):
|
|
7349
7364
|
:type ObjectFlowMode: int
|
7350
7365
|
:param _NumericalVpcId: 数值形式的私有网络 ID
|
7351
7366
|
:type NumericalVpcId: int
|
7367
|
+
:param _ModifyTime: 修改时间
|
7368
|
+
:type ModifyTime: str
|
7369
|
+
:param _AddTime: 创建时间
|
7370
|
+
:type AddTime: str
|
7352
7371
|
"""
|
7353
7372
|
self._ObjectId = None
|
7354
7373
|
self._InstanceId = None
|
@@ -7373,6 +7392,8 @@ class ClbObject(AbstractModel):
|
|
7373
7392
|
self._ApiStatus = None
|
7374
7393
|
self._ObjectFlowMode = None
|
7375
7394
|
self._NumericalVpcId = None
|
7395
|
+
self._ModifyTime = None
|
7396
|
+
self._AddTime = None
|
7376
7397
|
|
7377
7398
|
@property
|
7378
7399
|
def ObjectId(self):
|
@@ -7627,6 +7648,28 @@ class ClbObject(AbstractModel):
|
|
7627
7648
|
def NumericalVpcId(self, NumericalVpcId):
|
7628
7649
|
self._NumericalVpcId = NumericalVpcId
|
7629
7650
|
|
7651
|
+
@property
|
7652
|
+
def ModifyTime(self):
|
7653
|
+
"""修改时间
|
7654
|
+
:rtype: str
|
7655
|
+
"""
|
7656
|
+
return self._ModifyTime
|
7657
|
+
|
7658
|
+
@ModifyTime.setter
|
7659
|
+
def ModifyTime(self, ModifyTime):
|
7660
|
+
self._ModifyTime = ModifyTime
|
7661
|
+
|
7662
|
+
@property
|
7663
|
+
def AddTime(self):
|
7664
|
+
"""创建时间
|
7665
|
+
:rtype: str
|
7666
|
+
"""
|
7667
|
+
return self._AddTime
|
7668
|
+
|
7669
|
+
@AddTime.setter
|
7670
|
+
def AddTime(self, AddTime):
|
7671
|
+
self._AddTime = AddTime
|
7672
|
+
|
7630
7673
|
|
7631
7674
|
def _deserialize(self, params):
|
7632
7675
|
self._ObjectId = params.get("ObjectId")
|
@@ -7652,6 +7695,8 @@ class ClbObject(AbstractModel):
|
|
7652
7695
|
self._ApiStatus = params.get("ApiStatus")
|
7653
7696
|
self._ObjectFlowMode = params.get("ObjectFlowMode")
|
7654
7697
|
self._NumericalVpcId = params.get("NumericalVpcId")
|
7698
|
+
self._ModifyTime = params.get("ModifyTime")
|
7699
|
+
self._AddTime = params.get("AddTime")
|
7655
7700
|
memeber_set = set(params.keys())
|
7656
7701
|
for name, value in vars(self).items():
|
7657
7702
|
property_name = name[1:]
|
@@ -8613,7 +8658,7 @@ class CreateHostRequest(AbstractModel):
|
|
8613
8658
|
|
8614
8659
|
def __init__(self):
|
8615
8660
|
r"""
|
8616
|
-
:param _Host:
|
8661
|
+
:param _Host: 防护域名配置信息。内网负载均衡器必须携带对应的NumericalVpcId。
|
8617
8662
|
:type Host: :class:`tencentcloud.waf.v20180125.models.HostRecord`
|
8618
8663
|
:param _InstanceID: 实例id
|
8619
8664
|
:type InstanceID: str
|
@@ -8623,7 +8668,7 @@ class CreateHostRequest(AbstractModel):
|
|
8623
8668
|
|
8624
8669
|
@property
|
8625
8670
|
def Host(self):
|
8626
|
-
"""
|
8671
|
+
"""防护域名配置信息。内网负载均衡器必须携带对应的NumericalVpcId。
|
8627
8672
|
:rtype: :class:`tencentcloud.waf.v20180125.models.HostRecord`
|
8628
8673
|
"""
|
8629
8674
|
return self._Host
|
@@ -13997,6 +14042,8 @@ class DescribeBotSceneListRequest(AbstractModel):
|
|
13997
14042
|
:type IsDefault: bool
|
13998
14043
|
:param _IsValid: 是否仅显示生效场景
|
13999
14044
|
:type IsValid: bool
|
14045
|
+
:param _SceneId: 要查询的场景id
|
14046
|
+
:type SceneId: str
|
14000
14047
|
"""
|
14001
14048
|
self._Domain = None
|
14002
14049
|
self._Limit = None
|
@@ -14005,6 +14052,7 @@ class DescribeBotSceneListRequest(AbstractModel):
|
|
14005
14052
|
self._SceneName = None
|
14006
14053
|
self._IsDefault = None
|
14007
14054
|
self._IsValid = None
|
14055
|
+
self._SceneId = None
|
14008
14056
|
|
14009
14057
|
@property
|
14010
14058
|
def Domain(self):
|
@@ -14083,6 +14131,17 @@ class DescribeBotSceneListRequest(AbstractModel):
|
|
14083
14131
|
def IsValid(self, IsValid):
|
14084
14132
|
self._IsValid = IsValid
|
14085
14133
|
|
14134
|
+
@property
|
14135
|
+
def SceneId(self):
|
14136
|
+
"""要查询的场景id
|
14137
|
+
:rtype: str
|
14138
|
+
"""
|
14139
|
+
return self._SceneId
|
14140
|
+
|
14141
|
+
@SceneId.setter
|
14142
|
+
def SceneId(self, SceneId):
|
14143
|
+
self._SceneId = SceneId
|
14144
|
+
|
14086
14145
|
|
14087
14146
|
def _deserialize(self, params):
|
14088
14147
|
self._Domain = params.get("Domain")
|
@@ -14092,6 +14151,7 @@ class DescribeBotSceneListRequest(AbstractModel):
|
|
14092
14151
|
self._SceneName = params.get("SceneName")
|
14093
14152
|
self._IsDefault = params.get("IsDefault")
|
14094
14153
|
self._IsValid = params.get("IsValid")
|
14154
|
+
self._SceneId = params.get("SceneId")
|
14095
14155
|
memeber_set = set(params.keys())
|
14096
14156
|
for name, value in vars(self).items():
|
14097
14157
|
property_name = name[1:]
|
@@ -14230,7 +14290,6 @@ class DescribeBotSceneOverviewResponse(AbstractModel):
|
|
14230
14290
|
:param _ValidSceneCount: 生效场景数
|
14231
14291
|
:type ValidSceneCount: int
|
14232
14292
|
:param _CurrentGlobalScene: 当前开启的、匹配范围为全局、优先级最高的场景
|
14233
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14234
14293
|
:type CurrentGlobalScene: :class:`tencentcloud.waf.v20180125.models.GlobalSceneInfo`
|
14235
14294
|
:param _CustomRuleNums: 自定义规则总数,不包括BOT白名单
|
14236
14295
|
:type CustomRuleNums: int
|
@@ -14280,7 +14339,6 @@ class DescribeBotSceneOverviewResponse(AbstractModel):
|
|
14280
14339
|
@property
|
14281
14340
|
def CurrentGlobalScene(self):
|
14282
14341
|
"""当前开启的、匹配范围为全局、优先级最高的场景
|
14283
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14284
14342
|
:rtype: :class:`tencentcloud.waf.v20180125.models.GlobalSceneInfo`
|
14285
14343
|
"""
|
14286
14344
|
return self._CurrentGlobalScene
|
@@ -14350,6 +14408,8 @@ class DescribeBotSceneUCBRuleRequest(AbstractModel):
|
|
14350
14408
|
:type TimerType: int
|
14351
14409
|
:param _ValidStatus: 0-全部 1-生效中 2-已过期
|
14352
14410
|
:type ValidStatus: int
|
14411
|
+
:param _RuleId: 规则id
|
14412
|
+
:type RuleId: str
|
14353
14413
|
"""
|
14354
14414
|
self._Domain = None
|
14355
14415
|
self._Skip = None
|
@@ -14361,6 +14421,7 @@ class DescribeBotSceneUCBRuleRequest(AbstractModel):
|
|
14361
14421
|
self._VersionFlag = None
|
14362
14422
|
self._TimerType = None
|
14363
14423
|
self._ValidStatus = None
|
14424
|
+
self._RuleId = None
|
14364
14425
|
|
14365
14426
|
@property
|
14366
14427
|
def Domain(self):
|
@@ -14472,6 +14533,17 @@ class DescribeBotSceneUCBRuleRequest(AbstractModel):
|
|
14472
14533
|
def ValidStatus(self, ValidStatus):
|
14473
14534
|
self._ValidStatus = ValidStatus
|
14474
14535
|
|
14536
|
+
@property
|
14537
|
+
def RuleId(self):
|
14538
|
+
"""规则id
|
14539
|
+
:rtype: str
|
14540
|
+
"""
|
14541
|
+
return self._RuleId
|
14542
|
+
|
14543
|
+
@RuleId.setter
|
14544
|
+
def RuleId(self, RuleId):
|
14545
|
+
self._RuleId = RuleId
|
14546
|
+
|
14475
14547
|
|
14476
14548
|
def _deserialize(self, params):
|
14477
14549
|
self._Domain = params.get("Domain")
|
@@ -14484,6 +14556,7 @@ class DescribeBotSceneUCBRuleRequest(AbstractModel):
|
|
14484
14556
|
self._VersionFlag = params.get("VersionFlag")
|
14485
14557
|
self._TimerType = params.get("TimerType")
|
14486
14558
|
self._ValidStatus = params.get("ValidStatus")
|
14559
|
+
self._RuleId = params.get("RuleId")
|
14487
14560
|
memeber_set = set(params.keys())
|
14488
14561
|
for name, value in vars(self).items():
|
14489
14562
|
property_name = name[1:]
|
@@ -14502,7 +14575,6 @@ class DescribeBotSceneUCBRuleResponse(AbstractModel):
|
|
14502
14575
|
def __init__(self):
|
14503
14576
|
r"""
|
14504
14577
|
:param _Data: 返回数据包
|
14505
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14506
14578
|
:type Data: :class:`tencentcloud.waf.v20180125.models.DescribeBotUCBRuleRsp`
|
14507
14579
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14508
14580
|
:type RequestId: str
|
@@ -14513,7 +14585,6 @@ class DescribeBotSceneUCBRuleResponse(AbstractModel):
|
|
14513
14585
|
@property
|
14514
14586
|
def Data(self):
|
14515
14587
|
"""返回数据包
|
14516
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14517
14588
|
:rtype: :class:`tencentcloud.waf.v20180125.models.DescribeBotUCBRuleRsp`
|
14518
14589
|
"""
|
14519
14590
|
return self._Data
|
@@ -15002,7 +15073,7 @@ class DescribeCertificateVerifyResultRequest(AbstractModel):
|
|
15002
15073
|
r"""
|
15003
15074
|
:param _Domain: 域名
|
15004
15075
|
:type Domain: str
|
15005
|
-
:param _CertType:
|
15076
|
+
:param _CertType: 证书类型,此参数和GmCertType不可同时为0。 0:不检测国际标准证书 1:证书来源为自有证书 2:证书来源为托管证书
|
15006
15077
|
:type CertType: int
|
15007
15078
|
:param _Certificate: CertType为1时,需要填充此参数,表示自有证书的证书链
|
15008
15079
|
:type Certificate: str
|
@@ -15010,7 +15081,7 @@ class DescribeCertificateVerifyResultRequest(AbstractModel):
|
|
15010
15081
|
:type CertID: str
|
15011
15082
|
:param _PrivateKey: CertType为1时,需要填充此参数,表示自有证书的私钥
|
15012
15083
|
:type PrivateKey: str
|
15013
|
-
:param _GmCertType:
|
15084
|
+
:param _GmCertType: 国密证书类型,此参数和CertType不可同时为0。0:不检测国密证书 1:证书来源为自有国密证书 2:证书来源为托管国密证书
|
15014
15085
|
:type GmCertType: int
|
15015
15086
|
:param _GmCert: GmCertType为1时,需要填充此参数,表示自有国密证书的证书链
|
15016
15087
|
:type GmCert: str
|
@@ -15048,7 +15119,7 @@ class DescribeCertificateVerifyResultRequest(AbstractModel):
|
|
15048
15119
|
|
15049
15120
|
@property
|
15050
15121
|
def CertType(self):
|
15051
|
-
"""
|
15122
|
+
"""证书类型,此参数和GmCertType不可同时为0。 0:不检测国际标准证书 1:证书来源为自有证书 2:证书来源为托管证书
|
15052
15123
|
:rtype: int
|
15053
15124
|
"""
|
15054
15125
|
return self._CertType
|
@@ -15092,7 +15163,7 @@ class DescribeCertificateVerifyResultRequest(AbstractModel):
|
|
15092
15163
|
|
15093
15164
|
@property
|
15094
15165
|
def GmCertType(self):
|
15095
|
-
"""
|
15166
|
+
"""国密证书类型,此参数和CertType不可同时为0。0:不检测国密证书 1:证书来源为自有国密证书 2:证书来源为托管国密证书
|
15096
15167
|
:rtype: int
|
15097
15168
|
"""
|
15098
15169
|
return self._GmCertType
|
@@ -18691,8 +18762,14 @@ class DescribeObjectsRequest(AbstractModel):
|
|
18691
18762
|
r"""
|
18692
18763
|
:param _Filters: 支持的过滤器: ObjectId: clb实例ID VIP: clb实例的公网IP InstanceId: waf实例ID Domain: 精准域名 Status: waf防护开关状态: 0关闭,1开启 ClsStatus: waf日志开关: 0关闭,1开启
|
18693
18764
|
:type Filters: list of FiltersItemNew
|
18765
|
+
:param _Order: 排序方式,支持asc或者desc
|
18766
|
+
:type Order: str
|
18767
|
+
:param _By: 根据哪个字段排序
|
18768
|
+
:type By: str
|
18694
18769
|
"""
|
18695
18770
|
self._Filters = None
|
18771
|
+
self._Order = None
|
18772
|
+
self._By = None
|
18696
18773
|
|
18697
18774
|
@property
|
18698
18775
|
def Filters(self):
|
@@ -18705,6 +18782,28 @@ class DescribeObjectsRequest(AbstractModel):
|
|
18705
18782
|
def Filters(self, Filters):
|
18706
18783
|
self._Filters = Filters
|
18707
18784
|
|
18785
|
+
@property
|
18786
|
+
def Order(self):
|
18787
|
+
"""排序方式,支持asc或者desc
|
18788
|
+
:rtype: str
|
18789
|
+
"""
|
18790
|
+
return self._Order
|
18791
|
+
|
18792
|
+
@Order.setter
|
18793
|
+
def Order(self, Order):
|
18794
|
+
self._Order = Order
|
18795
|
+
|
18796
|
+
@property
|
18797
|
+
def By(self):
|
18798
|
+
"""根据哪个字段排序
|
18799
|
+
:rtype: str
|
18800
|
+
"""
|
18801
|
+
return self._By
|
18802
|
+
|
18803
|
+
@By.setter
|
18804
|
+
def By(self, By):
|
18805
|
+
self._By = By
|
18806
|
+
|
18708
18807
|
|
18709
18808
|
def _deserialize(self, params):
|
18710
18809
|
if params.get("Filters") is not None:
|
@@ -18713,6 +18812,8 @@ class DescribeObjectsRequest(AbstractModel):
|
|
18713
18812
|
obj = FiltersItemNew()
|
18714
18813
|
obj._deserialize(item)
|
18715
18814
|
self._Filters.append(obj)
|
18815
|
+
self._Order = params.get("Order")
|
18816
|
+
self._By = params.get("By")
|
18716
18817
|
memeber_set = set(params.keys())
|
18717
18818
|
for name, value in vars(self).items():
|
18718
18819
|
property_name = name[1:]
|
@@ -27196,6 +27297,8 @@ class InOutputBotUCBRule(AbstractModel):
|
|
27196
27297
|
:type BlockPageId: int
|
27197
27298
|
:param _ActionList: 当Action=intercept时,此字段必填
|
27198
27299
|
:type ActionList: list of UCBActionProportion
|
27300
|
+
:param _DelayTime: 惩罚时间
|
27301
|
+
:type DelayTime: int
|
27199
27302
|
"""
|
27200
27303
|
self._Domain = None
|
27201
27304
|
self._Name = None
|
@@ -27220,6 +27323,7 @@ class InOutputBotUCBRule(AbstractModel):
|
|
27220
27323
|
self._ValidStatus = None
|
27221
27324
|
self._BlockPageId = None
|
27222
27325
|
self._ActionList = None
|
27326
|
+
self._DelayTime = None
|
27223
27327
|
|
27224
27328
|
@property
|
27225
27329
|
def Domain(self):
|
@@ -27474,6 +27578,17 @@ class InOutputBotUCBRule(AbstractModel):
|
|
27474
27578
|
def ActionList(self, ActionList):
|
27475
27579
|
self._ActionList = ActionList
|
27476
27580
|
|
27581
|
+
@property
|
27582
|
+
def DelayTime(self):
|
27583
|
+
"""惩罚时间
|
27584
|
+
:rtype: int
|
27585
|
+
"""
|
27586
|
+
return self._DelayTime
|
27587
|
+
|
27588
|
+
@DelayTime.setter
|
27589
|
+
def DelayTime(self, DelayTime):
|
27590
|
+
self._DelayTime = DelayTime
|
27591
|
+
|
27477
27592
|
|
27478
27593
|
def _deserialize(self, params):
|
27479
27594
|
self._Domain = params.get("Domain")
|
@@ -27511,6 +27626,7 @@ class InOutputBotUCBRule(AbstractModel):
|
|
27511
27626
|
obj = UCBActionProportion()
|
27512
27627
|
obj._deserialize(item)
|
27513
27628
|
self._ActionList.append(obj)
|
27629
|
+
self._DelayTime = params.get("DelayTime")
|
27514
27630
|
memeber_set = set(params.keys())
|
27515
27631
|
for name, value in vars(self).items():
|
27516
27632
|
property_name = name[1:]
|
@@ -27546,6 +27662,8 @@ class InOutputUCBRuleEntry(AbstractModel):
|
|
27546
27662
|
:type Areas: list of Area
|
27547
27663
|
:param _Lang: 语言环境
|
27548
27664
|
:type Lang: str
|
27665
|
+
:param _ParamCompareList: 参数匹配
|
27666
|
+
:type ParamCompareList: list of ParamCompareList
|
27549
27667
|
"""
|
27550
27668
|
self._Key = None
|
27551
27669
|
self._Op = None
|
@@ -27556,6 +27674,7 @@ class InOutputUCBRuleEntry(AbstractModel):
|
|
27556
27674
|
self._Name = None
|
27557
27675
|
self._Areas = None
|
27558
27676
|
self._Lang = None
|
27677
|
+
self._ParamCompareList = None
|
27559
27678
|
|
27560
27679
|
@property
|
27561
27680
|
def Key(self):
|
@@ -27656,6 +27775,17 @@ class InOutputUCBRuleEntry(AbstractModel):
|
|
27656
27775
|
def Lang(self, Lang):
|
27657
27776
|
self._Lang = Lang
|
27658
27777
|
|
27778
|
+
@property
|
27779
|
+
def ParamCompareList(self):
|
27780
|
+
"""参数匹配
|
27781
|
+
:rtype: list of ParamCompareList
|
27782
|
+
"""
|
27783
|
+
return self._ParamCompareList
|
27784
|
+
|
27785
|
+
@ParamCompareList.setter
|
27786
|
+
def ParamCompareList(self, ParamCompareList):
|
27787
|
+
self._ParamCompareList = ParamCompareList
|
27788
|
+
|
27659
27789
|
|
27660
27790
|
def _deserialize(self, params):
|
27661
27791
|
self._Key = params.get("Key")
|
@@ -27674,6 +27804,12 @@ class InOutputUCBRuleEntry(AbstractModel):
|
|
27674
27804
|
obj._deserialize(item)
|
27675
27805
|
self._Areas.append(obj)
|
27676
27806
|
self._Lang = params.get("Lang")
|
27807
|
+
if params.get("ParamCompareList") is not None:
|
27808
|
+
self._ParamCompareList = []
|
27809
|
+
for item in params.get("ParamCompareList"):
|
27810
|
+
obj = ParamCompareList()
|
27811
|
+
obj._deserialize(item)
|
27812
|
+
self._ParamCompareList.append(obj)
|
27677
27813
|
memeber_set = set(params.keys())
|
27678
27814
|
for name, value in vars(self).items():
|
27679
27815
|
property_name = name[1:]
|
@@ -29086,8 +29222,6 @@ class LoadBalancer(AbstractModel):
|
|
29086
29222
|
:type ListenerId: str
|
29087
29223
|
:param _ListenerName: 负载均衡监听器的名称
|
29088
29224
|
:type ListenerName: str
|
29089
|
-
:param _Vip: 负载均衡实例的IP
|
29090
|
-
:type Vip: str
|
29091
29225
|
:param _Vport: 负载均衡实例的端口
|
29092
29226
|
:type Vport: int
|
29093
29227
|
:param _Region: 负载均衡LD的地域
|
@@ -29096,6 +29230,8 @@ class LoadBalancer(AbstractModel):
|
|
29096
29230
|
:type Protocol: str
|
29097
29231
|
:param _Zone: 负载均衡监听器所在的zone
|
29098
29232
|
:type Zone: str
|
29233
|
+
:param _Vip: 负载均衡实例的IP。域名化CLB VIP可填空。
|
29234
|
+
:type Vip: str
|
29099
29235
|
:param _NumericalVpcId: 负载均衡的VPCID,公网为-1,内网按实际填写
|
29100
29236
|
:type NumericalVpcId: int
|
29101
29237
|
:param _LoadBalancerType: 负载均衡的网络类型。OPEN: 公网 INTERNAL :内网
|
@@ -29107,11 +29243,11 @@ class LoadBalancer(AbstractModel):
|
|
29107
29243
|
self._LoadBalancerName = None
|
29108
29244
|
self._ListenerId = None
|
29109
29245
|
self._ListenerName = None
|
29110
|
-
self._Vip = None
|
29111
29246
|
self._Vport = None
|
29112
29247
|
self._Region = None
|
29113
29248
|
self._Protocol = None
|
29114
29249
|
self._Zone = None
|
29250
|
+
self._Vip = None
|
29115
29251
|
self._NumericalVpcId = None
|
29116
29252
|
self._LoadBalancerType = None
|
29117
29253
|
self._LoadBalancerDomain = None
|
@@ -29160,17 +29296,6 @@ class LoadBalancer(AbstractModel):
|
|
29160
29296
|
def ListenerName(self, ListenerName):
|
29161
29297
|
self._ListenerName = ListenerName
|
29162
29298
|
|
29163
|
-
@property
|
29164
|
-
def Vip(self):
|
29165
|
-
"""负载均衡实例的IP
|
29166
|
-
:rtype: str
|
29167
|
-
"""
|
29168
|
-
return self._Vip
|
29169
|
-
|
29170
|
-
@Vip.setter
|
29171
|
-
def Vip(self, Vip):
|
29172
|
-
self._Vip = Vip
|
29173
|
-
|
29174
29299
|
@property
|
29175
29300
|
def Vport(self):
|
29176
29301
|
"""负载均衡实例的端口
|
@@ -29215,6 +29340,17 @@ class LoadBalancer(AbstractModel):
|
|
29215
29340
|
def Zone(self, Zone):
|
29216
29341
|
self._Zone = Zone
|
29217
29342
|
|
29343
|
+
@property
|
29344
|
+
def Vip(self):
|
29345
|
+
"""负载均衡实例的IP。域名化CLB VIP可填空。
|
29346
|
+
:rtype: str
|
29347
|
+
"""
|
29348
|
+
return self._Vip
|
29349
|
+
|
29350
|
+
@Vip.setter
|
29351
|
+
def Vip(self, Vip):
|
29352
|
+
self._Vip = Vip
|
29353
|
+
|
29218
29354
|
@property
|
29219
29355
|
def NumericalVpcId(self):
|
29220
29356
|
"""负载均衡的VPCID,公网为-1,内网按实际填写
|
@@ -29254,11 +29390,11 @@ class LoadBalancer(AbstractModel):
|
|
29254
29390
|
self._LoadBalancerName = params.get("LoadBalancerName")
|
29255
29391
|
self._ListenerId = params.get("ListenerId")
|
29256
29392
|
self._ListenerName = params.get("ListenerName")
|
29257
|
-
self._Vip = params.get("Vip")
|
29258
29393
|
self._Vport = params.get("Vport")
|
29259
29394
|
self._Region = params.get("Region")
|
29260
29395
|
self._Protocol = params.get("Protocol")
|
29261
29396
|
self._Zone = params.get("Zone")
|
29397
|
+
self._Vip = params.get("Vip")
|
29262
29398
|
self._NumericalVpcId = params.get("NumericalVpcId")
|
29263
29399
|
self._LoadBalancerType = params.get("LoadBalancerType")
|
29264
29400
|
self._LoadBalancerDomain = params.get("LoadBalancerDomain")
|
@@ -31664,10 +31800,13 @@ class ModifyBotSceneUCBRuleResponse(AbstractModel):
|
|
31664
31800
|
r"""
|
31665
31801
|
:param _Data: 正常情况下为null
|
31666
31802
|
:type Data: str
|
31803
|
+
:param _RuleIdList: ["1231"]
|
31804
|
+
:type RuleIdList: list of str
|
31667
31805
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
31668
31806
|
:type RequestId: str
|
31669
31807
|
"""
|
31670
31808
|
self._Data = None
|
31809
|
+
self._RuleIdList = None
|
31671
31810
|
self._RequestId = None
|
31672
31811
|
|
31673
31812
|
@property
|
@@ -31681,6 +31820,17 @@ class ModifyBotSceneUCBRuleResponse(AbstractModel):
|
|
31681
31820
|
def Data(self, Data):
|
31682
31821
|
self._Data = Data
|
31683
31822
|
|
31823
|
+
@property
|
31824
|
+
def RuleIdList(self):
|
31825
|
+
"""["1231"]
|
31826
|
+
:rtype: list of str
|
31827
|
+
"""
|
31828
|
+
return self._RuleIdList
|
31829
|
+
|
31830
|
+
@RuleIdList.setter
|
31831
|
+
def RuleIdList(self, RuleIdList):
|
31832
|
+
self._RuleIdList = RuleIdList
|
31833
|
+
|
31684
31834
|
@property
|
31685
31835
|
def RequestId(self):
|
31686
31836
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -31695,6 +31845,7 @@ class ModifyBotSceneUCBRuleResponse(AbstractModel):
|
|
31695
31845
|
|
31696
31846
|
def _deserialize(self, params):
|
31697
31847
|
self._Data = params.get("Data")
|
31848
|
+
self._RuleIdList = params.get("RuleIdList")
|
31698
31849
|
self._RequestId = params.get("RequestId")
|
31699
31850
|
|
31700
31851
|
|
@@ -36405,6 +36556,57 @@ class ModifyWebshellStatusResponse(AbstractModel):
|
|
36405
36556
|
self._RequestId = params.get("RequestId")
|
36406
36557
|
|
36407
36558
|
|
36559
|
+
class ParamCompareList(AbstractModel):
|
36560
|
+
"""bot-自定义规则请求参数比对结构体
|
36561
|
+
|
36562
|
+
"""
|
36563
|
+
|
36564
|
+
def __init__(self):
|
36565
|
+
r"""
|
36566
|
+
:param _Key: 请求参数比对的匹配参数
|
36567
|
+
:type Key: str
|
36568
|
+
:param _Value: 请求参数比对的匹配值
|
36569
|
+
:type Value: str
|
36570
|
+
"""
|
36571
|
+
self._Key = None
|
36572
|
+
self._Value = None
|
36573
|
+
|
36574
|
+
@property
|
36575
|
+
def Key(self):
|
36576
|
+
"""请求参数比对的匹配参数
|
36577
|
+
:rtype: str
|
36578
|
+
"""
|
36579
|
+
return self._Key
|
36580
|
+
|
36581
|
+
@Key.setter
|
36582
|
+
def Key(self, Key):
|
36583
|
+
self._Key = Key
|
36584
|
+
|
36585
|
+
@property
|
36586
|
+
def Value(self):
|
36587
|
+
"""请求参数比对的匹配值
|
36588
|
+
:rtype: str
|
36589
|
+
"""
|
36590
|
+
return self._Value
|
36591
|
+
|
36592
|
+
@Value.setter
|
36593
|
+
def Value(self, Value):
|
36594
|
+
self._Value = Value
|
36595
|
+
|
36596
|
+
|
36597
|
+
def _deserialize(self, params):
|
36598
|
+
self._Key = params.get("Key")
|
36599
|
+
self._Value = params.get("Value")
|
36600
|
+
memeber_set = set(params.keys())
|
36601
|
+
for name, value in vars(self).items():
|
36602
|
+
property_name = name[1:]
|
36603
|
+
if property_name in memeber_set:
|
36604
|
+
memeber_set.remove(property_name)
|
36605
|
+
if len(memeber_set) > 0:
|
36606
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
36607
|
+
|
36608
|
+
|
36609
|
+
|
36408
36610
|
class PeakPointsItem(AbstractModel):
|
36409
36611
|
"""PeakPoints数组项
|
36410
36612
|
|
@@ -39339,7 +39541,7 @@ class SpartaProtectionPort(AbstractModel):
|
|
39339
39541
|
|
39340
39542
|
def __init__(self):
|
39341
39543
|
r"""
|
39342
|
-
:param _NginxServerId: 分配的服务器id
|
39544
|
+
:param _NginxServerId: 分配的服务器id。首次接入的域名和端口该参数填0,已接入的域名和端口分配的id可以通过DescribeDomainDetailsSaas或DescribeDomains接口获取。
|
39343
39545
|
:type NginxServerId: int
|
39344
39546
|
:param _Port: 端口
|
39345
39547
|
:type Port: str
|
@@ -39358,7 +39560,7 @@ class SpartaProtectionPort(AbstractModel):
|
|
39358
39560
|
|
39359
39561
|
@property
|
39360
39562
|
def NginxServerId(self):
|
39361
|
-
"""分配的服务器id
|
39563
|
+
"""分配的服务器id。首次接入的域名和端口该参数填0,已接入的域名和端口分配的id可以通过DescribeDomainDetailsSaas或DescribeDomains接口获取。
|
39362
39564
|
:rtype: int
|
39363
39565
|
"""
|
39364
39566
|
return self._NginxServerId
|
@@ -40566,7 +40768,7 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
40566
40768
|
:type Priority: int
|
40567
40769
|
:param _ValidTime: 动作有效时间
|
40568
40770
|
:type ValidTime: int
|
40569
|
-
: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(内容为空)。 args用来表示匹配内容,需要设置encodeflag为true,当Key为Post、Cookie、CustomHeader时,用等号=来分别串接Key和Value,并分别用Base64编码,类似YWJj=YWJj。当Key为Referer、User-Agent时,用等号=来串接Value,类似=YWJj。
|
40771
|
+
: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。
|
40570
40772
|
:type OptionsArr: str
|
40571
40773
|
:param _Edition: waf版本,sparta-waf或者clb-waf
|
40572
40774
|
:type Edition: str
|
@@ -40582,6 +40784,8 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
40582
40784
|
:type CreateTime: int
|
40583
40785
|
:param _Length: url长度
|
40584
40786
|
:type Length: int
|
40787
|
+
:param _LimitMethod: 限频方式
|
40788
|
+
:type LimitMethod: str
|
40585
40789
|
"""
|
40586
40790
|
self._Domain = None
|
40587
40791
|
self._Name = None
|
@@ -40602,6 +40806,7 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
40602
40806
|
self._RuleId = None
|
40603
40807
|
self._CreateTime = None
|
40604
40808
|
self._Length = None
|
40809
|
+
self._LimitMethod = None
|
40605
40810
|
|
40606
40811
|
@property
|
40607
40812
|
def Domain(self):
|
@@ -40726,7 +40931,7 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
40726
40931
|
|
40727
40932
|
@property
|
40728
40933
|
def OptionsArr(self):
|
40729
|
-
"""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(内容为空)。 args用来表示匹配内容,需要设置encodeflag为true,当Key为Post、Cookie、CustomHeader时,用等号=来分别串接Key和Value,并分别用Base64编码,类似YWJj=YWJj。当Key为Referer、User-Agent时,用等号=来串接Value,类似=YWJj。
|
40934
|
+
"""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。
|
40730
40935
|
:rtype: str
|
40731
40936
|
"""
|
40732
40937
|
return self._OptionsArr
|
@@ -40812,6 +41017,17 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
40812
41017
|
def Length(self, Length):
|
40813
41018
|
self._Length = Length
|
40814
41019
|
|
41020
|
+
@property
|
41021
|
+
def LimitMethod(self):
|
41022
|
+
"""限频方式
|
41023
|
+
:rtype: str
|
41024
|
+
"""
|
41025
|
+
return self._LimitMethod
|
41026
|
+
|
41027
|
+
@LimitMethod.setter
|
41028
|
+
def LimitMethod(self, LimitMethod):
|
41029
|
+
self._LimitMethod = LimitMethod
|
41030
|
+
|
40815
41031
|
|
40816
41032
|
def _deserialize(self, params):
|
40817
41033
|
self._Domain = params.get("Domain")
|
@@ -40833,6 +41049,7 @@ class UpsertCCRuleRequest(AbstractModel):
|
|
40833
41049
|
self._RuleId = params.get("RuleId")
|
40834
41050
|
self._CreateTime = params.get("CreateTime")
|
40835
41051
|
self._Length = params.get("Length")
|
41052
|
+
self._LimitMethod = params.get("LimitMethod")
|
40836
41053
|
memeber_set = set(params.keys())
|
40837
41054
|
for name, value in vars(self).items():
|
40838
41055
|
property_name = name[1:]
|