tencentcloud-sdk-python 3.0.1363__py2.py3-none-any.whl → 3.0.1365__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/cat/v20180409/cat_client.py +23 -0
- tencentcloud/cat/v20180409/models.py +199 -0
- tencentcloud/cbs/v20170312/models.py +26 -12
- tencentcloud/ccc/v20200210/models.py +71 -56
- tencentcloud/cdc/v20201214/cdc_client.py +46 -0
- tencentcloud/cdc/v20201214/errorcodes.py +18 -0
- tencentcloud/cdc/v20201214/models.py +173 -0
- tencentcloud/cdn/v20180606/models.py +15 -0
- tencentcloud/cdwpg/v20201230/models.py +0 -12
- tencentcloud/clb/v20180317/clb_client.py +1 -1
- tencentcloud/clb/v20180317/models.py +262 -368
- tencentcloud/cls/v20201016/models.py +35 -0
- tencentcloud/cvm/v20170312/errorcodes.py +1 -1
- tencentcloud/cvm/v20170312/models.py +34 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/models.py +109 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +124 -0
- tencentcloud/dts/v20211206/models.py +1 -1
- tencentcloud/ess/v20201111/models.py +16 -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/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 +3 -3
- tencentcloud/lkeap/v20240522/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +8 -8
- tencentcloud/monitor/v20180724/monitor_client.py +1 -1
- tencentcloud/mps/v20190612/errorcodes.py +6 -0
- tencentcloud/mps/v20190612/models.py +133 -8
- tencentcloud/ssm/v20190923/models.py +45 -0
- tencentcloud/tds/v20220801/models.py +441 -0
- tencentcloud/tds/v20220801/tds_client.py +23 -0
- tencentcloud/tem/v20210701/models.py +0 -498
- tencentcloud/teo/v20220901/errorcodes.py +3 -0
- tencentcloud/teo/v20220901/models.py +12 -116
- tencentcloud/tsf/v20180326/models.py +15 -0
- tencentcloud/vpc/v20170312/models.py +710 -0
- tencentcloud/vpc/v20170312/vpc_client.py +115 -0
- tencentcloud/waf/v20180125/models.py +378 -0
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1365.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1365.dist-info}/RECORD +52 -52
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1365.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1365.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1363.dist-info → tencentcloud_sdk_python-3.0.1365.dist-info}/top_level.txt +0 -0
@@ -18,6 +18,61 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
+
class AgentDebugInfo(AbstractModel):
|
22
|
+
"""Agent调试信息
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _Input: 工具、大模型的输入信息,json
|
29
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30
|
+
:type Input: str
|
31
|
+
:param _Output: 工具、大模型的输出信息,json
|
32
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
33
|
+
:type Output: str
|
34
|
+
"""
|
35
|
+
self._Input = None
|
36
|
+
self._Output = None
|
37
|
+
|
38
|
+
@property
|
39
|
+
def Input(self):
|
40
|
+
"""工具、大模型的输入信息,json
|
41
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
42
|
+
:rtype: str
|
43
|
+
"""
|
44
|
+
return self._Input
|
45
|
+
|
46
|
+
@Input.setter
|
47
|
+
def Input(self, Input):
|
48
|
+
self._Input = Input
|
49
|
+
|
50
|
+
@property
|
51
|
+
def Output(self):
|
52
|
+
"""工具、大模型的输出信息,json
|
53
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
54
|
+
:rtype: str
|
55
|
+
"""
|
56
|
+
return self._Output
|
57
|
+
|
58
|
+
@Output.setter
|
59
|
+
def Output(self, Output):
|
60
|
+
self._Output = Output
|
61
|
+
|
62
|
+
|
63
|
+
def _deserialize(self, params):
|
64
|
+
self._Input = params.get("Input")
|
65
|
+
self._Output = params.get("Output")
|
66
|
+
memeber_set = set(params.keys())
|
67
|
+
for name, value in vars(self).items():
|
68
|
+
property_name = name[1:]
|
69
|
+
if property_name in memeber_set:
|
70
|
+
memeber_set.remove(property_name)
|
71
|
+
if len(memeber_set) > 0:
|
72
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
73
|
+
|
74
|
+
|
75
|
+
|
21
76
|
class AgentProcedure(AbstractModel):
|
22
77
|
"""思考事件过程信息
|
23
78
|
|
@@ -4265,7 +4320,7 @@ class CreateReleaseRequest(AbstractModel):
|
|
4265
4320
|
|
4266
4321
|
def __init__(self):
|
4267
4322
|
r"""
|
4268
|
-
:param _BotBizId:
|
4323
|
+
:param _BotBizId: 应用ID
|
4269
4324
|
:type BotBizId: str
|
4270
4325
|
:param _Desc: 发布描述
|
4271
4326
|
:type Desc: str
|
@@ -4275,7 +4330,7 @@ class CreateReleaseRequest(AbstractModel):
|
|
4275
4330
|
|
4276
4331
|
@property
|
4277
4332
|
def BotBizId(self):
|
4278
|
-
"""
|
4333
|
+
"""应用ID
|
4279
4334
|
:rtype: str
|
4280
4335
|
"""
|
4281
4336
|
return self._BotBizId
|
@@ -10201,6 +10256,44 @@ class ExportUnsatisfiedReplyResponse(AbstractModel):
|
|
10201
10256
|
self._RequestId = params.get("RequestId")
|
10202
10257
|
|
10203
10258
|
|
10259
|
+
class ExtraInfo(AbstractModel):
|
10260
|
+
"""扩展信息
|
10261
|
+
|
10262
|
+
"""
|
10263
|
+
|
10264
|
+
def __init__(self):
|
10265
|
+
r"""
|
10266
|
+
:param _EChartsInfo: ECharts信息
|
10267
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10268
|
+
:type EChartsInfo: list of str
|
10269
|
+
"""
|
10270
|
+
self._EChartsInfo = None
|
10271
|
+
|
10272
|
+
@property
|
10273
|
+
def EChartsInfo(self):
|
10274
|
+
"""ECharts信息
|
10275
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10276
|
+
:rtype: list of str
|
10277
|
+
"""
|
10278
|
+
return self._EChartsInfo
|
10279
|
+
|
10280
|
+
@EChartsInfo.setter
|
10281
|
+
def EChartsInfo(self, EChartsInfo):
|
10282
|
+
self._EChartsInfo = EChartsInfo
|
10283
|
+
|
10284
|
+
|
10285
|
+
def _deserialize(self, params):
|
10286
|
+
self._EChartsInfo = params.get("EChartsInfo")
|
10287
|
+
memeber_set = set(params.keys())
|
10288
|
+
for name, value in vars(self).items():
|
10289
|
+
property_name = name[1:]
|
10290
|
+
if property_name in memeber_set:
|
10291
|
+
memeber_set.remove(property_name)
|
10292
|
+
if len(memeber_set) > 0:
|
10293
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
10294
|
+
|
10295
|
+
|
10296
|
+
|
10204
10297
|
class FileInfo(AbstractModel):
|
10205
10298
|
"""实时上传的文件信息
|
10206
10299
|
|
@@ -11577,6 +11670,8 @@ class GetMsgRecordRequest(AbstractModel):
|
|
11577
11670
|
:type BotAppKey: str
|
11578
11671
|
:param _Scene: 场景, 体验: 1; 正式: 2
|
11579
11672
|
:type Scene: int
|
11673
|
+
:param _MidRecordId: 传该值,代表拉取该记录id的前后总共count条消息记录
|
11674
|
+
:type MidRecordId: str
|
11580
11675
|
"""
|
11581
11676
|
self._Type = None
|
11582
11677
|
self._Count = None
|
@@ -11584,6 +11679,7 @@ class GetMsgRecordRequest(AbstractModel):
|
|
11584
11679
|
self._LastRecordId = None
|
11585
11680
|
self._BotAppKey = None
|
11586
11681
|
self._Scene = None
|
11682
|
+
self._MidRecordId = None
|
11587
11683
|
|
11588
11684
|
@property
|
11589
11685
|
def Type(self):
|
@@ -11651,6 +11747,17 @@ class GetMsgRecordRequest(AbstractModel):
|
|
11651
11747
|
def Scene(self, Scene):
|
11652
11748
|
self._Scene = Scene
|
11653
11749
|
|
11750
|
+
@property
|
11751
|
+
def MidRecordId(self):
|
11752
|
+
"""传该值,代表拉取该记录id的前后总共count条消息记录
|
11753
|
+
:rtype: str
|
11754
|
+
"""
|
11755
|
+
return self._MidRecordId
|
11756
|
+
|
11757
|
+
@MidRecordId.setter
|
11758
|
+
def MidRecordId(self, MidRecordId):
|
11759
|
+
self._MidRecordId = MidRecordId
|
11760
|
+
|
11654
11761
|
|
11655
11762
|
def _deserialize(self, params):
|
11656
11763
|
self._Type = params.get("Type")
|
@@ -11659,6 +11766,7 @@ class GetMsgRecordRequest(AbstractModel):
|
|
11659
11766
|
self._LastRecordId = params.get("LastRecordId")
|
11660
11767
|
self._BotAppKey = params.get("BotAppKey")
|
11661
11768
|
self._Scene = params.get("Scene")
|
11769
|
+
self._MidRecordId = params.get("MidRecordId")
|
11662
11770
|
memeber_set = set(params.keys())
|
11663
11771
|
for name, value in vars(self).items():
|
11664
11772
|
property_name = name[1:]
|
@@ -15160,6 +15268,8 @@ class ListDocItem(AbstractModel):
|
|
15160
15268
|
:param _CreateTime: 文档创建落库时间
|
15161
15269
|
注意:此字段可能返回 null,表示取不到有效值。
|
15162
15270
|
:type CreateTime: str
|
15271
|
+
:param _CateBizId: 文档所属分类ID
|
15272
|
+
:type CateBizId: str
|
15163
15273
|
"""
|
15164
15274
|
self._DocBizId = None
|
15165
15275
|
self._FileName = None
|
@@ -15192,6 +15302,7 @@ class ListDocItem(AbstractModel):
|
|
15192
15302
|
self._IsAllowRetry = None
|
15193
15303
|
self._Processing = None
|
15194
15304
|
self._CreateTime = None
|
15305
|
+
self._CateBizId = None
|
15195
15306
|
|
15196
15307
|
@property
|
15197
15308
|
def DocBizId(self):
|
@@ -15565,6 +15676,17 @@ class ListDocItem(AbstractModel):
|
|
15565
15676
|
def CreateTime(self, CreateTime):
|
15566
15677
|
self._CreateTime = CreateTime
|
15567
15678
|
|
15679
|
+
@property
|
15680
|
+
def CateBizId(self):
|
15681
|
+
"""文档所属分类ID
|
15682
|
+
:rtype: str
|
15683
|
+
"""
|
15684
|
+
return self._CateBizId
|
15685
|
+
|
15686
|
+
@CateBizId.setter
|
15687
|
+
def CateBizId(self, CateBizId):
|
15688
|
+
self._CateBizId = CateBizId
|
15689
|
+
|
15568
15690
|
|
15569
15691
|
def _deserialize(self, params):
|
15570
15692
|
self._DocBizId = params.get("DocBizId")
|
@@ -15603,6 +15725,7 @@ class ListDocItem(AbstractModel):
|
|
15603
15725
|
self._IsAllowRetry = params.get("IsAllowRetry")
|
15604
15726
|
self._Processing = params.get("Processing")
|
15605
15727
|
self._CreateTime = params.get("CreateTime")
|
15728
|
+
self._CateBizId = params.get("CateBizId")
|
15606
15729
|
memeber_set = set(params.keys())
|
15607
15730
|
for name, value in vars(self).items():
|
15608
15731
|
property_name = name[1:]
|
@@ -17106,7 +17229,7 @@ class ListReleaseConfigPreviewRequest(AbstractModel):
|
|
17106
17229
|
|
17107
17230
|
def __init__(self):
|
17108
17231
|
r"""
|
17109
|
-
:param _BotBizId:
|
17232
|
+
:param _BotBizId: 应用ID
|
17110
17233
|
:type BotBizId: str
|
17111
17234
|
:param _PageNumber: 页码
|
17112
17235
|
:type PageNumber: int
|
@@ -17137,7 +17260,7 @@ class ListReleaseConfigPreviewRequest(AbstractModel):
|
|
17137
17260
|
|
17138
17261
|
@property
|
17139
17262
|
def BotBizId(self):
|
17140
|
-
"""
|
17263
|
+
"""应用ID
|
17141
17264
|
:rtype: str
|
17142
17265
|
"""
|
17143
17266
|
return self._BotBizId
|
@@ -20485,6 +20608,9 @@ class MsgRecord(AbstractModel):
|
|
20485
20608
|
:param _AgentThought: Agent的思考过程信息
|
20486
20609
|
注意:此字段可能返回 null,表示取不到有效值。
|
20487
20610
|
:type AgentThought: :class:`tencentcloud.lke.v20231130.models.AgentThought`
|
20611
|
+
:param _ExtraInfo: 扩展信息
|
20612
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20613
|
+
:type ExtraInfo: :class:`tencentcloud.lke.v20231130.models.ExtraInfo`
|
20488
20614
|
"""
|
20489
20615
|
self._Content = None
|
20490
20616
|
self._SessionId = None
|
@@ -20510,6 +20636,7 @@ class MsgRecord(AbstractModel):
|
|
20510
20636
|
self._FileInfos = None
|
20511
20637
|
self._QuoteInfos = None
|
20512
20638
|
self._AgentThought = None
|
20639
|
+
self._ExtraInfo = None
|
20513
20640
|
|
20514
20641
|
@property
|
20515
20642
|
def Content(self):
|
@@ -20799,6 +20926,18 @@ class MsgRecord(AbstractModel):
|
|
20799
20926
|
def AgentThought(self, AgentThought):
|
20800
20927
|
self._AgentThought = AgentThought
|
20801
20928
|
|
20929
|
+
@property
|
20930
|
+
def ExtraInfo(self):
|
20931
|
+
"""扩展信息
|
20932
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
20933
|
+
:rtype: :class:`tencentcloud.lke.v20231130.models.ExtraInfo`
|
20934
|
+
"""
|
20935
|
+
return self._ExtraInfo
|
20936
|
+
|
20937
|
+
@ExtraInfo.setter
|
20938
|
+
def ExtraInfo(self, ExtraInfo):
|
20939
|
+
self._ExtraInfo = ExtraInfo
|
20940
|
+
|
20802
20941
|
|
20803
20942
|
def _deserialize(self, params):
|
20804
20943
|
self._Content = params.get("Content")
|
@@ -20846,6 +20985,9 @@ class MsgRecord(AbstractModel):
|
|
20846
20985
|
if params.get("AgentThought") is not None:
|
20847
20986
|
self._AgentThought = AgentThought()
|
20848
20987
|
self._AgentThought._deserialize(params.get("AgentThought"))
|
20988
|
+
if params.get("ExtraInfo") is not None:
|
20989
|
+
self._ExtraInfo = ExtraInfo()
|
20990
|
+
self._ExtraInfo._deserialize(params.get("ExtraInfo"))
|
20849
20991
|
memeber_set = set(params.keys())
|
20850
20992
|
for name, value in vars(self).items():
|
20851
20993
|
property_name = name[1:]
|
@@ -21412,6 +21554,9 @@ class ProcedureDebugging(AbstractModel):
|
|
21412
21554
|
:param _WorkFlow: 工作流调试信息
|
21413
21555
|
注意:此字段可能返回 null,表示取不到有效值。
|
21414
21556
|
:type WorkFlow: :class:`tencentcloud.lke.v20231130.models.WorkFlowSummary`
|
21557
|
+
:param _Agent: Agent调试信息
|
21558
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
21559
|
+
:type Agent: :class:`tencentcloud.lke.v20231130.models.AgentDebugInfo`
|
21415
21560
|
"""
|
21416
21561
|
self._Content = None
|
21417
21562
|
self._System = None
|
@@ -21419,6 +21564,7 @@ class ProcedureDebugging(AbstractModel):
|
|
21419
21564
|
self._Knowledge = None
|
21420
21565
|
self._TaskFlow = None
|
21421
21566
|
self._WorkFlow = None
|
21567
|
+
self._Agent = None
|
21422
21568
|
|
21423
21569
|
@property
|
21424
21570
|
def Content(self):
|
@@ -21492,6 +21638,18 @@ class ProcedureDebugging(AbstractModel):
|
|
21492
21638
|
def WorkFlow(self, WorkFlow):
|
21493
21639
|
self._WorkFlow = WorkFlow
|
21494
21640
|
|
21641
|
+
@property
|
21642
|
+
def Agent(self):
|
21643
|
+
"""Agent调试信息
|
21644
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
21645
|
+
:rtype: :class:`tencentcloud.lke.v20231130.models.AgentDebugInfo`
|
21646
|
+
"""
|
21647
|
+
return self._Agent
|
21648
|
+
|
21649
|
+
@Agent.setter
|
21650
|
+
def Agent(self, Agent):
|
21651
|
+
self._Agent = Agent
|
21652
|
+
|
21495
21653
|
|
21496
21654
|
def _deserialize(self, params):
|
21497
21655
|
self._Content = params.get("Content")
|
@@ -21514,6 +21672,9 @@ class ProcedureDebugging(AbstractModel):
|
|
21514
21672
|
if params.get("WorkFlow") is not None:
|
21515
21673
|
self._WorkFlow = WorkFlowSummary()
|
21516
21674
|
self._WorkFlow._deserialize(params.get("WorkFlow"))
|
21675
|
+
if params.get("Agent") is not None:
|
21676
|
+
self._Agent = AgentDebugInfo()
|
21677
|
+
self._Agent._deserialize(params.get("Agent"))
|
21517
21678
|
memeber_set = set(params.keys())
|
21518
21679
|
for name, value in vars(self).items():
|
21519
21680
|
property_name = name[1:]
|
@@ -22007,7 +22168,7 @@ class QueryRewriteRequest(AbstractModel):
|
|
22007
22168
|
r"""
|
22008
22169
|
:param _Question: 需要改写的问题
|
22009
22170
|
:type Question: str
|
22010
|
-
:param _Messages:
|
22171
|
+
:param _Messages: 需要改写的多轮历史会话,每轮历史对话需要包含user(问)和assistant(答)成对输入,由于模型字符限制,最多提供4轮对话。
|
22011
22172
|
:type Messages: list of Message
|
22012
22173
|
:param _Model: 模型名称
|
22013
22174
|
:type Model: str
|
@@ -22029,7 +22190,7 @@ class QueryRewriteRequest(AbstractModel):
|
|
22029
22190
|
|
22030
22191
|
@property
|
22031
22192
|
def Messages(self):
|
22032
|
-
"""
|
22193
|
+
"""需要改写的多轮历史会话,每轮历史对话需要包含user(问)和assistant(答)成对输入,由于模型字符限制,最多提供4轮对话。
|
22033
22194
|
:rtype: list of Message
|
22034
22195
|
"""
|
22035
22196
|
return self._Messages
|
@@ -38,14 +38,14 @@ class LkeapClient(AbstractClient):
|
|
38
38
|
#### 已支持的模型
|
39
39
|
- DeepSeek-V3-0324(model 参数值为**deepseek-v3-0324**)
|
40
40
|
- DeepSeek-V3-0324为671B参数MoE模型,在编程与技术能力、上下文理解与长文本处理等方面优势突出。
|
41
|
-
- 支持
|
41
|
+
- 支持128K上下文长度,最大输出16k(不含思维链)。
|
42
42
|
- 注意:相比于DeepSeek-V3,DeepSeek-V3-0324仅更新了模型权重,未增加参数量。总模型大小为685B,其中包括671B的主模型权重和 14B 的多令牌预测(MTP)模块权重,后续均描述主模型参数量。
|
43
43
|
- DeepSeek-V3(model 参数值为**deepseek-v3**)
|
44
44
|
- DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。
|
45
|
-
- 支持64K
|
45
|
+
- 支持64K上下文长度,最大输出16k。
|
46
46
|
- DeepSeek-R1(model 参数值为**deepseek-r1**)
|
47
47
|
- DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。
|
48
|
-
- 支持64K
|
48
|
+
- 支持64K上下文长度,最大输出16k。
|
49
49
|
|
50
50
|
### 计费说明
|
51
51
|
|
@@ -242,7 +242,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
242
242
|
:type Stream: bool
|
243
243
|
:param _Temperature: 控制生成的随机性,较高的值会产生更多样化的输出。
|
244
244
|
:type Temperature: float
|
245
|
-
:param _MaxTokens: 最大生成的token
|
245
|
+
:param _MaxTokens: 最大生成的token数量,默认为4096,最大可设置为16384
|
246
246
|
:type MaxTokens: int
|
247
247
|
"""
|
248
248
|
self._Model = None
|
@@ -302,7 +302,7 @@ class ChatCompletionsRequest(AbstractModel):
|
|
302
302
|
|
303
303
|
@property
|
304
304
|
def MaxTokens(self):
|
305
|
-
"""最大生成的token
|
305
|
+
"""最大生成的token数量,默认为4096,最大可设置为16384
|
306
306
|
:rtype: int
|
307
307
|
"""
|
308
308
|
return self._MaxTokens
|
@@ -38568,7 +38568,7 @@ class UpdateAlertRuleRequest(AbstractModel):
|
|
38568
38568
|
|
38569
38569
|
def __init__(self):
|
38570
38570
|
r"""
|
38571
|
-
:param _RuleId: Prometheus
|
38571
|
+
:param _RuleId: Prometheus 告警规则 ID
|
38572
38572
|
:type RuleId: str
|
38573
38573
|
:param _InstanceId: Prometheus 实例 ID
|
38574
38574
|
:type InstanceId: str
|
@@ -38586,13 +38586,13 @@ class UpdateAlertRuleRequest(AbstractModel):
|
|
38586
38586
|
:type Duration: str
|
38587
38587
|
:param _Receivers: 告警规则接收组列表(当前规则绑定的接收组列表可通过 DescribeAlertRules 接口获取;用户已有的接收组列表可通过 DescribeAlarmNotices 接口获取)
|
38588
38588
|
:type Receivers: list of str
|
38589
|
-
:param _Labels:
|
38589
|
+
:param _Labels: 告警规则标签列表
|
38590
38590
|
:type Labels: list of PrometheusRuleKV
|
38591
|
-
:param _Annotations:
|
38591
|
+
:param _Annotations: 告警规则注释列表。
|
38592
38592
|
|
38593
38593
|
告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description。
|
38594
38594
|
:type Annotations: list of PrometheusRuleKV
|
38595
|
-
:param _Type:
|
38595
|
+
:param _Type: 告警策略模板分类(自定义,可不填)
|
38596
38596
|
:type Type: str
|
38597
38597
|
"""
|
38598
38598
|
self._RuleId = None
|
@@ -38608,7 +38608,7 @@ class UpdateAlertRuleRequest(AbstractModel):
|
|
38608
38608
|
|
38609
38609
|
@property
|
38610
38610
|
def RuleId(self):
|
38611
|
-
"""Prometheus
|
38611
|
+
"""Prometheus 告警规则 ID
|
38612
38612
|
:rtype: str
|
38613
38613
|
"""
|
38614
38614
|
return self._RuleId
|
@@ -38689,7 +38689,7 @@ class UpdateAlertRuleRequest(AbstractModel):
|
|
38689
38689
|
|
38690
38690
|
@property
|
38691
38691
|
def Labels(self):
|
38692
|
-
"""
|
38692
|
+
"""告警规则标签列表
|
38693
38693
|
:rtype: list of PrometheusRuleKV
|
38694
38694
|
"""
|
38695
38695
|
return self._Labels
|
@@ -38700,7 +38700,7 @@ class UpdateAlertRuleRequest(AbstractModel):
|
|
38700
38700
|
|
38701
38701
|
@property
|
38702
38702
|
def Annotations(self):
|
38703
|
-
"""
|
38703
|
+
"""告警规则注释列表。
|
38704
38704
|
|
38705
38705
|
告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description。
|
38706
38706
|
:rtype: list of PrometheusRuleKV
|
@@ -38713,7 +38713,7 @@ class UpdateAlertRuleRequest(AbstractModel):
|
|
38713
38713
|
|
38714
38714
|
@property
|
38715
38715
|
def Type(self):
|
38716
|
-
"""
|
38716
|
+
"""告警策略模板分类(自定义,可不填)
|
38717
38717
|
:rtype: str
|
38718
38718
|
"""
|
38719
38719
|
return self._Type
|
@@ -3391,7 +3391,7 @@ class MonitorClient(AbstractClient):
|
|
3391
3391
|
def UpdateAlertRule(self, request):
|
3392
3392
|
"""更新 Prometheus 的告警规则。
|
3393
3393
|
|
3394
|
-
请注意,**告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description
|
3394
|
+
请注意,**告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description**,请参考 [Prometheus Rule更多配置请参考](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/)。
|
3395
3395
|
|
3396
3396
|
:param request: Request instance for UpdateAlertRule.
|
3397
3397
|
:type request: :class:`tencentcloud.monitor.v20180724.models.UpdateAlertRuleRequest`
|
@@ -398,6 +398,12 @@ INVALIDPARAMETERVALUE_XPOS = 'InvalidParameterValue.XPos'
|
|
398
398
|
# 水印原点距离视频图像坐标原点的垂直位置。支持 %、px 两种格式。
|
399
399
|
INVALIDPARAMETERVALUE_YPOS = 'InvalidParameterValue.YPos'
|
400
400
|
|
401
|
+
# 热词库创建数量到达默认上限
|
402
|
+
LIMITEXCEEDED_TOOMUCHHOTWORDS = 'LimitExceeded.TooMuchHotWords'
|
403
|
+
|
404
|
+
# 大型热词库创建到达上限
|
405
|
+
LIMITEXCEEDED_TOOMUCHLARGEHOTWORDS = 'LimitExceeded.TooMuchLargeHotWords'
|
406
|
+
|
401
407
|
# 超过限制值:模板数超限。
|
402
408
|
LIMITEXCEEDED_TOOMUCHTEMPLATE = 'LimitExceeded.TooMuchTemplate'
|
403
409
|
|