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