tencentcloud-sdk-nodejs 4.1.256 → 4.1.258
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/apigateway/v20180808/apigateway_client.js +0 -3
- package/es/services/cfw/v20190904/cfw_client.js +3 -0
- package/es/services/clb/v20180317/clb_client.js +91 -16
- package/es/services/cngw/index.js +4 -0
- package/es/services/cngw/v20230418/cngw_client.js +141 -0
- package/es/services/cngw/v20230418/cngw_models.js +1 -0
- package/es/services/cngw/v20230418/index.js +6 -0
- package/es/services/csip/v20221121/csip_client.js +6 -0
- package/es/services/cwp/v20180228/cwp_client.js +3 -0
- package/es/services/ess/v20201111/ess_client.js +5 -2
- package/es/services/essbasic/v20210526/essbasic_client.js +3 -0
- package/es/services/index.js +1 -0
- package/es/services/monitor/v20180724/monitor_client.js +3 -0
- package/es/services/ocr/v20181119/ocr_client.js +3 -0
- package/es/services/tdmysql/v20211122/tdmysql_client.js +3 -3
- package/es/services/tke/v20220501/tke_client.js +3 -0
- 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/apigateway/v20180808/apigateway_client.d.ts +2 -8
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +1 -9
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +22 -45
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +28 -0
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +67 -31
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +41 -38
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +8 -8
- 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/clb/v20180317/clb_client.d.ts +122 -22
- package/tencentcloud/services/clb/v20180317/clb_client.js +179 -29
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +2314 -888
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +59 -105
- package/tencentcloud/services/cngw/index.d.ts +6 -0
- package/tencentcloud/services/cngw/index.js +7 -0
- package/tencentcloud/services/cngw/v20230418/cngw_client.d.ts +190 -0
- package/tencentcloud/services/cngw/v20230418/cngw_client.js +301 -0
- package/tencentcloud/services/cngw/v20230418/cngw_models.d.ts +2991 -0
- package/tencentcloud/services/cngw/v20230418/cngw_models.js +18 -0
- package/tencentcloud/services/cngw/v20230418/index.d.ts +6 -0
- package/tencentcloud/services/cngw/v20230418/index.js +10 -0
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +9 -1
- package/tencentcloud/services/csip/v20221121/csip_client.js +12 -0
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +608 -151
- 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 +7 -7
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +11 -25
- package/tencentcloud/services/es/v20180416/es_models.d.ts +4 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +21 -3
- package/tencentcloud/services/ess/v20201111/ess_client.js +23 -3
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +51 -14
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +19 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +20 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +46 -16
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +7 -5
- package/tencentcloud/services/live/v20180801/live_models.d.ts +8 -0
- 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 +245 -238
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +68 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +9 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +10 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +60 -14
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +17 -9
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +15 -11
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +6 -2
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +17 -9
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +6 -2
- package/tencentcloud/services/tdmysql/v20211122/tdmysql_client.d.ts +5 -5
- package/tencentcloud/services/tdmysql/v20211122/tdmysql_client.js +6 -6
- package/tencentcloud/services/tdmysql/v20211122/tdmysql_models.d.ts +47 -34
- package/tencentcloud/services/tke/v20220501/tke_client.d.ts +5 -1
- package/tencentcloud/services/tke/v20220501/tke_client.js +6 -0
- package/tencentcloud/services/tke/v20220501/tke_models.d.ts +30 -13
- 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 +66 -46
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +56 -26
|
@@ -11,6 +11,19 @@ export interface DeleteAlarmShieldsRequest {
|
|
|
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
|
*/
|
|
@@ -447,40 +460,36 @@ export interface DescribePolicyConditionListResponseDeprecatingInfo {
|
|
|
447
460
|
*/
|
|
448
461
|
export interface PrometheusTempModify {
|
|
449
462
|
/**
|
|
450
|
-
*
|
|
463
|
+
* <p>修改名称</p>
|
|
451
464
|
*/
|
|
452
465
|
Name?: string;
|
|
453
466
|
/**
|
|
454
|
-
*
|
|
467
|
+
* <p>修改描述</p>
|
|
455
468
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
456
469
|
*/
|
|
457
470
|
Describe?: string;
|
|
458
471
|
/**
|
|
459
|
-
*
|
|
460
|
-
模板中的ServiceMonitor规则列表
|
|
472
|
+
* <p>当Level为cluster时有效,<br>模板中的ServiceMonitor规则列表</p>
|
|
461
473
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
462
474
|
*/
|
|
463
475
|
ServiceMonitors?: Array<PrometheusConfigItem>;
|
|
464
476
|
/**
|
|
465
|
-
*
|
|
466
|
-
模板中的PodMonitors规则列表
|
|
477
|
+
* <p>当Level为cluster时有效,<br>模板中的PodMonitors规则列表</p>
|
|
467
478
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
468
479
|
*/
|
|
469
480
|
PodMonitors?: Array<PrometheusConfigItem>;
|
|
470
481
|
/**
|
|
471
|
-
*
|
|
472
|
-
模板中的RawJobs规则列表
|
|
482
|
+
* <p>当Level为cluster时有效,<br>模板中的RawJobs规则列表</p>
|
|
473
483
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
474
484
|
*/
|
|
475
485
|
RawJobs?: Array<PrometheusConfigItem>;
|
|
476
486
|
/**
|
|
477
|
-
*
|
|
478
|
-
模板中的聚合规则列表
|
|
487
|
+
* <p>当Level为instance时有效,<br>模板中的聚合规则列表</p>
|
|
479
488
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
480
489
|
*/
|
|
481
490
|
RecordRules?: Array<PrometheusConfigItem>;
|
|
482
491
|
/**
|
|
483
|
-
*
|
|
492
|
+
* <p>修改内容,只有当模板类型是Alert时生效</p>
|
|
484
493
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
485
494
|
*/
|
|
486
495
|
AlertDetailRules?: Array<PrometheusAlertPolicyItem>;
|
|
@@ -768,6 +777,10 @@ export interface DescribeGrafanaEnvironmentsRequest {
|
|
|
768
777
|
*/
|
|
769
778
|
InstanceId: string;
|
|
770
779
|
}
|
|
780
|
+
/**
|
|
781
|
+
* DescribePrometheusCreateInstanceQuota请求参数结构体
|
|
782
|
+
*/
|
|
783
|
+
export type DescribePrometheusCreateInstanceQuotaRequest = null;
|
|
771
784
|
/**
|
|
772
785
|
* prometheus配置
|
|
773
786
|
*/
|
|
@@ -1018,26 +1031,23 @@ export interface AlarmPolicy {
|
|
|
1018
1031
|
*/
|
|
1019
1032
|
export interface DeleteExporterIntegrationRequest {
|
|
1020
1033
|
/**
|
|
1021
|
-
*
|
|
1034
|
+
* <p>实例 ID</p>
|
|
1022
1035
|
*/
|
|
1023
1036
|
InstanceId: string;
|
|
1024
1037
|
/**
|
|
1025
|
-
*
|
|
1038
|
+
* <p>类型(可通过 DescribeExporterIntegrations获取)</p>
|
|
1026
1039
|
*/
|
|
1027
1040
|
Kind: string;
|
|
1028
1041
|
/**
|
|
1029
|
-
*
|
|
1042
|
+
* <p>名字</p>
|
|
1030
1043
|
*/
|
|
1031
1044
|
Name: string;
|
|
1032
1045
|
/**
|
|
1033
|
-
* Kubernetes
|
|
1034
|
-
<li> 1= 容器集群(TKE) </li>
|
|
1035
|
-
<li> 2=弹性集群(EKS) </li>
|
|
1036
|
-
<li> 3= Prometheus管理的弹性集群(MEKS) </li>
|
|
1046
|
+
* <p>Kubernetes 集群类型,取值如下:</p><li> 1= 容器集群(TKE) </li><li> 2=弹性集群(EKS) </li><li> 3= Prometheus管理的弹性集群(MEKS) </li>
|
|
1037
1047
|
*/
|
|
1038
1048
|
KubeType?: number;
|
|
1039
1049
|
/**
|
|
1040
|
-
*
|
|
1050
|
+
* <p>集群 ID,可不填</p>
|
|
1041
1051
|
*/
|
|
1042
1052
|
ClusterId?: string;
|
|
1043
1053
|
}
|
|
@@ -1046,11 +1056,11 @@ export interface DeleteExporterIntegrationRequest {
|
|
|
1046
1056
|
*/
|
|
1047
1057
|
export interface PrometheusRuleKV {
|
|
1048
1058
|
/**
|
|
1049
|
-
*
|
|
1059
|
+
* <p>键</p>
|
|
1050
1060
|
*/
|
|
1051
1061
|
Key: string;
|
|
1052
1062
|
/**
|
|
1053
|
-
*
|
|
1063
|
+
* <p>值</p>
|
|
1054
1064
|
*/
|
|
1055
1065
|
Value: string;
|
|
1056
1066
|
}
|
|
@@ -1072,62 +1082,58 @@ export interface DescribePolicyConditionListResponse {
|
|
|
1072
1082
|
*/
|
|
1073
1083
|
export interface PrometheusRuleSet {
|
|
1074
1084
|
/**
|
|
1075
|
-
*
|
|
1085
|
+
* <p>规则 ID</p>
|
|
1076
1086
|
*/
|
|
1077
1087
|
RuleId: string;
|
|
1078
1088
|
/**
|
|
1079
|
-
*
|
|
1089
|
+
* <p>规则名称</p>
|
|
1080
1090
|
*/
|
|
1081
1091
|
RuleName: string;
|
|
1082
1092
|
/**
|
|
1083
|
-
*
|
|
1093
|
+
* <p>规则状态码</p>
|
|
1084
1094
|
*/
|
|
1085
1095
|
RuleState: number;
|
|
1086
1096
|
/**
|
|
1087
|
-
*
|
|
1097
|
+
* <p>规则类别</p>
|
|
1088
1098
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1089
1099
|
*/
|
|
1090
1100
|
Type: string;
|
|
1091
1101
|
/**
|
|
1092
|
-
*
|
|
1102
|
+
* <p>规则标签列表</p>
|
|
1093
1103
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1094
1104
|
*/
|
|
1095
1105
|
Labels: Array<PrometheusRuleKV>;
|
|
1096
1106
|
/**
|
|
1097
|
-
*
|
|
1107
|
+
* <p>规则注释列表</p>
|
|
1098
1108
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1099
1109
|
*/
|
|
1100
1110
|
Annotations: Array<PrometheusRuleKV>;
|
|
1101
1111
|
/**
|
|
1102
|
-
*
|
|
1112
|
+
* <p>规则表达式</p>
|
|
1103
1113
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1104
1114
|
*/
|
|
1105
1115
|
Expr: string;
|
|
1106
1116
|
/**
|
|
1107
|
-
*
|
|
1117
|
+
* <p>规则报警持续时间</p>
|
|
1108
1118
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1109
1119
|
*/
|
|
1110
1120
|
Duration: string;
|
|
1111
1121
|
/**
|
|
1112
|
-
*
|
|
1122
|
+
* <p>报警接收组列表</p>
|
|
1113
1123
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1114
1124
|
*/
|
|
1115
1125
|
Receivers: Array<string>;
|
|
1116
1126
|
/**
|
|
1117
|
-
*
|
|
1118
|
-
<li>unknown 未知状态</li>
|
|
1119
|
-
<li>pending 加载中</li>
|
|
1120
|
-
<li>ok 运行正常</li>
|
|
1121
|
-
<li>err 运行错误</li>
|
|
1127
|
+
* <p>规则运行健康状态,取值如下:</p><li>unknown 未知状态</li><li>pending 加载中</li><li>ok 运行正常</li><li>err 运行错误</li>
|
|
1122
1128
|
*/
|
|
1123
1129
|
Health: string;
|
|
1124
1130
|
/**
|
|
1125
|
-
*
|
|
1131
|
+
* <p>规则创建时间</p>
|
|
1126
1132
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1127
1133
|
*/
|
|
1128
1134
|
CreatedAt: string;
|
|
1129
1135
|
/**
|
|
1130
|
-
*
|
|
1136
|
+
* <p>规则更新时间</p>
|
|
1131
1137
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1132
1138
|
*/
|
|
1133
1139
|
UpdatedAt: string;
|
|
@@ -1456,20 +1462,20 @@ export interface Dimension {
|
|
|
1456
1462
|
*/
|
|
1457
1463
|
export interface DescribeBindingPolicyObjectListResponse {
|
|
1458
1464
|
/**
|
|
1459
|
-
*
|
|
1465
|
+
* <p>绑定的对象实例列表</p>
|
|
1460
1466
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1461
1467
|
*/
|
|
1462
1468
|
List: Array<DescribeBindingPolicyObjectListInstance>;
|
|
1463
1469
|
/**
|
|
1464
|
-
*
|
|
1470
|
+
* <p>绑定的对象实例总数</p>
|
|
1465
1471
|
*/
|
|
1466
1472
|
Total: number;
|
|
1467
1473
|
/**
|
|
1468
|
-
*
|
|
1474
|
+
* <p>未屏蔽的对象实例数</p>
|
|
1469
1475
|
*/
|
|
1470
1476
|
NoShieldedSum: number;
|
|
1471
1477
|
/**
|
|
1472
|
-
*
|
|
1478
|
+
* <p>绑定的实例分组信息,没有绑定实例分组则为空</p>
|
|
1473
1479
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1474
1480
|
*/
|
|
1475
1481
|
InstanceGroup: DescribeBindingPolicyObjectListInstanceGroup;
|
|
@@ -2153,7 +2159,7 @@ export interface ModifyAlarmPolicyStatusResponse {
|
|
|
2153
2159
|
*/
|
|
2154
2160
|
export interface DescribeExporterIntegrationsResponse {
|
|
2155
2161
|
/**
|
|
2156
|
-
*
|
|
2162
|
+
* <p>集成配置列表</p>
|
|
2157
2163
|
*/
|
|
2158
2164
|
IntegrationSet?: Array<IntegrationConfiguration>;
|
|
2159
2165
|
/**
|
|
@@ -2641,35 +2647,35 @@ export interface DescribePolicyGroupInfoReceiverInfo {
|
|
|
2641
2647
|
*/
|
|
2642
2648
|
export interface RecordingRuleSet {
|
|
2643
2649
|
/**
|
|
2644
|
-
*
|
|
2650
|
+
* <p>规则 ID</p>
|
|
2645
2651
|
*/
|
|
2646
2652
|
RuleId?: string;
|
|
2647
2653
|
/**
|
|
2648
|
-
*
|
|
2654
|
+
* <p>规则状态码</p>
|
|
2649
2655
|
*/
|
|
2650
2656
|
RuleState?: number;
|
|
2651
2657
|
/**
|
|
2652
|
-
*
|
|
2658
|
+
* <p>分组名称</p>
|
|
2653
2659
|
*/
|
|
2654
2660
|
Name?: string;
|
|
2655
2661
|
/**
|
|
2656
|
-
*
|
|
2662
|
+
* <p>规则内容组</p>
|
|
2657
2663
|
*/
|
|
2658
2664
|
Group?: string;
|
|
2659
2665
|
/**
|
|
2660
|
-
*
|
|
2666
|
+
* <p>规则数量</p>
|
|
2661
2667
|
*/
|
|
2662
2668
|
Total?: number;
|
|
2663
2669
|
/**
|
|
2664
|
-
*
|
|
2670
|
+
* <p>规则创建时间</p>
|
|
2665
2671
|
*/
|
|
2666
2672
|
CreatedAt?: string;
|
|
2667
2673
|
/**
|
|
2668
|
-
*
|
|
2674
|
+
* <p>规则最近更新时间</p>
|
|
2669
2675
|
*/
|
|
2670
2676
|
UpdatedAt?: string;
|
|
2671
2677
|
/**
|
|
2672
|
-
*
|
|
2678
|
+
* <p>规则名称</p>
|
|
2673
2679
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2674
2680
|
*/
|
|
2675
2681
|
RuleName?: string;
|
|
@@ -2679,51 +2685,51 @@ export interface RecordingRuleSet {
|
|
|
2679
2685
|
*/
|
|
2680
2686
|
export interface DescribeBasicAlarmListRequest {
|
|
2681
2687
|
/**
|
|
2682
|
-
*
|
|
2688
|
+
* <p>接口模块名,当前取值monitor</p>
|
|
2683
2689
|
*/
|
|
2684
2690
|
Module: string;
|
|
2685
2691
|
/**
|
|
2686
|
-
*
|
|
2692
|
+
* <p>起始时间,默认一天前的时间戳</p>
|
|
2687
2693
|
*/
|
|
2688
2694
|
StartTime?: number;
|
|
2689
2695
|
/**
|
|
2690
|
-
*
|
|
2696
|
+
* <p>结束时间,默认当前时间戳</p>
|
|
2691
2697
|
*/
|
|
2692
2698
|
EndTime?: number;
|
|
2693
2699
|
/**
|
|
2694
|
-
*
|
|
2700
|
+
* <p>分页参数,每页返回的数量,取值1~100,默认20</p>
|
|
2695
2701
|
*/
|
|
2696
2702
|
Limit?: number;
|
|
2697
2703
|
/**
|
|
2698
|
-
*
|
|
2704
|
+
* <p>分页参数,页偏移量,从0开始计数,默认0</p>
|
|
2699
2705
|
*/
|
|
2700
2706
|
Offset?: number;
|
|
2701
2707
|
/**
|
|
2702
|
-
*
|
|
2708
|
+
* <p>根据发生时间排序,取值ASC或DESC</p>
|
|
2703
2709
|
*/
|
|
2704
2710
|
OccurTimeOrder?: string;
|
|
2705
2711
|
/**
|
|
2706
|
-
*
|
|
2712
|
+
* <p>根据项目ID过滤</p>
|
|
2707
2713
|
*/
|
|
2708
2714
|
ProjectIds?: Array<number | bigint>;
|
|
2709
2715
|
/**
|
|
2710
|
-
*
|
|
2716
|
+
* <p>根据策略类型过滤</p>
|
|
2711
2717
|
*/
|
|
2712
2718
|
ViewNames?: Array<string>;
|
|
2713
2719
|
/**
|
|
2714
|
-
*
|
|
2720
|
+
* <p>根据告警状态过滤</p>
|
|
2715
2721
|
*/
|
|
2716
2722
|
AlarmStatus?: Array<number | bigint>;
|
|
2717
2723
|
/**
|
|
2718
|
-
*
|
|
2724
|
+
* <p>根据告警对象过滤</p>
|
|
2719
2725
|
*/
|
|
2720
2726
|
ObjLike?: string;
|
|
2721
2727
|
/**
|
|
2722
|
-
*
|
|
2728
|
+
* <p>根据实例组ID过滤</p>
|
|
2723
2729
|
*/
|
|
2724
2730
|
InstanceGroupIds?: Array<number | bigint>;
|
|
2725
2731
|
/**
|
|
2726
|
-
*
|
|
2732
|
+
* <p>根据指标名过滤</p>
|
|
2727
2733
|
*/
|
|
2728
2734
|
MetricNames?: Array<string>;
|
|
2729
2735
|
}
|
|
@@ -2751,7 +2757,7 @@ export interface DescribePrometheusAlertGroupsResponse {
|
|
|
2751
2757
|
*/
|
|
2752
2758
|
export interface CreateConditionsTemplateResponse {
|
|
2753
2759
|
/**
|
|
2754
|
-
*
|
|
2760
|
+
* <p>模板策略组ID</p>
|
|
2755
2761
|
*/
|
|
2756
2762
|
GroupID?: number;
|
|
2757
2763
|
/**
|
|
@@ -3419,11 +3425,11 @@ export interface ExportPrometheusReadOnlyDynamicAPIRequest {
|
|
|
3419
3425
|
*/
|
|
3420
3426
|
export interface PrometheusTag {
|
|
3421
3427
|
/**
|
|
3422
|
-
*
|
|
3428
|
+
* <p>标签的健值</p>
|
|
3423
3429
|
*/
|
|
3424
3430
|
Key: string;
|
|
3425
3431
|
/**
|
|
3426
|
-
*
|
|
3432
|
+
* <p>标签对应的值</p>
|
|
3427
3433
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3428
3434
|
*/
|
|
3429
3435
|
Value: string;
|
|
@@ -3741,27 +3747,27 @@ export interface CreateAlarmPolicyRequest {
|
|
|
3741
3747
|
*/
|
|
3742
3748
|
export interface PrometheusZoneItem {
|
|
3743
3749
|
/**
|
|
3744
|
-
*
|
|
3750
|
+
* <p>可用区</p>
|
|
3745
3751
|
*/
|
|
3746
3752
|
Zone?: string;
|
|
3747
3753
|
/**
|
|
3748
|
-
*
|
|
3754
|
+
* <p>可用区 ID</p>
|
|
3749
3755
|
*/
|
|
3750
3756
|
ZoneId?: number;
|
|
3751
3757
|
/**
|
|
3752
|
-
*
|
|
3758
|
+
* <p>可用区状态( 0: 不可用;1: 可用)</p>
|
|
3753
3759
|
*/
|
|
3754
3760
|
ZoneState?: number;
|
|
3755
3761
|
/**
|
|
3756
|
-
*
|
|
3762
|
+
* <p>地域 ID</p>
|
|
3757
3763
|
*/
|
|
3758
3764
|
RegionId?: number;
|
|
3759
3765
|
/**
|
|
3760
|
-
*
|
|
3766
|
+
* <p>可用区名(目前为中文)</p>
|
|
3761
3767
|
*/
|
|
3762
3768
|
ZoneName?: string;
|
|
3763
3769
|
/**
|
|
3764
|
-
*
|
|
3770
|
+
* <p>可用区资源状态(0:资源不足,不可使用;1:资源足够)</p>
|
|
3765
3771
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3766
3772
|
*/
|
|
3767
3773
|
ZoneResourceState?: number;
|
|
@@ -3831,40 +3837,40 @@ export interface UpdateOnCallFormResponse {
|
|
|
3831
3837
|
*/
|
|
3832
3838
|
export interface PrometheusTemplateSyncTarget {
|
|
3833
3839
|
/**
|
|
3834
|
-
*
|
|
3840
|
+
* <p>目标所在地域</p>
|
|
3835
3841
|
*/
|
|
3836
3842
|
Region: string;
|
|
3837
3843
|
/**
|
|
3838
|
-
*
|
|
3844
|
+
* <p>目标实例</p>
|
|
3839
3845
|
*/
|
|
3840
3846
|
InstanceId: string;
|
|
3841
3847
|
/**
|
|
3842
|
-
*
|
|
3848
|
+
* <p>集群id,只有当采集模板的Level为cluster的时候需要</p>
|
|
3843
3849
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3844
3850
|
*/
|
|
3845
3851
|
ClusterId?: string;
|
|
3846
3852
|
/**
|
|
3847
|
-
*
|
|
3853
|
+
* <p>最后一次同步时间, 用于出参</p>
|
|
3848
3854
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3849
3855
|
*/
|
|
3850
3856
|
SyncTime?: string;
|
|
3851
3857
|
/**
|
|
3852
|
-
*
|
|
3858
|
+
* <p>当前使用的模板版本,用于出参</p>
|
|
3853
3859
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3854
3860
|
*/
|
|
3855
3861
|
Version?: string;
|
|
3856
3862
|
/**
|
|
3857
|
-
*
|
|
3863
|
+
* <p>集群类型,只有当采集模板的Level为cluster的时候需要</p>
|
|
3858
3864
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3859
3865
|
*/
|
|
3860
3866
|
ClusterType?: string;
|
|
3861
3867
|
/**
|
|
3862
|
-
*
|
|
3868
|
+
* <p>用于出参,实例名称</p>
|
|
3863
3869
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3864
3870
|
*/
|
|
3865
3871
|
InstanceName?: string;
|
|
3866
3872
|
/**
|
|
3867
|
-
*
|
|
3873
|
+
* <p>用于出参,集群名称</p>
|
|
3868
3874
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3869
3875
|
*/
|
|
3870
3876
|
ClusterName?: string;
|
|
@@ -4012,11 +4018,11 @@ export interface DataPoint {
|
|
|
4012
4018
|
*/
|
|
4013
4019
|
export interface DescribeAlarmPoliciesResponse {
|
|
4014
4020
|
/**
|
|
4015
|
-
*
|
|
4021
|
+
* <p>策略总数</p>
|
|
4016
4022
|
*/
|
|
4017
4023
|
TotalCount?: number;
|
|
4018
4024
|
/**
|
|
4019
|
-
*
|
|
4025
|
+
* <p>策略数组</p>
|
|
4020
4026
|
*/
|
|
4021
4027
|
Policies?: Array<AlarmPolicy>;
|
|
4022
4028
|
/**
|
|
@@ -4283,11 +4289,11 @@ export interface DescribeGrafanaWhiteListResponse {
|
|
|
4283
4289
|
*/
|
|
4284
4290
|
export interface DescribeAlertRulesResponse {
|
|
4285
4291
|
/**
|
|
4286
|
-
*
|
|
4292
|
+
* <p>报警规则数量</p>
|
|
4287
4293
|
*/
|
|
4288
4294
|
TotalCount: number;
|
|
4289
4295
|
/**
|
|
4290
|
-
*
|
|
4296
|
+
* <p>报警规则详情</p>
|
|
4291
4297
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4292
4298
|
*/
|
|
4293
4299
|
AlertRuleSet: Array<PrometheusRuleSet>;
|
|
@@ -4340,17 +4346,17 @@ export interface UpdateExporterIntegrationResponse {
|
|
|
4340
4346
|
*/
|
|
4341
4347
|
export interface DescribeBasicAlarmListResponse {
|
|
4342
4348
|
/**
|
|
4343
|
-
*
|
|
4349
|
+
* <p>告警列表</p>
|
|
4344
4350
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4345
4351
|
*/
|
|
4346
4352
|
Alarms?: Array<DescribeBasicAlarmListAlarms>;
|
|
4347
4353
|
/**
|
|
4348
|
-
*
|
|
4354
|
+
* <p>总数</p>
|
|
4349
4355
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4350
4356
|
*/
|
|
4351
4357
|
Total?: number;
|
|
4352
4358
|
/**
|
|
4353
|
-
*
|
|
4359
|
+
* <p>备注信息</p>
|
|
4354
4360
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4355
4361
|
*/
|
|
4356
4362
|
Warning?: string;
|
|
@@ -4381,26 +4387,23 @@ export interface ModifyAlarmReceiversRequest {
|
|
|
4381
4387
|
*/
|
|
4382
4388
|
export interface DescribeExporterIntegrationsRequest {
|
|
4383
4389
|
/**
|
|
4384
|
-
*
|
|
4390
|
+
* <p>实例 ID</p>
|
|
4385
4391
|
*/
|
|
4386
4392
|
InstanceId: string;
|
|
4387
4393
|
/**
|
|
4388
|
-
* Kubernetes
|
|
4389
|
-
<li> 1= 容器集群(TKE) </li>
|
|
4390
|
-
<li> 2=弹性集群(EKS) </li>
|
|
4391
|
-
<li> 3= Prometheus管理的弹性集群(MEKS) </li>
|
|
4394
|
+
* <p>Kubernetes 集群类型,可不填。取值如下:</p><li> 1= 容器集群(TKE) </li><li> 2=弹性集群(EKS) </li><li> 3= Prometheus管理的弹性集群(MEKS) </li>
|
|
4392
4395
|
*/
|
|
4393
4396
|
KubeType?: number;
|
|
4394
4397
|
/**
|
|
4395
|
-
*
|
|
4398
|
+
* <p>集群 ID,可不填</p>
|
|
4396
4399
|
*/
|
|
4397
4400
|
ClusterId?: string;
|
|
4398
4401
|
/**
|
|
4399
|
-
*
|
|
4402
|
+
* <p>类型(不填返回全部集成。可通过 DescribePrometheusIntegrations 接口获取,取每一项中的 ExporterType 字段)</p>
|
|
4400
4403
|
*/
|
|
4401
4404
|
Kind?: string;
|
|
4402
4405
|
/**
|
|
4403
|
-
*
|
|
4406
|
+
* <p>名字</p>
|
|
4404
4407
|
*/
|
|
4405
4408
|
Name?: string;
|
|
4406
4409
|
}
|
|
@@ -4878,16 +4881,16 @@ export interface UpdatePrometheusAlertGroupStateRequest {
|
|
|
4878
4881
|
*/
|
|
4879
4882
|
export interface PrometheusAlertManagerConfig {
|
|
4880
4883
|
/**
|
|
4881
|
-
* alertmanager url
|
|
4884
|
+
* <p>alertmanager url</p>
|
|
4882
4885
|
*/
|
|
4883
4886
|
Url: string;
|
|
4884
4887
|
/**
|
|
4885
|
-
* alertmanager
|
|
4888
|
+
* <p>alertmanager部署所在集群类型</p>
|
|
4886
4889
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4887
4890
|
*/
|
|
4888
4891
|
ClusterType?: string;
|
|
4889
4892
|
/**
|
|
4890
|
-
* alertmanager部署所在集群ID
|
|
4893
|
+
* <p>alertmanager部署所在集群ID</p>
|
|
4891
4894
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4892
4895
|
*/
|
|
4893
4896
|
ClusterId?: string;
|
|
@@ -5444,11 +5447,11 @@ export interface UninstallGrafanaPluginsRequest {
|
|
|
5444
5447
|
*/
|
|
5445
5448
|
export interface PrometheusStringKeyValuePair {
|
|
5446
5449
|
/**
|
|
5447
|
-
*
|
|
5450
|
+
* <p>键</p>
|
|
5448
5451
|
*/
|
|
5449
5452
|
Key: string;
|
|
5450
5453
|
/**
|
|
5451
|
-
*
|
|
5454
|
+
* <p>值</p>
|
|
5452
5455
|
*/
|
|
5453
5456
|
Value: string;
|
|
5454
5457
|
}
|
|
@@ -5951,33 +5954,31 @@ export interface DestroyPrometheusInstanceResponse {
|
|
|
5951
5954
|
*/
|
|
5952
5955
|
export interface DescribeAlertRulesRequest {
|
|
5953
5956
|
/**
|
|
5954
|
-
* Prometheus 实例 ID
|
|
5957
|
+
* <p>Prometheus 实例 ID</p>
|
|
5955
5958
|
*/
|
|
5956
5959
|
InstanceId: string;
|
|
5957
5960
|
/**
|
|
5958
|
-
*
|
|
5961
|
+
* <p>返回数量,默认为 20,最大值为 100</p>
|
|
5959
5962
|
*/
|
|
5960
5963
|
Limit?: number;
|
|
5961
5964
|
/**
|
|
5962
|
-
*
|
|
5965
|
+
* <p>偏移量,默认为 0</p>
|
|
5963
5966
|
*/
|
|
5964
5967
|
Offset?: number;
|
|
5965
5968
|
/**
|
|
5966
|
-
*
|
|
5969
|
+
* <p>规则 ID</p>
|
|
5967
5970
|
*/
|
|
5968
5971
|
RuleId?: string;
|
|
5969
5972
|
/**
|
|
5970
|
-
*
|
|
5971
|
-
<li>2=RuleEnabled</li>
|
|
5972
|
-
<li>3=RuleDisabled</li>
|
|
5973
|
+
* <p>规则状态码,取值如下:</p><li>2=RuleEnabled</li><li>3=RuleDisabled</li>
|
|
5973
5974
|
*/
|
|
5974
5975
|
RuleState?: number;
|
|
5975
5976
|
/**
|
|
5976
|
-
*
|
|
5977
|
+
* <p>规则名称</p>
|
|
5977
5978
|
*/
|
|
5978
5979
|
RuleName?: string;
|
|
5979
5980
|
/**
|
|
5980
|
-
*
|
|
5981
|
+
* <p>报警策略模板分类</p>
|
|
5981
5982
|
*/
|
|
5982
5983
|
Type?: string;
|
|
5983
5984
|
}
|
|
@@ -6076,40 +6077,40 @@ export interface ModifyPrometheusConfigResponse {
|
|
|
6076
6077
|
*/
|
|
6077
6078
|
export interface PrometheusAgent {
|
|
6078
6079
|
/**
|
|
6079
|
-
* Agent
|
|
6080
|
+
* <p>Agent 名</p>
|
|
6080
6081
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6081
6082
|
*/
|
|
6082
6083
|
Name: string;
|
|
6083
6084
|
/**
|
|
6084
|
-
* Agent ID
|
|
6085
|
+
* <p>Agent ID</p>
|
|
6085
6086
|
*/
|
|
6086
6087
|
AgentId: string;
|
|
6087
6088
|
/**
|
|
6088
|
-
*
|
|
6089
|
+
* <p>实例 ID</p>
|
|
6089
6090
|
*/
|
|
6090
6091
|
InstanceId: string;
|
|
6091
6092
|
/**
|
|
6092
|
-
* Agent IP
|
|
6093
|
+
* <p>Agent IP</p>
|
|
6093
6094
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6094
6095
|
*/
|
|
6095
6096
|
Ipv4: string;
|
|
6096
6097
|
/**
|
|
6097
|
-
*
|
|
6098
|
+
* <p>心跳时间</p>
|
|
6098
6099
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6099
6100
|
*/
|
|
6100
6101
|
HeartbeatTime: string;
|
|
6101
6102
|
/**
|
|
6102
|
-
*
|
|
6103
|
+
* <p>最近一次错误</p>
|
|
6103
6104
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6104
6105
|
*/
|
|
6105
6106
|
LastError: string;
|
|
6106
6107
|
/**
|
|
6107
|
-
* Agent
|
|
6108
|
+
* <p>Agent 版本</p>
|
|
6108
6109
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6109
6110
|
*/
|
|
6110
6111
|
AgentVersion: string;
|
|
6111
6112
|
/**
|
|
6112
|
-
* Agent
|
|
6113
|
+
* <p>Agent 状态</p>
|
|
6113
6114
|
*/
|
|
6114
6115
|
Status: number;
|
|
6115
6116
|
}
|
|
@@ -6370,35 +6371,35 @@ export interface PrometheusInstancesItem {
|
|
|
6370
6371
|
*/
|
|
6371
6372
|
export interface DescribeConditionsTemplateListRequest {
|
|
6372
6373
|
/**
|
|
6373
|
-
*
|
|
6374
|
+
* <p>固定值,为"monitor"</p>
|
|
6374
6375
|
*/
|
|
6375
6376
|
Module: string;
|
|
6376
6377
|
/**
|
|
6377
|
-
*
|
|
6378
|
+
* <p>视图名,由 <a href="https://cloud.tencent.com/document/product/248/48683">DescribeAllNamespaces</a> 获得。对于云产品监控,取接口出参的 QceNamespacesNew.N.Id,例如 cvm_device</p>
|
|
6378
6379
|
*/
|
|
6379
6380
|
ViewName?: string;
|
|
6380
6381
|
/**
|
|
6381
|
-
*
|
|
6382
|
+
* <p>根据触发条件模板名称过滤查询</p>
|
|
6382
6383
|
*/
|
|
6383
6384
|
GroupName?: string;
|
|
6384
6385
|
/**
|
|
6385
|
-
*
|
|
6386
|
+
* <p>根据触发条件模板ID过滤查询</p>
|
|
6386
6387
|
*/
|
|
6387
6388
|
GroupID?: string;
|
|
6388
6389
|
/**
|
|
6389
|
-
*
|
|
6390
|
+
* <p>分页参数,每页返回的数量,取值1~100,默认20</p>
|
|
6390
6391
|
*/
|
|
6391
6392
|
Limit?: number;
|
|
6392
6393
|
/**
|
|
6393
|
-
*
|
|
6394
|
+
* <p>分页参数,页偏移量,从0开始计数,默认0</p>
|
|
6394
6395
|
*/
|
|
6395
6396
|
Offset?: number;
|
|
6396
6397
|
/**
|
|
6397
|
-
*
|
|
6398
|
+
* <p>指定按更新时间的排序方式,asc=升序, desc=降序</p>
|
|
6398
6399
|
*/
|
|
6399
6400
|
UpdateTimeOrder?: string;
|
|
6400
6401
|
/**
|
|
6401
|
-
*
|
|
6402
|
+
* <p>指定按绑定策略数目的排序方式,asc=升序, desc=降序</p>
|
|
6402
6403
|
*/
|
|
6403
6404
|
PolicyCountOrder?: string;
|
|
6404
6405
|
}
|
|
@@ -7147,19 +7148,19 @@ export interface DescribeBindingPolicyObjectListInstance {
|
|
|
7147
7148
|
/**
|
|
7148
7149
|
* 对象唯一id
|
|
7149
7150
|
*/
|
|
7150
|
-
UniqueId
|
|
7151
|
+
UniqueId?: string;
|
|
7151
7152
|
/**
|
|
7152
7153
|
* 表示对象实例的维度集合,jsonObj字符串
|
|
7153
7154
|
*/
|
|
7154
|
-
Dimensions
|
|
7155
|
+
Dimensions?: string;
|
|
7155
7156
|
/**
|
|
7156
7157
|
* 对象是否被屏蔽,0表示未屏蔽,1表示被屏蔽
|
|
7157
7158
|
*/
|
|
7158
|
-
IsShielded
|
|
7159
|
+
IsShielded?: number;
|
|
7159
7160
|
/**
|
|
7160
7161
|
* 对象所在的地域
|
|
7161
7162
|
*/
|
|
7162
|
-
Region
|
|
7163
|
+
Region?: string;
|
|
7163
7164
|
}
|
|
7164
7165
|
/**
|
|
7165
7166
|
* UpdateGrafanaIntegration返回参数结构体
|
|
@@ -7267,11 +7268,11 @@ export interface NoticeBindPolicys {
|
|
|
7267
7268
|
*/
|
|
7268
7269
|
export interface PrometheusDynamicAPIResponseHTTP {
|
|
7269
7270
|
/**
|
|
7270
|
-
* HTTP
|
|
7271
|
+
* <p>HTTP 状态码</p>
|
|
7271
7272
|
*/
|
|
7272
7273
|
StatusCode?: number;
|
|
7273
7274
|
/**
|
|
7274
|
-
* HTTP
|
|
7275
|
+
* <p>HTTP 响应体</p>
|
|
7275
7276
|
*/
|
|
7276
7277
|
ResponseBody?: string;
|
|
7277
7278
|
}
|
|
@@ -7280,37 +7281,37 @@ export interface PrometheusDynamicAPIResponseHTTP {
|
|
|
7280
7281
|
*/
|
|
7281
7282
|
export interface PrometheusAlertRule {
|
|
7282
7283
|
/**
|
|
7283
|
-
*
|
|
7284
|
+
* <p>规则名称</p>
|
|
7284
7285
|
*/
|
|
7285
7286
|
Name: string;
|
|
7286
7287
|
/**
|
|
7287
|
-
* prometheus
|
|
7288
|
+
* <p>prometheus语句</p>
|
|
7288
7289
|
*/
|
|
7289
7290
|
Rule: string;
|
|
7290
7291
|
/**
|
|
7291
|
-
*
|
|
7292
|
+
* <p>额外标签</p>
|
|
7292
7293
|
*/
|
|
7293
7294
|
Labels: Array<Label>;
|
|
7294
7295
|
/**
|
|
7295
|
-
*
|
|
7296
|
+
* <p>告警发送模板</p>
|
|
7296
7297
|
*/
|
|
7297
7298
|
Template: string;
|
|
7298
7299
|
/**
|
|
7299
|
-
*
|
|
7300
|
+
* <p>持续时间</p>
|
|
7300
7301
|
*/
|
|
7301
7302
|
For: string;
|
|
7302
7303
|
/**
|
|
7303
|
-
*
|
|
7304
|
+
* <p>该条规则的描述信息</p>
|
|
7304
7305
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7305
7306
|
*/
|
|
7306
7307
|
Describe?: string;
|
|
7307
7308
|
/**
|
|
7308
|
-
*
|
|
7309
|
+
* <p>参考prometheus rule中的annotations</p>
|
|
7309
7310
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7310
7311
|
*/
|
|
7311
7312
|
Annotations?: Array<Label>;
|
|
7312
7313
|
/**
|
|
7313
|
-
*
|
|
7314
|
+
* <p>告警规则状态</p>
|
|
7314
7315
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7315
7316
|
*/
|
|
7316
7317
|
RuleState?: number;
|
|
@@ -7355,75 +7356,67 @@ export interface DescribeAlarmPolicyResponse {
|
|
|
7355
7356
|
*/
|
|
7356
7357
|
export interface PrometheusNotificationItem {
|
|
7357
7358
|
/**
|
|
7358
|
-
*
|
|
7359
|
+
* <p>是否启用</p>
|
|
7359
7360
|
*/
|
|
7360
7361
|
Enabled: boolean;
|
|
7361
7362
|
/**
|
|
7362
|
-
*
|
|
7363
|
-
amp
|
|
7364
|
-
webhook
|
|
7365
|
-
alertmanager
|
|
7363
|
+
* <p>通道类型,默认为amp,支持以下<br>amp<br>webhook<br>alertmanager</p>
|
|
7366
7364
|
*/
|
|
7367
7365
|
Type: string;
|
|
7368
7366
|
/**
|
|
7369
|
-
*
|
|
7367
|
+
* <p>如果Type为webhook, 则该字段为必填项</p>
|
|
7370
7368
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7371
7369
|
*/
|
|
7372
7370
|
WebHook?: string;
|
|
7373
7371
|
/**
|
|
7374
|
-
*
|
|
7372
|
+
* <p>如果Type为alertmanager, 则该字段为必填项</p>
|
|
7375
7373
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7376
7374
|
*/
|
|
7377
7375
|
AlertManager?: PrometheusAlertManagerConfig;
|
|
7378
7376
|
/**
|
|
7379
|
-
*
|
|
7377
|
+
* <p>收敛时间</p>
|
|
7380
7378
|
*/
|
|
7381
7379
|
RepeatInterval?: string;
|
|
7382
7380
|
/**
|
|
7383
|
-
*
|
|
7381
|
+
* <p>生效起始时间</p>
|
|
7384
7382
|
*/
|
|
7385
7383
|
TimeRangeStart?: string;
|
|
7386
7384
|
/**
|
|
7387
|
-
*
|
|
7385
|
+
* <p>生效结束时间</p>
|
|
7388
7386
|
*/
|
|
7389
7387
|
TimeRangeEnd?: string;
|
|
7390
7388
|
/**
|
|
7391
|
-
*
|
|
7389
|
+
* <p>告警通知方式。目前有SMS、EMAIL、CALL、WECHAT方式。</p>
|
|
7392
7390
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7393
7391
|
*/
|
|
7394
7392
|
NotifyWay?: Array<string>;
|
|
7395
7393
|
/**
|
|
7396
|
-
*
|
|
7394
|
+
* <p>告警接收组(用户组)</p>
|
|
7397
7395
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7398
7396
|
*/
|
|
7399
7397
|
ReceiverGroups?: Array<string>;
|
|
7400
7398
|
/**
|
|
7401
|
-
*
|
|
7402
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
7399
|
+
* <p>电话告警顺序。<br>注:NotifyWay选择CALL,采用该参数。</p>
|
|
7403
7400
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7404
7401
|
*/
|
|
7405
7402
|
PhoneNotifyOrder?: Array<number | bigint>;
|
|
7406
7403
|
/**
|
|
7407
|
-
*
|
|
7408
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
7404
|
+
* <p>电话告警次数。<br>注:NotifyWay选择CALL,采用该参数。</p>
|
|
7409
7405
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7410
7406
|
*/
|
|
7411
7407
|
PhoneCircleTimes?: number;
|
|
7412
7408
|
/**
|
|
7413
|
-
*
|
|
7414
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
7409
|
+
* <p>电话告警轮内间隔。单位:秒<br>注:NotifyWay选择CALL,采用该参数。</p>
|
|
7415
7410
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7416
7411
|
*/
|
|
7417
7412
|
PhoneInnerInterval?: number;
|
|
7418
7413
|
/**
|
|
7419
|
-
*
|
|
7420
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
7414
|
+
* <p>电话告警轮外间隔。单位:秒<br>注:NotifyWay选择CALL,采用该参数。</p>
|
|
7421
7415
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7422
7416
|
*/
|
|
7423
7417
|
PhoneCircleInterval?: number;
|
|
7424
7418
|
/**
|
|
7425
|
-
*
|
|
7426
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
7419
|
+
* <p>电话告警触达通知<br>注:NotifyWay选择CALL,采用该参数。</p>
|
|
7427
7420
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7428
7421
|
*/
|
|
7429
7422
|
PhoneArriveNotice?: boolean;
|
|
@@ -7809,27 +7802,27 @@ export interface CreatePrometheusAlertPolicyRequest {
|
|
|
7809
7802
|
*/
|
|
7810
7803
|
export interface DescribeBindingPolicyObjectListRequest {
|
|
7811
7804
|
/**
|
|
7812
|
-
*
|
|
7805
|
+
* <p>固定值,为"monitor"</p>
|
|
7813
7806
|
*/
|
|
7814
7807
|
Module: string;
|
|
7815
7808
|
/**
|
|
7816
|
-
*
|
|
7809
|
+
* <p>策略组id,如果有形如 policy-xxxx 的 id,请填到 PolicyId 字段中,本字段填 0</p>
|
|
7817
7810
|
*/
|
|
7818
7811
|
GroupId: number;
|
|
7819
7812
|
/**
|
|
7820
|
-
*
|
|
7813
|
+
* <p>告警策略id,形如 policy-xxxx,如果填入,则GroupId可以填0</p>
|
|
7821
7814
|
*/
|
|
7822
7815
|
PolicyId?: string;
|
|
7823
7816
|
/**
|
|
7824
|
-
*
|
|
7817
|
+
* <p>每次返回的数量,取值1~100,默认20</p>
|
|
7825
7818
|
*/
|
|
7826
7819
|
Limit?: number;
|
|
7827
7820
|
/**
|
|
7828
|
-
*
|
|
7821
|
+
* <p>偏移量,从0开始计数,默认0。举例来说,参数 Offset=0&Limit=20 返回第 0 到 19 项,Offset=20&Limit=20 返回第 20 到 39 项,以此类推</p>
|
|
7829
7822
|
*/
|
|
7830
7823
|
Offset?: number;
|
|
7831
7824
|
/**
|
|
7832
|
-
*
|
|
7825
|
+
* <p>筛选对象的维度信息</p>
|
|
7833
7826
|
*/
|
|
7834
7827
|
Dimensions?: Array<DescribeBindingPolicyObjectListDimension>;
|
|
7835
7828
|
}
|
|
@@ -8142,11 +8135,11 @@ export interface DescribePolicyGroupListGroupInstanceGroup {
|
|
|
8142
8135
|
*/
|
|
8143
8136
|
export interface DescribeConditionsTemplateListResponse {
|
|
8144
8137
|
/**
|
|
8145
|
-
*
|
|
8138
|
+
* <p>模板总数</p>
|
|
8146
8139
|
*/
|
|
8147
8140
|
Total?: number;
|
|
8148
8141
|
/**
|
|
8149
|
-
*
|
|
8142
|
+
* <p>模板列表</p>
|
|
8150
8143
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8151
8144
|
*/
|
|
8152
8145
|
TemplateGroupList?: Array<TemplateGroup>;
|
|
@@ -8204,78 +8197,78 @@ export interface MetricConfig {
|
|
|
8204
8197
|
*/
|
|
8205
8198
|
export interface PrometheusInstancesOverview {
|
|
8206
8199
|
/**
|
|
8207
|
-
*
|
|
8200
|
+
* <p>实例ID</p>
|
|
8208
8201
|
*/
|
|
8209
8202
|
InstanceId: string;
|
|
8210
8203
|
/**
|
|
8211
|
-
*
|
|
8204
|
+
* <p>实例名</p>
|
|
8212
8205
|
*/
|
|
8213
8206
|
InstanceName: string;
|
|
8214
8207
|
/**
|
|
8215
|
-
* VPC ID
|
|
8208
|
+
* <p>VPC ID</p>
|
|
8216
8209
|
*/
|
|
8217
8210
|
VpcId: string;
|
|
8218
8211
|
/**
|
|
8219
|
-
*
|
|
8212
|
+
* <p>子网ID</p>
|
|
8220
8213
|
*/
|
|
8221
8214
|
SubnetId: string;
|
|
8222
8215
|
/**
|
|
8223
|
-
*
|
|
8216
|
+
* <p>运行状态(1:正在创建;2:运行中;3:异常;4:重启中;5:销毁中; 6:已停机; 7: 已删除)</p>
|
|
8224
8217
|
*/
|
|
8225
8218
|
InstanceStatus: number;
|
|
8226
8219
|
/**
|
|
8227
|
-
*
|
|
8220
|
+
* <p>计费状态(1:正常;2:过期; 3:销毁; 4:分配中; 5:分配失败)</p>
|
|
8228
8221
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8229
8222
|
*/
|
|
8230
8223
|
ChargeStatus: number;
|
|
8231
8224
|
/**
|
|
8232
|
-
*
|
|
8225
|
+
* <p>是否开启 Grafana(0:不开启,1:开启)</p>
|
|
8233
8226
|
*/
|
|
8234
8227
|
EnableGrafana: number;
|
|
8235
8228
|
/**
|
|
8236
|
-
* Grafana 面板 URL
|
|
8229
|
+
* <p>Grafana 面板 URL</p>
|
|
8237
8230
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8238
8231
|
*/
|
|
8239
8232
|
GrafanaURL: string;
|
|
8240
8233
|
/**
|
|
8241
|
-
*
|
|
8234
|
+
* <p>实例付费类型(1:试用版;2:预付费)</p>
|
|
8242
8235
|
*/
|
|
8243
8236
|
InstanceChargeType: number;
|
|
8244
8237
|
/**
|
|
8245
|
-
*
|
|
8238
|
+
* <p>规格名称</p>
|
|
8246
8239
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8247
8240
|
*/
|
|
8248
8241
|
SpecName: string;
|
|
8249
8242
|
/**
|
|
8250
|
-
*
|
|
8243
|
+
* <p>存储周期</p>
|
|
8251
8244
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8252
8245
|
*/
|
|
8253
8246
|
DataRetentionTime: number;
|
|
8254
8247
|
/**
|
|
8255
|
-
*
|
|
8248
|
+
* <p>购买的实例过期时间</p>
|
|
8256
8249
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8257
8250
|
*/
|
|
8258
8251
|
ExpireTime: string;
|
|
8259
8252
|
/**
|
|
8260
|
-
*
|
|
8253
|
+
* <p>自动续费标记(0:不自动续费;1:开启自动续费;2:禁止自动续费;-1:无效)</p>
|
|
8261
8254
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8262
8255
|
*/
|
|
8263
8256
|
AutoRenewFlag: number;
|
|
8264
8257
|
/**
|
|
8265
|
-
*
|
|
8258
|
+
* <p>绑定集群总数</p>
|
|
8266
8259
|
*/
|
|
8267
8260
|
BoundTotal: number;
|
|
8268
8261
|
/**
|
|
8269
|
-
*
|
|
8262
|
+
* <p>绑定集群正常状态总数</p>
|
|
8270
8263
|
*/
|
|
8271
8264
|
BoundNormal: number;
|
|
8272
8265
|
/**
|
|
8273
|
-
*
|
|
8266
|
+
* <p>资源包状态,0-无可用资源包,1-有可用资源包</p>
|
|
8274
8267
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8275
8268
|
*/
|
|
8276
8269
|
ResourcePackageStatus?: number;
|
|
8277
8270
|
/**
|
|
8278
|
-
*
|
|
8271
|
+
* <p>资源包规格名称</p>
|
|
8279
8272
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8280
8273
|
*/
|
|
8281
8274
|
ResourcePackageSpecName?: string;
|
|
@@ -10252,27 +10245,27 @@ export interface BindPrometheusManagedGrafanaResponse {
|
|
|
10252
10245
|
*/
|
|
10253
10246
|
export interface ManagementCommand {
|
|
10254
10247
|
/**
|
|
10255
|
-
* Agent
|
|
10248
|
+
* <p>Agent 安装命令</p>
|
|
10256
10249
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10257
10250
|
*/
|
|
10258
10251
|
Install: string;
|
|
10259
10252
|
/**
|
|
10260
|
-
* Agent
|
|
10253
|
+
* <p>Agent 重启命令</p>
|
|
10261
10254
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10262
10255
|
*/
|
|
10263
10256
|
Restart: string;
|
|
10264
10257
|
/**
|
|
10265
|
-
* Agent
|
|
10258
|
+
* <p>Agent 停止命令</p>
|
|
10266
10259
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10267
10260
|
*/
|
|
10268
10261
|
Stop: string;
|
|
10269
10262
|
/**
|
|
10270
|
-
* Agent
|
|
10263
|
+
* <p>Agent 状态检测命令</p>
|
|
10271
10264
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10272
10265
|
*/
|
|
10273
10266
|
StatusCheck: string;
|
|
10274
10267
|
/**
|
|
10275
|
-
* Agent
|
|
10268
|
+
* <p>Agent 日志检测命令</p>
|
|
10276
10269
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10277
10270
|
*/
|
|
10278
10271
|
LogCheck: string;
|
|
@@ -10738,6 +10731,23 @@ export interface DescribePrometheusTempRequest {
|
|
|
10738
10731
|
*/
|
|
10739
10732
|
Limit?: number;
|
|
10740
10733
|
}
|
|
10734
|
+
/**
|
|
10735
|
+
* Prometheus实例创建配额信息
|
|
10736
|
+
*/
|
|
10737
|
+
export interface PrometheusInstanceQuotaDetail {
|
|
10738
|
+
/**
|
|
10739
|
+
* <p>prometheus实例创建总限制数量</p>
|
|
10740
|
+
*/
|
|
10741
|
+
Limit?: number;
|
|
10742
|
+
/**
|
|
10743
|
+
* <p>当前账号下创建prometheus实例数量</p>
|
|
10744
|
+
*/
|
|
10745
|
+
Usage?: number;
|
|
10746
|
+
/**
|
|
10747
|
+
* <p>剩余可用prometheus实例创建数量</p>
|
|
10748
|
+
*/
|
|
10749
|
+
Available?: number;
|
|
10750
|
+
}
|
|
10741
10751
|
/**
|
|
10742
10752
|
* UpdateServiceDiscovery返回参数结构体
|
|
10743
10753
|
*/
|
|
@@ -11202,118 +11212,115 @@ export interface UpdatePrometheusScrapeJobResponse {
|
|
|
11202
11212
|
*/
|
|
11203
11213
|
export interface DescribeAlarmPoliciesRequest {
|
|
11204
11214
|
/**
|
|
11205
|
-
*
|
|
11215
|
+
* <p>固定值,为"monitor"</p>
|
|
11206
11216
|
*/
|
|
11207
11217
|
Module: string;
|
|
11208
11218
|
/**
|
|
11209
|
-
*
|
|
11219
|
+
* <p>页数,从 1 开始计数,默认 1</p>
|
|
11210
11220
|
*/
|
|
11211
11221
|
PageNumber?: number;
|
|
11212
11222
|
/**
|
|
11213
|
-
*
|
|
11223
|
+
* <p>每页的数量,取值1~100,默认20</p>
|
|
11214
11224
|
*/
|
|
11215
11225
|
PageSize?: number;
|
|
11216
11226
|
/**
|
|
11217
|
-
*
|
|
11227
|
+
* <p>按策略名称模糊搜索</p>
|
|
11218
11228
|
*/
|
|
11219
11229
|
PolicyName?: string;
|
|
11220
11230
|
/**
|
|
11221
|
-
*
|
|
11231
|
+
* <p>根据监控类型过滤 不选默认查所有类型 "MT_QCE"=云产品监控,当Dimension不为空时,该项为必填项</p>
|
|
11222
11232
|
*/
|
|
11223
11233
|
MonitorTypes?: Array<string>;
|
|
11224
11234
|
/**
|
|
11225
|
-
*
|
|
11226
|
-
[策略类型列表](https://cloud.tencent.com/document/product/248/50397)当Dimension不为空时,该项为必填项
|
|
11235
|
+
* <p>根据命名空间过滤,不同策略类型的值详见<br><a href="https://cloud.tencent.com/document/product/248/50397">策略类型列表</a>当Dimension不为空时,该项为必填项</p>
|
|
11227
11236
|
*/
|
|
11228
11237
|
Namespaces?: Array<string>;
|
|
11229
11238
|
/**
|
|
11230
|
-
*
|
|
11239
|
+
* <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>
|
|
11231
11240
|
*/
|
|
11232
11241
|
Dimensions?: string;
|
|
11233
11242
|
/**
|
|
11234
|
-
*
|
|
11243
|
+
* <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>
|
|
11235
11244
|
*/
|
|
11236
11245
|
ReceiverUids?: Array<number | bigint>;
|
|
11237
11246
|
/**
|
|
11238
|
-
*
|
|
11247
|
+
* <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>
|
|
11239
11248
|
*/
|
|
11240
11249
|
ReceiverGroups?: Array<number | bigint>;
|
|
11241
11250
|
/**
|
|
11242
|
-
*
|
|
11251
|
+
* <p>根据默认策略筛选 不传展示全部策略 DEFAULT=展示默认策略 NOT_DEFAULT=展示非默认策略</p>
|
|
11243
11252
|
*/
|
|
11244
11253
|
PolicyType?: Array<string>;
|
|
11245
11254
|
/**
|
|
11246
|
-
*
|
|
11255
|
+
* <p>排序字段,例如按照最后修改时间排序,Field: "UpdateTime"</p>
|
|
11247
11256
|
*/
|
|
11248
11257
|
Field?: string;
|
|
11249
11258
|
/**
|
|
11250
|
-
*
|
|
11259
|
+
* <p>排序顺序:升序:ASC 降序:DESC</p>
|
|
11251
11260
|
*/
|
|
11252
11261
|
Order?: string;
|
|
11253
11262
|
/**
|
|
11254
|
-
*
|
|
11255
|
-
[项目管理](https://console.cloud.tencent.com/project)
|
|
11263
|
+
* <p>策略所属项目的id数组,可在此页面查看<br><a href="https://console.cloud.tencent.com/project">项目管理</a></p>
|
|
11256
11264
|
*/
|
|
11257
11265
|
ProjectIds?: Array<number | bigint>;
|
|
11258
11266
|
/**
|
|
11259
|
-
*
|
|
11260
|
-
可使用 [查询通知模板列表](https://cloud.tencent.com/document/product/248/51280) 接口查询。
|
|
11267
|
+
* <p>通知模板的id列表,可查询通知模板列表获取。<br>可使用 <a href="https://cloud.tencent.com/document/product/248/51280">查询通知模板列表</a> 接口查询。</p>
|
|
11261
11268
|
*/
|
|
11262
11269
|
NoticeIds?: Array<string>;
|
|
11263
11270
|
/**
|
|
11264
|
-
*
|
|
11271
|
+
* <p>根据触发条件筛选 不传展示全部策略 STATIC=展示静态阈值策略 DYNAMIC=展示动态阈值策略</p>
|
|
11265
11272
|
*/
|
|
11266
11273
|
RuleTypes?: Array<string>;
|
|
11267
11274
|
/**
|
|
11268
|
-
*
|
|
11275
|
+
* <p>告警启停筛选,[1]:启用 [0]:停止,全部[0, 1]</p>
|
|
11269
11276
|
*/
|
|
11270
11277
|
Enable?: Array<number | bigint>;
|
|
11271
11278
|
/**
|
|
11272
|
-
*
|
|
11279
|
+
* <p>传 1 查询未配置通知规则的告警策略;不传或传其他数值,查询所有策略。</p>
|
|
11273
11280
|
*/
|
|
11274
11281
|
NotBindingNoticeRule?: number;
|
|
11275
11282
|
/**
|
|
11276
|
-
*
|
|
11283
|
+
* <p>实例分组id</p>
|
|
11277
11284
|
*/
|
|
11278
11285
|
InstanceGroupId?: number;
|
|
11279
11286
|
/**
|
|
11280
|
-
*
|
|
11287
|
+
* <p>是否需要策略与入参过滤维度参数的对应关系,1:是 0:否,默认为0</p>
|
|
11281
11288
|
*/
|
|
11282
11289
|
NeedCorrespondence?: number;
|
|
11283
11290
|
/**
|
|
11284
|
-
*
|
|
11291
|
+
* <p>按照触发任务(例如弹性伸缩)过滤策略。最多10个</p>
|
|
11285
11292
|
*/
|
|
11286
11293
|
TriggerTasks?: Array<AlarmPolicyTriggerTask>;
|
|
11287
11294
|
/**
|
|
11288
|
-
*
|
|
11295
|
+
* <p>根据一键告警策略筛选 不传展示全部策略 ONECLICK=展示一键告警策略 NOT_ONECLICK=展示非一键告警策略</p>
|
|
11289
11296
|
*/
|
|
11290
11297
|
OneClickPolicyType?: Array<string>;
|
|
11291
11298
|
/**
|
|
11292
|
-
*
|
|
11299
|
+
* <p>返回结果过滤掉绑定全部对象的策略,1代表需要过滤,0则无需过滤</p>
|
|
11293
11300
|
*/
|
|
11294
11301
|
NotBindAll?: number;
|
|
11295
11302
|
/**
|
|
11296
|
-
*
|
|
11303
|
+
* <p>返回结果过滤掉关联实例为实例分组的策略,1代表需要过滤,0则无需过滤</p>
|
|
11297
11304
|
*/
|
|
11298
11305
|
NotInstanceGroup?: number;
|
|
11299
11306
|
/**
|
|
11300
|
-
*
|
|
11307
|
+
* <p>策略根据标签过滤</p>
|
|
11301
11308
|
*/
|
|
11302
11309
|
Tags?: Array<Tag>;
|
|
11303
11310
|
/**
|
|
11304
|
-
* prom实例id
|
|
11311
|
+
* <p>prom实例id,自定义指标策略时会用到</p>
|
|
11305
11312
|
*/
|
|
11306
11313
|
PromInsId?: string;
|
|
11307
11314
|
/**
|
|
11308
|
-
*
|
|
11315
|
+
* <p>根据排班表搜索</p>
|
|
11309
11316
|
*/
|
|
11310
11317
|
ReceiverOnCallFormIDs?: Array<string>;
|
|
11311
11318
|
/**
|
|
11312
|
-
*
|
|
11319
|
+
* <p>通知内容模板ID筛选</p>
|
|
11313
11320
|
*/
|
|
11314
11321
|
NoticeContentTmplIDs?: Array<string>;
|
|
11315
11322
|
/**
|
|
11316
|
-
*
|
|
11323
|
+
* <p>是否为预设策略,1是,0否</p>
|
|
11317
11324
|
*/
|
|
11318
11325
|
IsPredefined?: number;
|
|
11319
11326
|
}
|
|
@@ -11397,31 +11404,31 @@ export interface DescribePolicyConditionListConfigManualStatType {
|
|
|
11397
11404
|
*/
|
|
11398
11405
|
export interface IntegrationConfiguration {
|
|
11399
11406
|
/**
|
|
11400
|
-
*
|
|
11407
|
+
* <p>名字</p>
|
|
11401
11408
|
*/
|
|
11402
11409
|
Name?: string;
|
|
11403
11410
|
/**
|
|
11404
|
-
*
|
|
11411
|
+
* <p>类型</p>
|
|
11405
11412
|
*/
|
|
11406
11413
|
Kind?: string;
|
|
11407
11414
|
/**
|
|
11408
|
-
*
|
|
11415
|
+
* <p>内容</p>
|
|
11409
11416
|
*/
|
|
11410
11417
|
Content?: string;
|
|
11411
11418
|
/**
|
|
11412
|
-
*
|
|
11419
|
+
* <p>状态</p>
|
|
11413
11420
|
*/
|
|
11414
11421
|
Status?: number;
|
|
11415
11422
|
/**
|
|
11416
|
-
*
|
|
11423
|
+
* <p>实例类型</p>
|
|
11417
11424
|
*/
|
|
11418
11425
|
Category?: string;
|
|
11419
11426
|
/**
|
|
11420
|
-
*
|
|
11427
|
+
* <p>实例描述</p>
|
|
11421
11428
|
*/
|
|
11422
11429
|
InstanceDesc?: string;
|
|
11423
11430
|
/**
|
|
11424
|
-
* dashboard 的 URL
|
|
11431
|
+
* <p>dashboard 的 URL</p>
|
|
11425
11432
|
*/
|
|
11426
11433
|
GrafanaDashboardURL?: string;
|
|
11427
11434
|
}
|
|
@@ -11764,43 +11771,43 @@ export interface GrafanaNotificationChannel {
|
|
|
11764
11771
|
*/
|
|
11765
11772
|
export interface CreateConditionsTemplateRequest {
|
|
11766
11773
|
/**
|
|
11767
|
-
*
|
|
11774
|
+
* <p>固定值,monitor</p>
|
|
11768
11775
|
*/
|
|
11769
11776
|
Module: string;
|
|
11770
11777
|
/**
|
|
11771
|
-
*
|
|
11778
|
+
* <p>视图名</p>
|
|
11772
11779
|
*/
|
|
11773
11780
|
ViewName: string;
|
|
11774
11781
|
/**
|
|
11775
|
-
*
|
|
11782
|
+
* <p>组名</p>
|
|
11776
11783
|
*/
|
|
11777
11784
|
GroupName: string;
|
|
11778
11785
|
/**
|
|
11779
|
-
*
|
|
11786
|
+
* <p>是否为与关系</p>
|
|
11780
11787
|
*/
|
|
11781
11788
|
IsUnionRule?: number;
|
|
11782
11789
|
/**
|
|
11783
|
-
*
|
|
11790
|
+
* <p>备注</p>
|
|
11784
11791
|
*/
|
|
11785
11792
|
Remark?: string;
|
|
11786
11793
|
/**
|
|
11787
|
-
*
|
|
11794
|
+
* <p>父ID</p>
|
|
11788
11795
|
*/
|
|
11789
11796
|
ParentGroupID?: number;
|
|
11790
11797
|
/**
|
|
11791
|
-
*
|
|
11798
|
+
* <p>是否屏蔽</p>
|
|
11792
11799
|
*/
|
|
11793
11800
|
IsShielded?: number;
|
|
11794
11801
|
/**
|
|
11795
|
-
*
|
|
11802
|
+
* <p>复合告警表达式</p>
|
|
11796
11803
|
*/
|
|
11797
11804
|
ComplexExpression?: string;
|
|
11798
11805
|
/**
|
|
11799
|
-
*
|
|
11806
|
+
* <p>指标告警条件</p>
|
|
11800
11807
|
*/
|
|
11801
11808
|
Conditions?: Array<ModifyConditionsTemplateRequestCondition>;
|
|
11802
11809
|
/**
|
|
11803
|
-
*
|
|
11810
|
+
* <p>事件告警条件</p>
|
|
11804
11811
|
*/
|
|
11805
11812
|
EventConditions?: Array<ModifyConditionsTemplateRequestEventCondition>;
|
|
11806
11813
|
}
|