tencentcloud-sdk-python 3.0.1362__py2.py3-none-any.whl → 3.0.1364__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 -18
- tencentcloud/cat/v20180409/cat_client.py +23 -0
- tencentcloud/cat/v20180409/models.py +199 -0
- tencentcloud/cbs/v20170312/models.py +26 -12
- tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- tencentcloud/ccc/v20200210/errorcodes.py +3 -0
- tencentcloud/ccc/v20200210/models.py +162 -60
- tencentcloud/cdwch/v20200915/models.py +0 -12
- tencentcloud/cdwpg/v20201230/models.py +0 -12
- tencentcloud/cfw/v20190904/models.py +115 -12
- tencentcloud/chc/v20230418/models.py +15 -0
- tencentcloud/clb/v20180317/clb_client.py +1 -1
- tencentcloud/clb/v20180317/models.py +262 -366
- tencentcloud/cls/v20201016/models.py +35 -0
- tencentcloud/cme/v20191029/errorcodes.py +3 -0
- tencentcloud/common/abstract_client.py +29 -24
- tencentcloud/common/abstract_model.py +5 -1
- tencentcloud/common/common_client.py +14 -15
- tencentcloud/common/credential.py +68 -65
- tencentcloud/common/exception/tencent_cloud_sdk_exception.py +1 -1
- tencentcloud/common/profile/client_profile.py +32 -30
- tencentcloud/common/profile/http_profile.py +20 -12
- tencentcloud/common/retry.py +18 -0
- tencentcloud/cvm/v20170312/cvm_client.py +7 -1
- tencentcloud/cvm/v20170312/errorcodes.py +1 -1
- tencentcloud/cvm/v20170312/models.py +88 -68
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +69 -0
- tencentcloud/cynosdb/v20190107/models.py +318 -0
- tencentcloud/dc/v20180410/models.py +2 -2
- tencentcloud/dlc/v20210125/models.py +0 -16
- tencentcloud/dts/v20211206/models.py +11 -7
- tencentcloud/es/v20250101/models.py +2 -6
- tencentcloud/ess/v20201111/models.py +31 -12
- tencentcloud/gwlb/v20240906/errorcodes.py +3 -0
- tencentcloud/gwlb/v20240906/gwlb_client.py +0 -1
- tencentcloud/gwlb/v20240906/models.py +4 -4
- tencentcloud/hunyuan/v20230901/models.py +2 -2
- tencentcloud/ioa/v20220601/ioa_client.py +46 -0
- tencentcloud/ioa/v20220601/models.py +538 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +3 -1
- tencentcloud/lcic/v20220817/models.py +30 -0
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/lke_client.py +4 -2
- tencentcloud/lke/v20231130/models.py +167 -6
- tencentcloud/lkeap/v20240522/lkeap_client.py +2 -2
- tencentcloud/lkeap/v20240522/models.py +4 -4
- tencentcloud/monitor/v20180724/models.py +169 -0
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +20 -20
- tencentcloud/tcbr/v20220217/models.py +30 -0
- tencentcloud/teo/v20220901/errorcodes.py +3 -0
- tencentcloud/teo/v20220901/models.py +8 -112
- tencentcloud/tsf/v20180326/models.py +15 -0
- tencentcloud/tts/v20190823/models.py +15 -15
- tencentcloud/tts/v20190823/tts_client.py +4 -3
- tencentcloud/vpc/v20170312/models.py +710 -0
- tencentcloud/vpc/v20170312/vpc_client.py +116 -1
- tencentcloud/vrs/v20200824/models.py +17 -0
- tencentcloud/waf/v20180125/errorcodes.py +9 -0
- tencentcloud/waf/v20180125/models.py +3372 -240
- tencentcloud/waf/v20180125/waf_client.py +138 -0
- tencentcloud/wedata/v20210820/models.py +55 -0
- {tencentcloud_sdk_python-3.0.1362.dist-info → tencentcloud_sdk_python-3.0.1364.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1362.dist-info → tencentcloud_sdk_python-3.0.1364.dist-info}/RECORD +68 -68
- {tencentcloud_sdk_python-3.0.1362.dist-info → tencentcloud_sdk_python-3.0.1364.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1362.dist-info → tencentcloud_sdk_python-3.0.1364.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1362.dist-info → tencentcloud_sdk_python-3.0.1364.dist-info}/top_level.txt +0 -0
@@ -509,6 +509,29 @@ class WafClient(AbstractClient):
|
|
509
509
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
510
510
|
|
511
511
|
|
512
|
+
def DeleteBotSceneUCBRule(self, request):
|
513
|
+
"""场景化后删除Bot的UCB自定义规则
|
514
|
+
|
515
|
+
:param request: Request instance for DeleteBotSceneUCBRule.
|
516
|
+
:type request: :class:`tencentcloud.waf.v20180125.models.DeleteBotSceneUCBRuleRequest`
|
517
|
+
:rtype: :class:`tencentcloud.waf.v20180125.models.DeleteBotSceneUCBRuleResponse`
|
518
|
+
|
519
|
+
"""
|
520
|
+
try:
|
521
|
+
params = request._serialize()
|
522
|
+
headers = request.headers
|
523
|
+
body = self.call("DeleteBotSceneUCBRule", params, headers=headers)
|
524
|
+
response = json.loads(body)
|
525
|
+
model = models.DeleteBotSceneUCBRuleResponse()
|
526
|
+
model._deserialize(response["Response"])
|
527
|
+
return model
|
528
|
+
except Exception as e:
|
529
|
+
if isinstance(e, TencentCloudSDKException):
|
530
|
+
raise
|
531
|
+
else:
|
532
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
533
|
+
|
534
|
+
|
512
535
|
def DeleteCCRule(self, request):
|
513
536
|
"""Waf CC V2 Delete接口
|
514
537
|
|
@@ -1084,6 +1107,75 @@ class WafClient(AbstractClient):
|
|
1084
1107
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1085
1108
|
|
1086
1109
|
|
1110
|
+
def DescribeBotSceneList(self, request):
|
1111
|
+
"""获取BOT场景列表与概览
|
1112
|
+
|
1113
|
+
:param request: Request instance for DescribeBotSceneList.
|
1114
|
+
:type request: :class:`tencentcloud.waf.v20180125.models.DescribeBotSceneListRequest`
|
1115
|
+
:rtype: :class:`tencentcloud.waf.v20180125.models.DescribeBotSceneListResponse`
|
1116
|
+
|
1117
|
+
"""
|
1118
|
+
try:
|
1119
|
+
params = request._serialize()
|
1120
|
+
headers = request.headers
|
1121
|
+
body = self.call("DescribeBotSceneList", params, headers=headers)
|
1122
|
+
response = json.loads(body)
|
1123
|
+
model = models.DescribeBotSceneListResponse()
|
1124
|
+
model._deserialize(response["Response"])
|
1125
|
+
return model
|
1126
|
+
except Exception as e:
|
1127
|
+
if isinstance(e, TencentCloudSDKException):
|
1128
|
+
raise
|
1129
|
+
else:
|
1130
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1131
|
+
|
1132
|
+
|
1133
|
+
def DescribeBotSceneOverview(self, request):
|
1134
|
+
"""获取Bot场景全局概览
|
1135
|
+
|
1136
|
+
:param request: Request instance for DescribeBotSceneOverview.
|
1137
|
+
:type request: :class:`tencentcloud.waf.v20180125.models.DescribeBotSceneOverviewRequest`
|
1138
|
+
:rtype: :class:`tencentcloud.waf.v20180125.models.DescribeBotSceneOverviewResponse`
|
1139
|
+
|
1140
|
+
"""
|
1141
|
+
try:
|
1142
|
+
params = request._serialize()
|
1143
|
+
headers = request.headers
|
1144
|
+
body = self.call("DescribeBotSceneOverview", params, headers=headers)
|
1145
|
+
response = json.loads(body)
|
1146
|
+
model = models.DescribeBotSceneOverviewResponse()
|
1147
|
+
model._deserialize(response["Response"])
|
1148
|
+
return model
|
1149
|
+
except Exception as e:
|
1150
|
+
if isinstance(e, TencentCloudSDKException):
|
1151
|
+
raise
|
1152
|
+
else:
|
1153
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1154
|
+
|
1155
|
+
|
1156
|
+
def DescribeBotSceneUCBRule(self, request):
|
1157
|
+
"""场景化后Bot获取UCB自定义规则策略
|
1158
|
+
|
1159
|
+
:param request: Request instance for DescribeBotSceneUCBRule.
|
1160
|
+
:type request: :class:`tencentcloud.waf.v20180125.models.DescribeBotSceneUCBRuleRequest`
|
1161
|
+
:rtype: :class:`tencentcloud.waf.v20180125.models.DescribeBotSceneUCBRuleResponse`
|
1162
|
+
|
1163
|
+
"""
|
1164
|
+
try:
|
1165
|
+
params = request._serialize()
|
1166
|
+
headers = request.headers
|
1167
|
+
body = self.call("DescribeBotSceneUCBRule", params, headers=headers)
|
1168
|
+
response = json.loads(body)
|
1169
|
+
model = models.DescribeBotSceneUCBRuleResponse()
|
1170
|
+
model._deserialize(response["Response"])
|
1171
|
+
return model
|
1172
|
+
except Exception as e:
|
1173
|
+
if isinstance(e, TencentCloudSDKException):
|
1174
|
+
raise
|
1175
|
+
else:
|
1176
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1177
|
+
|
1178
|
+
|
1087
1179
|
def DescribeCCAutoStatus(self, request):
|
1088
1180
|
"""获取SAAS型接入的紧急CC防护状态
|
1089
1181
|
|
@@ -2673,6 +2765,52 @@ class WafClient(AbstractClient):
|
|
2673
2765
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2674
2766
|
|
2675
2767
|
|
2768
|
+
def ModifyBotSceneStatus(self, request):
|
2769
|
+
"""bot子场景开关
|
2770
|
+
|
2771
|
+
:param request: Request instance for ModifyBotSceneStatus.
|
2772
|
+
:type request: :class:`tencentcloud.waf.v20180125.models.ModifyBotSceneStatusRequest`
|
2773
|
+
:rtype: :class:`tencentcloud.waf.v20180125.models.ModifyBotSceneStatusResponse`
|
2774
|
+
|
2775
|
+
"""
|
2776
|
+
try:
|
2777
|
+
params = request._serialize()
|
2778
|
+
headers = request.headers
|
2779
|
+
body = self.call("ModifyBotSceneStatus", params, headers=headers)
|
2780
|
+
response = json.loads(body)
|
2781
|
+
model = models.ModifyBotSceneStatusResponse()
|
2782
|
+
model._deserialize(response["Response"])
|
2783
|
+
return model
|
2784
|
+
except Exception as e:
|
2785
|
+
if isinstance(e, TencentCloudSDKException):
|
2786
|
+
raise
|
2787
|
+
else:
|
2788
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2789
|
+
|
2790
|
+
|
2791
|
+
def ModifyBotSceneUCBRule(self, request):
|
2792
|
+
"""【接口复用】场景化后更新Bot的UCB自定义规则,两个调用位置:1.BOT全局白名单 2.BOT场景配置
|
2793
|
+
|
2794
|
+
:param request: Request instance for ModifyBotSceneUCBRule.
|
2795
|
+
:type request: :class:`tencentcloud.waf.v20180125.models.ModifyBotSceneUCBRuleRequest`
|
2796
|
+
:rtype: :class:`tencentcloud.waf.v20180125.models.ModifyBotSceneUCBRuleResponse`
|
2797
|
+
|
2798
|
+
"""
|
2799
|
+
try:
|
2800
|
+
params = request._serialize()
|
2801
|
+
headers = request.headers
|
2802
|
+
body = self.call("ModifyBotSceneUCBRule", params, headers=headers)
|
2803
|
+
response = json.loads(body)
|
2804
|
+
model = models.ModifyBotSceneUCBRuleResponse()
|
2805
|
+
model._deserialize(response["Response"])
|
2806
|
+
return model
|
2807
|
+
except Exception as e:
|
2808
|
+
if isinstance(e, TencentCloudSDKException):
|
2809
|
+
raise
|
2810
|
+
else:
|
2811
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2812
|
+
|
2813
|
+
|
2676
2814
|
def ModifyBotStatus(self, request):
|
2677
2815
|
"""Bot_V2 bot总开关更新
|
2678
2816
|
|
@@ -68286,6 +68286,9 @@ class Rule(AbstractModel):
|
|
68286
68286
|
:param _ProjectName: 项目名称
|
68287
68287
|
注意:此字段可能返回 null,表示取不到有效值。
|
68288
68288
|
:type ProjectName: str
|
68289
|
+
:param _UpdateTime: 更新时间
|
68290
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
68291
|
+
:type UpdateTime: str
|
68289
68292
|
"""
|
68290
68293
|
self._RuleId = None
|
68291
68294
|
self._RuleGroupId = None
|
@@ -68337,6 +68340,7 @@ class Rule(AbstractModel):
|
|
68337
68340
|
self._TargetSchemaName = None
|
68338
68341
|
self._ProjectId = None
|
68339
68342
|
self._ProjectName = None
|
68343
|
+
self._UpdateTime = None
|
68340
68344
|
|
68341
68345
|
@property
|
68342
68346
|
def RuleId(self):
|
@@ -68938,6 +68942,18 @@ class Rule(AbstractModel):
|
|
68938
68942
|
def ProjectName(self, ProjectName):
|
68939
68943
|
self._ProjectName = ProjectName
|
68940
68944
|
|
68945
|
+
@property
|
68946
|
+
def UpdateTime(self):
|
68947
|
+
"""更新时间
|
68948
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
68949
|
+
:rtype: str
|
68950
|
+
"""
|
68951
|
+
return self._UpdateTime
|
68952
|
+
|
68953
|
+
@UpdateTime.setter
|
68954
|
+
def UpdateTime(self, UpdateTime):
|
68955
|
+
self._UpdateTime = UpdateTime
|
68956
|
+
|
68941
68957
|
|
68942
68958
|
def _deserialize(self, params):
|
68943
68959
|
self._RuleId = params.get("RuleId")
|
@@ -68998,6 +69014,7 @@ class Rule(AbstractModel):
|
|
68998
69014
|
self._TargetSchemaName = params.get("TargetSchemaName")
|
68999
69015
|
self._ProjectId = params.get("ProjectId")
|
69000
69016
|
self._ProjectName = params.get("ProjectName")
|
69017
|
+
self._UpdateTime = params.get("UpdateTime")
|
69001
69018
|
memeber_set = set(params.keys())
|
69002
69019
|
for name, value in vars(self).items():
|
69003
69020
|
property_name = name[1:]
|
@@ -71036,9 +71053,17 @@ class RuleGroupExecResult(AbstractModel):
|
|
71036
71053
|
注意:此字段可能返回 null,表示取不到有效值。
|
71037
71054
|
:type InstanceStatus: str
|
71038
71055
|
:param _StartTime: 实例运行的开始时间
|
71056
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
71039
71057
|
:type StartTime: str
|
71040
71058
|
:param _FinishTime: 实例运行的结束时间
|
71059
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
71041
71060
|
:type FinishTime: str
|
71061
|
+
:param _RuleGroupName: 监控名称
|
71062
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
71063
|
+
:type RuleGroupName: str
|
71064
|
+
:param _RuleGroupExist: 判断是否屏蔽监控 0.屏蔽 1.不屏蔽
|
71065
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
71066
|
+
:type RuleGroupExist: str
|
71042
71067
|
"""
|
71043
71068
|
self._RuleGroupExecId = None
|
71044
71069
|
self._RuleGroupId = None
|
@@ -71066,6 +71091,8 @@ class RuleGroupExecResult(AbstractModel):
|
|
71066
71091
|
self._InstanceStatus = None
|
71067
71092
|
self._StartTime = None
|
71068
71093
|
self._FinishTime = None
|
71094
|
+
self._RuleGroupName = None
|
71095
|
+
self._RuleGroupExist = None
|
71069
71096
|
|
71070
71097
|
@property
|
71071
71098
|
def RuleGroupExecId(self):
|
@@ -71358,6 +71385,7 @@ class RuleGroupExecResult(AbstractModel):
|
|
71358
71385
|
@property
|
71359
71386
|
def StartTime(self):
|
71360
71387
|
"""实例运行的开始时间
|
71388
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
71361
71389
|
:rtype: str
|
71362
71390
|
"""
|
71363
71391
|
return self._StartTime
|
@@ -71369,6 +71397,7 @@ class RuleGroupExecResult(AbstractModel):
|
|
71369
71397
|
@property
|
71370
71398
|
def FinishTime(self):
|
71371
71399
|
"""实例运行的结束时间
|
71400
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
71372
71401
|
:rtype: str
|
71373
71402
|
"""
|
71374
71403
|
return self._FinishTime
|
@@ -71377,6 +71406,30 @@ class RuleGroupExecResult(AbstractModel):
|
|
71377
71406
|
def FinishTime(self, FinishTime):
|
71378
71407
|
self._FinishTime = FinishTime
|
71379
71408
|
|
71409
|
+
@property
|
71410
|
+
def RuleGroupName(self):
|
71411
|
+
"""监控名称
|
71412
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
71413
|
+
:rtype: str
|
71414
|
+
"""
|
71415
|
+
return self._RuleGroupName
|
71416
|
+
|
71417
|
+
@RuleGroupName.setter
|
71418
|
+
def RuleGroupName(self, RuleGroupName):
|
71419
|
+
self._RuleGroupName = RuleGroupName
|
71420
|
+
|
71421
|
+
@property
|
71422
|
+
def RuleGroupExist(self):
|
71423
|
+
"""判断是否屏蔽监控 0.屏蔽 1.不屏蔽
|
71424
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
71425
|
+
:rtype: str
|
71426
|
+
"""
|
71427
|
+
return self._RuleGroupExist
|
71428
|
+
|
71429
|
+
@RuleGroupExist.setter
|
71430
|
+
def RuleGroupExist(self, RuleGroupExist):
|
71431
|
+
self._RuleGroupExist = RuleGroupExist
|
71432
|
+
|
71380
71433
|
|
71381
71434
|
def _deserialize(self, params):
|
71382
71435
|
self._RuleGroupExecId = params.get("RuleGroupExecId")
|
@@ -71410,6 +71463,8 @@ class RuleGroupExecResult(AbstractModel):
|
|
71410
71463
|
self._InstanceStatus = params.get("InstanceStatus")
|
71411
71464
|
self._StartTime = params.get("StartTime")
|
71412
71465
|
self._FinishTime = params.get("FinishTime")
|
71466
|
+
self._RuleGroupName = params.get("RuleGroupName")
|
71467
|
+
self._RuleGroupExist = params.get("RuleGroupExist")
|
71413
71468
|
memeber_set = set(params.keys())
|
71414
71469
|
for name, value in vars(self).items():
|
71415
71470
|
property_name = name[1:]
|