tencentcloud-sdk-python 3.0.1364__py2.py3-none-any.whl → 3.0.1366__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/cam/v20190116/models.py +0 -2
- tencentcloud/cat/v20180409/models.py +310 -0
- tencentcloud/ccc/v20200210/models.py +19 -0
- 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/clb/v20180317/models.py +0 -2
- 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/gs/v20191118/errorcodes.py +3 -0
- tencentcloud/gs/v20191118/gs_client.py +46 -0
- tencentcloud/gs/v20191118/models.py +244 -0
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lke/v20231130/models.py +4 -4
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -3
- 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/tdmq/v20200217/models.py +115 -95
- tencentcloud/tdmq/v20200217/tdmq_client.py +3 -3
- 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/models.py +4 -4
- tencentcloud/tione/v20211111/errorcodes.py +3 -0
- tencentcloud/tione/v20211111/models.py +660 -0
- tencentcloud/trtc/v20190722/models.py +2 -4
- tencentcloud/tse/v20201207/models.py +45 -0
- tencentcloud/vod/v20180717/models.py +6 -6
- tencentcloud/vpc/v20170312/models.py +18 -8
- tencentcloud/waf/v20180125/models.py +173 -0
- {tencentcloud_sdk_python-3.0.1364.dist-info → tencentcloud_sdk_python-3.0.1366.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1364.dist-info → tencentcloud_sdk_python-3.0.1366.dist-info}/RECORD +43 -43
- {tencentcloud_sdk_python-3.0.1364.dist-info → tencentcloud_sdk_python-3.0.1366.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1364.dist-info → tencentcloud_sdk_python-3.0.1366.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1364.dist-info → tencentcloud_sdk_python-3.0.1366.dist-info}/top_level.txt +0 -0
@@ -713,6 +713,57 @@ class AndroidInstanceImage(AbstractModel):
|
|
713
713
|
|
714
714
|
|
715
715
|
|
716
|
+
class AndroidInstanceInformation(AbstractModel):
|
717
|
+
"""安卓实例信息
|
718
|
+
|
719
|
+
"""
|
720
|
+
|
721
|
+
def __init__(self):
|
722
|
+
r"""
|
723
|
+
:param _AndroidInstanceId: 安卓实例 ID
|
724
|
+
:type AndroidInstanceId: str
|
725
|
+
:param _Name: 实例名称
|
726
|
+
:type Name: str
|
727
|
+
"""
|
728
|
+
self._AndroidInstanceId = None
|
729
|
+
self._Name = None
|
730
|
+
|
731
|
+
@property
|
732
|
+
def AndroidInstanceId(self):
|
733
|
+
"""安卓实例 ID
|
734
|
+
:rtype: str
|
735
|
+
"""
|
736
|
+
return self._AndroidInstanceId
|
737
|
+
|
738
|
+
@AndroidInstanceId.setter
|
739
|
+
def AndroidInstanceId(self, AndroidInstanceId):
|
740
|
+
self._AndroidInstanceId = AndroidInstanceId
|
741
|
+
|
742
|
+
@property
|
743
|
+
def Name(self):
|
744
|
+
"""实例名称
|
745
|
+
:rtype: str
|
746
|
+
"""
|
747
|
+
return self._Name
|
748
|
+
|
749
|
+
@Name.setter
|
750
|
+
def Name(self, Name):
|
751
|
+
self._Name = Name
|
752
|
+
|
753
|
+
|
754
|
+
def _deserialize(self, params):
|
755
|
+
self._AndroidInstanceId = params.get("AndroidInstanceId")
|
756
|
+
self._Name = params.get("Name")
|
757
|
+
memeber_set = set(params.keys())
|
758
|
+
for name, value in vars(self).items():
|
759
|
+
property_name = name[1:]
|
760
|
+
if property_name in memeber_set:
|
761
|
+
memeber_set.remove(property_name)
|
762
|
+
if len(memeber_set) > 0:
|
763
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
764
|
+
|
765
|
+
|
766
|
+
|
716
767
|
class AndroidInstanceLabel(AbstractModel):
|
717
768
|
"""安卓实例标签
|
718
769
|
|
@@ -4331,6 +4382,130 @@ class ExecuteCommandOnAndroidInstancesResponse(AbstractModel):
|
|
4331
4382
|
self._RequestId = params.get("RequestId")
|
4332
4383
|
|
4333
4384
|
|
4385
|
+
class FetchAndroidInstancesLogsRequest(AbstractModel):
|
4386
|
+
"""FetchAndroidInstancesLogs请求参数结构体
|
4387
|
+
|
4388
|
+
"""
|
4389
|
+
|
4390
|
+
def __init__(self):
|
4391
|
+
r"""
|
4392
|
+
:param _AndroidInstanceIds: 安卓实例 ID 列表
|
4393
|
+
:type AndroidInstanceIds: list of str
|
4394
|
+
:param _BucketName: cos 桶名称
|
4395
|
+
:type BucketName: str
|
4396
|
+
:param _BucketRegion: cos 桶区域
|
4397
|
+
:type BucketRegion: str
|
4398
|
+
:param _BucketDirectory: cos 桶目录,默认为 /log/
|
4399
|
+
:type BucketDirectory: str
|
4400
|
+
:param _RecentDays: 下载最近几天的日志,默认值为 1
|
4401
|
+
:type RecentDays: int
|
4402
|
+
"""
|
4403
|
+
self._AndroidInstanceIds = None
|
4404
|
+
self._BucketName = None
|
4405
|
+
self._BucketRegion = None
|
4406
|
+
self._BucketDirectory = None
|
4407
|
+
self._RecentDays = None
|
4408
|
+
|
4409
|
+
@property
|
4410
|
+
def AndroidInstanceIds(self):
|
4411
|
+
"""安卓实例 ID 列表
|
4412
|
+
:rtype: list of str
|
4413
|
+
"""
|
4414
|
+
return self._AndroidInstanceIds
|
4415
|
+
|
4416
|
+
@AndroidInstanceIds.setter
|
4417
|
+
def AndroidInstanceIds(self, AndroidInstanceIds):
|
4418
|
+
self._AndroidInstanceIds = AndroidInstanceIds
|
4419
|
+
|
4420
|
+
@property
|
4421
|
+
def BucketName(self):
|
4422
|
+
"""cos 桶名称
|
4423
|
+
:rtype: str
|
4424
|
+
"""
|
4425
|
+
return self._BucketName
|
4426
|
+
|
4427
|
+
@BucketName.setter
|
4428
|
+
def BucketName(self, BucketName):
|
4429
|
+
self._BucketName = BucketName
|
4430
|
+
|
4431
|
+
@property
|
4432
|
+
def BucketRegion(self):
|
4433
|
+
"""cos 桶区域
|
4434
|
+
:rtype: str
|
4435
|
+
"""
|
4436
|
+
return self._BucketRegion
|
4437
|
+
|
4438
|
+
@BucketRegion.setter
|
4439
|
+
def BucketRegion(self, BucketRegion):
|
4440
|
+
self._BucketRegion = BucketRegion
|
4441
|
+
|
4442
|
+
@property
|
4443
|
+
def BucketDirectory(self):
|
4444
|
+
"""cos 桶目录,默认为 /log/
|
4445
|
+
:rtype: str
|
4446
|
+
"""
|
4447
|
+
return self._BucketDirectory
|
4448
|
+
|
4449
|
+
@BucketDirectory.setter
|
4450
|
+
def BucketDirectory(self, BucketDirectory):
|
4451
|
+
self._BucketDirectory = BucketDirectory
|
4452
|
+
|
4453
|
+
@property
|
4454
|
+
def RecentDays(self):
|
4455
|
+
"""下载最近几天的日志,默认值为 1
|
4456
|
+
:rtype: int
|
4457
|
+
"""
|
4458
|
+
return self._RecentDays
|
4459
|
+
|
4460
|
+
@RecentDays.setter
|
4461
|
+
def RecentDays(self, RecentDays):
|
4462
|
+
self._RecentDays = RecentDays
|
4463
|
+
|
4464
|
+
|
4465
|
+
def _deserialize(self, params):
|
4466
|
+
self._AndroidInstanceIds = params.get("AndroidInstanceIds")
|
4467
|
+
self._BucketName = params.get("BucketName")
|
4468
|
+
self._BucketRegion = params.get("BucketRegion")
|
4469
|
+
self._BucketDirectory = params.get("BucketDirectory")
|
4470
|
+
self._RecentDays = params.get("RecentDays")
|
4471
|
+
memeber_set = set(params.keys())
|
4472
|
+
for name, value in vars(self).items():
|
4473
|
+
property_name = name[1:]
|
4474
|
+
if property_name in memeber_set:
|
4475
|
+
memeber_set.remove(property_name)
|
4476
|
+
if len(memeber_set) > 0:
|
4477
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4478
|
+
|
4479
|
+
|
4480
|
+
|
4481
|
+
class FetchAndroidInstancesLogsResponse(AbstractModel):
|
4482
|
+
"""FetchAndroidInstancesLogs返回参数结构体
|
4483
|
+
|
4484
|
+
"""
|
4485
|
+
|
4486
|
+
def __init__(self):
|
4487
|
+
r"""
|
4488
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4489
|
+
:type RequestId: str
|
4490
|
+
"""
|
4491
|
+
self._RequestId = None
|
4492
|
+
|
4493
|
+
@property
|
4494
|
+
def RequestId(self):
|
4495
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4496
|
+
:rtype: str
|
4497
|
+
"""
|
4498
|
+
return self._RequestId
|
4499
|
+
|
4500
|
+
@RequestId.setter
|
4501
|
+
def RequestId(self, RequestId):
|
4502
|
+
self._RequestId = RequestId
|
4503
|
+
|
4504
|
+
|
4505
|
+
def _deserialize(self, params):
|
4506
|
+
self._RequestId = params.get("RequestId")
|
4507
|
+
|
4508
|
+
|
4334
4509
|
class Filter(AbstractModel):
|
4335
4510
|
"""过滤
|
4336
4511
|
|
@@ -5007,6 +5182,75 @@ class ModifyAndroidInstanceResolutionResponse(AbstractModel):
|
|
5007
5182
|
self._RequestId = params.get("RequestId")
|
5008
5183
|
|
5009
5184
|
|
5185
|
+
class ModifyAndroidInstancesInformationRequest(AbstractModel):
|
5186
|
+
"""ModifyAndroidInstancesInformation请求参数结构体
|
5187
|
+
|
5188
|
+
"""
|
5189
|
+
|
5190
|
+
def __init__(self):
|
5191
|
+
r"""
|
5192
|
+
:param _AndroidInstanceInformations: 安卓实例信息数据
|
5193
|
+
:type AndroidInstanceInformations: list of AndroidInstanceInformation
|
5194
|
+
"""
|
5195
|
+
self._AndroidInstanceInformations = None
|
5196
|
+
|
5197
|
+
@property
|
5198
|
+
def AndroidInstanceInformations(self):
|
5199
|
+
"""安卓实例信息数据
|
5200
|
+
:rtype: list of AndroidInstanceInformation
|
5201
|
+
"""
|
5202
|
+
return self._AndroidInstanceInformations
|
5203
|
+
|
5204
|
+
@AndroidInstanceInformations.setter
|
5205
|
+
def AndroidInstanceInformations(self, AndroidInstanceInformations):
|
5206
|
+
self._AndroidInstanceInformations = AndroidInstanceInformations
|
5207
|
+
|
5208
|
+
|
5209
|
+
def _deserialize(self, params):
|
5210
|
+
if params.get("AndroidInstanceInformations") is not None:
|
5211
|
+
self._AndroidInstanceInformations = []
|
5212
|
+
for item in params.get("AndroidInstanceInformations"):
|
5213
|
+
obj = AndroidInstanceInformation()
|
5214
|
+
obj._deserialize(item)
|
5215
|
+
self._AndroidInstanceInformations.append(obj)
|
5216
|
+
memeber_set = set(params.keys())
|
5217
|
+
for name, value in vars(self).items():
|
5218
|
+
property_name = name[1:]
|
5219
|
+
if property_name in memeber_set:
|
5220
|
+
memeber_set.remove(property_name)
|
5221
|
+
if len(memeber_set) > 0:
|
5222
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5223
|
+
|
5224
|
+
|
5225
|
+
|
5226
|
+
class ModifyAndroidInstancesInformationResponse(AbstractModel):
|
5227
|
+
"""ModifyAndroidInstancesInformation返回参数结构体
|
5228
|
+
|
5229
|
+
"""
|
5230
|
+
|
5231
|
+
def __init__(self):
|
5232
|
+
r"""
|
5233
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5234
|
+
:type RequestId: str
|
5235
|
+
"""
|
5236
|
+
self._RequestId = None
|
5237
|
+
|
5238
|
+
@property
|
5239
|
+
def RequestId(self):
|
5240
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5241
|
+
:rtype: str
|
5242
|
+
"""
|
5243
|
+
return self._RequestId
|
5244
|
+
|
5245
|
+
@RequestId.setter
|
5246
|
+
def RequestId(self, RequestId):
|
5247
|
+
self._RequestId = RequestId
|
5248
|
+
|
5249
|
+
|
5250
|
+
def _deserialize(self, params):
|
5251
|
+
self._RequestId = params.get("RequestId")
|
5252
|
+
|
5253
|
+
|
5010
5254
|
class ModifyAndroidInstancesLabelsRequest(AbstractModel):
|
5011
5255
|
"""ModifyAndroidInstancesLabels请求参数结构体
|
5012
5256
|
|
@@ -29551,7 +29551,7 @@ SourceType为点播(PullVodPushLive)可以填多个,上限30个。
|
|
29551
29551
|
:param _EndTime: 结束时间,注意:
|
29552
29552
|
1. 结束时间必须大于开始时间;
|
29553
29553
|
2. 结束时间和开始时间必须大于当前时间;
|
29554
|
-
3. 结束时间 和 开始时间
|
29554
|
+
3. 结束时间 和 开始时间 间隔必须小于30天。
|
29555
29555
|
使用UTC格式时间,
|
29556
29556
|
例如:2019-01-08T10:00:00Z。
|
29557
29557
|
注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543#I)。
|
@@ -29706,7 +29706,7 @@ SourceType为点播(PullVodPushLive)可以填多个,上限30个。
|
|
29706
29706
|
"""结束时间,注意:
|
29707
29707
|
1. 结束时间必须大于开始时间;
|
29708
29708
|
2. 结束时间和开始时间必须大于当前时间;
|
29709
|
-
3. 结束时间 和 开始时间
|
29709
|
+
3. 结束时间 和 开始时间 间隔必须小于30天。
|
29710
29710
|
使用UTC格式时间,
|
29711
29711
|
例如:2019-01-08T10:00:00Z。
|
29712
29712
|
注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543#I)。
|
@@ -12365,9 +12365,9 @@ class GetWsTokenRequest(AbstractModel):
|
|
12365
12365
|
|
12366
12366
|
def __init__(self):
|
12367
12367
|
r"""
|
12368
|
-
:param _Type:
|
12368
|
+
:param _Type: 接入类型, 5-API 访客
|
12369
12369
|
:type Type: int
|
12370
|
-
:param _BotAppKey:
|
12370
|
+
:param _BotAppKey: 应用AppKey </br> 获取方式:</br> 1、应用发布后在应用页面[发布管理]-[调用信息]-[API管理]处获取</br> 2、参考 https://cloud.tencent.com/document/product/1759/109469 第二项
|
12371
12371
|
:type BotAppKey: str
|
12372
12372
|
:param _VisitorBizId: 访客ID(外部输入,建议唯一,标识当前接入会话的用户)
|
12373
12373
|
:type VisitorBizId: str
|
@@ -12381,7 +12381,7 @@ class GetWsTokenRequest(AbstractModel):
|
|
12381
12381
|
|
12382
12382
|
@property
|
12383
12383
|
def Type(self):
|
12384
|
-
"""
|
12384
|
+
"""接入类型, 5-API 访客
|
12385
12385
|
:rtype: int
|
12386
12386
|
"""
|
12387
12387
|
return self._Type
|
@@ -12392,7 +12392,7 @@ class GetWsTokenRequest(AbstractModel):
|
|
12392
12392
|
|
12393
12393
|
@property
|
12394
12394
|
def BotAppKey(self):
|
12395
|
-
"""
|
12395
|
+
""" 应用AppKey </br> 获取方式:</br> 1、应用发布后在应用页面[发布管理]-[调用信息]-[API管理]处获取</br> 2、参考 https://cloud.tencent.com/document/product/1759/109469 第二项
|
12396
12396
|
:rtype: str
|
12397
12397
|
"""
|
12398
12398
|
return self._BotAppKey
|
@@ -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
|
|
@@ -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
|
|