tencentcloud-sdk-nodejs 4.1.257 → 4.1.259
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/es/common/sdk_version.js +1 -1
- package/es/services/cfw/v20190904/cfw_client.js +3 -0
- package/es/services/cngw/v20230418/cngw_client.js +12 -0
- package/es/services/csip/v20221121/csip_client.js +24 -0
- package/es/services/cwp/v20180228/cwp_client.js +3 -0
- package/es/services/dlc/v20210125/dlc_client.js +3 -0
- package/es/services/dts/v20211206/dts_client.js +6 -0
- package/es/services/monitor/v20180724/monitor_client.js +3 -0
- package/es/services/omics/v20221128/omics_client.js +3 -0
- package/es/services/tdmysql/v20211122/tdmysql_client.js +0 -3
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/adp/v20260520/adp_client.d.ts +1 -1
- package/tencentcloud/services/adp/v20260520/adp_models.d.ts +850 -447
- package/tencentcloud/services/apis/v20240801/apis_models.d.ts +12 -0
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +28 -0
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +32 -7
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +11 -7
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +8 -8
- package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +26 -24
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +5 -1
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +6 -0
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +38 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +59 -105
- package/tencentcloud/services/cngw/v20230418/cngw_client.d.ts +17 -1
- package/tencentcloud/services/cngw/v20230418/cngw_client.js +24 -0
- package/tencentcloud/services/cngw/v20230418/cngw_models.d.ts +202 -82
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +33 -1
- package/tencentcloud/services/csip/v20221121/csip_client.js +48 -0
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +856 -187
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +5 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +6 -0
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +64 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +2 -0
- package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +2 -2
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +34 -12
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +10 -24
- package/tencentcloud/services/dts/v20211206/dts_client.d.ts +9 -1
- package/tencentcloud/services/dts/v20211206/dts_client.js +12 -0
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +129 -4
- package/tencentcloud/services/eb/v20210416/eb_models.d.ts +96 -96
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +4 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +2 -2
- package/tencentcloud/services/ess/v20201111/ess_client.js +2 -2
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +44 -279
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +17 -17
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +18 -18
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +7 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +8 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +398 -386
- package/tencentcloud/services/monitor/v20230616/monitor_models.d.ts +15 -15
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +67 -0
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +4 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +4 -2
- package/tencentcloud/services/omics/v20221128/omics_client.d.ts +5 -1
- package/tencentcloud/services/omics/v20221128/omics_client.js +6 -0
- package/tencentcloud/services/omics/v20221128/omics_models.d.ts +46 -8
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +17 -9
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +45 -21
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +326 -240
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +18 -18
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +12 -4
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +12 -4
- package/tencentcloud/services/tdmysql/v20211122/tdmysql_client.d.ts +1 -5
- package/tencentcloud/services/tdmysql/v20211122/tdmysql_client.js +0 -6
- package/tencentcloud/services/tdmysql/v20211122/tdmysql_models.d.ts +0 -34
- package/tencentcloud/services/tokenhub/v20260322/tokenhub_client.d.ts +11 -3
- package/tencentcloud/services/tokenhub/v20260322/tokenhub_client.js +11 -3
- package/tencentcloud/services/tokenhub/v20260322/tokenhub_models.d.ts +53 -33
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +6 -8
- package/tencentcloud/services/vm/v20210922/vm_client.d.ts +1 -1
- package/tencentcloud/services/vm/v20210922/vm_models.d.ts +86 -65
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +56 -26
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +30 -6
- package/tencentcloud/services/vtc/v20240223/vtc_client.d.ts +3 -1
- package/tencentcloud/services/vtc/v20240223/vtc_client.js +3 -1
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +290 -237
- package/tencentcloud/services/wsa/v20250508/wsa_models.d.ts +10 -2
|
@@ -3,14 +3,27 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface DeleteAlarmShieldsRequest {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* <p>模块名,这里填“monitor”</p>
|
|
7
7
|
*/
|
|
8
8
|
Module: string;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* <p>屏蔽策略Id列表</p>
|
|
11
11
|
*/
|
|
12
12
|
Shields: Array<string>;
|
|
13
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* DescribePrometheusCreateInstanceQuota返回参数结构体
|
|
16
|
+
*/
|
|
17
|
+
export interface DescribePrometheusCreateInstanceQuotaResponse {
|
|
18
|
+
/**
|
|
19
|
+
* <p>prometheus实例创建配额</p>
|
|
20
|
+
*/
|
|
21
|
+
QuotaDetail?: PrometheusInstanceQuotaDetail;
|
|
22
|
+
/**
|
|
23
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
24
|
+
*/
|
|
25
|
+
RequestId?: string;
|
|
26
|
+
}
|
|
14
27
|
/**
|
|
15
28
|
* ModifyAlarmPolicyInfo请求参数结构体
|
|
16
29
|
*/
|
|
@@ -207,76 +220,76 @@ export interface DescribeExternalClusterRegisterCommandResponse {
|
|
|
207
220
|
*/
|
|
208
221
|
export interface DescribePolicyGroupInfoResponse {
|
|
209
222
|
/**
|
|
210
|
-
*
|
|
223
|
+
* <p>策略组名称</p>
|
|
211
224
|
*/
|
|
212
225
|
GroupName?: string;
|
|
213
226
|
/**
|
|
214
|
-
*
|
|
227
|
+
* <p>策略组所属的项目id</p>
|
|
215
228
|
*/
|
|
216
229
|
ProjectId?: number;
|
|
217
230
|
/**
|
|
218
|
-
*
|
|
231
|
+
* <p>是否为默认策略,0表示非默认策略,1表示默认策略</p>
|
|
219
232
|
*/
|
|
220
233
|
IsDefault?: number;
|
|
221
234
|
/**
|
|
222
|
-
*
|
|
235
|
+
* <p>策略类型</p>
|
|
223
236
|
*/
|
|
224
237
|
ViewName?: string;
|
|
225
238
|
/**
|
|
226
|
-
*
|
|
239
|
+
* <p>策略说明</p>
|
|
227
240
|
*/
|
|
228
241
|
Remark?: string;
|
|
229
242
|
/**
|
|
230
|
-
*
|
|
243
|
+
* <p>策略类型名称</p>
|
|
231
244
|
*/
|
|
232
245
|
ShowName?: string;
|
|
233
246
|
/**
|
|
234
|
-
*
|
|
247
|
+
* <p>最近编辑的用户uin</p>
|
|
235
248
|
*/
|
|
236
249
|
LastEditUin?: string;
|
|
237
250
|
/**
|
|
238
|
-
*
|
|
251
|
+
* <p>最近编辑时间</p>
|
|
239
252
|
*/
|
|
240
253
|
UpdateTime?: string;
|
|
241
254
|
/**
|
|
242
|
-
*
|
|
255
|
+
* <p>该策略支持的地域</p>
|
|
243
256
|
*/
|
|
244
257
|
Region?: Array<string>;
|
|
245
258
|
/**
|
|
246
|
-
*
|
|
259
|
+
* <p>策略类型的维度列表</p>
|
|
247
260
|
*/
|
|
248
261
|
DimensionGroup?: Array<string>;
|
|
249
262
|
/**
|
|
250
|
-
*
|
|
263
|
+
* <p>阈值规则列表</p>
|
|
251
264
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
252
265
|
*/
|
|
253
266
|
ConditionsConfig?: Array<DescribePolicyGroupInfoCondition>;
|
|
254
267
|
/**
|
|
255
|
-
*
|
|
268
|
+
* <p>产品事件规则列表</p>
|
|
256
269
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
257
270
|
*/
|
|
258
271
|
EventConfig?: Array<DescribePolicyGroupInfoEventCondition>;
|
|
259
272
|
/**
|
|
260
|
-
*
|
|
273
|
+
* <p>用户接收人列表</p>
|
|
261
274
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
262
275
|
*/
|
|
263
276
|
ReceiverInfos?: Array<DescribePolicyGroupInfoReceiverInfo>;
|
|
264
277
|
/**
|
|
265
|
-
*
|
|
278
|
+
* <p>用户回调信息</p>
|
|
266
279
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
267
280
|
*/
|
|
268
281
|
Callback?: DescribePolicyGroupInfoCallback;
|
|
269
282
|
/**
|
|
270
|
-
*
|
|
283
|
+
* <p>模板策略组</p>
|
|
271
284
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
272
285
|
*/
|
|
273
286
|
ConditionsTemp?: DescribePolicyGroupInfoConditionTpl;
|
|
274
287
|
/**
|
|
275
|
-
*
|
|
288
|
+
* <p>是否可以设置成默认策略</p>
|
|
276
289
|
*/
|
|
277
290
|
CanSetDefault?: boolean;
|
|
278
291
|
/**
|
|
279
|
-
*
|
|
292
|
+
* <p>是否且规则</p>
|
|
280
293
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
281
294
|
*/
|
|
282
295
|
IsUnionRule?: number;
|
|
@@ -309,11 +322,13 @@ export interface NotificationContentTemplateSupport {
|
|
|
309
322
|
*/
|
|
310
323
|
export interface PolicyTag {
|
|
311
324
|
/**
|
|
312
|
-
*
|
|
325
|
+
* <p>标签Key</p>
|
|
326
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
313
327
|
*/
|
|
314
328
|
Key: string;
|
|
315
329
|
/**
|
|
316
|
-
*
|
|
330
|
+
* <p>标签Value</p>
|
|
331
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
317
332
|
*/
|
|
318
333
|
Value: string;
|
|
319
334
|
}
|
|
@@ -447,40 +462,36 @@ export interface DescribePolicyConditionListResponseDeprecatingInfo {
|
|
|
447
462
|
*/
|
|
448
463
|
export interface PrometheusTempModify {
|
|
449
464
|
/**
|
|
450
|
-
*
|
|
465
|
+
* <p>修改名称</p>
|
|
451
466
|
*/
|
|
452
467
|
Name?: string;
|
|
453
468
|
/**
|
|
454
|
-
*
|
|
469
|
+
* <p>修改描述</p>
|
|
455
470
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
456
471
|
*/
|
|
457
472
|
Describe?: string;
|
|
458
473
|
/**
|
|
459
|
-
*
|
|
460
|
-
模板中的ServiceMonitor规则列表
|
|
474
|
+
* <p>当Level为cluster时有效,<br>模板中的ServiceMonitor规则列表</p>
|
|
461
475
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
462
476
|
*/
|
|
463
477
|
ServiceMonitors?: Array<PrometheusConfigItem>;
|
|
464
478
|
/**
|
|
465
|
-
*
|
|
466
|
-
模板中的PodMonitors规则列表
|
|
479
|
+
* <p>当Level为cluster时有效,<br>模板中的PodMonitors规则列表</p>
|
|
467
480
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
468
481
|
*/
|
|
469
482
|
PodMonitors?: Array<PrometheusConfigItem>;
|
|
470
483
|
/**
|
|
471
|
-
*
|
|
472
|
-
模板中的RawJobs规则列表
|
|
484
|
+
* <p>当Level为cluster时有效,<br>模板中的RawJobs规则列表</p>
|
|
473
485
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
474
486
|
*/
|
|
475
487
|
RawJobs?: Array<PrometheusConfigItem>;
|
|
476
488
|
/**
|
|
477
|
-
*
|
|
478
|
-
模板中的聚合规则列表
|
|
489
|
+
* <p>当Level为instance时有效,<br>模板中的聚合规则列表</p>
|
|
479
490
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
480
491
|
*/
|
|
481
492
|
RecordRules?: Array<PrometheusConfigItem>;
|
|
482
493
|
/**
|
|
483
|
-
*
|
|
494
|
+
* <p>修改内容,只有当模板类型是Alert时生效</p>
|
|
484
495
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
485
496
|
*/
|
|
486
497
|
AlertDetailRules?: Array<PrometheusAlertPolicyItem>;
|
|
@@ -741,16 +752,16 @@ export interface UpdateGrafanaWhiteListResponse {
|
|
|
741
752
|
*/
|
|
742
753
|
export interface DescribePolicyGroupListResponse {
|
|
743
754
|
/**
|
|
744
|
-
*
|
|
755
|
+
* <p>策略组列表</p>
|
|
745
756
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
746
757
|
*/
|
|
747
758
|
GroupList?: Array<DescribePolicyGroupListGroup>;
|
|
748
759
|
/**
|
|
749
|
-
*
|
|
760
|
+
* <p>策略组总数</p>
|
|
750
761
|
*/
|
|
751
762
|
Total?: number;
|
|
752
763
|
/**
|
|
753
|
-
*
|
|
764
|
+
* <p>备注信息</p>
|
|
754
765
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
755
766
|
*/
|
|
756
767
|
Warning?: string;
|
|
@@ -768,6 +779,10 @@ export interface DescribeGrafanaEnvironmentsRequest {
|
|
|
768
779
|
*/
|
|
769
780
|
InstanceId: string;
|
|
770
781
|
}
|
|
782
|
+
/**
|
|
783
|
+
* DescribePrometheusCreateInstanceQuota请求参数结构体
|
|
784
|
+
*/
|
|
785
|
+
export type DescribePrometheusCreateInstanceQuotaRequest = null;
|
|
771
786
|
/**
|
|
772
787
|
* prometheus配置
|
|
773
788
|
*/
|
|
@@ -1043,11 +1058,11 @@ export interface DeleteExporterIntegrationRequest {
|
|
|
1043
1058
|
*/
|
|
1044
1059
|
export interface PrometheusRuleKV {
|
|
1045
1060
|
/**
|
|
1046
|
-
*
|
|
1061
|
+
* <p>键</p>
|
|
1047
1062
|
*/
|
|
1048
1063
|
Key: string;
|
|
1049
1064
|
/**
|
|
1050
|
-
*
|
|
1065
|
+
* <p>值</p>
|
|
1051
1066
|
*/
|
|
1052
1067
|
Value: string;
|
|
1053
1068
|
}
|
|
@@ -1056,7 +1071,7 @@ export interface PrometheusRuleKV {
|
|
|
1056
1071
|
*/
|
|
1057
1072
|
export interface DescribePolicyConditionListResponse {
|
|
1058
1073
|
/**
|
|
1059
|
-
*
|
|
1074
|
+
* <p>告警策略条件列表</p>
|
|
1060
1075
|
*/
|
|
1061
1076
|
Conditions?: Array<DescribePolicyConditionListCondition>;
|
|
1062
1077
|
/**
|
|
@@ -1069,62 +1084,58 @@ export interface DescribePolicyConditionListResponse {
|
|
|
1069
1084
|
*/
|
|
1070
1085
|
export interface PrometheusRuleSet {
|
|
1071
1086
|
/**
|
|
1072
|
-
*
|
|
1087
|
+
* <p>规则 ID</p>
|
|
1073
1088
|
*/
|
|
1074
1089
|
RuleId: string;
|
|
1075
1090
|
/**
|
|
1076
|
-
*
|
|
1091
|
+
* <p>规则名称</p>
|
|
1077
1092
|
*/
|
|
1078
1093
|
RuleName: string;
|
|
1079
1094
|
/**
|
|
1080
|
-
*
|
|
1095
|
+
* <p>规则状态码</p>
|
|
1081
1096
|
*/
|
|
1082
1097
|
RuleState: number;
|
|
1083
1098
|
/**
|
|
1084
|
-
*
|
|
1099
|
+
* <p>规则类别</p>
|
|
1085
1100
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1086
1101
|
*/
|
|
1087
1102
|
Type: string;
|
|
1088
1103
|
/**
|
|
1089
|
-
*
|
|
1104
|
+
* <p>规则标签列表</p>
|
|
1090
1105
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1091
1106
|
*/
|
|
1092
1107
|
Labels: Array<PrometheusRuleKV>;
|
|
1093
1108
|
/**
|
|
1094
|
-
*
|
|
1109
|
+
* <p>规则注释列表</p>
|
|
1095
1110
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1096
1111
|
*/
|
|
1097
1112
|
Annotations: Array<PrometheusRuleKV>;
|
|
1098
1113
|
/**
|
|
1099
|
-
*
|
|
1114
|
+
* <p>规则表达式</p>
|
|
1100
1115
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1101
1116
|
*/
|
|
1102
1117
|
Expr: string;
|
|
1103
1118
|
/**
|
|
1104
|
-
*
|
|
1119
|
+
* <p>规则报警持续时间</p>
|
|
1105
1120
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1106
1121
|
*/
|
|
1107
1122
|
Duration: string;
|
|
1108
1123
|
/**
|
|
1109
|
-
*
|
|
1124
|
+
* <p>报警接收组列表</p>
|
|
1110
1125
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1111
1126
|
*/
|
|
1112
1127
|
Receivers: Array<string>;
|
|
1113
1128
|
/**
|
|
1114
|
-
*
|
|
1115
|
-
<li>unknown 未知状态</li>
|
|
1116
|
-
<li>pending 加载中</li>
|
|
1117
|
-
<li>ok 运行正常</li>
|
|
1118
|
-
<li>err 运行错误</li>
|
|
1129
|
+
* <p>规则运行健康状态,取值如下:</p><li>unknown 未知状态</li><li>pending 加载中</li><li>ok 运行正常</li><li>err 运行错误</li>
|
|
1119
1130
|
*/
|
|
1120
1131
|
Health: string;
|
|
1121
1132
|
/**
|
|
1122
|
-
*
|
|
1133
|
+
* <p>规则创建时间</p>
|
|
1123
1134
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1124
1135
|
*/
|
|
1125
1136
|
CreatedAt: string;
|
|
1126
1137
|
/**
|
|
1127
|
-
*
|
|
1138
|
+
* <p>规则更新时间</p>
|
|
1128
1139
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1129
1140
|
*/
|
|
1130
1141
|
UpdatedAt: string;
|
|
@@ -1453,20 +1464,20 @@ export interface Dimension {
|
|
|
1453
1464
|
*/
|
|
1454
1465
|
export interface DescribeBindingPolicyObjectListResponse {
|
|
1455
1466
|
/**
|
|
1456
|
-
*
|
|
1467
|
+
* <p>绑定的对象实例列表</p>
|
|
1457
1468
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1458
1469
|
*/
|
|
1459
1470
|
List: Array<DescribeBindingPolicyObjectListInstance>;
|
|
1460
1471
|
/**
|
|
1461
|
-
*
|
|
1472
|
+
* <p>绑定的对象实例总数</p>
|
|
1462
1473
|
*/
|
|
1463
1474
|
Total: number;
|
|
1464
1475
|
/**
|
|
1465
|
-
*
|
|
1476
|
+
* <p>未屏蔽的对象实例数</p>
|
|
1466
1477
|
*/
|
|
1467
1478
|
NoShieldedSum: number;
|
|
1468
1479
|
/**
|
|
1469
|
-
*
|
|
1480
|
+
* <p>绑定的实例分组信息,没有绑定实例分组则为空</p>
|
|
1470
1481
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1471
1482
|
*/
|
|
1472
1483
|
InstanceGroup: DescribeBindingPolicyObjectListInstanceGroup;
|
|
@@ -1500,7 +1511,7 @@ export interface UpdateAlertRuleStateRequest {
|
|
|
1500
1511
|
*/
|
|
1501
1512
|
export interface DescribeAlarmSmsQuotaRequest {
|
|
1502
1513
|
/**
|
|
1503
|
-
*
|
|
1514
|
+
* <p>固定值,为"monitor"</p>
|
|
1504
1515
|
*/
|
|
1505
1516
|
Module: string;
|
|
1506
1517
|
}
|
|
@@ -1618,11 +1629,11 @@ export interface GetTopNMonitorDataResponse {
|
|
|
1618
1629
|
*/
|
|
1619
1630
|
export interface RegionPolicyObjectCount {
|
|
1620
1631
|
/**
|
|
1621
|
-
*
|
|
1632
|
+
* <p>地域</p>
|
|
1622
1633
|
*/
|
|
1623
1634
|
Region: string;
|
|
1624
1635
|
/**
|
|
1625
|
-
*
|
|
1636
|
+
* <p>绑定的实例数量</p>
|
|
1626
1637
|
*/
|
|
1627
1638
|
Count: number;
|
|
1628
1639
|
}
|
|
@@ -1689,11 +1700,11 @@ export interface DeleteSSOAccountRequest {
|
|
|
1689
1700
|
*/
|
|
1690
1701
|
export interface DescribePolicyObjectCountRequest {
|
|
1691
1702
|
/**
|
|
1692
|
-
*
|
|
1703
|
+
* <p>固定值,为"monitor"</p>
|
|
1693
1704
|
*/
|
|
1694
1705
|
Module: string;
|
|
1695
1706
|
/**
|
|
1696
|
-
*
|
|
1707
|
+
* <p>策略组Id</p>
|
|
1697
1708
|
*/
|
|
1698
1709
|
GroupId: number;
|
|
1699
1710
|
}
|
|
@@ -1742,11 +1753,11 @@ export interface DescribePrometheusAgentInstancesResponse {
|
|
|
1742
1753
|
*/
|
|
1743
1754
|
export interface DescribeAlarmNoticesResponse {
|
|
1744
1755
|
/**
|
|
1745
|
-
*
|
|
1756
|
+
* <p>告警通知模板总数</p>
|
|
1746
1757
|
*/
|
|
1747
1758
|
TotalCount?: number;
|
|
1748
1759
|
/**
|
|
1749
|
-
*
|
|
1760
|
+
* <p>告警通知模板列表</p>
|
|
1750
1761
|
*/
|
|
1751
1762
|
Notices?: Array<AlarmNotice>;
|
|
1752
1763
|
/**
|
|
@@ -1880,12 +1891,12 @@ export interface DeletePrometheusConfigResponse {
|
|
|
1880
1891
|
*/
|
|
1881
1892
|
export interface DescribePolicyObjectCountResponse {
|
|
1882
1893
|
/**
|
|
1883
|
-
*
|
|
1894
|
+
* <p>是否为多地域</p>
|
|
1884
1895
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1885
1896
|
*/
|
|
1886
1897
|
IsMultiRegion?: boolean;
|
|
1887
1898
|
/**
|
|
1888
|
-
*
|
|
1899
|
+
* <p>地域统计列表</p>
|
|
1889
1900
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1890
1901
|
*/
|
|
1891
1902
|
RegionList?: Array<RegionPolicyObjectCount>;
|
|
@@ -1938,7 +1949,7 @@ export interface AlarmEvent {
|
|
|
1938
1949
|
*/
|
|
1939
1950
|
export interface ModifyPolicyGroupResponse {
|
|
1940
1951
|
/**
|
|
1941
|
-
*
|
|
1952
|
+
* <p>策略组id</p>
|
|
1942
1953
|
*/
|
|
1943
1954
|
GroupId?: number;
|
|
1944
1955
|
/**
|
|
@@ -2150,7 +2161,7 @@ export interface ModifyAlarmPolicyStatusResponse {
|
|
|
2150
2161
|
*/
|
|
2151
2162
|
export interface DescribeExporterIntegrationsResponse {
|
|
2152
2163
|
/**
|
|
2153
|
-
*
|
|
2164
|
+
* <p>集成配置列表</p>
|
|
2154
2165
|
*/
|
|
2155
2166
|
IntegrationSet?: Array<IntegrationConfiguration>;
|
|
2156
2167
|
/**
|
|
@@ -2225,12 +2236,12 @@ export interface UpdateAlertRuleResponse {
|
|
|
2225
2236
|
*/
|
|
2226
2237
|
export interface InstanceGroup {
|
|
2227
2238
|
/**
|
|
2228
|
-
*
|
|
2239
|
+
* <p>实例组ID</p>
|
|
2229
2240
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2230
2241
|
*/
|
|
2231
2242
|
InstanceGroupId: number;
|
|
2232
2243
|
/**
|
|
2233
|
-
*
|
|
2244
|
+
* <p>实例组名</p>
|
|
2234
2245
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2235
2246
|
*/
|
|
2236
2247
|
InstanceGroupName: string;
|
|
@@ -2319,60 +2330,60 @@ export interface DestroyPrometheusInstanceRequest {
|
|
|
2319
2330
|
*/
|
|
2320
2331
|
export interface PolicyGroupReceiverInfo {
|
|
2321
2332
|
/**
|
|
2322
|
-
*
|
|
2333
|
+
* <p>有效时段结束时间</p>
|
|
2323
2334
|
*/
|
|
2324
2335
|
EndTime: number;
|
|
2325
2336
|
/**
|
|
2326
|
-
*
|
|
2337
|
+
* <p>是否需要发送通知</p>
|
|
2327
2338
|
*/
|
|
2328
2339
|
NeedSendNotice: number;
|
|
2329
2340
|
/**
|
|
2330
|
-
*
|
|
2341
|
+
* <p>告警接收渠道</p>
|
|
2331
2342
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2332
2343
|
*/
|
|
2333
2344
|
NotifyWay: Array<string>;
|
|
2334
2345
|
/**
|
|
2335
|
-
*
|
|
2346
|
+
* <p>电话告警对个人间隔(秒)</p>
|
|
2336
2347
|
*/
|
|
2337
2348
|
PersonInterval: number;
|
|
2338
2349
|
/**
|
|
2339
|
-
*
|
|
2350
|
+
* <p>消息接收组列表</p>
|
|
2340
2351
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2341
2352
|
*/
|
|
2342
2353
|
ReceiverGroupList: Array<number | bigint>;
|
|
2343
2354
|
/**
|
|
2344
|
-
*
|
|
2355
|
+
* <p>接受者类型</p>
|
|
2345
2356
|
*/
|
|
2346
2357
|
ReceiverType: string;
|
|
2347
2358
|
/**
|
|
2348
|
-
*
|
|
2359
|
+
* <p>接收人列表。通过平台接口查询到的接收人id列表</p>
|
|
2349
2360
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2350
2361
|
*/
|
|
2351
2362
|
ReceiverUserList: Array<number | bigint>;
|
|
2352
2363
|
/**
|
|
2353
|
-
*
|
|
2364
|
+
* <p>告警恢复通知方式</p>
|
|
2354
2365
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2355
2366
|
*/
|
|
2356
2367
|
RecoverNotify: Array<string>;
|
|
2357
2368
|
/**
|
|
2358
|
-
*
|
|
2369
|
+
* <p>电话告警每轮间隔(秒)</p>
|
|
2359
2370
|
*/
|
|
2360
2371
|
RoundInterval: number;
|
|
2361
2372
|
/**
|
|
2362
|
-
*
|
|
2373
|
+
* <p>电话告警轮数</p>
|
|
2363
2374
|
*/
|
|
2364
2375
|
RoundNumber: number;
|
|
2365
2376
|
/**
|
|
2366
|
-
*
|
|
2377
|
+
* <p>电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)</p>
|
|
2367
2378
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2368
2379
|
*/
|
|
2369
2380
|
SendFor: Array<string>;
|
|
2370
2381
|
/**
|
|
2371
|
-
*
|
|
2382
|
+
* <p>有效时段开始时间</p>
|
|
2372
2383
|
*/
|
|
2373
2384
|
StartTime: number;
|
|
2374
2385
|
/**
|
|
2375
|
-
*
|
|
2386
|
+
* <p>电话告警接收者uid</p>
|
|
2376
2387
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2377
2388
|
*/
|
|
2378
2389
|
UIDList: Array<number | bigint>;
|
|
@@ -2638,35 +2649,35 @@ export interface DescribePolicyGroupInfoReceiverInfo {
|
|
|
2638
2649
|
*/
|
|
2639
2650
|
export interface RecordingRuleSet {
|
|
2640
2651
|
/**
|
|
2641
|
-
*
|
|
2652
|
+
* <p>规则 ID</p>
|
|
2642
2653
|
*/
|
|
2643
2654
|
RuleId?: string;
|
|
2644
2655
|
/**
|
|
2645
|
-
*
|
|
2656
|
+
* <p>规则状态码</p>
|
|
2646
2657
|
*/
|
|
2647
2658
|
RuleState?: number;
|
|
2648
2659
|
/**
|
|
2649
|
-
*
|
|
2660
|
+
* <p>分组名称</p>
|
|
2650
2661
|
*/
|
|
2651
2662
|
Name?: string;
|
|
2652
2663
|
/**
|
|
2653
|
-
*
|
|
2664
|
+
* <p>规则内容组</p>
|
|
2654
2665
|
*/
|
|
2655
2666
|
Group?: string;
|
|
2656
2667
|
/**
|
|
2657
|
-
*
|
|
2668
|
+
* <p>规则数量</p>
|
|
2658
2669
|
*/
|
|
2659
2670
|
Total?: number;
|
|
2660
2671
|
/**
|
|
2661
|
-
*
|
|
2672
|
+
* <p>规则创建时间</p>
|
|
2662
2673
|
*/
|
|
2663
2674
|
CreatedAt?: string;
|
|
2664
2675
|
/**
|
|
2665
|
-
*
|
|
2676
|
+
* <p>规则最近更新时间</p>
|
|
2666
2677
|
*/
|
|
2667
2678
|
UpdatedAt?: string;
|
|
2668
2679
|
/**
|
|
2669
|
-
*
|
|
2680
|
+
* <p>规则名称</p>
|
|
2670
2681
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2671
2682
|
*/
|
|
2672
2683
|
RuleName?: string;
|
|
@@ -2676,51 +2687,51 @@ export interface RecordingRuleSet {
|
|
|
2676
2687
|
*/
|
|
2677
2688
|
export interface DescribeBasicAlarmListRequest {
|
|
2678
2689
|
/**
|
|
2679
|
-
*
|
|
2690
|
+
* <p>接口模块名,当前取值monitor</p>
|
|
2680
2691
|
*/
|
|
2681
2692
|
Module: string;
|
|
2682
2693
|
/**
|
|
2683
|
-
*
|
|
2694
|
+
* <p>起始时间,默认一天前的时间戳</p>
|
|
2684
2695
|
*/
|
|
2685
2696
|
StartTime?: number;
|
|
2686
2697
|
/**
|
|
2687
|
-
*
|
|
2698
|
+
* <p>结束时间,默认当前时间戳</p>
|
|
2688
2699
|
*/
|
|
2689
2700
|
EndTime?: number;
|
|
2690
2701
|
/**
|
|
2691
|
-
*
|
|
2702
|
+
* <p>分页参数,每页返回的数量,取值1~100,默认20</p>
|
|
2692
2703
|
*/
|
|
2693
2704
|
Limit?: number;
|
|
2694
2705
|
/**
|
|
2695
|
-
*
|
|
2706
|
+
* <p>分页参数,页偏移量,从0开始计数,默认0</p>
|
|
2696
2707
|
*/
|
|
2697
2708
|
Offset?: number;
|
|
2698
2709
|
/**
|
|
2699
|
-
*
|
|
2710
|
+
* <p>根据发生时间排序,取值ASC或DESC</p>
|
|
2700
2711
|
*/
|
|
2701
2712
|
OccurTimeOrder?: string;
|
|
2702
2713
|
/**
|
|
2703
|
-
*
|
|
2714
|
+
* <p>根据项目ID过滤</p>
|
|
2704
2715
|
*/
|
|
2705
2716
|
ProjectIds?: Array<number | bigint>;
|
|
2706
2717
|
/**
|
|
2707
|
-
*
|
|
2718
|
+
* <p>根据策略类型过滤</p>
|
|
2708
2719
|
*/
|
|
2709
2720
|
ViewNames?: Array<string>;
|
|
2710
2721
|
/**
|
|
2711
|
-
*
|
|
2722
|
+
* <p>根据告警状态过滤</p>
|
|
2712
2723
|
*/
|
|
2713
2724
|
AlarmStatus?: Array<number | bigint>;
|
|
2714
2725
|
/**
|
|
2715
|
-
*
|
|
2726
|
+
* <p>根据告警对象过滤</p>
|
|
2716
2727
|
*/
|
|
2717
2728
|
ObjLike?: string;
|
|
2718
2729
|
/**
|
|
2719
|
-
*
|
|
2730
|
+
* <p>根据实例组ID过滤</p>
|
|
2720
2731
|
*/
|
|
2721
2732
|
InstanceGroupIds?: Array<number | bigint>;
|
|
2722
2733
|
/**
|
|
2723
|
-
*
|
|
2734
|
+
* <p>根据指标名过滤</p>
|
|
2724
2735
|
*/
|
|
2725
2736
|
MetricNames?: Array<string>;
|
|
2726
2737
|
}
|
|
@@ -2748,7 +2759,7 @@ export interface DescribePrometheusAlertGroupsResponse {
|
|
|
2748
2759
|
*/
|
|
2749
2760
|
export interface CreateConditionsTemplateResponse {
|
|
2750
2761
|
/**
|
|
2751
|
-
*
|
|
2762
|
+
* <p>模板策略组ID</p>
|
|
2752
2763
|
*/
|
|
2753
2764
|
GroupID?: number;
|
|
2754
2765
|
/**
|
|
@@ -2987,11 +2998,11 @@ export interface CreateAlarmNoticeRequest {
|
|
|
2987
2998
|
*/
|
|
2988
2999
|
export interface InstanceGroups {
|
|
2989
3000
|
/**
|
|
2990
|
-
*
|
|
3001
|
+
* <p>实例组 Id</p>
|
|
2991
3002
|
*/
|
|
2992
3003
|
Id: number;
|
|
2993
3004
|
/**
|
|
2994
|
-
*
|
|
3005
|
+
* <p>实例组名称</p>
|
|
2995
3006
|
*/
|
|
2996
3007
|
Name: string;
|
|
2997
3008
|
}
|
|
@@ -3030,23 +3041,23 @@ export interface CreateExporterIntegrationResponse {
|
|
|
3030
3041
|
*/
|
|
3031
3042
|
export interface UnBindingAllPolicyObjectRequest {
|
|
3032
3043
|
/**
|
|
3033
|
-
*
|
|
3044
|
+
* <p>固定值,为"monitor"</p>
|
|
3034
3045
|
*/
|
|
3035
3046
|
Module: string;
|
|
3036
3047
|
/**
|
|
3037
|
-
*
|
|
3048
|
+
* <p>策略组id,如传入 PolicyId 则该字段被忽略可传入任意值如 0</p>
|
|
3038
3049
|
*/
|
|
3039
3050
|
GroupId: number;
|
|
3040
3051
|
/**
|
|
3041
|
-
*
|
|
3052
|
+
* <p>告警策略ID,使用此字段时 GroupId 会被忽略</p>
|
|
3042
3053
|
*/
|
|
3043
3054
|
PolicyId?: string;
|
|
3044
3055
|
/**
|
|
3045
|
-
*
|
|
3056
|
+
* <p>事件配置的告警</p>
|
|
3046
3057
|
*/
|
|
3047
3058
|
EbSubject?: string;
|
|
3048
3059
|
/**
|
|
3049
|
-
*
|
|
3060
|
+
* <p>是否配置了事件告警</p>
|
|
3050
3061
|
*/
|
|
3051
3062
|
EbEventFlag?: number;
|
|
3052
3063
|
}
|
|
@@ -3416,11 +3427,11 @@ export interface ExportPrometheusReadOnlyDynamicAPIRequest {
|
|
|
3416
3427
|
*/
|
|
3417
3428
|
export interface PrometheusTag {
|
|
3418
3429
|
/**
|
|
3419
|
-
*
|
|
3430
|
+
* <p>标签的健值</p>
|
|
3420
3431
|
*/
|
|
3421
3432
|
Key: string;
|
|
3422
3433
|
/**
|
|
3423
|
-
*
|
|
3434
|
+
* <p>标签对应的值</p>
|
|
3424
3435
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3425
3436
|
*/
|
|
3426
3437
|
Value: string;
|
|
@@ -3738,27 +3749,27 @@ export interface CreateAlarmPolicyRequest {
|
|
|
3738
3749
|
*/
|
|
3739
3750
|
export interface PrometheusZoneItem {
|
|
3740
3751
|
/**
|
|
3741
|
-
*
|
|
3752
|
+
* <p>可用区</p>
|
|
3742
3753
|
*/
|
|
3743
3754
|
Zone?: string;
|
|
3744
3755
|
/**
|
|
3745
|
-
*
|
|
3756
|
+
* <p>可用区 ID</p>
|
|
3746
3757
|
*/
|
|
3747
3758
|
ZoneId?: number;
|
|
3748
3759
|
/**
|
|
3749
|
-
*
|
|
3760
|
+
* <p>可用区状态( 0: 不可用;1: 可用)</p>
|
|
3750
3761
|
*/
|
|
3751
3762
|
ZoneState?: number;
|
|
3752
3763
|
/**
|
|
3753
|
-
*
|
|
3764
|
+
* <p>地域 ID</p>
|
|
3754
3765
|
*/
|
|
3755
3766
|
RegionId?: number;
|
|
3756
3767
|
/**
|
|
3757
|
-
*
|
|
3768
|
+
* <p>可用区名(目前为中文)</p>
|
|
3758
3769
|
*/
|
|
3759
3770
|
ZoneName?: string;
|
|
3760
3771
|
/**
|
|
3761
|
-
*
|
|
3772
|
+
* <p>可用区资源状态(0:资源不足,不可使用;1:资源足够)</p>
|
|
3762
3773
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3763
3774
|
*/
|
|
3764
3775
|
ZoneResourceState?: number;
|
|
@@ -3828,40 +3839,40 @@ export interface UpdateOnCallFormResponse {
|
|
|
3828
3839
|
*/
|
|
3829
3840
|
export interface PrometheusTemplateSyncTarget {
|
|
3830
3841
|
/**
|
|
3831
|
-
*
|
|
3842
|
+
* <p>目标所在地域</p>
|
|
3832
3843
|
*/
|
|
3833
3844
|
Region: string;
|
|
3834
3845
|
/**
|
|
3835
|
-
*
|
|
3846
|
+
* <p>目标实例</p>
|
|
3836
3847
|
*/
|
|
3837
3848
|
InstanceId: string;
|
|
3838
3849
|
/**
|
|
3839
|
-
*
|
|
3850
|
+
* <p>集群id,只有当采集模板的Level为cluster的时候需要</p>
|
|
3840
3851
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3841
3852
|
*/
|
|
3842
3853
|
ClusterId?: string;
|
|
3843
3854
|
/**
|
|
3844
|
-
*
|
|
3855
|
+
* <p>最后一次同步时间, 用于出参</p>
|
|
3845
3856
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3846
3857
|
*/
|
|
3847
3858
|
SyncTime?: string;
|
|
3848
3859
|
/**
|
|
3849
|
-
*
|
|
3860
|
+
* <p>当前使用的模板版本,用于出参</p>
|
|
3850
3861
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3851
3862
|
*/
|
|
3852
3863
|
Version?: string;
|
|
3853
3864
|
/**
|
|
3854
|
-
*
|
|
3865
|
+
* <p>集群类型,只有当采集模板的Level为cluster的时候需要</p>
|
|
3855
3866
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3856
3867
|
*/
|
|
3857
3868
|
ClusterType?: string;
|
|
3858
3869
|
/**
|
|
3859
|
-
*
|
|
3870
|
+
* <p>用于出参,实例名称</p>
|
|
3860
3871
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3861
3872
|
*/
|
|
3862
3873
|
InstanceName?: string;
|
|
3863
3874
|
/**
|
|
3864
|
-
*
|
|
3875
|
+
* <p>用于出参,集群名称</p>
|
|
3865
3876
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3866
3877
|
*/
|
|
3867
3878
|
ClusterName?: string;
|
|
@@ -4009,11 +4020,11 @@ export interface DataPoint {
|
|
|
4009
4020
|
*/
|
|
4010
4021
|
export interface DescribeAlarmPoliciesResponse {
|
|
4011
4022
|
/**
|
|
4012
|
-
*
|
|
4023
|
+
* <p>策略总数</p>
|
|
4013
4024
|
*/
|
|
4014
4025
|
TotalCount?: number;
|
|
4015
4026
|
/**
|
|
4016
|
-
*
|
|
4027
|
+
* <p>策略数组</p>
|
|
4017
4028
|
*/
|
|
4018
4029
|
Policies?: Array<AlarmPolicy>;
|
|
4019
4030
|
/**
|
|
@@ -4280,11 +4291,11 @@ export interface DescribeGrafanaWhiteListResponse {
|
|
|
4280
4291
|
*/
|
|
4281
4292
|
export interface DescribeAlertRulesResponse {
|
|
4282
4293
|
/**
|
|
4283
|
-
*
|
|
4294
|
+
* <p>报警规则数量</p>
|
|
4284
4295
|
*/
|
|
4285
4296
|
TotalCount: number;
|
|
4286
4297
|
/**
|
|
4287
|
-
*
|
|
4298
|
+
* <p>报警规则详情</p>
|
|
4288
4299
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4289
4300
|
*/
|
|
4290
4301
|
AlertRuleSet: Array<PrometheusRuleSet>;
|
|
@@ -4337,17 +4348,17 @@ export interface UpdateExporterIntegrationResponse {
|
|
|
4337
4348
|
*/
|
|
4338
4349
|
export interface DescribeBasicAlarmListResponse {
|
|
4339
4350
|
/**
|
|
4340
|
-
*
|
|
4351
|
+
* <p>告警列表</p>
|
|
4341
4352
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4342
4353
|
*/
|
|
4343
4354
|
Alarms?: Array<DescribeBasicAlarmListAlarms>;
|
|
4344
4355
|
/**
|
|
4345
|
-
*
|
|
4356
|
+
* <p>总数</p>
|
|
4346
4357
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4347
4358
|
*/
|
|
4348
4359
|
Total?: number;
|
|
4349
4360
|
/**
|
|
4350
|
-
*
|
|
4361
|
+
* <p>备注信息</p>
|
|
4351
4362
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4352
4363
|
*/
|
|
4353
4364
|
Warning?: string;
|
|
@@ -4378,26 +4389,23 @@ export interface ModifyAlarmReceiversRequest {
|
|
|
4378
4389
|
*/
|
|
4379
4390
|
export interface DescribeExporterIntegrationsRequest {
|
|
4380
4391
|
/**
|
|
4381
|
-
*
|
|
4392
|
+
* <p>实例 ID</p>
|
|
4382
4393
|
*/
|
|
4383
4394
|
InstanceId: string;
|
|
4384
4395
|
/**
|
|
4385
|
-
* Kubernetes
|
|
4386
|
-
<li> 1= 容器集群(TKE) </li>
|
|
4387
|
-
<li> 2=弹性集群(EKS) </li>
|
|
4388
|
-
<li> 3= Prometheus管理的弹性集群(MEKS) </li>
|
|
4396
|
+
* <p>Kubernetes 集群类型,可不填。取值如下:</p><li> 1= 容器集群(TKE) </li><li> 2=弹性集群(EKS) </li><li> 3= Prometheus管理的弹性集群(MEKS) </li>
|
|
4389
4397
|
*/
|
|
4390
4398
|
KubeType?: number;
|
|
4391
4399
|
/**
|
|
4392
|
-
*
|
|
4400
|
+
* <p>集群 ID,可不填</p>
|
|
4393
4401
|
*/
|
|
4394
4402
|
ClusterId?: string;
|
|
4395
4403
|
/**
|
|
4396
|
-
*
|
|
4404
|
+
* <p>类型(不填返回全部集成。可通过 DescribePrometheusIntegrations 接口获取,取每一项中的 ExporterType 字段)</p>
|
|
4397
4405
|
*/
|
|
4398
4406
|
Kind?: string;
|
|
4399
4407
|
/**
|
|
4400
|
-
*
|
|
4408
|
+
* <p>名字</p>
|
|
4401
4409
|
*/
|
|
4402
4410
|
Name?: string;
|
|
4403
4411
|
}
|
|
@@ -4406,15 +4414,15 @@ export interface DescribeExporterIntegrationsRequest {
|
|
|
4406
4414
|
*/
|
|
4407
4415
|
export interface DescribeAlarmSmsQuotaResponse {
|
|
4408
4416
|
/**
|
|
4409
|
-
*
|
|
4417
|
+
* <p>配额总数</p>
|
|
4410
4418
|
*/
|
|
4411
4419
|
Total?: number;
|
|
4412
4420
|
/**
|
|
4413
|
-
*
|
|
4421
|
+
* <p>总使用量</p>
|
|
4414
4422
|
*/
|
|
4415
4423
|
Used?: number;
|
|
4416
4424
|
/**
|
|
4417
|
-
*
|
|
4425
|
+
* <p>短信配额信息列表</p>
|
|
4418
4426
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4419
4427
|
*/
|
|
4420
4428
|
QuotaList?: Array<DescribeAlarmSmsQuotaQuota>;
|
|
@@ -4553,11 +4561,11 @@ export interface DescribeExternalClusterRegisterCommandRequest {
|
|
|
4553
4561
|
*/
|
|
4554
4562
|
export interface Point {
|
|
4555
4563
|
/**
|
|
4556
|
-
*
|
|
4564
|
+
* <p>该监控数据点生成的时间点</p>
|
|
4557
4565
|
*/
|
|
4558
4566
|
Timestamp: number;
|
|
4559
4567
|
/**
|
|
4560
|
-
*
|
|
4568
|
+
* <p>监控数据点的值</p>
|
|
4561
4569
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4562
4570
|
*/
|
|
4563
4571
|
Value: number;
|
|
@@ -4567,19 +4575,19 @@ export interface Point {
|
|
|
4567
4575
|
*/
|
|
4568
4576
|
export interface ModifyPolicyGroupEventCondition {
|
|
4569
4577
|
/**
|
|
4570
|
-
*
|
|
4578
|
+
* <p>事件id</p>
|
|
4571
4579
|
*/
|
|
4572
4580
|
EventId: number;
|
|
4573
4581
|
/**
|
|
4574
|
-
*
|
|
4582
|
+
* <p>告警发送收敛类型。0连续告警,1指数告警</p>
|
|
4575
4583
|
*/
|
|
4576
4584
|
AlarmNotifyType: number;
|
|
4577
4585
|
/**
|
|
4578
|
-
*
|
|
4586
|
+
* <p>告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次</p>
|
|
4579
4587
|
*/
|
|
4580
4588
|
AlarmNotifyPeriod: number;
|
|
4581
4589
|
/**
|
|
4582
|
-
*
|
|
4590
|
+
* <p>规则id,不填表示新增,填写了ruleId表示在已存在的规则基础上进行修改</p>
|
|
4583
4591
|
*/
|
|
4584
4592
|
RuleId?: number;
|
|
4585
4593
|
}
|
|
@@ -4875,16 +4883,16 @@ export interface UpdatePrometheusAlertGroupStateRequest {
|
|
|
4875
4883
|
*/
|
|
4876
4884
|
export interface PrometheusAlertManagerConfig {
|
|
4877
4885
|
/**
|
|
4878
|
-
* alertmanager url
|
|
4886
|
+
* <p>alertmanager url</p>
|
|
4879
4887
|
*/
|
|
4880
4888
|
Url: string;
|
|
4881
4889
|
/**
|
|
4882
|
-
* alertmanager
|
|
4890
|
+
* <p>alertmanager部署所在集群类型</p>
|
|
4883
4891
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4884
4892
|
*/
|
|
4885
4893
|
ClusterType?: string;
|
|
4886
4894
|
/**
|
|
4887
|
-
* alertmanager部署所在集群ID
|
|
4895
|
+
* <p>alertmanager部署所在集群ID</p>
|
|
4888
4896
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4889
4897
|
*/
|
|
4890
4898
|
ClusterId?: string;
|
|
@@ -5391,11 +5399,11 @@ export interface DeleteRecordingRulesRequest {
|
|
|
5391
5399
|
*/
|
|
5392
5400
|
export interface MonitorTypeNamespace {
|
|
5393
5401
|
/**
|
|
5394
|
-
*
|
|
5402
|
+
* <p>监控类型</p>
|
|
5395
5403
|
*/
|
|
5396
5404
|
MonitorType: string;
|
|
5397
5405
|
/**
|
|
5398
|
-
*
|
|
5406
|
+
* <p>策略类型值</p>
|
|
5399
5407
|
*/
|
|
5400
5408
|
Namespace: string;
|
|
5401
5409
|
}
|
|
@@ -5441,11 +5449,11 @@ export interface UninstallGrafanaPluginsRequest {
|
|
|
5441
5449
|
*/
|
|
5442
5450
|
export interface PrometheusStringKeyValuePair {
|
|
5443
5451
|
/**
|
|
5444
|
-
*
|
|
5452
|
+
* <p>键</p>
|
|
5445
5453
|
*/
|
|
5446
5454
|
Key: string;
|
|
5447
5455
|
/**
|
|
5448
|
-
*
|
|
5456
|
+
* <p>值</p>
|
|
5449
5457
|
*/
|
|
5450
5458
|
Value: string;
|
|
5451
5459
|
}
|
|
@@ -5669,11 +5677,11 @@ export interface DescribeRemoteWritesRequest {
|
|
|
5669
5677
|
*/
|
|
5670
5678
|
export interface DescribeAlarmNoticeRequest {
|
|
5671
5679
|
/**
|
|
5672
|
-
*
|
|
5680
|
+
* <p>模块名,这里填“monitor”</p>
|
|
5673
5681
|
*/
|
|
5674
5682
|
Module: string;
|
|
5675
5683
|
/**
|
|
5676
|
-
*
|
|
5684
|
+
* <p>告警通知模板 id</p>
|
|
5677
5685
|
*/
|
|
5678
5686
|
NoticeId: string;
|
|
5679
5687
|
}
|
|
@@ -5948,33 +5956,31 @@ export interface DestroyPrometheusInstanceResponse {
|
|
|
5948
5956
|
*/
|
|
5949
5957
|
export interface DescribeAlertRulesRequest {
|
|
5950
5958
|
/**
|
|
5951
|
-
* Prometheus 实例 ID
|
|
5959
|
+
* <p>Prometheus 实例 ID</p>
|
|
5952
5960
|
*/
|
|
5953
5961
|
InstanceId: string;
|
|
5954
5962
|
/**
|
|
5955
|
-
*
|
|
5963
|
+
* <p>返回数量,默认为 20,最大值为 100</p>
|
|
5956
5964
|
*/
|
|
5957
5965
|
Limit?: number;
|
|
5958
5966
|
/**
|
|
5959
|
-
*
|
|
5967
|
+
* <p>偏移量,默认为 0</p>
|
|
5960
5968
|
*/
|
|
5961
5969
|
Offset?: number;
|
|
5962
5970
|
/**
|
|
5963
|
-
*
|
|
5971
|
+
* <p>规则 ID</p>
|
|
5964
5972
|
*/
|
|
5965
5973
|
RuleId?: string;
|
|
5966
5974
|
/**
|
|
5967
|
-
*
|
|
5968
|
-
<li>2=RuleEnabled</li>
|
|
5969
|
-
<li>3=RuleDisabled</li>
|
|
5975
|
+
* <p>规则状态码,取值如下:</p><li>2=RuleEnabled</li><li>3=RuleDisabled</li>
|
|
5970
5976
|
*/
|
|
5971
5977
|
RuleState?: number;
|
|
5972
5978
|
/**
|
|
5973
|
-
*
|
|
5979
|
+
* <p>规则名称</p>
|
|
5974
5980
|
*/
|
|
5975
5981
|
RuleName?: string;
|
|
5976
5982
|
/**
|
|
5977
|
-
*
|
|
5983
|
+
* <p>报警策略模板分类</p>
|
|
5978
5984
|
*/
|
|
5979
5985
|
Type?: string;
|
|
5980
5986
|
}
|
|
@@ -6073,40 +6079,40 @@ export interface ModifyPrometheusConfigResponse {
|
|
|
6073
6079
|
*/
|
|
6074
6080
|
export interface PrometheusAgent {
|
|
6075
6081
|
/**
|
|
6076
|
-
* Agent
|
|
6082
|
+
* <p>Agent 名</p>
|
|
6077
6083
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6078
6084
|
*/
|
|
6079
6085
|
Name: string;
|
|
6080
6086
|
/**
|
|
6081
|
-
* Agent ID
|
|
6087
|
+
* <p>Agent ID</p>
|
|
6082
6088
|
*/
|
|
6083
6089
|
AgentId: string;
|
|
6084
6090
|
/**
|
|
6085
|
-
*
|
|
6091
|
+
* <p>实例 ID</p>
|
|
6086
6092
|
*/
|
|
6087
6093
|
InstanceId: string;
|
|
6088
6094
|
/**
|
|
6089
|
-
* Agent IP
|
|
6095
|
+
* <p>Agent IP</p>
|
|
6090
6096
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6091
6097
|
*/
|
|
6092
6098
|
Ipv4: string;
|
|
6093
6099
|
/**
|
|
6094
|
-
*
|
|
6100
|
+
* <p>心跳时间</p>
|
|
6095
6101
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6096
6102
|
*/
|
|
6097
6103
|
HeartbeatTime: string;
|
|
6098
6104
|
/**
|
|
6099
|
-
*
|
|
6105
|
+
* <p>最近一次错误</p>
|
|
6100
6106
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6101
6107
|
*/
|
|
6102
6108
|
LastError: string;
|
|
6103
6109
|
/**
|
|
6104
|
-
* Agent
|
|
6110
|
+
* <p>Agent 版本</p>
|
|
6105
6111
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6106
6112
|
*/
|
|
6107
6113
|
AgentVersion: string;
|
|
6108
6114
|
/**
|
|
6109
|
-
* Agent
|
|
6115
|
+
* <p>Agent 状态</p>
|
|
6110
6116
|
*/
|
|
6111
6117
|
Status: number;
|
|
6112
6118
|
}
|
|
@@ -6367,35 +6373,35 @@ export interface PrometheusInstancesItem {
|
|
|
6367
6373
|
*/
|
|
6368
6374
|
export interface DescribeConditionsTemplateListRequest {
|
|
6369
6375
|
/**
|
|
6370
|
-
*
|
|
6376
|
+
* <p>固定值,为"monitor"</p>
|
|
6371
6377
|
*/
|
|
6372
6378
|
Module: string;
|
|
6373
6379
|
/**
|
|
6374
|
-
*
|
|
6380
|
+
* <p>视图名,由 <a href="https://cloud.tencent.com/document/product/248/48683">DescribeAllNamespaces</a> 获得。对于云产品监控,取接口出参的 QceNamespacesNew.N.Id,例如 cvm_device</p>
|
|
6375
6381
|
*/
|
|
6376
6382
|
ViewName?: string;
|
|
6377
6383
|
/**
|
|
6378
|
-
*
|
|
6384
|
+
* <p>根据触发条件模板名称过滤查询</p>
|
|
6379
6385
|
*/
|
|
6380
6386
|
GroupName?: string;
|
|
6381
6387
|
/**
|
|
6382
|
-
*
|
|
6388
|
+
* <p>根据触发条件模板ID过滤查询</p>
|
|
6383
6389
|
*/
|
|
6384
6390
|
GroupID?: string;
|
|
6385
6391
|
/**
|
|
6386
|
-
*
|
|
6392
|
+
* <p>分页参数,每页返回的数量,取值1~100,默认20</p>
|
|
6387
6393
|
*/
|
|
6388
6394
|
Limit?: number;
|
|
6389
6395
|
/**
|
|
6390
|
-
*
|
|
6396
|
+
* <p>分页参数,页偏移量,从0开始计数,默认0</p>
|
|
6391
6397
|
*/
|
|
6392
6398
|
Offset?: number;
|
|
6393
6399
|
/**
|
|
6394
|
-
*
|
|
6400
|
+
* <p>指定按更新时间的排序方式,asc=升序, desc=降序</p>
|
|
6395
6401
|
*/
|
|
6396
6402
|
UpdateTimeOrder?: string;
|
|
6397
6403
|
/**
|
|
6398
|
-
*
|
|
6404
|
+
* <p>指定按绑定策略数目的排序方式,asc=升序, desc=降序</p>
|
|
6399
6405
|
*/
|
|
6400
6406
|
PolicyCountOrder?: string;
|
|
6401
6407
|
}
|
|
@@ -6548,7 +6554,7 @@ export interface CreateAlarmShieldResponse {
|
|
|
6548
6554
|
*/
|
|
6549
6555
|
export interface DescribePolicyConditionListRequest {
|
|
6550
6556
|
/**
|
|
6551
|
-
*
|
|
6557
|
+
* <p>固定值,为"monitor"</p>
|
|
6552
6558
|
*/
|
|
6553
6559
|
Module: string;
|
|
6554
6560
|
}
|
|
@@ -6645,7 +6651,7 @@ export interface NoticeContentTmplBindInfo {
|
|
|
6645
6651
|
*/
|
|
6646
6652
|
export interface DescribePhoneAlarmFlowTotalCountResponse {
|
|
6647
6653
|
/**
|
|
6648
|
-
*
|
|
6654
|
+
* <p>电话流水总数</p>
|
|
6649
6655
|
*/
|
|
6650
6656
|
Count: number;
|
|
6651
6657
|
/**
|
|
@@ -7144,19 +7150,19 @@ export interface DescribeBindingPolicyObjectListInstance {
|
|
|
7144
7150
|
/**
|
|
7145
7151
|
* 对象唯一id
|
|
7146
7152
|
*/
|
|
7147
|
-
UniqueId
|
|
7153
|
+
UniqueId?: string;
|
|
7148
7154
|
/**
|
|
7149
7155
|
* 表示对象实例的维度集合,jsonObj字符串
|
|
7150
7156
|
*/
|
|
7151
|
-
Dimensions
|
|
7157
|
+
Dimensions?: string;
|
|
7152
7158
|
/**
|
|
7153
7159
|
* 对象是否被屏蔽,0表示未屏蔽,1表示被屏蔽
|
|
7154
7160
|
*/
|
|
7155
|
-
IsShielded
|
|
7161
|
+
IsShielded?: number;
|
|
7156
7162
|
/**
|
|
7157
7163
|
* 对象所在的地域
|
|
7158
7164
|
*/
|
|
7159
|
-
Region
|
|
7165
|
+
Region?: string;
|
|
7160
7166
|
}
|
|
7161
7167
|
/**
|
|
7162
7168
|
* UpdateGrafanaIntegration返回参数结构体
|
|
@@ -7251,11 +7257,11 @@ export interface ModifyAlarmPolicyNoticeResponse {
|
|
|
7251
7257
|
*/
|
|
7252
7258
|
export interface NoticeBindPolicys {
|
|
7253
7259
|
/**
|
|
7254
|
-
*
|
|
7260
|
+
* <p>告警通知模板 ID</p>
|
|
7255
7261
|
*/
|
|
7256
7262
|
NoticeId?: string;
|
|
7257
7263
|
/**
|
|
7258
|
-
*
|
|
7264
|
+
* <p>告警通知模板绑定的告警策略ID列表</p>
|
|
7259
7265
|
*/
|
|
7260
7266
|
PolicyIds?: Array<string>;
|
|
7261
7267
|
}
|
|
@@ -7264,11 +7270,11 @@ export interface NoticeBindPolicys {
|
|
|
7264
7270
|
*/
|
|
7265
7271
|
export interface PrometheusDynamicAPIResponseHTTP {
|
|
7266
7272
|
/**
|
|
7267
|
-
* HTTP
|
|
7273
|
+
* <p>HTTP 状态码</p>
|
|
7268
7274
|
*/
|
|
7269
7275
|
StatusCode?: number;
|
|
7270
7276
|
/**
|
|
7271
|
-
* HTTP
|
|
7277
|
+
* <p>HTTP 响应体</p>
|
|
7272
7278
|
*/
|
|
7273
7279
|
ResponseBody?: string;
|
|
7274
7280
|
}
|
|
@@ -7277,37 +7283,37 @@ export interface PrometheusDynamicAPIResponseHTTP {
|
|
|
7277
7283
|
*/
|
|
7278
7284
|
export interface PrometheusAlertRule {
|
|
7279
7285
|
/**
|
|
7280
|
-
*
|
|
7286
|
+
* <p>规则名称</p>
|
|
7281
7287
|
*/
|
|
7282
7288
|
Name: string;
|
|
7283
7289
|
/**
|
|
7284
|
-
* prometheus
|
|
7290
|
+
* <p>prometheus语句</p>
|
|
7285
7291
|
*/
|
|
7286
7292
|
Rule: string;
|
|
7287
7293
|
/**
|
|
7288
|
-
*
|
|
7294
|
+
* <p>额外标签</p>
|
|
7289
7295
|
*/
|
|
7290
7296
|
Labels: Array<Label>;
|
|
7291
7297
|
/**
|
|
7292
|
-
*
|
|
7298
|
+
* <p>告警发送模板</p>
|
|
7293
7299
|
*/
|
|
7294
7300
|
Template: string;
|
|
7295
7301
|
/**
|
|
7296
|
-
*
|
|
7302
|
+
* <p>持续时间</p>
|
|
7297
7303
|
*/
|
|
7298
7304
|
For: string;
|
|
7299
7305
|
/**
|
|
7300
|
-
*
|
|
7306
|
+
* <p>该条规则的描述信息</p>
|
|
7301
7307
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7302
7308
|
*/
|
|
7303
7309
|
Describe?: string;
|
|
7304
7310
|
/**
|
|
7305
|
-
*
|
|
7311
|
+
* <p>参考prometheus rule中的annotations</p>
|
|
7306
7312
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7307
7313
|
*/
|
|
7308
7314
|
Annotations?: Array<Label>;
|
|
7309
7315
|
/**
|
|
7310
|
-
*
|
|
7316
|
+
* <p>告警规则状态</p>
|
|
7311
7317
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7312
7318
|
*/
|
|
7313
7319
|
RuleState?: number;
|
|
@@ -7339,7 +7345,7 @@ export interface DescribeGrafanaChannelsResponse {
|
|
|
7339
7345
|
*/
|
|
7340
7346
|
export interface DescribeAlarmPolicyResponse {
|
|
7341
7347
|
/**
|
|
7342
|
-
*
|
|
7348
|
+
* <p>策略详情</p>
|
|
7343
7349
|
*/
|
|
7344
7350
|
Policy: AlarmPolicy;
|
|
7345
7351
|
/**
|
|
@@ -7352,75 +7358,67 @@ export interface DescribeAlarmPolicyResponse {
|
|
|
7352
7358
|
*/
|
|
7353
7359
|
export interface PrometheusNotificationItem {
|
|
7354
7360
|
/**
|
|
7355
|
-
*
|
|
7361
|
+
* <p>是否启用</p>
|
|
7356
7362
|
*/
|
|
7357
7363
|
Enabled: boolean;
|
|
7358
7364
|
/**
|
|
7359
|
-
*
|
|
7360
|
-
amp
|
|
7361
|
-
webhook
|
|
7362
|
-
alertmanager
|
|
7365
|
+
* <p>通道类型,默认为amp,支持以下<br>amp<br>webhook<br>alertmanager</p>
|
|
7363
7366
|
*/
|
|
7364
7367
|
Type: string;
|
|
7365
7368
|
/**
|
|
7366
|
-
*
|
|
7369
|
+
* <p>如果Type为webhook, 则该字段为必填项</p>
|
|
7367
7370
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7368
7371
|
*/
|
|
7369
7372
|
WebHook?: string;
|
|
7370
7373
|
/**
|
|
7371
|
-
*
|
|
7374
|
+
* <p>如果Type为alertmanager, 则该字段为必填项</p>
|
|
7372
7375
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7373
7376
|
*/
|
|
7374
7377
|
AlertManager?: PrometheusAlertManagerConfig;
|
|
7375
7378
|
/**
|
|
7376
|
-
*
|
|
7379
|
+
* <p>收敛时间</p>
|
|
7377
7380
|
*/
|
|
7378
7381
|
RepeatInterval?: string;
|
|
7379
7382
|
/**
|
|
7380
|
-
*
|
|
7383
|
+
* <p>生效起始时间</p>
|
|
7381
7384
|
*/
|
|
7382
7385
|
TimeRangeStart?: string;
|
|
7383
7386
|
/**
|
|
7384
|
-
*
|
|
7387
|
+
* <p>生效结束时间</p>
|
|
7385
7388
|
*/
|
|
7386
7389
|
TimeRangeEnd?: string;
|
|
7387
7390
|
/**
|
|
7388
|
-
*
|
|
7391
|
+
* <p>告警通知方式。目前有SMS、EMAIL、CALL、WECHAT方式。</p>
|
|
7389
7392
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7390
7393
|
*/
|
|
7391
7394
|
NotifyWay?: Array<string>;
|
|
7392
7395
|
/**
|
|
7393
|
-
*
|
|
7396
|
+
* <p>告警接收组(用户组)</p>
|
|
7394
7397
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7395
7398
|
*/
|
|
7396
7399
|
ReceiverGroups?: Array<string>;
|
|
7397
7400
|
/**
|
|
7398
|
-
*
|
|
7399
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
7401
|
+
* <p>电话告警顺序。<br>注:NotifyWay选择CALL,采用该参数。</p>
|
|
7400
7402
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7401
7403
|
*/
|
|
7402
7404
|
PhoneNotifyOrder?: Array<number | bigint>;
|
|
7403
7405
|
/**
|
|
7404
|
-
*
|
|
7405
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
7406
|
+
* <p>电话告警次数。<br>注:NotifyWay选择CALL,采用该参数。</p>
|
|
7406
7407
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7407
7408
|
*/
|
|
7408
7409
|
PhoneCircleTimes?: number;
|
|
7409
7410
|
/**
|
|
7410
|
-
*
|
|
7411
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
7411
|
+
* <p>电话告警轮内间隔。单位:秒<br>注:NotifyWay选择CALL,采用该参数。</p>
|
|
7412
7412
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7413
7413
|
*/
|
|
7414
7414
|
PhoneInnerInterval?: number;
|
|
7415
7415
|
/**
|
|
7416
|
-
*
|
|
7417
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
7416
|
+
* <p>电话告警轮外间隔。单位:秒<br>注:NotifyWay选择CALL,采用该参数。</p>
|
|
7418
7417
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7419
7418
|
*/
|
|
7420
7419
|
PhoneCircleInterval?: number;
|
|
7421
7420
|
/**
|
|
7422
|
-
*
|
|
7423
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
7421
|
+
* <p>电话告警触达通知<br>注:NotifyWay选择CALL,采用该参数。</p>
|
|
7424
7422
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7425
7423
|
*/
|
|
7426
7424
|
PhoneArriveNotice?: boolean;
|
|
@@ -7806,27 +7804,27 @@ export interface CreatePrometheusAlertPolicyRequest {
|
|
|
7806
7804
|
*/
|
|
7807
7805
|
export interface DescribeBindingPolicyObjectListRequest {
|
|
7808
7806
|
/**
|
|
7809
|
-
*
|
|
7807
|
+
* <p>固定值,为"monitor"</p>
|
|
7810
7808
|
*/
|
|
7811
7809
|
Module: string;
|
|
7812
7810
|
/**
|
|
7813
|
-
*
|
|
7811
|
+
* <p>策略组id,如果有形如 policy-xxxx 的 id,请填到 PolicyId 字段中,本字段填 0</p>
|
|
7814
7812
|
*/
|
|
7815
7813
|
GroupId: number;
|
|
7816
7814
|
/**
|
|
7817
|
-
*
|
|
7815
|
+
* <p>告警策略id,形如 policy-xxxx,如果填入,则GroupId可以填0</p>
|
|
7818
7816
|
*/
|
|
7819
7817
|
PolicyId?: string;
|
|
7820
7818
|
/**
|
|
7821
|
-
*
|
|
7819
|
+
* <p>每次返回的数量,取值1~100,默认20</p>
|
|
7822
7820
|
*/
|
|
7823
7821
|
Limit?: number;
|
|
7824
7822
|
/**
|
|
7825
|
-
*
|
|
7823
|
+
* <p>偏移量,从0开始计数,默认0。举例来说,参数 Offset=0&Limit=20 返回第 0 到 19 项,Offset=20&Limit=20 返回第 20 到 39 项,以此类推</p>
|
|
7826
7824
|
*/
|
|
7827
7825
|
Offset?: number;
|
|
7828
7826
|
/**
|
|
7829
|
-
*
|
|
7827
|
+
* <p>筛选对象的维度信息</p>
|
|
7830
7828
|
*/
|
|
7831
7829
|
Dimensions?: Array<DescribeBindingPolicyObjectListDimension>;
|
|
7832
7830
|
}
|
|
@@ -7994,68 +7992,68 @@ export interface DescribeAllNamespacesRequest {
|
|
|
7994
7992
|
*/
|
|
7995
7993
|
export interface PolicyGroup {
|
|
7996
7994
|
/**
|
|
7997
|
-
*
|
|
7995
|
+
* <p>是否可设为默认告警策略</p>
|
|
7998
7996
|
*/
|
|
7999
7997
|
CanSetDefault: boolean;
|
|
8000
7998
|
/**
|
|
8001
|
-
*
|
|
7999
|
+
* <p>告警策略组ID</p>
|
|
8002
8000
|
*/
|
|
8003
8001
|
GroupID: number;
|
|
8004
8002
|
/**
|
|
8005
|
-
*
|
|
8003
|
+
* <p>告警策略组名称</p>
|
|
8006
8004
|
*/
|
|
8007
8005
|
GroupName: string;
|
|
8008
8006
|
/**
|
|
8009
|
-
*
|
|
8007
|
+
* <p>创建时间</p>
|
|
8010
8008
|
*/
|
|
8011
8009
|
InsertTime: number;
|
|
8012
8010
|
/**
|
|
8013
|
-
*
|
|
8011
|
+
* <p>是否为默认告警策略</p>
|
|
8014
8012
|
*/
|
|
8015
8013
|
IsDefault: number;
|
|
8016
8014
|
/**
|
|
8017
|
-
*
|
|
8015
|
+
* <p>告警策略启用状态</p>
|
|
8018
8016
|
*/
|
|
8019
8017
|
Enable: boolean;
|
|
8020
8018
|
/**
|
|
8021
|
-
*
|
|
8019
|
+
* <p>最后修改人UIN</p>
|
|
8022
8020
|
*/
|
|
8023
8021
|
LastEditUin: number;
|
|
8024
8022
|
/**
|
|
8025
|
-
*
|
|
8023
|
+
* <p>未屏蔽的实例数</p>
|
|
8026
8024
|
*/
|
|
8027
8025
|
NoShieldedInstanceCount: number;
|
|
8028
8026
|
/**
|
|
8029
|
-
*
|
|
8027
|
+
* <p>父策略组ID</p>
|
|
8030
8028
|
*/
|
|
8031
8029
|
ParentGroupID: number;
|
|
8032
8030
|
/**
|
|
8033
|
-
*
|
|
8031
|
+
* <p>所属项目ID</p>
|
|
8034
8032
|
*/
|
|
8035
8033
|
ProjectID: number;
|
|
8036
8034
|
/**
|
|
8037
|
-
*
|
|
8035
|
+
* <p>告警接收对象信息</p>
|
|
8038
8036
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8039
8037
|
*/
|
|
8040
8038
|
ReceiverInfos: Array<PolicyGroupReceiverInfo>;
|
|
8041
8039
|
/**
|
|
8042
|
-
*
|
|
8040
|
+
* <p>备注信息</p>
|
|
8043
8041
|
*/
|
|
8044
8042
|
Remark: string;
|
|
8045
8043
|
/**
|
|
8046
|
-
*
|
|
8044
|
+
* <p>修改时间</p>
|
|
8047
8045
|
*/
|
|
8048
8046
|
UpdateTime: number;
|
|
8049
8047
|
/**
|
|
8050
|
-
*
|
|
8048
|
+
* <p>总绑定实例数</p>
|
|
8051
8049
|
*/
|
|
8052
8050
|
TotalInstanceCount: number;
|
|
8053
8051
|
/**
|
|
8054
|
-
*
|
|
8052
|
+
* <p>视图</p>
|
|
8055
8053
|
*/
|
|
8056
8054
|
ViewName: string;
|
|
8057
8055
|
/**
|
|
8058
|
-
*
|
|
8056
|
+
* <p>是否为与关系规则</p>
|
|
8059
8057
|
*/
|
|
8060
8058
|
IsUnionRule: number;
|
|
8061
8059
|
}
|
|
@@ -8139,11 +8137,11 @@ export interface DescribePolicyGroupListGroupInstanceGroup {
|
|
|
8139
8137
|
*/
|
|
8140
8138
|
export interface DescribeConditionsTemplateListResponse {
|
|
8141
8139
|
/**
|
|
8142
|
-
*
|
|
8140
|
+
* <p>模板总数</p>
|
|
8143
8141
|
*/
|
|
8144
8142
|
Total?: number;
|
|
8145
8143
|
/**
|
|
8146
|
-
*
|
|
8144
|
+
* <p>模板列表</p>
|
|
8147
8145
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8148
8146
|
*/
|
|
8149
8147
|
TemplateGroupList?: Array<TemplateGroup>;
|
|
@@ -8184,15 +8182,15 @@ export interface ModifyAlarmPolicyInfoResponse {
|
|
|
8184
8182
|
*/
|
|
8185
8183
|
export interface MetricConfig {
|
|
8186
8184
|
/**
|
|
8187
|
-
*
|
|
8185
|
+
* <p>允许使用的运算符</p>
|
|
8188
8186
|
*/
|
|
8189
8187
|
Operator: Array<string>;
|
|
8190
8188
|
/**
|
|
8191
|
-
*
|
|
8189
|
+
* <p>允许配置的数据周期,以秒为单位</p>
|
|
8192
8190
|
*/
|
|
8193
8191
|
Period: Array<number | bigint>;
|
|
8194
8192
|
/**
|
|
8195
|
-
*
|
|
8193
|
+
* <p>允许配置的持续周期个数</p>
|
|
8196
8194
|
*/
|
|
8197
8195
|
ContinuePeriod: Array<number | bigint>;
|
|
8198
8196
|
}
|
|
@@ -8201,78 +8199,78 @@ export interface MetricConfig {
|
|
|
8201
8199
|
*/
|
|
8202
8200
|
export interface PrometheusInstancesOverview {
|
|
8203
8201
|
/**
|
|
8204
|
-
*
|
|
8202
|
+
* <p>实例ID</p>
|
|
8205
8203
|
*/
|
|
8206
8204
|
InstanceId: string;
|
|
8207
8205
|
/**
|
|
8208
|
-
*
|
|
8206
|
+
* <p>实例名</p>
|
|
8209
8207
|
*/
|
|
8210
8208
|
InstanceName: string;
|
|
8211
8209
|
/**
|
|
8212
|
-
* VPC ID
|
|
8210
|
+
* <p>VPC ID</p>
|
|
8213
8211
|
*/
|
|
8214
8212
|
VpcId: string;
|
|
8215
8213
|
/**
|
|
8216
|
-
*
|
|
8214
|
+
* <p>子网ID</p>
|
|
8217
8215
|
*/
|
|
8218
8216
|
SubnetId: string;
|
|
8219
8217
|
/**
|
|
8220
|
-
*
|
|
8218
|
+
* <p>运行状态(1:正在创建;2:运行中;3:异常;4:重启中;5:销毁中; 6:已停机; 7: 已删除)</p>
|
|
8221
8219
|
*/
|
|
8222
8220
|
InstanceStatus: number;
|
|
8223
8221
|
/**
|
|
8224
|
-
*
|
|
8222
|
+
* <p>计费状态(1:正常;2:过期; 3:销毁; 4:分配中; 5:分配失败)</p>
|
|
8225
8223
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8226
8224
|
*/
|
|
8227
8225
|
ChargeStatus: number;
|
|
8228
8226
|
/**
|
|
8229
|
-
*
|
|
8227
|
+
* <p>是否开启 Grafana(0:不开启,1:开启)</p>
|
|
8230
8228
|
*/
|
|
8231
8229
|
EnableGrafana: number;
|
|
8232
8230
|
/**
|
|
8233
|
-
* Grafana 面板 URL
|
|
8231
|
+
* <p>Grafana 面板 URL</p>
|
|
8234
8232
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8235
8233
|
*/
|
|
8236
8234
|
GrafanaURL: string;
|
|
8237
8235
|
/**
|
|
8238
|
-
*
|
|
8236
|
+
* <p>实例付费类型(1:试用版;2:预付费)</p>
|
|
8239
8237
|
*/
|
|
8240
8238
|
InstanceChargeType: number;
|
|
8241
8239
|
/**
|
|
8242
|
-
*
|
|
8240
|
+
* <p>规格名称</p>
|
|
8243
8241
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8244
8242
|
*/
|
|
8245
8243
|
SpecName: string;
|
|
8246
8244
|
/**
|
|
8247
|
-
*
|
|
8245
|
+
* <p>存储周期</p>
|
|
8248
8246
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8249
8247
|
*/
|
|
8250
8248
|
DataRetentionTime: number;
|
|
8251
8249
|
/**
|
|
8252
|
-
*
|
|
8250
|
+
* <p>购买的实例过期时间</p>
|
|
8253
8251
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8254
8252
|
*/
|
|
8255
8253
|
ExpireTime: string;
|
|
8256
8254
|
/**
|
|
8257
|
-
*
|
|
8255
|
+
* <p>自动续费标记(0:不自动续费;1:开启自动续费;2:禁止自动续费;-1:无效)</p>
|
|
8258
8256
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8259
8257
|
*/
|
|
8260
8258
|
AutoRenewFlag: number;
|
|
8261
8259
|
/**
|
|
8262
|
-
*
|
|
8260
|
+
* <p>绑定集群总数</p>
|
|
8263
8261
|
*/
|
|
8264
8262
|
BoundTotal: number;
|
|
8265
8263
|
/**
|
|
8266
|
-
*
|
|
8264
|
+
* <p>绑定集群正常状态总数</p>
|
|
8267
8265
|
*/
|
|
8268
8266
|
BoundNormal: number;
|
|
8269
8267
|
/**
|
|
8270
|
-
*
|
|
8268
|
+
* <p>资源包状态,0-无可用资源包,1-有可用资源包</p>
|
|
8271
8269
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8272
8270
|
*/
|
|
8273
8271
|
ResourcePackageStatus?: number;
|
|
8274
8272
|
/**
|
|
8275
|
-
*
|
|
8273
|
+
* <p>资源包规格名称</p>
|
|
8276
8274
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8277
8275
|
*/
|
|
8278
8276
|
ResourcePackageSpecName?: string;
|
|
@@ -8299,51 +8297,51 @@ export interface DescribeAlarmEventsRequest {
|
|
|
8299
8297
|
*/
|
|
8300
8298
|
export interface ModifyAlarmPolicyConditionRequest {
|
|
8301
8299
|
/**
|
|
8302
|
-
*
|
|
8300
|
+
* <p>模块名,固定值 monitor</p>
|
|
8303
8301
|
*/
|
|
8304
8302
|
Module: string;
|
|
8305
8303
|
/**
|
|
8306
|
-
*
|
|
8304
|
+
* <p>告警策略 ID</p>
|
|
8307
8305
|
*/
|
|
8308
8306
|
PolicyId: string;
|
|
8309
8307
|
/**
|
|
8310
|
-
*
|
|
8308
|
+
* <p>触发条件模板 Id,可不传</p>
|
|
8311
8309
|
*/
|
|
8312
8310
|
ConditionTemplateId?: number;
|
|
8313
8311
|
/**
|
|
8314
|
-
*
|
|
8312
|
+
* <p>指标触发条件</p>
|
|
8315
8313
|
*/
|
|
8316
8314
|
Condition?: AlarmPolicyCondition;
|
|
8317
8315
|
/**
|
|
8318
|
-
*
|
|
8316
|
+
* <p>事件触发条件</p>
|
|
8319
8317
|
*/
|
|
8320
8318
|
EventCondition?: AlarmPolicyEventCondition;
|
|
8321
8319
|
/**
|
|
8322
|
-
*
|
|
8320
|
+
* <p>全局过滤条件</p>
|
|
8323
8321
|
*/
|
|
8324
8322
|
Filter?: AlarmPolicyFilter;
|
|
8325
8323
|
/**
|
|
8326
|
-
*
|
|
8324
|
+
* <p>聚合维度列表,指定按哪些维度 key 来做 group by</p>
|
|
8327
8325
|
*/
|
|
8328
8326
|
GroupBy?: Array<string>;
|
|
8329
8327
|
/**
|
|
8330
|
-
*
|
|
8328
|
+
* <p>日志告警创建请求参数信息</p>
|
|
8331
8329
|
*/
|
|
8332
8330
|
LogAlarmReqInfo?: LogAlarmReq;
|
|
8333
8331
|
/**
|
|
8334
|
-
*
|
|
8332
|
+
* <p>模板id,专供prom使用</p>
|
|
8335
8333
|
*/
|
|
8336
8334
|
NoticeIds?: Array<string>;
|
|
8337
8335
|
/**
|
|
8338
|
-
*
|
|
8336
|
+
* <p>启停状态,0=停用,1=启用</p>
|
|
8339
8337
|
*/
|
|
8340
8338
|
Enable?: number;
|
|
8341
8339
|
/**
|
|
8342
|
-
*
|
|
8340
|
+
* <p>专供prom策略名称</p>
|
|
8343
8341
|
*/
|
|
8344
8342
|
PolicyName?: string;
|
|
8345
8343
|
/**
|
|
8346
|
-
*
|
|
8344
|
+
* <p>事件配置的告警</p>
|
|
8347
8345
|
*/
|
|
8348
8346
|
EbSubject?: string;
|
|
8349
8347
|
}
|
|
@@ -8768,63 +8766,63 @@ export interface DescribePolicyConditionListEventMetric {
|
|
|
8768
8766
|
*/
|
|
8769
8767
|
export interface DescribePolicyGroupListRequest {
|
|
8770
8768
|
/**
|
|
8771
|
-
*
|
|
8769
|
+
* <p>固定值,为"monitor"</p>
|
|
8772
8770
|
*/
|
|
8773
8771
|
Module: string;
|
|
8774
8772
|
/**
|
|
8775
|
-
*
|
|
8773
|
+
* <p>分页参数,每页返回的数量,取值1~100</p>
|
|
8776
8774
|
*/
|
|
8777
8775
|
Limit: number;
|
|
8778
8776
|
/**
|
|
8779
|
-
*
|
|
8777
|
+
* <p>分页参数,页偏移量,从0开始计数</p>
|
|
8780
8778
|
*/
|
|
8781
8779
|
Offset: number;
|
|
8782
8780
|
/**
|
|
8783
|
-
*
|
|
8781
|
+
* <p>按策略名搜索</p>
|
|
8784
8782
|
*/
|
|
8785
8783
|
Like?: string;
|
|
8786
8784
|
/**
|
|
8787
|
-
*
|
|
8785
|
+
* <p>实例分组id</p>
|
|
8788
8786
|
*/
|
|
8789
8787
|
InstanceGroupId?: number;
|
|
8790
8788
|
/**
|
|
8791
|
-
*
|
|
8789
|
+
* <p>按更新时间排序, asc 或者 desc</p>
|
|
8792
8790
|
*/
|
|
8793
8791
|
UpdateTimeOrder?: string;
|
|
8794
8792
|
/**
|
|
8795
|
-
*
|
|
8793
|
+
* <p>项目id列表</p>
|
|
8796
8794
|
*/
|
|
8797
8795
|
ProjectIds?: Array<number | bigint>;
|
|
8798
8796
|
/**
|
|
8799
|
-
*
|
|
8797
|
+
* <p>告警策略类型列表</p>
|
|
8800
8798
|
*/
|
|
8801
8799
|
ViewNames?: Array<string>;
|
|
8802
8800
|
/**
|
|
8803
|
-
*
|
|
8801
|
+
* <p>是否过滤无接收人策略组, 1表示过滤, 0表示不过滤</p>
|
|
8804
8802
|
*/
|
|
8805
8803
|
FilterUnuseReceiver?: number;
|
|
8806
8804
|
/**
|
|
8807
|
-
*
|
|
8805
|
+
* <p>过滤条件, 接收组列表</p>
|
|
8808
8806
|
*/
|
|
8809
8807
|
Receivers?: Array<string>;
|
|
8810
8808
|
/**
|
|
8811
|
-
*
|
|
8809
|
+
* <p>过滤条件, 接收人列表</p>
|
|
8812
8810
|
*/
|
|
8813
8811
|
ReceiverUserList?: Array<string>;
|
|
8814
8812
|
/**
|
|
8815
|
-
*
|
|
8813
|
+
* <p>维度组合字段(json字符串), 例如[[{"name":"unInstanceId","value":"ins-6e4b2aaa"}]]</p>
|
|
8816
8814
|
*/
|
|
8817
8815
|
Dimensions?: string;
|
|
8818
8816
|
/**
|
|
8819
|
-
*
|
|
8817
|
+
* <p>模板策略组id, 多个id用逗号分隔</p>
|
|
8820
8818
|
*/
|
|
8821
8819
|
ConditionTempGroupId?: string;
|
|
8822
8820
|
/**
|
|
8823
|
-
*
|
|
8821
|
+
* <p>过滤条件, 接收人或者接收组, user表示接收人, group表示接收组</p>
|
|
8824
8822
|
*/
|
|
8825
8823
|
ReceiverType?: string;
|
|
8826
8824
|
/**
|
|
8827
|
-
*
|
|
8825
|
+
* <p>过滤条件,告警策略是否已启动或停止</p>
|
|
8828
8826
|
*/
|
|
8829
8827
|
IsOpen?: boolean;
|
|
8830
8828
|
}
|
|
@@ -8842,51 +8840,51 @@ export interface UnBindingAllPolicyObjectResponse {
|
|
|
8842
8840
|
*/
|
|
8843
8841
|
export interface DescribeAlarmNoticesRequest {
|
|
8844
8842
|
/**
|
|
8845
|
-
*
|
|
8843
|
+
* <p>模块名,这里填“monitor”</p>
|
|
8846
8844
|
*/
|
|
8847
8845
|
Module: string;
|
|
8848
8846
|
/**
|
|
8849
|
-
*
|
|
8847
|
+
* <p>页码 最小为1</p>
|
|
8850
8848
|
*/
|
|
8851
8849
|
PageNumber: number;
|
|
8852
8850
|
/**
|
|
8853
|
-
*
|
|
8851
|
+
* <p>分页大小 1~200</p>
|
|
8854
8852
|
*/
|
|
8855
8853
|
PageSize: number;
|
|
8856
8854
|
/**
|
|
8857
|
-
*
|
|
8855
|
+
* <p>按更新时间排序方式 ASC=正序 DESC=倒序</p>
|
|
8858
8856
|
*/
|
|
8859
8857
|
Order: string;
|
|
8860
8858
|
/**
|
|
8861
|
-
*
|
|
8859
|
+
* <p>主账号 uid 用于创建预设通知</p>
|
|
8862
8860
|
*/
|
|
8863
8861
|
OwnerUid?: number;
|
|
8864
8862
|
/**
|
|
8865
|
-
*
|
|
8863
|
+
* <p>告警通知模板名称 用来模糊搜索</p>
|
|
8866
8864
|
*/
|
|
8867
8865
|
Name?: string;
|
|
8868
8866
|
/**
|
|
8869
|
-
*
|
|
8867
|
+
* <p>根据接收人过滤告警通知模板需要选定通知用户类型 USER=用户 GROUP=用户组 传空=不按接收人过滤</p>
|
|
8870
8868
|
*/
|
|
8871
8869
|
ReceiverType?: string;
|
|
8872
8870
|
/**
|
|
8873
|
-
*
|
|
8871
|
+
* <p>接收对象列表</p>
|
|
8874
8872
|
*/
|
|
8875
8873
|
UserIds?: Array<number | bigint>;
|
|
8876
8874
|
/**
|
|
8877
|
-
*
|
|
8875
|
+
* <p>接收组列表</p>
|
|
8878
8876
|
*/
|
|
8879
8877
|
GroupIds?: Array<number | bigint>;
|
|
8880
8878
|
/**
|
|
8881
|
-
*
|
|
8879
|
+
* <p>根据通知模板 id 过滤,空数组/不传则不过滤</p>
|
|
8882
8880
|
*/
|
|
8883
8881
|
NoticeIds?: Array<string>;
|
|
8884
8882
|
/**
|
|
8885
|
-
*
|
|
8883
|
+
* <p>模板根据标签过滤</p>
|
|
8886
8884
|
*/
|
|
8887
8885
|
Tags?: Array<Tag>;
|
|
8888
8886
|
/**
|
|
8889
|
-
*
|
|
8887
|
+
* <p>值班列表</p>
|
|
8890
8888
|
*/
|
|
8891
8889
|
OnCallFormIDs?: Array<string>;
|
|
8892
8890
|
}
|
|
@@ -8968,7 +8966,7 @@ export interface PrometheusAlertCustomReceiver {
|
|
|
8968
8966
|
*/
|
|
8969
8967
|
export interface DescribeAlarmNoticeResponse {
|
|
8970
8968
|
/**
|
|
8971
|
-
*
|
|
8969
|
+
* <p>告警通知模板详细信息</p>
|
|
8972
8970
|
*/
|
|
8973
8971
|
Notice: AlarmNotice;
|
|
8974
8972
|
/**
|
|
@@ -9553,11 +9551,11 @@ export interface DescribeRemoteURLsResponse {
|
|
|
9553
9551
|
*/
|
|
9554
9552
|
export interface DescribePolicyGroupInfoRequest {
|
|
9555
9553
|
/**
|
|
9556
|
-
*
|
|
9554
|
+
* <p>固定值,为"monitor"</p>
|
|
9557
9555
|
*/
|
|
9558
9556
|
Module: string;
|
|
9559
9557
|
/**
|
|
9560
|
-
*
|
|
9558
|
+
* <p>策略组id</p>
|
|
9561
9559
|
*/
|
|
9562
9560
|
GroupId: number;
|
|
9563
9561
|
}
|
|
@@ -10249,27 +10247,27 @@ export interface BindPrometheusManagedGrafanaResponse {
|
|
|
10249
10247
|
*/
|
|
10250
10248
|
export interface ManagementCommand {
|
|
10251
10249
|
/**
|
|
10252
|
-
* Agent
|
|
10250
|
+
* <p>Agent 安装命令</p>
|
|
10253
10251
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10254
10252
|
*/
|
|
10255
10253
|
Install: string;
|
|
10256
10254
|
/**
|
|
10257
|
-
* Agent
|
|
10255
|
+
* <p>Agent 重启命令</p>
|
|
10258
10256
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10259
10257
|
*/
|
|
10260
10258
|
Restart: string;
|
|
10261
10259
|
/**
|
|
10262
|
-
* Agent
|
|
10260
|
+
* <p>Agent 停止命令</p>
|
|
10263
10261
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10264
10262
|
*/
|
|
10265
10263
|
Stop: string;
|
|
10266
10264
|
/**
|
|
10267
|
-
* Agent
|
|
10265
|
+
* <p>Agent 状态检测命令</p>
|
|
10268
10266
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10269
10267
|
*/
|
|
10270
10268
|
StatusCheck: string;
|
|
10271
10269
|
/**
|
|
10272
|
-
* Agent
|
|
10270
|
+
* <p>Agent 日志检测命令</p>
|
|
10273
10271
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10274
10272
|
*/
|
|
10275
10273
|
LogCheck: string;
|
|
@@ -10416,35 +10414,35 @@ export interface DescribePrometheusAlertGroupsRequest {
|
|
|
10416
10414
|
*/
|
|
10417
10415
|
export interface ModifyPolicyGroupCondition {
|
|
10418
10416
|
/**
|
|
10419
|
-
*
|
|
10417
|
+
* <p>指标id</p>
|
|
10420
10418
|
*/
|
|
10421
10419
|
MetricId: number;
|
|
10422
10420
|
/**
|
|
10423
|
-
*
|
|
10421
|
+
* <p>比较类型,1表示大于,2表示大于等于,3表示小于,4表示小于等于,5表示相等,6表示不相等</p>
|
|
10424
10422
|
*/
|
|
10425
10423
|
CalcType: number;
|
|
10426
10424
|
/**
|
|
10427
|
-
*
|
|
10425
|
+
* <p>检测阈值</p>
|
|
10428
10426
|
*/
|
|
10429
10427
|
CalcValue: string;
|
|
10430
10428
|
/**
|
|
10431
|
-
*
|
|
10429
|
+
* <p>检测指标的数据周期</p>
|
|
10432
10430
|
*/
|
|
10433
10431
|
CalcPeriod: number;
|
|
10434
10432
|
/**
|
|
10435
|
-
*
|
|
10433
|
+
* <p>持续周期个数</p>
|
|
10436
10434
|
*/
|
|
10437
10435
|
ContinuePeriod: number;
|
|
10438
10436
|
/**
|
|
10439
|
-
*
|
|
10437
|
+
* <p>告警发送收敛类型。0连续告警,1指数告警</p>
|
|
10440
10438
|
*/
|
|
10441
10439
|
AlarmNotifyType: number;
|
|
10442
10440
|
/**
|
|
10443
|
-
*
|
|
10441
|
+
* <p>告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次</p>
|
|
10444
10442
|
*/
|
|
10445
10443
|
AlarmNotifyPeriod: number;
|
|
10446
10444
|
/**
|
|
10447
|
-
*
|
|
10445
|
+
* <p>规则id,不填表示新增,填写了ruleId表示在已存在的规则基础上进行修改</p>
|
|
10448
10446
|
*/
|
|
10449
10447
|
RuleId?: number;
|
|
10450
10448
|
}
|
|
@@ -10453,35 +10451,35 @@ export interface ModifyPolicyGroupCondition {
|
|
|
10453
10451
|
*/
|
|
10454
10452
|
export interface ModifyPolicyGroupRequest {
|
|
10455
10453
|
/**
|
|
10456
|
-
*
|
|
10454
|
+
* <p>固定值,为"monitor"</p>
|
|
10457
10455
|
*/
|
|
10458
10456
|
Module: string;
|
|
10459
10457
|
/**
|
|
10460
|
-
*
|
|
10458
|
+
* <p>策略组id</p>
|
|
10461
10459
|
*/
|
|
10462
10460
|
GroupId: number;
|
|
10463
10461
|
/**
|
|
10464
|
-
*
|
|
10462
|
+
* <p>告警类型</p>
|
|
10465
10463
|
*/
|
|
10466
10464
|
ViewName: string;
|
|
10467
10465
|
/**
|
|
10468
|
-
*
|
|
10466
|
+
* <p>策略组名称</p>
|
|
10469
10467
|
*/
|
|
10470
10468
|
GroupName: string;
|
|
10471
10469
|
/**
|
|
10472
|
-
*
|
|
10470
|
+
* <p>是否复合告警</p><p>枚举值:</p><ul><li>1: 所有指标告警条件都达到才告警</li><li>0: 任意指标告警条件达到都告警</li></ul>
|
|
10473
10471
|
*/
|
|
10474
10472
|
IsUnionRule: number;
|
|
10475
10473
|
/**
|
|
10476
|
-
*
|
|
10474
|
+
* <p>指标告警条件规则,不填表示删除已有的所有指标告警条件规则</p>
|
|
10477
10475
|
*/
|
|
10478
10476
|
Conditions?: Array<ModifyPolicyGroupCondition>;
|
|
10479
10477
|
/**
|
|
10480
|
-
*
|
|
10478
|
+
* <p>事件告警条件,不填表示删除已有的事件告警条件</p>
|
|
10481
10479
|
*/
|
|
10482
10480
|
EventConditions?: Array<ModifyPolicyGroupEventCondition>;
|
|
10483
10481
|
/**
|
|
10484
|
-
*
|
|
10482
|
+
* <p>模板策略组id</p>
|
|
10485
10483
|
*/
|
|
10486
10484
|
ConditionTempGroupId?: number;
|
|
10487
10485
|
}
|
|
@@ -10507,11 +10505,11 @@ export interface DescribeBaseMetricsRequest {
|
|
|
10507
10505
|
*/
|
|
10508
10506
|
export interface DescribePhoneAlarmFlowTotalCountRequest {
|
|
10509
10507
|
/**
|
|
10510
|
-
*
|
|
10508
|
+
* <p>默认monitor</p>
|
|
10511
10509
|
*/
|
|
10512
10510
|
Module: string;
|
|
10513
10511
|
/**
|
|
10514
|
-
* unix时间戳,单位:s
|
|
10512
|
+
* <p>unix时间戳,单位:s</p>
|
|
10515
10513
|
*/
|
|
10516
10514
|
QueryTime: number;
|
|
10517
10515
|
}
|
|
@@ -10735,6 +10733,23 @@ export interface DescribePrometheusTempRequest {
|
|
|
10735
10733
|
*/
|
|
10736
10734
|
Limit?: number;
|
|
10737
10735
|
}
|
|
10736
|
+
/**
|
|
10737
|
+
* Prometheus实例创建配额信息
|
|
10738
|
+
*/
|
|
10739
|
+
export interface PrometheusInstanceQuotaDetail {
|
|
10740
|
+
/**
|
|
10741
|
+
* <p>prometheus实例创建总限制数量</p>
|
|
10742
|
+
*/
|
|
10743
|
+
Limit?: number;
|
|
10744
|
+
/**
|
|
10745
|
+
* <p>当前账号下创建prometheus实例数量</p>
|
|
10746
|
+
*/
|
|
10747
|
+
Usage?: number;
|
|
10748
|
+
/**
|
|
10749
|
+
* <p>剩余可用prometheus实例创建数量</p>
|
|
10750
|
+
*/
|
|
10751
|
+
Available?: number;
|
|
10752
|
+
}
|
|
10738
10753
|
/**
|
|
10739
10754
|
* UpdateServiceDiscovery返回参数结构体
|
|
10740
10755
|
*/
|
|
@@ -11199,118 +11214,115 @@ export interface UpdatePrometheusScrapeJobResponse {
|
|
|
11199
11214
|
*/
|
|
11200
11215
|
export interface DescribeAlarmPoliciesRequest {
|
|
11201
11216
|
/**
|
|
11202
|
-
*
|
|
11217
|
+
* <p>固定值,为"monitor"</p>
|
|
11203
11218
|
*/
|
|
11204
11219
|
Module: string;
|
|
11205
11220
|
/**
|
|
11206
|
-
*
|
|
11221
|
+
* <p>页数,从 1 开始计数,默认 1</p>
|
|
11207
11222
|
*/
|
|
11208
11223
|
PageNumber?: number;
|
|
11209
11224
|
/**
|
|
11210
|
-
*
|
|
11225
|
+
* <p>每页的数量,取值1~100,默认20</p>
|
|
11211
11226
|
*/
|
|
11212
11227
|
PageSize?: number;
|
|
11213
11228
|
/**
|
|
11214
|
-
*
|
|
11229
|
+
* <p>按策略名称模糊搜索</p>
|
|
11215
11230
|
*/
|
|
11216
11231
|
PolicyName?: string;
|
|
11217
11232
|
/**
|
|
11218
|
-
*
|
|
11233
|
+
* <p>根据监控类型过滤 不选默认查所有类型 "MT_QCE"=云产品监控,当Dimension不为空时,该项为必填项</p>
|
|
11219
11234
|
*/
|
|
11220
11235
|
MonitorTypes?: Array<string>;
|
|
11221
11236
|
/**
|
|
11222
|
-
*
|
|
11223
|
-
[策略类型列表](https://cloud.tencent.com/document/product/248/50397)当Dimension不为空时,该项为必填项
|
|
11237
|
+
* <p>根据命名空间过滤,不同策略类型的值详见<br><a href="https://cloud.tencent.com/document/product/248/50397">策略类型列表</a>当Dimension不为空时,该项为必填项</p>
|
|
11224
11238
|
*/
|
|
11225
11239
|
Namespaces?: Array<string>;
|
|
11226
11240
|
/**
|
|
11227
|
-
*
|
|
11241
|
+
* <p>告警对象列表,JSON 字符串。外层数组,对应多个实例,内层为对象的维度。例如“云服务器-基础监控”可写为:<code>[[{"name":"unInstanceId","value":"ins-qr888845g"}]]</code>具体也可以参考下方的示例 2。不同云产品参数示例详见 <a href="https://cloud.tencent.com/document/product/248/50397">维度信息Dimensions列表</a>注意:如果NeedCorrespondence传入1,即需要返回策略与实例对应关系,请传入不多于20个告警对象维度,否则容易请求超时</p>
|
|
11228
11242
|
*/
|
|
11229
11243
|
Dimensions?: string;
|
|
11230
11244
|
/**
|
|
11231
|
-
*
|
|
11245
|
+
* <p>根据接收人搜索,可以使用“访问管理”的 <a href="https://cloud.tencent.com/document/product/598/34587">拉取子用户 ListUsers</a> 接口获取用户列表 或 <a href="https://cloud.tencent.com/document/product/598/34590">查询子用户 GetUser</a> 接口查询子用户详情,此处填入返回结果中的 <code>Uid</code> 字段</p>
|
|
11232
11246
|
*/
|
|
11233
11247
|
ReceiverUids?: Array<number | bigint>;
|
|
11234
11248
|
/**
|
|
11235
|
-
*
|
|
11249
|
+
* <p>根据接收组搜索,可以使用“访问管理”的 <a href="https://cloud.tencent.com/document/product/598/34589">查询用户组列表 ListGroups</a> 接口获取用户组列表 或 <a href="https://cloud.tencent.com/document/product/598/34588">列出用户关联的用户组 ListGroupsForUser</a> 查询某个子用户所在的用户组列表 ,此处填入返回结果中的 <code>GroupId</code> 字段</p>
|
|
11236
11250
|
*/
|
|
11237
11251
|
ReceiverGroups?: Array<number | bigint>;
|
|
11238
11252
|
/**
|
|
11239
|
-
*
|
|
11253
|
+
* <p>根据默认策略筛选 不传展示全部策略 DEFAULT=展示默认策略 NOT_DEFAULT=展示非默认策略</p>
|
|
11240
11254
|
*/
|
|
11241
11255
|
PolicyType?: Array<string>;
|
|
11242
11256
|
/**
|
|
11243
|
-
*
|
|
11257
|
+
* <p>排序字段,例如按照最后修改时间排序,Field: "UpdateTime"</p>
|
|
11244
11258
|
*/
|
|
11245
11259
|
Field?: string;
|
|
11246
11260
|
/**
|
|
11247
|
-
*
|
|
11261
|
+
* <p>排序顺序:升序:ASC 降序:DESC</p>
|
|
11248
11262
|
*/
|
|
11249
11263
|
Order?: string;
|
|
11250
11264
|
/**
|
|
11251
|
-
*
|
|
11252
|
-
[项目管理](https://console.cloud.tencent.com/project)
|
|
11265
|
+
* <p>策略所属项目的id数组,可在此页面查看<br><a href="https://console.cloud.tencent.com/project">项目管理</a></p>
|
|
11253
11266
|
*/
|
|
11254
11267
|
ProjectIds?: Array<number | bigint>;
|
|
11255
11268
|
/**
|
|
11256
|
-
*
|
|
11257
|
-
可使用 [查询通知模板列表](https://cloud.tencent.com/document/product/248/51280) 接口查询。
|
|
11269
|
+
* <p>通知模板的id列表,可查询通知模板列表获取。<br>可使用 <a href="https://cloud.tencent.com/document/product/248/51280">查询通知模板列表</a> 接口查询。</p>
|
|
11258
11270
|
*/
|
|
11259
11271
|
NoticeIds?: Array<string>;
|
|
11260
11272
|
/**
|
|
11261
|
-
*
|
|
11273
|
+
* <p>根据触发条件筛选 不传展示全部策略 STATIC=展示静态阈值策略 DYNAMIC=展示动态阈值策略</p>
|
|
11262
11274
|
*/
|
|
11263
11275
|
RuleTypes?: Array<string>;
|
|
11264
11276
|
/**
|
|
11265
|
-
*
|
|
11277
|
+
* <p>告警启停筛选,[1]:启用 [0]:停止,全部[0, 1]</p>
|
|
11266
11278
|
*/
|
|
11267
11279
|
Enable?: Array<number | bigint>;
|
|
11268
11280
|
/**
|
|
11269
|
-
*
|
|
11281
|
+
* <p>传 1 查询未配置通知规则的告警策略;不传或传其他数值,查询所有策略。</p>
|
|
11270
11282
|
*/
|
|
11271
11283
|
NotBindingNoticeRule?: number;
|
|
11272
11284
|
/**
|
|
11273
|
-
*
|
|
11285
|
+
* <p>实例分组id</p>
|
|
11274
11286
|
*/
|
|
11275
11287
|
InstanceGroupId?: number;
|
|
11276
11288
|
/**
|
|
11277
|
-
*
|
|
11289
|
+
* <p>是否需要策略与入参过滤维度参数的对应关系,1:是 0:否,默认为0</p>
|
|
11278
11290
|
*/
|
|
11279
11291
|
NeedCorrespondence?: number;
|
|
11280
11292
|
/**
|
|
11281
|
-
*
|
|
11293
|
+
* <p>按照触发任务(例如弹性伸缩)过滤策略。最多10个</p>
|
|
11282
11294
|
*/
|
|
11283
11295
|
TriggerTasks?: Array<AlarmPolicyTriggerTask>;
|
|
11284
11296
|
/**
|
|
11285
|
-
*
|
|
11297
|
+
* <p>根据一键告警策略筛选 不传展示全部策略 ONECLICK=展示一键告警策略 NOT_ONECLICK=展示非一键告警策略</p>
|
|
11286
11298
|
*/
|
|
11287
11299
|
OneClickPolicyType?: Array<string>;
|
|
11288
11300
|
/**
|
|
11289
|
-
*
|
|
11301
|
+
* <p>返回结果过滤掉绑定全部对象的策略,1代表需要过滤,0则无需过滤</p>
|
|
11290
11302
|
*/
|
|
11291
11303
|
NotBindAll?: number;
|
|
11292
11304
|
/**
|
|
11293
|
-
*
|
|
11305
|
+
* <p>返回结果过滤掉关联实例为实例分组的策略,1代表需要过滤,0则无需过滤</p>
|
|
11294
11306
|
*/
|
|
11295
11307
|
NotInstanceGroup?: number;
|
|
11296
11308
|
/**
|
|
11297
|
-
*
|
|
11309
|
+
* <p>策略根据标签过滤</p>
|
|
11298
11310
|
*/
|
|
11299
11311
|
Tags?: Array<Tag>;
|
|
11300
11312
|
/**
|
|
11301
|
-
* prom实例id
|
|
11313
|
+
* <p>prom实例id,自定义指标策略时会用到</p>
|
|
11302
11314
|
*/
|
|
11303
11315
|
PromInsId?: string;
|
|
11304
11316
|
/**
|
|
11305
|
-
*
|
|
11317
|
+
* <p>根据排班表搜索</p>
|
|
11306
11318
|
*/
|
|
11307
11319
|
ReceiverOnCallFormIDs?: Array<string>;
|
|
11308
11320
|
/**
|
|
11309
|
-
*
|
|
11321
|
+
* <p>通知内容模板ID筛选</p>
|
|
11310
11322
|
*/
|
|
11311
11323
|
NoticeContentTmplIDs?: Array<string>;
|
|
11312
11324
|
/**
|
|
11313
|
-
*
|
|
11325
|
+
* <p>是否为预设策略,1是,0否</p>
|
|
11314
11326
|
*/
|
|
11315
11327
|
IsPredefined?: number;
|
|
11316
11328
|
}
|
|
@@ -11394,31 +11406,31 @@ export interface DescribePolicyConditionListConfigManualStatType {
|
|
|
11394
11406
|
*/
|
|
11395
11407
|
export interface IntegrationConfiguration {
|
|
11396
11408
|
/**
|
|
11397
|
-
*
|
|
11409
|
+
* <p>名字</p>
|
|
11398
11410
|
*/
|
|
11399
11411
|
Name?: string;
|
|
11400
11412
|
/**
|
|
11401
|
-
*
|
|
11413
|
+
* <p>类型</p>
|
|
11402
11414
|
*/
|
|
11403
11415
|
Kind?: string;
|
|
11404
11416
|
/**
|
|
11405
|
-
*
|
|
11417
|
+
* <p>内容</p>
|
|
11406
11418
|
*/
|
|
11407
11419
|
Content?: string;
|
|
11408
11420
|
/**
|
|
11409
|
-
*
|
|
11421
|
+
* <p>状态</p>
|
|
11410
11422
|
*/
|
|
11411
11423
|
Status?: number;
|
|
11412
11424
|
/**
|
|
11413
|
-
*
|
|
11425
|
+
* <p>实例类型</p>
|
|
11414
11426
|
*/
|
|
11415
11427
|
Category?: string;
|
|
11416
11428
|
/**
|
|
11417
|
-
*
|
|
11429
|
+
* <p>实例描述</p>
|
|
11418
11430
|
*/
|
|
11419
11431
|
InstanceDesc?: string;
|
|
11420
11432
|
/**
|
|
11421
|
-
* dashboard 的 URL
|
|
11433
|
+
* <p>dashboard 的 URL</p>
|
|
11422
11434
|
*/
|
|
11423
11435
|
GrafanaDashboardURL?: string;
|
|
11424
11436
|
}
|
|
@@ -11563,11 +11575,11 @@ export interface DeletePrometheusScrapeJobsResponse {
|
|
|
11563
11575
|
*/
|
|
11564
11576
|
export interface DescribeAlarmPolicyRequest {
|
|
11565
11577
|
/**
|
|
11566
|
-
*
|
|
11578
|
+
* <p>固定值,为"monitor"</p>
|
|
11567
11579
|
*/
|
|
11568
11580
|
Module: string;
|
|
11569
11581
|
/**
|
|
11570
|
-
*
|
|
11582
|
+
* <p>告警策略ID</p>
|
|
11571
11583
|
*/
|
|
11572
11584
|
PolicyId: string;
|
|
11573
11585
|
}
|
|
@@ -11761,43 +11773,43 @@ export interface GrafanaNotificationChannel {
|
|
|
11761
11773
|
*/
|
|
11762
11774
|
export interface CreateConditionsTemplateRequest {
|
|
11763
11775
|
/**
|
|
11764
|
-
*
|
|
11776
|
+
* <p>固定值,monitor</p>
|
|
11765
11777
|
*/
|
|
11766
11778
|
Module: string;
|
|
11767
11779
|
/**
|
|
11768
|
-
*
|
|
11780
|
+
* <p>视图名</p>
|
|
11769
11781
|
*/
|
|
11770
11782
|
ViewName: string;
|
|
11771
11783
|
/**
|
|
11772
|
-
*
|
|
11784
|
+
* <p>组名</p>
|
|
11773
11785
|
*/
|
|
11774
11786
|
GroupName: string;
|
|
11775
11787
|
/**
|
|
11776
|
-
*
|
|
11788
|
+
* <p>是否为与关系</p>
|
|
11777
11789
|
*/
|
|
11778
11790
|
IsUnionRule?: number;
|
|
11779
11791
|
/**
|
|
11780
|
-
*
|
|
11792
|
+
* <p>备注</p>
|
|
11781
11793
|
*/
|
|
11782
11794
|
Remark?: string;
|
|
11783
11795
|
/**
|
|
11784
|
-
*
|
|
11796
|
+
* <p>父ID</p>
|
|
11785
11797
|
*/
|
|
11786
11798
|
ParentGroupID?: number;
|
|
11787
11799
|
/**
|
|
11788
|
-
*
|
|
11800
|
+
* <p>是否屏蔽</p>
|
|
11789
11801
|
*/
|
|
11790
11802
|
IsShielded?: number;
|
|
11791
11803
|
/**
|
|
11792
|
-
*
|
|
11804
|
+
* <p>复合告警表达式</p>
|
|
11793
11805
|
*/
|
|
11794
11806
|
ComplexExpression?: string;
|
|
11795
11807
|
/**
|
|
11796
|
-
*
|
|
11808
|
+
* <p>指标告警条件</p>
|
|
11797
11809
|
*/
|
|
11798
11810
|
Conditions?: Array<ModifyConditionsTemplateRequestCondition>;
|
|
11799
11811
|
/**
|
|
11800
|
-
*
|
|
11812
|
+
* <p>事件告警条件</p>
|
|
11801
11813
|
*/
|
|
11802
11814
|
EventConditions?: Array<ModifyConditionsTemplateRequestEventCondition>;
|
|
11803
11815
|
}
|