tencentcloud-sdk-nodejs-cls 4.1.191 → 4.1.193
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.
package/package.json
CHANGED
|
@@ -999,102 +999,90 @@ export interface CreateNoticeContentResponse {
|
|
|
999
999
|
*/
|
|
1000
1000
|
export interface ModifyAlarmRequest {
|
|
1001
1001
|
/**
|
|
1002
|
-
*
|
|
1002
|
+
* <p>告警策略ID。-通过<a href="https://cloud.tencent.com/document/product/614/56461">获取告警策略列表</a>获取告警策略ID</p>
|
|
1003
1003
|
*/
|
|
1004
1004
|
AlarmId: string;
|
|
1005
1005
|
/**
|
|
1006
|
-
*
|
|
1006
|
+
* <p>告警策略名称。最大支持255个字节,不支持 '|'。</p>
|
|
1007
1007
|
*/
|
|
1008
1008
|
Name?: string;
|
|
1009
1009
|
/**
|
|
1010
|
-
*
|
|
1010
|
+
* <p>监控任务运行时间点。</p>
|
|
1011
1011
|
*/
|
|
1012
1012
|
MonitorTime?: MonitorTime;
|
|
1013
1013
|
/**
|
|
1014
|
-
*
|
|
1015
|
-
|
|
1016
|
-
注意:
|
|
1017
|
-
- Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。
|
|
1014
|
+
* <p>告警信息发送的触发条件。</p><p>注意: </p><ul><li>Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。</li></ul>
|
|
1018
1015
|
*/
|
|
1019
1016
|
Condition?: string;
|
|
1020
1017
|
/**
|
|
1021
|
-
*
|
|
1022
|
-
|
|
1023
|
-
0:警告(Warn);1:提醒(Info);2:紧急 (Critical)
|
|
1024
|
-
|
|
1025
|
-
注意:
|
|
1026
|
-
- Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。
|
|
1018
|
+
* <p>告警级别。</p><p>0:警告(Warn);1:提醒(Info);2:紧急 (Critical)</p><p>注意: </p><ul><li>Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。</li></ul>
|
|
1027
1019
|
*/
|
|
1028
1020
|
AlarmLevel?: number;
|
|
1029
1021
|
/**
|
|
1030
|
-
*
|
|
1031
|
-
|
|
1032
|
-
注意:
|
|
1033
|
-
- Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。
|
|
1022
|
+
* <p>多触发条件。 </p><p>注意: </p><ul><li>Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。</li></ul>
|
|
1034
1023
|
*/
|
|
1035
1024
|
MultiConditions?: Array<MultiCondition>;
|
|
1036
1025
|
/**
|
|
1037
|
-
*
|
|
1026
|
+
* <p>持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为2000。</p>
|
|
1038
1027
|
*/
|
|
1039
1028
|
TriggerCount?: number;
|
|
1040
1029
|
/**
|
|
1041
|
-
*
|
|
1030
|
+
* <p>告警重复的周期。单位是分钟。取值范围是0~1440。</p>
|
|
1042
1031
|
*/
|
|
1043
1032
|
AlarmPeriod?: number;
|
|
1044
1033
|
/**
|
|
1045
|
-
*
|
|
1046
|
-
*/
|
|
1047
|
-
AlarmNoticeIds?: Array<string>;
|
|
1048
|
-
/**
|
|
1049
|
-
* 监控对象列表。
|
|
1034
|
+
* <p>监控对象列表。</p>
|
|
1050
1035
|
*/
|
|
1051
1036
|
AlarmTargets?: Array<AlarmTarget>;
|
|
1052
1037
|
/**
|
|
1053
|
-
*
|
|
1038
|
+
* <p>是否开启告警策略。</p>
|
|
1054
1039
|
*/
|
|
1055
1040
|
Status?: boolean;
|
|
1056
1041
|
/**
|
|
1057
|
-
*
|
|
1042
|
+
* <p>该参数已废弃,请使用Status参数控制是否开启告警策略。</p>
|
|
1058
1043
|
* @deprecated
|
|
1059
1044
|
*/
|
|
1060
1045
|
Enable?: boolean;
|
|
1061
1046
|
/**
|
|
1062
|
-
*
|
|
1047
|
+
* <p>用户自定义告警内容</p>
|
|
1063
1048
|
*/
|
|
1064
1049
|
MessageTemplate?: string;
|
|
1065
1050
|
/**
|
|
1066
|
-
*
|
|
1051
|
+
* <p>用户自定义回调</p>
|
|
1067
1052
|
*/
|
|
1068
1053
|
CallBack?: CallBackInfo;
|
|
1069
1054
|
/**
|
|
1070
|
-
*
|
|
1055
|
+
* <p>多维分析</p>
|
|
1071
1056
|
*/
|
|
1072
1057
|
Analysis?: Array<AnalysisDimensional>;
|
|
1073
1058
|
/**
|
|
1074
|
-
*
|
|
1059
|
+
* <p>分组触发状态。true:开启,false:关闭(默认)</p>
|
|
1075
1060
|
*/
|
|
1076
1061
|
GroupTriggerStatus?: boolean;
|
|
1077
1062
|
/**
|
|
1078
|
-
*
|
|
1063
|
+
* <p>分组触发条件。</p>
|
|
1079
1064
|
*/
|
|
1080
1065
|
GroupTriggerCondition?: Array<string>;
|
|
1081
1066
|
/**
|
|
1082
|
-
*
|
|
1067
|
+
* <p>标签描述列表,通过指定该参数可以同时绑定标签到相应的告警策略。最大支持10个标签键值对,并且不能有重复的键值对。</p>
|
|
1083
1068
|
*/
|
|
1084
1069
|
Tags?: Array<Tag>;
|
|
1085
1070
|
/**
|
|
1086
|
-
*
|
|
1087
|
-
当值为1时,AlarmTargets元素个数不能超过10个,AlarmTargets中的Number必须是从1开始的连续正整数,不能重复。
|
|
1088
|
-
|
|
1071
|
+
* <p>监控对象类型。0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。<br>当值为1时,AlarmTargets元素个数不能超过10个,AlarmTargets中的Number必须是从1开始的连续正整数,不能重复。</p>
|
|
1089
1072
|
*/
|
|
1090
1073
|
MonitorObjectType?: number;
|
|
1091
1074
|
/**
|
|
1092
|
-
*
|
|
1093
|
-
Classifications元素个数不能超过20个。
|
|
1094
|
-
Classifications元素的Key不能为空,不能重复,长度不能超过50个字符,符合正则 `^[a-z]([a-z0-9_]{0,49})$`。
|
|
1095
|
-
Classifications元素的Value长度不能超过200个字符。
|
|
1075
|
+
* <p>告警附加分类信息列表。<br>Classifications元素个数不能超过20个。<br>Classifications元素的Key不能为空,不能重复,长度不能超过50个字符,符合正则 <code>^[a-z]([a-z0-9_]{0,49})$</code>。<br>Classifications元素的Value长度不能超过200个字符。</p>
|
|
1096
1076
|
*/
|
|
1097
1077
|
Classifications?: Array<AlarmClassification>;
|
|
1078
|
+
/**
|
|
1079
|
+
* <p>关联的日志服务告警通知渠道组列表。-通过<a href="https://cloud.tencent.com/document/product/614/56462">获取通知渠道组列表</a>获取关联的告警通知渠道组列表,和MonitorNotice互斥</p>
|
|
1080
|
+
*/
|
|
1081
|
+
AlarmNoticeIds?: Array<string>;
|
|
1082
|
+
/**
|
|
1083
|
+
* <p>关联的可观测平台通知模板,与 AlarmNoticeIds 参数互斥,不能同时使用</p>
|
|
1084
|
+
*/
|
|
1085
|
+
MonitorNotice?: MonitorNotice;
|
|
1098
1086
|
}
|
|
1099
1087
|
/**
|
|
1100
1088
|
* 特殊采集规则配置信息
|
|
@@ -2583,16 +2571,16 @@ export interface ModifyShipperRequest {
|
|
|
2583
2571
|
*/
|
|
2584
2572
|
export interface MonitorNoticeRule {
|
|
2585
2573
|
/**
|
|
2586
|
-
*
|
|
2574
|
+
* <p>腾讯云可观测平台通知模板 ID</p>
|
|
2587
2575
|
*/
|
|
2588
2576
|
NoticeId?: string;
|
|
2589
2577
|
/**
|
|
2590
|
-
*
|
|
2578
|
+
* <p>腾讯云可观测平台内容模板ID,为空时使用默认内容模板</p>
|
|
2591
2579
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2592
2580
|
*/
|
|
2593
2581
|
ContentTmplId?: string;
|
|
2594
2582
|
/**
|
|
2595
|
-
*
|
|
2583
|
+
* <p>告警级别,0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)</p>
|
|
2596
2584
|
*/
|
|
2597
2585
|
AlarmLevels?: Array<number | bigint>;
|
|
2598
2586
|
}
|
|
@@ -4501,15 +4489,33 @@ export interface CreateConsumerResponse {
|
|
|
4501
4489
|
*/
|
|
4502
4490
|
export interface DataTransformResouceInfo {
|
|
4503
4491
|
/**
|
|
4504
|
-
*
|
|
4505
|
-
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
4492
|
+
* <p>日志主题ID</p><ul><li>通过<a href="https://cloud.tencent.com/document/product/614/56454">获取日志主题列表</a>获取日志主题Id。</li></ul>
|
|
4506
4493
|
*/
|
|
4507
4494
|
TopicId: string;
|
|
4508
4495
|
/**
|
|
4509
|
-
*
|
|
4510
|
-
限制:不能包含字符 |。
|
|
4496
|
+
* <p>别名<br>限制:不能包含字符 |。</p>
|
|
4511
4497
|
*/
|
|
4512
4498
|
Alias?: string;
|
|
4499
|
+
/**
|
|
4500
|
+
* <p>是否是跨账号主题,false不是跨账号主题,true是跨账号主题</p><p>默认值:false</p>
|
|
4501
|
+
*/
|
|
4502
|
+
IsCrossAccount?: boolean;
|
|
4503
|
+
/**
|
|
4504
|
+
* <p>跨账号场景下,被投递账号给投递账号创建的角色ARN值,在被投递账号的角色里查找</p>
|
|
4505
|
+
*/
|
|
4506
|
+
RoleARN?: string;
|
|
4507
|
+
/**
|
|
4508
|
+
* <p>外部ID值,可以在被投递账号的角色-载体里找到该值</p>
|
|
4509
|
+
*/
|
|
4510
|
+
ExternalId?: string;
|
|
4511
|
+
/**
|
|
4512
|
+
* <p>topic名称</p>
|
|
4513
|
+
*/
|
|
4514
|
+
TopicName?: string;
|
|
4515
|
+
/**
|
|
4516
|
+
* <p>日志集的名称</p>
|
|
4517
|
+
*/
|
|
4518
|
+
LogsetName?: string;
|
|
4513
4519
|
}
|
|
4514
4520
|
/**
|
|
4515
4521
|
* DeleteMachineGroup请求参数结构体
|
|
@@ -4723,104 +4729,86 @@ export interface TopicExtendInfo {
|
|
|
4723
4729
|
*/
|
|
4724
4730
|
export interface CreateAlarmRequest {
|
|
4725
4731
|
/**
|
|
4726
|
-
*
|
|
4732
|
+
* <p>告警策略名称。最大支持255个字节。 不支持 '|'。</p>
|
|
4727
4733
|
*/
|
|
4728
4734
|
Name: string;
|
|
4729
4735
|
/**
|
|
4730
|
-
*
|
|
4736
|
+
* <p>监控对象列表。</p>
|
|
4731
4737
|
*/
|
|
4732
4738
|
AlarmTargets: Array<AlarmTarget>;
|
|
4733
4739
|
/**
|
|
4734
|
-
*
|
|
4740
|
+
* <p>监控任务运行时间点。</p>
|
|
4735
4741
|
*/
|
|
4736
4742
|
MonitorTime: MonitorTime;
|
|
4737
4743
|
/**
|
|
4738
|
-
*
|
|
4744
|
+
* <p>持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为2000。</p>
|
|
4739
4745
|
*/
|
|
4740
4746
|
TriggerCount: number;
|
|
4741
4747
|
/**
|
|
4742
|
-
*
|
|
4748
|
+
* <p>告警重复的周期,单位是分钟。取值范围是0~1440。</p>
|
|
4743
4749
|
*/
|
|
4744
4750
|
AlarmPeriod: number;
|
|
4745
4751
|
/**
|
|
4746
|
-
*
|
|
4747
|
-
*/
|
|
4748
|
-
AlarmNoticeIds?: Array<string>;
|
|
4749
|
-
/**
|
|
4750
|
-
* 告警发送通知的触发条件
|
|
4751
|
-
注意:
|
|
4752
|
-
- Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。
|
|
4753
|
-
|
|
4752
|
+
* <p>告警发送通知的触发条件<br> 注意: </p><ul><li>Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。</li></ul>
|
|
4754
4753
|
*/
|
|
4755
4754
|
Condition?: string;
|
|
4756
4755
|
/**
|
|
4757
|
-
*
|
|
4758
|
-
0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)。
|
|
4759
|
-
注意:
|
|
4760
|
-
- 不填则默认为0。
|
|
4761
|
-
- Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。
|
|
4756
|
+
* <p>告警级别<br>0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)。<br>注意: </p><ul><li>不填则默认为0。</li><li>Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。</li></ul>
|
|
4762
4757
|
*/
|
|
4763
4758
|
AlarmLevel?: number;
|
|
4764
4759
|
/**
|
|
4765
|
-
*
|
|
4766
|
-
注意:
|
|
4767
|
-
- Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
4760
|
+
* <p>多触发条件<br> 注意: </p><ul><li>Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。</li></ul>
|
|
4771
4761
|
*/
|
|
4772
4762
|
MultiConditions?: Array<MultiCondition>;
|
|
4773
4763
|
/**
|
|
4774
|
-
*
|
|
4775
|
-
默认值为true
|
|
4764
|
+
* <p>是否开启告警策略。<br>默认值为true</p>
|
|
4776
4765
|
*/
|
|
4777
4766
|
Status?: boolean;
|
|
4778
4767
|
/**
|
|
4779
|
-
*
|
|
4768
|
+
* <p>请使用Status参数控制是否开启告警策略。</p>
|
|
4780
4769
|
* @deprecated
|
|
4781
4770
|
*/
|
|
4782
4771
|
Enable?: boolean;
|
|
4783
4772
|
/**
|
|
4784
|
-
*
|
|
4773
|
+
* <p>用户自定义告警内容</p>
|
|
4785
4774
|
*/
|
|
4786
4775
|
MessageTemplate?: string;
|
|
4787
4776
|
/**
|
|
4788
|
-
*
|
|
4777
|
+
* <p>用户自定义回调</p>
|
|
4789
4778
|
*/
|
|
4790
4779
|
CallBack?: CallBackInfo;
|
|
4791
4780
|
/**
|
|
4792
|
-
*
|
|
4781
|
+
* <p>多维分析</p>
|
|
4793
4782
|
*/
|
|
4794
4783
|
Analysis?: Array<AnalysisDimensional>;
|
|
4795
4784
|
/**
|
|
4796
|
-
*
|
|
4797
|
-
默认值false
|
|
4785
|
+
* <p>分组触发状态。<br>默认值false</p>
|
|
4798
4786
|
*/
|
|
4799
4787
|
GroupTriggerStatus?: boolean;
|
|
4800
4788
|
/**
|
|
4801
|
-
*
|
|
4789
|
+
* <p>分组触发条件。</p>
|
|
4802
4790
|
*/
|
|
4803
4791
|
GroupTriggerCondition?: Array<string>;
|
|
4804
4792
|
/**
|
|
4805
|
-
*
|
|
4806
|
-
|
|
4807
|
-
最大支持10个标签键值对,并且不能有重复的键值对。
|
|
4793
|
+
* <p>标签描述列表,通过指定该参数可以同时绑定标签到相应的告警策略。</p><p>最大支持10个标签键值对,并且不能有重复的键值对。</p>
|
|
4808
4794
|
*/
|
|
4809
4795
|
Tags?: Array<Tag>;
|
|
4810
4796
|
/**
|
|
4811
|
-
*
|
|
4812
|
-
不填则默认为0。
|
|
4813
|
-
当值为1时,AlarmTargets元素个数不能超过10个,AlarmTargets中的Number必须是从1开始的连续正整数,不能重复。
|
|
4814
|
-
|
|
4797
|
+
* <p>监控对象类型。0:执行语句共用监控对象; 1:每个执行语句单独选择监控对象。<br>不填则默认为0。<br>当值为1时,AlarmTargets元素个数不能超过10个,AlarmTargets中的Number必须是从1开始的连续正整数,不能重复。</p>
|
|
4815
4798
|
*/
|
|
4816
4799
|
MonitorObjectType?: number;
|
|
4817
4800
|
/**
|
|
4818
|
-
*
|
|
4819
|
-
Classifications元素个数不能超过20个。
|
|
4820
|
-
Classifications元素的Key不能为空,不能重复,长度不能超过50个字符,符合正则 `^[a-z]([a-z0-9_]{0,49})$`。
|
|
4821
|
-
Classifications元素的Value长度不能超过200个字符。
|
|
4801
|
+
* <p>告警附加分类信息列表。<br>Classifications元素个数不能超过20个。<br>Classifications元素的Key不能为空,不能重复,长度不能超过50个字符,符合正则 <code>^[a-z]([a-z0-9_]{0,49})$</code>。<br>Classifications元素的Value长度不能超过200个字符。</p>
|
|
4822
4802
|
*/
|
|
4823
4803
|
Classifications?: Array<AlarmClassification>;
|
|
4804
|
+
/**
|
|
4805
|
+
* <p>关联的日志服务告警通知渠道组列表。-通过<a href="https://cloud.tencent.com/document/product/614/56462">获取通知渠道组列表</a>获取关联的告警通知渠道组列表,和MonitorNotice互斥</p>
|
|
4806
|
+
*/
|
|
4807
|
+
AlarmNoticeIds?: Array<string>;
|
|
4808
|
+
/**
|
|
4809
|
+
* <p>关联的可观测平台通知模板,与 AlarmNoticeIds 参数互斥,不能同时使用</p>
|
|
4810
|
+
*/
|
|
4811
|
+
MonitorNotice?: MonitorNotice;
|
|
4824
4812
|
}
|
|
4825
4813
|
/**
|
|
4826
4814
|
* 数据湖计算服务(Data Lake Compute,简称DLC)数据字段配置信息
|
|
@@ -9818,7 +9806,7 @@ export interface UploadLogResponse {
|
|
|
9818
9806
|
*/
|
|
9819
9807
|
export interface CreateAlarmResponse {
|
|
9820
9808
|
/**
|
|
9821
|
-
*
|
|
9809
|
+
* <p>告警策略ID。</p>
|
|
9822
9810
|
*/
|
|
9823
9811
|
AlarmId?: string;
|
|
9824
9812
|
/**
|
|
@@ -12849,7 +12837,7 @@ export interface CreateDataTransformRequest {
|
|
|
12849
12837
|
名称限制
|
|
12850
12838
|
- 不能为空字符串
|
|
12851
12839
|
- 不能包含字符'|'
|
|
12852
|
-
- 最长
|
|
12840
|
+
- 最长128 个字符
|
|
12853
12841
|
*/
|
|
12854
12842
|
Name: string;
|
|
12855
12843
|
/**
|