tencentcloud-sdk-nodejs 4.0.366 → 4.0.369

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.
Files changed (72) hide show
  1. package/CHANGELOG.md +459 -0
  2. package/SERVICE_CHANGELOG.md +484 -82
  3. package/package.json +1 -1
  4. package/products.md +25 -25
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/asr/v20190614/asr_client.ts +1 -1
  7. package/src/services/cdn/v20180606/cdn_models.ts +12 -0
  8. package/src/services/cls/v20201016/cls_models.ts +1 -0
  9. package/src/services/cme/v20191029/cme_client.ts +3 -1
  10. package/src/services/cme/v20191029/cme_models.ts +21 -0
  11. package/src/services/cpdp/v20190820/cpdp_models.ts +57 -14
  12. package/src/services/cwp/v20180228/cwp_client.ts +1 -0
  13. package/src/services/cwp/v20180228/cwp_models.ts +38 -2
  14. package/src/services/dnspod/v20210323/dnspod_client.ts +75 -26
  15. package/src/services/dnspod/v20210323/dnspod_models.ts +184 -0
  16. package/src/services/essbasic/v20210526/essbasic_models.ts +10 -0
  17. package/src/services/live/v20180801/live_client.ts +1 -1
  18. package/src/services/live/v20180801/live_models.ts +42 -1
  19. package/src/services/mmps/v20200710/mmps_models.ts +6 -0
  20. package/src/services/monitor/v20180724/monitor_client.ts +267 -35
  21. package/src/services/monitor/v20180724/monitor_models.ts +1017 -190
  22. package/src/services/mrs/v20200910/mrs_client.ts +1 -0
  23. package/src/services/mrs/v20200910/mrs_models.ts +65 -0
  24. package/src/services/tcbr/v20220217/tcbr_client.ts +48 -8
  25. package/src/services/tcbr/v20220217/tcbr_models.ts +329 -26
  26. package/src/services/teo/v20220106/teo_models.ts +3 -3
  27. package/src/services/tke/v20180525/tke_models.ts +3 -3
  28. package/src/services/vod/v20180717/vod_models.ts +16 -15
  29. package/src/services/vpc/v20170312/vpc_client.ts +16 -1
  30. package/src/services/vpc/v20170312/vpc_models.ts +165 -15
  31. package/src/services/waf/v20180125/waf_client.ts +37 -20
  32. package/src/services/waf/v20180125/waf_models.ts +435 -129
  33. package/tencentcloud/common/sdk_version.d.ts +1 -1
  34. package/tencentcloud/common/sdk_version.js +1 -1
  35. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  36. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  37. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +10 -0
  38. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -0
  39. package/tencentcloud/services/cme/v20191029/cme_client.d.ts +2 -1
  40. package/tencentcloud/services/cme/v20191029/cme_client.js +2 -1
  41. package/tencentcloud/services/cme/v20191029/cme_models.d.ts +18 -0
  42. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +50 -14
  43. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +32 -2
  44. package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +26 -10
  45. package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +37 -13
  46. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +159 -0
  47. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +8 -0
  48. package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
  49. package/tencentcloud/services/live/v20180801/live_client.js +1 -1
  50. package/tencentcloud/services/live/v20180801/live_models.d.ts +35 -1
  51. package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +5 -0
  52. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +85 -9
  53. package/tencentcloud/services/monitor/v20180724/monitor_client.js +124 -10
  54. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +889 -173
  55. package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +55 -0
  56. package/tencentcloud/services/tcbr/v20220217/tcbr_client.d.ts +15 -3
  57. package/tencentcloud/services/tcbr/v20220217/tcbr_client.js +21 -3
  58. package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +276 -23
  59. package/tencentcloud/services/teo/v20220106/teo_models.d.ts +3 -3
  60. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +3 -3
  61. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +13 -12
  62. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +6 -1
  63. package/tencentcloud/services/vpc/v20170312/vpc_client.js +7 -0
  64. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +138 -14
  65. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +9 -5
  66. package/tencentcloud/services/waf/v20180125/waf_client.js +12 -6
  67. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +363 -108
  68. package/test/dnspod.v20210323.test.js +48 -8
  69. package/test/monitor.v20180724.test.js +194 -4
  70. package/test/tcbr.v20220217.test.js +32 -2
  71. package/test/vpc.v20170312.test.js +10 -0
  72. package/test/waf.v20180125.test.js +14 -4
@@ -232,6 +232,15 @@ export interface PrometheusTag {
232
232
  */
233
233
  Value: string;
234
234
  }
235
+ /**
236
+ * DestroyPrometheusInstance返回参数结构体
237
+ */
238
+ export interface DestroyPrometheusInstanceResponse {
239
+ /**
240
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
241
+ */
242
+ RequestId?: string;
243
+ }
235
244
  /**
236
245
  * 指标告警配置
237
246
  */
@@ -351,30 +360,40 @@ export interface BindingPolicyObjectRequest {
351
360
  Dimensions?: Array<BindingPolicyObjectDimension>;
352
361
  }
353
362
  /**
354
- * CreateServiceDiscovery返回参数结构体
363
+ * DescribeAlarmNoticeCallbacks请求参数结构体
355
364
  */
356
- export interface CreateServiceDiscoveryResponse {
357
- /**
358
- * 创建成功之后,返回对应服务发现信息
359
- */
360
- ServiceDiscovery?: ServiceDiscoveryItem;
365
+ export interface DescribeAlarmNoticeCallbacksRequest {
361
366
  /**
362
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
367
+ * 模块名,这里填“monitor”
363
368
  */
364
- RequestId?: string;
369
+ Module: string;
365
370
  }
366
371
  /**
367
- * prometheus 报警规则 KV 参数
372
+ * DescribeBindingPolicyObjectList返回参数结构体
368
373
  */
369
- export interface PrometheusRuleKV {
374
+ export interface DescribeBindingPolicyObjectListResponse {
370
375
  /**
371
- *
376
+ * 绑定的对象实例列表
377
+ 注意:此字段可能返回 null,表示取不到有效值。
372
378
  */
373
- Key: string;
379
+ List: Array<DescribeBindingPolicyObjectListInstance>;
374
380
  /**
375
- *
381
+ * 绑定的对象实例总数
376
382
  */
377
- Value: string;
383
+ Total: number;
384
+ /**
385
+ * 未屏蔽的对象实例数
386
+ */
387
+ NoShieldedSum: number;
388
+ /**
389
+ * 绑定的实例分组信息,没有绑定实例分组则为空
390
+ 注意:此字段可能返回 null,表示取不到有效值。
391
+ */
392
+ InstanceGroup: DescribeBindingPolicyObjectListInstanceGroup;
393
+ /**
394
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
395
+ */
396
+ RequestId?: string;
378
397
  }
379
398
  /**
380
399
  * PutMonitorData返回参数结构体
@@ -425,6 +444,15 @@ export interface DeleteServiceDiscoveryResponse {
425
444
  */
426
445
  RequestId?: string;
427
446
  }
447
+ /**
448
+ * CreatePrometheusScrapeJob返回参数结构体
449
+ */
450
+ export interface CreatePrometheusScrapeJobResponse {
451
+ /**
452
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
453
+ */
454
+ RequestId?: string;
455
+ }
428
456
  /**
429
457
  * 查询策略输出的用户回调信息
430
458
  */
@@ -528,6 +556,34 @@ export interface CreateAlarmPolicyRequest {
528
556
  */
529
557
  GroupBy?: Array<string>;
530
558
  }
559
+ /**
560
+ * CreateExporterIntegration请求参数结构体
561
+ */
562
+ export interface CreateExporterIntegrationRequest {
563
+ /**
564
+ * 实例 ID
565
+ */
566
+ InstanceId: string;
567
+ /**
568
+ * Kubernetes 集群类型,取值如下:
569
+ <li> 1= 容器集群(TKE) </li>
570
+ <li> 2=弹性集群<EKS> </li>
571
+ <li> 3= Prometheus管理的弹性集群<MEKS> </li>
572
+ */
573
+ KubeType: number;
574
+ /**
575
+ * 集群 ID
576
+ */
577
+ ClusterId: string;
578
+ /**
579
+ * 类型
580
+ */
581
+ Kind: string;
582
+ /**
583
+ * 集成配置
584
+ */
585
+ Content: string;
586
+ }
531
587
  /**
532
588
  * DescribeAlarmEvents返回参数结构体
533
589
  */
@@ -637,6 +693,76 @@ export interface DescribePolicyGroupInfoResponse {
637
693
  */
638
694
  RequestId?: string;
639
695
  }
696
+ /**
697
+ * prometheus agent
698
+ */
699
+ export interface PrometheusAgent {
700
+ /**
701
+ * Agent 名
702
+ 注意:此字段可能返回 null,表示取不到有效值。
703
+ */
704
+ Name: string;
705
+ /**
706
+ * Agent ID
707
+ */
708
+ AgentId: string;
709
+ /**
710
+ * 实例 ID
711
+ */
712
+ InstanceId: string;
713
+ /**
714
+ * Agent IP
715
+ 注意:此字段可能返回 null,表示取不到有效值。
716
+ */
717
+ Ipv4: string;
718
+ /**
719
+ * 心跳时间
720
+ 注意:此字段可能返回 null,表示取不到有效值。
721
+ */
722
+ HeartbeatTime: string;
723
+ /**
724
+ * 最近一次错误
725
+ 注意:此字段可能返回 null,表示取不到有效值。
726
+ */
727
+ LastError: string;
728
+ /**
729
+ * Agent 版本
730
+ 注意:此字段可能返回 null,表示取不到有效值。
731
+ */
732
+ AgentVersion: string;
733
+ /**
734
+ * Agent 状态
735
+ */
736
+ Status: number;
737
+ }
738
+ /**
739
+ * DeleteExporterIntegration请求参数结构体
740
+ */
741
+ export interface DeleteExporterIntegrationRequest {
742
+ /**
743
+ * 实例 ID
744
+ */
745
+ InstanceId: string;
746
+ /**
747
+ * Kubernetes 集群类型,取值如下:
748
+ <li> 1= 容器集群(TKE) </li>
749
+ <li> 2=弹性集群<EKS> </li>
750
+ <li> 3= Prometheus管理的弹性集群<MEKS> </li>
751
+ */
752
+ KubeType: number;
753
+ /**
754
+ * 集群 ID
755
+ */
756
+ ClusterId: string;
757
+ /**
758
+ * 类型
759
+ */
760
+ Kind: string;
761
+ /**
762
+ * 名字
763
+ */
764
+ Name: string;
765
+ }
640
766
  /**
641
767
  * ModifyAlarmPolicyNotice请求参数结构体
642
768
  */
@@ -916,6 +1042,35 @@ export interface DescribeConditionsTemplateListRequest {
916
1042
  */
917
1043
  UpdateTimeOrder?: string;
918
1044
  }
1045
+ /**
1046
+ * DescribePrometheusScrapeJobs请求参数结构体
1047
+ */
1048
+ export interface DescribePrometheusScrapeJobsRequest {
1049
+ /**
1050
+ * 实例 ID
1051
+ */
1052
+ InstanceId: string;
1053
+ /**
1054
+ * Agent ID
1055
+ */
1056
+ AgentId: string;
1057
+ /**
1058
+ * 任务名
1059
+ */
1060
+ Name?: string;
1061
+ /**
1062
+ * 任务 ID 列表
1063
+ */
1064
+ JobIds?: Array<string>;
1065
+ /**
1066
+ * 偏移量,默认为0
1067
+ */
1068
+ Offset?: number;
1069
+ /**
1070
+ * 返回数量,默认为20,最大值为100
1071
+ */
1072
+ Limit?: number;
1073
+ }
919
1074
  /**
920
1075
  * CreateAlertRule返回参数结构体
921
1076
  */
@@ -965,6 +1120,38 @@ export interface DescribeBaseMetricsResponse {
965
1120
  */
966
1121
  RequestId?: string;
967
1122
  }
1123
+ /**
1124
+ * Prometheus 抓取任务
1125
+ */
1126
+ export interface PrometheusScrapeJob {
1127
+ /**
1128
+ * 任务名
1129
+ 注意:此字段可能返回 null,表示取不到有效值。
1130
+ */
1131
+ Name: string;
1132
+ /**
1133
+ * Agent ID
1134
+ */
1135
+ AgentId: string;
1136
+ /**
1137
+ * 任务 ID
1138
+ */
1139
+ JobId: string;
1140
+ /**
1141
+ * 配置
1142
+ 注意:此字段可能返回 null,表示取不到有效值。
1143
+ */
1144
+ Config: string;
1145
+ }
1146
+ /**
1147
+ * ModifyPrometheusInstanceAttributes返回参数结构体
1148
+ */
1149
+ export interface ModifyPrometheusInstanceAttributesResponse {
1150
+ /**
1151
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1152
+ */
1153
+ RequestId?: string;
1154
+ }
968
1155
  /**
969
1156
  * DescribeMetricData出参
970
1157
  */
@@ -1148,6 +1335,23 @@ export interface SendCustomAlarmMsgRequest {
1148
1335
  */
1149
1336
  Msg: string;
1150
1337
  }
1338
+ /**
1339
+ * ModifyPrometheusInstanceAttributes请求参数结构体
1340
+ */
1341
+ export interface ModifyPrometheusInstanceAttributesRequest {
1342
+ /**
1343
+ * 实例名称
1344
+ */
1345
+ InstanceName: string;
1346
+ /**
1347
+ * 实例 ID
1348
+ */
1349
+ InstanceId: string;
1350
+ /**
1351
+ * 存储时长(取值为 15、30、45。此参数不适用于包年包月实例)
1352
+ */
1353
+ DataRetentionTime?: number;
1354
+ }
1151
1355
  /**
1152
1356
  * DescribePolicyConditionList.ConfigManual.Period
1153
1357
  */
@@ -1168,29 +1372,21 @@ export interface DescribePolicyConditionListConfigManualPeriod {
1168
1372
  Need: boolean;
1169
1373
  }
1170
1374
  /**
1171
- * UnBindingPolicyObject请求参数结构体
1375
+ * 指标配置
1172
1376
  */
1173
- export interface UnBindingPolicyObjectRequest {
1174
- /**
1175
- * 固定值,为"monitor"
1176
- */
1177
- Module: string;
1178
- /**
1179
- * 策略组id,如传入 PolicyId 则该字段被忽略可传入任意值如 0
1180
- */
1181
- GroupId: number;
1377
+ export interface MetricConfig {
1182
1378
  /**
1183
- * 待删除对象实例的唯一id列表,UniqueId从调用[获取已绑定对象列表接口](https://cloud.tencent.com/document/api/248/40570)的出参的List中得到
1379
+ * 允许使用的运算符
1184
1380
  */
1185
- UniqueId: Array<string>;
1381
+ Operator: Array<string>;
1186
1382
  /**
1187
- * 实例分组id,如果按实例分组删除的话UniqueId参数是无效的
1383
+ * 允许配置的数据周期,以秒为单位
1188
1384
  */
1189
- InstanceGroupId?: number;
1385
+ Period: Array<number>;
1190
1386
  /**
1191
- * 告警策略ID,使用此字段时 GroupId 会被忽略
1387
+ * 允许配置的持续周期个数
1192
1388
  */
1193
- PolicyId?: string;
1389
+ ContinuePeriod: Array<number>;
1194
1390
  }
1195
1391
  /**
1196
1392
  * DescribeServiceDiscovery请求参数结构体
@@ -1266,19 +1462,18 @@ export interface DeletePolicyGroupResponse {
1266
1462
  RequestId?: string;
1267
1463
  }
1268
1464
  /**
1269
- * DescribeAccidentEventList返回参数结构体
1465
+ * DescribeConditionsTemplateList返回参数结构体
1270
1466
  */
1271
- export interface DescribeAccidentEventListResponse {
1467
+ export interface DescribeConditionsTemplateListResponse {
1272
1468
  /**
1273
- * 平台事件列表
1274
- 注意:此字段可能返回 null,表示取不到有效值。
1469
+ * 模板总数
1275
1470
  */
1276
- Alarms?: Array<DescribeAccidentEventListAlarms>;
1471
+ Total: number;
1277
1472
  /**
1278
- * 平台事件的总数
1473
+ * 模板列表
1279
1474
  注意:此字段可能返回 null,表示取不到有效值。
1280
1475
  */
1281
- Total?: number;
1476
+ TemplateGroupList: Array<TemplateGroup>;
1282
1477
  /**
1283
1478
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1284
1479
  */
@@ -1336,6 +1531,32 @@ export interface DimensionsDesc {
1336
1531
  */
1337
1532
  Dimensions: Array<string>;
1338
1533
  }
1534
+ /**
1535
+ * ModifyAlarmPolicyStatus请求参数结构体
1536
+ */
1537
+ export interface ModifyAlarmPolicyStatusRequest {
1538
+ /**
1539
+ * 模块名,固定值 monitor
1540
+ */
1541
+ Module: string;
1542
+ /**
1543
+ * 告警策略 ID
1544
+ */
1545
+ PolicyId: string;
1546
+ /**
1547
+ * 启停状态 0=停用 1=启用
1548
+ */
1549
+ Enable: number;
1550
+ }
1551
+ /**
1552
+ * UpdatePrometheusAgentStatus返回参数结构体
1553
+ */
1554
+ export interface UpdatePrometheusAgentStatusResponse {
1555
+ /**
1556
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1557
+ */
1558
+ RequestId?: string;
1559
+ }
1339
1560
  /**
1340
1561
  * Prometheus 服务发现信息
1341
1562
  */
@@ -1503,6 +1724,15 @@ export interface PeriodsSt {
1503
1724
  */
1504
1725
  StatType: Array<string>;
1505
1726
  }
1727
+ /**
1728
+ * BindPrometheusManagedGrafana返回参数结构体
1729
+ */
1730
+ export interface BindPrometheusManagedGrafanaResponse {
1731
+ /**
1732
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1733
+ */
1734
+ RequestId?: string;
1735
+ }
1506
1736
  /**
1507
1737
  * 告警策略详情
1508
1738
  */
@@ -1702,6 +1932,36 @@ export interface ModifyAlarmReceiversResponse {
1702
1932
  */
1703
1933
  RequestId?: string;
1704
1934
  }
1935
+ /**
1936
+ * Prometheus Agent 管理命令行
1937
+ */
1938
+ export interface ManagementCommand {
1939
+ /**
1940
+ * Agent 安装命令
1941
+ 注意:此字段可能返回 null,表示取不到有效值。
1942
+ */
1943
+ Install: string;
1944
+ /**
1945
+ * Agent 重启命令
1946
+ 注意:此字段可能返回 null,表示取不到有效值。
1947
+ */
1948
+ Restart: string;
1949
+ /**
1950
+ * Agent 停止命令
1951
+ 注意:此字段可能返回 null,表示取不到有效值。
1952
+ */
1953
+ Stop: string;
1954
+ /**
1955
+ * Agent 状态检测命令
1956
+ 注意:此字段可能返回 null,表示取不到有效值。
1957
+ */
1958
+ StatusCheck: string;
1959
+ /**
1960
+ * Agent 日志检测命令
1961
+ 注意:此字段可能返回 null,表示取不到有效值。
1962
+ */
1963
+ LogCheck: string;
1964
+ }
1705
1965
  /**
1706
1966
  * DescribePolicyConditionList返回参数结构体
1707
1967
  */
@@ -1805,14 +2065,64 @@ export interface DescribeAllNamespacesResponse {
1805
2065
  */
1806
2066
  RequestId?: string;
1807
2067
  }
2068
+ /**
2069
+ * GetPrometheusAgentManagementCommand请求参数结构体
2070
+ */
2071
+ export interface GetPrometheusAgentManagementCommandRequest {
2072
+ /**
2073
+ * Prometheus 实例 ID
2074
+ */
2075
+ InstanceId: string;
2076
+ /**
2077
+ * Prometheus Agent ID
2078
+ */
2079
+ AgentId: string;
2080
+ }
1808
2081
  /**
1809
2082
  * DeleteAlarmNotices返回参数结构体
1810
2083
  */
1811
2084
  export interface DeleteAlarmNoticesResponse {
1812
2085
  /**
1813
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2086
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2087
+ */
2088
+ RequestId?: string;
2089
+ }
2090
+ /**
2091
+ * TerminatePrometheusInstances请求参数结构体
2092
+ */
2093
+ export interface TerminatePrometheusInstancesRequest {
2094
+ /**
2095
+ * 实例 ID 列表
2096
+ */
2097
+ InstanceIds: Array<string>;
2098
+ }
2099
+ /**
2100
+ * UnbindPrometheusManagedGrafana返回参数结构体
2101
+ */
2102
+ export interface UnbindPrometheusManagedGrafanaResponse {
2103
+ /**
2104
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2105
+ */
2106
+ RequestId?: string;
2107
+ }
2108
+ /**
2109
+ * UpdatePrometheusAgentStatus请求参数结构体
2110
+ */
2111
+ export interface UpdatePrometheusAgentStatusRequest {
2112
+ /**
2113
+ * 实例 ID
2114
+ */
2115
+ InstanceId: string;
2116
+ /**
2117
+ * Agent ID 列表
2118
+ */
2119
+ AgentIds: Array<string>;
2120
+ /**
2121
+ * 要更新的状态
2122
+ <li> 1= 开启 </li>
2123
+ <li> 2= 关闭 </li>
1814
2124
  */
1815
- RequestId?: string;
2125
+ Status: number;
1816
2126
  }
1817
2127
  /**
1818
2128
  * DescribeBasicAlarmList返回参数结构体
@@ -1962,13 +2272,54 @@ re=正则匹配
1962
2272
  ProductId?: string;
1963
2273
  }
1964
2274
  /**
1965
- * DescribeAlarmNoticeCallbacks请求参数结构体
2275
+ * CreateServiceDiscovery返回参数结构体
1966
2276
  */
1967
- export interface DescribeAlarmNoticeCallbacksRequest {
2277
+ export interface CreateServiceDiscoveryResponse {
1968
2278
  /**
1969
- * 模块名,这里填“monitor”
2279
+ * 创建成功之后,返回对应服务发现信息
1970
2280
  */
1971
- Module: string;
2281
+ ServiceDiscovery?: ServiceDiscoveryItem;
2282
+ /**
2283
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2284
+ */
2285
+ RequestId?: string;
2286
+ }
2287
+ /**
2288
+ * CreatePrometheusAgent返回参数结构体
2289
+ */
2290
+ export interface CreatePrometheusAgentResponse {
2291
+ /**
2292
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2293
+ */
2294
+ RequestId?: string;
2295
+ }
2296
+ /**
2297
+ * DescribeExporterIntegrations请求参数结构体
2298
+ */
2299
+ export interface DescribeExporterIntegrationsRequest {
2300
+ /**
2301
+ * 实例 ID
2302
+ */
2303
+ InstanceId: string;
2304
+ /**
2305
+ * Kubernetes 集群类型,取值如下:
2306
+ <li> 1= 容器集群(TKE) </li>
2307
+ <li> 2=弹性集群<EKS> </li>
2308
+ <li> 3= Prometheus管理的弹性集群<MEKS> </li>
2309
+ */
2310
+ KubeType: number;
2311
+ /**
2312
+ * 集群 ID
2313
+ */
2314
+ ClusterId: string;
2315
+ /**
2316
+ * 类型
2317
+ */
2318
+ Kind?: string;
2319
+ /**
2320
+ * 名字
2321
+ */
2322
+ Name?: string;
1972
2323
  }
1973
2324
  /**
1974
2325
  * DescribeProductEventList返回的Events的Dimensions
@@ -1999,6 +2350,36 @@ export interface ModifyAlarmPolicyConditionResponse {
1999
2350
  */
2000
2351
  RequestId?: string;
2001
2352
  }
2353
+ /**
2354
+ * UpgradeGrafanaDashboard请求参数结构体
2355
+ */
2356
+ export interface UpgradeGrafanaDashboardRequest {
2357
+ /**
2358
+ * 实例 ID
2359
+ */
2360
+ InstanceId: string;
2361
+ /**
2362
+ * Prometheus 集成项 Code,升级对应的 Dashboard,取值如下:
2363
+ <li>spring_mvc</li>
2364
+ <li>mysql</li>
2365
+ <li>go</li>
2366
+ <li>redis</li>
2367
+ <li>jvm</li>
2368
+ <li>pgsql</li>
2369
+ <li>mongo</li>
2370
+ <li>kafka</li>
2371
+ <li>es</li>
2372
+ <li>flink</li>
2373
+ <li>blackbox</li>
2374
+ <li>consule</li>
2375
+ <li>memcached</li>
2376
+ <li>zk</li>
2377
+ <li>tps</li>
2378
+ <li>istio</li>
2379
+ <li>etcd</li>
2380
+ */
2381
+ IntegrationCodes?: Array<string>;
2382
+ }
2002
2383
  /**
2003
2384
  * 告警对象所属实例组
2004
2385
  */
@@ -2393,6 +2774,27 @@ export interface UserNotice {
2393
2774
  */
2394
2775
  Weekday?: Array<number>;
2395
2776
  }
2777
+ /**
2778
+ * UpdatePrometheusScrapeJob请求参数结构体
2779
+ */
2780
+ export interface UpdatePrometheusScrapeJobRequest {
2781
+ /**
2782
+ * 实例 ID
2783
+ */
2784
+ InstanceId: string;
2785
+ /**
2786
+ * Agent ID
2787
+ */
2788
+ AgentId: string;
2789
+ /**
2790
+ * 抓取任务 ID
2791
+ */
2792
+ JobId: string;
2793
+ /**
2794
+ * 抓取任务配置
2795
+ */
2796
+ Config: string;
2797
+ }
2396
2798
  /**
2397
2799
  * 告警策略过滤条件
2398
2800
  */
@@ -2422,6 +2824,15 @@ export interface DescribeAlarmNoticeCallbacksResponse {
2422
2824
  */
2423
2825
  RequestId?: string;
2424
2826
  }
2827
+ /**
2828
+ * UpdateExporterIntegration返回参数结构体
2829
+ */
2830
+ export interface UpdateExporterIntegrationResponse {
2831
+ /**
2832
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2833
+ */
2834
+ RequestId?: string;
2835
+ }
2425
2836
  /**
2426
2837
  * ModifyAlarmPolicyCondition请求参数结构体
2427
2838
  */
@@ -2456,14 +2867,27 @@ export interface ModifyAlarmPolicyConditionRequest {
2456
2867
  GroupBy?: Array<string>;
2457
2868
  }
2458
2869
  /**
2459
- * ModifyAlarmPolicyStatus返回参数结构体
2870
+ * ModifyAlarmNotice返回参数结构体
2460
2871
  */
2461
- export interface ModifyAlarmPolicyStatusResponse {
2872
+ export interface ModifyAlarmNoticeResponse {
2462
2873
  /**
2463
2874
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2464
2875
  */
2465
2876
  RequestId?: string;
2466
2877
  }
2878
+ /**
2879
+ * BindPrometheusManagedGrafana请求参数结构体
2880
+ */
2881
+ export interface BindPrometheusManagedGrafanaRequest {
2882
+ /**
2883
+ * Prometheus 实例 ID
2884
+ */
2885
+ InstanceId: string;
2886
+ /**
2887
+ * Grafana 可视化服务实例 ID
2888
+ */
2889
+ GrafanaId: string;
2890
+ }
2467
2891
  /**
2468
2892
  * 实例维度组合数组
2469
2893
  */
@@ -2522,6 +2946,15 @@ export interface DescribeAlarmPolicyResponse {
2522
2946
  */
2523
2947
  RequestId?: string;
2524
2948
  }
2949
+ /**
2950
+ * DeleteExporterIntegration返回参数结构体
2951
+ */
2952
+ export interface DeleteExporterIntegrationResponse {
2953
+ /**
2954
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2955
+ */
2956
+ RequestId?: string;
2957
+ }
2525
2958
  /**
2526
2959
  * UpdateServiceDiscovery返回参数结构体
2527
2960
  */
@@ -2902,18 +3335,17 @@ export interface ModifyPolicyGroupResponse {
2902
3335
  RequestId?: string;
2903
3336
  }
2904
3337
  /**
2905
- * DescribePolicyConditionList.ConfigManual.CalcType
3338
+ * DescribeAlarmMetrics返回参数结构体
2906
3339
  */
2907
- export interface DescribePolicyConditionListConfigManualCalcType {
3340
+ export interface DescribeAlarmMetricsResponse {
2908
3341
  /**
2909
- * CalcType 取值
2910
- 注意:此字段可能返回 null,表示取不到有效值。
3342
+ * 告警指标列表
2911
3343
  */
2912
- Keys: Array<number>;
3344
+ Metrics?: Array<Metric>;
2913
3345
  /**
2914
- * 是否必须
3346
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2915
3347
  */
2916
- Need: boolean;
3348
+ RequestId?: string;
2917
3349
  }
2918
3350
  /**
2919
3351
  * 告警条件
@@ -2963,6 +3395,19 @@ export interface Condition {
2963
3395
  */
2964
3396
  Unit: string;
2965
3397
  }
3398
+ /**
3399
+ * UpdateAlertRule返回参数结构体
3400
+ */
3401
+ export interface UpdateAlertRuleResponse {
3402
+ /**
3403
+ * 规则 ID
3404
+ */
3405
+ RuleId: string;
3406
+ /**
3407
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3408
+ */
3409
+ RequestId?: string;
3410
+ }
2966
3411
  /**
2967
3412
  * PutMonitorData请求参数结构体
2968
3413
  */
@@ -2985,21 +3430,38 @@ export interface PutMonitorDataRequest {
2985
3430
  AnnounceInstance?: string;
2986
3431
  }
2987
3432
  /**
2988
- * ModifyAlarmPolicyStatus请求参数结构体
3433
+ * DescribePrometheusAgents请求参数结构体
2989
3434
  */
2990
- export interface ModifyAlarmPolicyStatusRequest {
3435
+ export interface DescribePrometheusAgentsRequest {
2991
3436
  /**
2992
- * 模块名,固定值 monitor
3437
+ * 实例 ID
2993
3438
  */
2994
- Module: string;
3439
+ InstanceId: string;
2995
3440
  /**
2996
- * 告警策略 ID
3441
+ * Agent 名称
2997
3442
  */
2998
- PolicyId: string;
3443
+ Name?: string;
2999
3444
  /**
3000
- * 启停状态 0=停用 1=启用
3445
+ * Agent ID 列表
3001
3446
  */
3002
- Enable: number;
3447
+ AgentIds?: Array<string>;
3448
+ /**
3449
+ * 偏移量,默认为0
3450
+ */
3451
+ Offset?: number;
3452
+ /**
3453
+ * 返回数量,默认为20,最大值为100
3454
+ */
3455
+ Limit?: number;
3456
+ }
3457
+ /**
3458
+ * TerminatePrometheusInstances返回参数结构体
3459
+ */
3460
+ export interface TerminatePrometheusInstancesResponse {
3461
+ /**
3462
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3463
+ */
3464
+ RequestId?: string;
3003
3465
  }
3004
3466
  /**
3005
3467
  * DescribeMetricData接口出参
@@ -3047,18 +3509,55 @@ export interface BindingPolicyTagRequest {
3047
3509
  * 用于实例、实例组绑定和解绑接口(BindingPolicyObject、UnBindingAllPolicyObject、UnBindingPolicyObject)的策略 ID
3048
3510
  */
3049
3511
  GroupId: string;
3050
- /**
3051
- * 策略标签
3052
- */
3053
- Tag: PolicyTag;
3054
3512
  /**
3055
3513
  * 产品类型
3056
3514
  */
3057
3515
  ServiceType: string;
3516
+ /**
3517
+ * 策略标签
3518
+ */
3519
+ Tag?: PolicyTag;
3058
3520
  /**
3059
3521
  * 实例分组ID
3060
3522
  */
3061
3523
  InstanceGroupId?: number;
3524
+ /**
3525
+ * 批量绑定标签
3526
+ */
3527
+ BatchTag?: Array<PolicyTag>;
3528
+ }
3529
+ /**
3530
+ * export 集成配置
3531
+ */
3532
+ export interface IntegrationConfiguration {
3533
+ /**
3534
+ * 名字
3535
+ */
3536
+ Name: string;
3537
+ /**
3538
+ * 类型
3539
+ */
3540
+ Kind: string;
3541
+ /**
3542
+ * 内容
3543
+ */
3544
+ Content: string;
3545
+ /**
3546
+ * 状态
3547
+ */
3548
+ Status: number;
3549
+ /**
3550
+ * 实例类型
3551
+ */
3552
+ Category: string;
3553
+ /**
3554
+ * 实例描述
3555
+ */
3556
+ InstanceDesc: string;
3557
+ /**
3558
+ * dashboard 的 URL
3559
+ */
3560
+ GrafanaDashboardURL: string;
3062
3561
  }
3063
3562
  /**
3064
3563
  * UpdateAlertRule请求参数结构体
@@ -3112,31 +3611,14 @@ export interface UpdateAlertRuleRequest {
3112
3611
  Type?: string;
3113
3612
  }
3114
3613
  /**
3115
- * DescribeBindingPolicyObjectList返回参数结构体
3614
+ * 告警策略事件触发条件
3116
3615
  */
3117
- export interface DescribeBindingPolicyObjectListResponse {
3118
- /**
3119
- * 绑定的对象实例列表
3120
- 注意:此字段可能返回 null,表示取不到有效值。
3121
- */
3122
- List: Array<DescribeBindingPolicyObjectListInstance>;
3123
- /**
3124
- * 绑定的对象实例总数
3125
- */
3126
- Total: number;
3127
- /**
3128
- * 未屏蔽的对象实例数
3129
- */
3130
- NoShieldedSum: number;
3616
+ export interface AlarmPolicyEventCondition {
3131
3617
  /**
3132
- * 绑定的实例分组信息,没有绑定实例分组则为空
3618
+ * 告警触发条件列表
3133
3619
  注意:此字段可能返回 null,表示取不到有效值。
3134
3620
  */
3135
- InstanceGroup: DescribeBindingPolicyObjectListInstanceGroup;
3136
- /**
3137
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3138
- */
3139
- RequestId?: string;
3621
+ Rules: Array<AlarmPolicyRule>;
3140
3622
  }
3141
3623
  /**
3142
3624
  * 查询策略输出的模板策略组信息
@@ -3216,6 +3698,15 @@ export interface UnBindingPolicyObjectResponse {
3216
3698
  */
3217
3699
  RequestId?: string;
3218
3700
  }
3701
+ /**
3702
+ * SendCustomAlarmMsg返回参数结构体
3703
+ */
3704
+ export interface SendCustomAlarmMsgResponse {
3705
+ /**
3706
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3707
+ */
3708
+ RequestId?: string;
3709
+ }
3219
3710
  /**
3220
3711
  * DescribeBasicAlarmList返回的Alarms里的InstanceGroup
3221
3712
  */
@@ -3354,6 +3845,19 @@ export interface DeleteAlarmNoticesRequest {
3354
3845
  */
3355
3846
  NoticeIds: Array<string>;
3356
3847
  }
3848
+ /**
3849
+ * DescribeExporterIntegrations返回参数结构体
3850
+ */
3851
+ export interface DescribeExporterIntegrationsResponse {
3852
+ /**
3853
+ * 集成配置列表
3854
+ */
3855
+ IntegrationSet: Array<IntegrationConfiguration>;
3856
+ /**
3857
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3858
+ */
3859
+ RequestId?: string;
3860
+ }
3357
3861
  /**
3358
3862
  * DescribePolicyConditionList.ConfigManual.PeriodNum
3359
3863
  */
@@ -3373,6 +3877,15 @@ export interface DescribePolicyConditionListConfigManualPeriodNum {
3373
3877
  */
3374
3878
  Need: boolean;
3375
3879
  }
3880
+ /**
3881
+ * UpgradeGrafanaDashboard返回参数结构体
3882
+ */
3883
+ export interface UpgradeGrafanaDashboardResponse {
3884
+ /**
3885
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3886
+ */
3887
+ RequestId?: string;
3888
+ }
3376
3889
  /**
3377
3890
  * DescribeAllNamespaces请求参数结构体
3378
3891
  */
@@ -3465,30 +3978,40 @@ export interface PolicyGroup {
3465
3978
  IsUnionRule: number;
3466
3979
  }
3467
3980
  /**
3468
- * UpdateAlertRule返回参数结构体
3981
+ * UnbindPrometheusManagedGrafana请求参数结构体
3469
3982
  */
3470
- export interface UpdateAlertRuleResponse {
3983
+ export interface UnbindPrometheusManagedGrafanaRequest {
3471
3984
  /**
3472
- * 规则 ID
3985
+ * Prometheus 实例 ID
3473
3986
  */
3474
- RuleId: string;
3987
+ InstanceId: string;
3988
+ /**
3989
+ * Grafana 实例 ID
3990
+ */
3991
+ GrafanaId: string;
3992
+ }
3993
+ /**
3994
+ * UpdatePrometheusScrapeJob返回参数结构体
3995
+ */
3996
+ export interface UpdatePrometheusScrapeJobResponse {
3475
3997
  /**
3476
3998
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3477
3999
  */
3478
4000
  RequestId?: string;
3479
4001
  }
3480
4002
  /**
3481
- * DescribeAlarmMetrics返回参数结构体
4003
+ * DescribePolicyConditionList.ConfigManual.CalcType
3482
4004
  */
3483
- export interface DescribeAlarmMetricsResponse {
4005
+ export interface DescribePolicyConditionListConfigManualCalcType {
3484
4006
  /**
3485
- * 告警指标列表
4007
+ * CalcType 取值
4008
+ 注意:此字段可能返回 null,表示取不到有效值。
3486
4009
  */
3487
- Metrics?: Array<Metric>;
4010
+ Keys: Array<number>;
3488
4011
  /**
3489
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4012
+ * 是否必须
3490
4013
  */
3491
- RequestId?: string;
4014
+ Need: boolean;
3492
4015
  }
3493
4016
  /**
3494
4017
  * DescribePolicyGroupList接口策略组绑定的实例分组信息
@@ -3613,27 +4136,46 @@ export interface DescribeAlarmPoliciesRequest {
3613
4136
  */
3614
4137
  NeedCorrespondence?: number;
3615
4138
  /**
3616
- * 按照触发任务(例如弹性伸缩)过滤策略。最多10个
4139
+ * 按照触发任务(例如弹性伸缩)过滤策略。最多10个
4140
+ */
4141
+ TriggerTasks?: Array<AlarmPolicyTriggerTask>;
4142
+ /**
4143
+ * 根据一键告警策略筛选 不传展示全部策略 ONECLICK=展示一键告警策略 NOT_ONECLICK=展示非一键告警策略
4144
+ */
4145
+ OneClickPolicyType?: Array<string>;
4146
+ }
4147
+ /**
4148
+ * DescribeAccidentEventList返回参数结构体
4149
+ */
4150
+ export interface DescribeAccidentEventListResponse {
4151
+ /**
4152
+ * 平台事件列表
4153
+ 注意:此字段可能返回 null,表示取不到有效值。
4154
+ */
4155
+ Alarms?: Array<DescribeAccidentEventListAlarms>;
4156
+ /**
4157
+ * 平台事件的总数
4158
+ 注意:此字段可能返回 null,表示取不到有效值。
3617
4159
  */
3618
- TriggerTasks?: Array<AlarmPolicyTriggerTask>;
4160
+ Total?: number;
3619
4161
  /**
3620
- * 根据一键告警策略筛选 不传展示全部策略 ONECLICK=展示一键告警策略 NOT_ONECLICK=展示非一键告警策略
4162
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3621
4163
  */
3622
- OneClickPolicyType?: Array<string>;
4164
+ RequestId?: string;
3623
4165
  }
3624
4166
  /**
3625
- * DescribeConditionsTemplateList返回参数结构体
4167
+ * DescribePrometheusScrapeJobs返回参数结构体
3626
4168
  */
3627
- export interface DescribeConditionsTemplateListResponse {
4169
+ export interface DescribePrometheusScrapeJobsResponse {
3628
4170
  /**
3629
- * 模板总数
4171
+ * 任务列表
4172
+ 注意:此字段可能返回 null,表示取不到有效值。
3630
4173
  */
3631
- Total: number;
4174
+ ScrapeJobSet?: Array<PrometheusScrapeJob>;
3632
4175
  /**
3633
- * 模板列表
3634
- 注意:此字段可能返回 null,表示取不到有效值。
4176
+ * 任务总量
3635
4177
  */
3636
- TemplateGroupList: Array<TemplateGroup>;
4178
+ TotalCount?: number;
3637
4179
  /**
3638
4180
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3639
4181
  */
@@ -3754,21 +4296,13 @@ export interface AlarmNotice {
3754
4296
  CLSNotices: Array<CLSNotice>;
3755
4297
  }
3756
4298
  /**
3757
- * 指标配置
4299
+ * DestroyPrometheusInstance请求参数结构体
3758
4300
  */
3759
- export interface MetricConfig {
3760
- /**
3761
- * 允许使用的运算符
3762
- */
3763
- Operator: Array<string>;
3764
- /**
3765
- * 允许配置的数据周期,以秒为单位
3766
- */
3767
- Period: Array<number>;
4301
+ export interface DestroyPrometheusInstanceRequest {
3768
4302
  /**
3769
- * 允许配置的持续周期个数
4303
+ * 实例 ID,该实例必须先被 terminate
3770
4304
  */
3771
- ContinuePeriod: Array<number>;
4305
+ InstanceId: string;
3772
4306
  }
3773
4307
  /**
3774
4308
  * 2018版策略模板列表接收人信息
@@ -3833,6 +4367,24 @@ export interface PolicyGroupReceiverInfo {
3833
4367
  */
3834
4368
  UIDList: Array<number>;
3835
4369
  }
4370
+ /**
4371
+ * DescribePrometheusAgents返回参数结构体
4372
+ */
4373
+ export interface DescribePrometheusAgentsResponse {
4374
+ /**
4375
+ * Agent 列表
4376
+ 注意:此字段可能返回 null,表示取不到有效值。
4377
+ */
4378
+ AgentSet: Array<PrometheusAgent>;
4379
+ /**
4380
+ * Agent 总量
4381
+ */
4382
+ TotalCount: number;
4383
+ /**
4384
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4385
+ */
4386
+ RequestId?: string;
4387
+ }
3836
4388
  /**
3837
4389
  * DescribeAlarmEvents请求参数结构体
3838
4390
  */
@@ -3868,13 +4420,56 @@ export interface MidQueryCondition {
3868
4420
  Value: Array<string>;
3869
4421
  }
3870
4422
  /**
3871
- * ModifyAlarmNotice返回参数结构体
4423
+ * DeletePrometheusScrapeJobs请求参数结构体
3872
4424
  */
3873
- export interface ModifyAlarmNoticeResponse {
4425
+ export interface DeletePrometheusScrapeJobsRequest {
3874
4426
  /**
3875
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4427
+ * 实例 ID
3876
4428
  */
3877
- RequestId?: string;
4429
+ InstanceId: string;
4430
+ /**
4431
+ * Agent ID
4432
+ */
4433
+ AgentId: string;
4434
+ /**
4435
+ * 任务 ID 列表
4436
+ */
4437
+ JobIds: Array<string>;
4438
+ }
4439
+ /**
4440
+ * 云监控告警通知模板 - 回调通知详情
4441
+ */
4442
+ export interface URLNotice {
4443
+ /**
4444
+ * 回调 url(限长256字符)
4445
+ 注意:此字段可能返回 null,表示取不到有效值。
4446
+ */
4447
+ URL: string;
4448
+ /**
4449
+ * 是否通过验证 0=否 1=是
4450
+ 注意:此字段可能返回 null,表示取不到有效值。
4451
+ */
4452
+ IsValid?: number;
4453
+ /**
4454
+ * 验证码
4455
+ 注意:此字段可能返回 null,表示取不到有效值。
4456
+ */
4457
+ ValidationCode?: string;
4458
+ /**
4459
+ * 通知开始时间 一天开始的秒数
4460
+ 注意:此字段可能返回 null,表示取不到有效值。
4461
+ */
4462
+ StartTime?: number;
4463
+ /**
4464
+ * 通知结束时间 一天开始的秒数
4465
+ 注意:此字段可能返回 null,表示取不到有效值。
4466
+ */
4467
+ EndTime?: number;
4468
+ /**
4469
+ * 通知周期 1-7表示周一到周日
4470
+ 注意:此字段可能返回 null,表示取不到有效值。
4471
+ */
4472
+ Weekday?: Array<number>;
3878
4473
  }
3879
4474
  /**
3880
4475
  * CreateAlertRule请求参数结构体
@@ -4089,39 +4684,13 @@ export interface DeleteAlarmPolicyResponse {
4089
4684
  RequestId?: string;
4090
4685
  }
4091
4686
  /**
4092
- * 云监控告警通知模板 - 回调通知详情
4687
+ * DeletePrometheusScrapeJobs返回参数结构体
4093
4688
  */
4094
- export interface URLNotice {
4095
- /**
4096
- * 回调 url(限长256字符)
4097
- 注意:此字段可能返回 null,表示取不到有效值。
4098
- */
4099
- URL: string;
4100
- /**
4101
- * 是否通过验证 0=否 1=是
4102
- 注意:此字段可能返回 null,表示取不到有效值。
4103
- */
4104
- IsValid?: number;
4105
- /**
4106
- * 验证码
4107
- 注意:此字段可能返回 null,表示取不到有效值。
4108
- */
4109
- ValidationCode?: string;
4110
- /**
4111
- * 通知开始时间 一天开始的秒数
4112
- 注意:此字段可能返回 null,表示取不到有效值。
4113
- */
4114
- StartTime?: number;
4115
- /**
4116
- * 通知结束时间 一天开始的秒数
4117
- 注意:此字段可能返回 null,表示取不到有效值。
4118
- */
4119
- EndTime?: number;
4689
+ export interface DeletePrometheusScrapeJobsResponse {
4120
4690
  /**
4121
- * 通知周期 1-7表示周一到周日
4122
- 注意:此字段可能返回 null,表示取不到有效值。
4691
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4123
4692
  */
4124
- Weekday?: Array<number>;
4693
+ RequestId?: string;
4125
4694
  }
4126
4695
  /**
4127
4696
  * DescribeAlarmPolicy请求参数结构体
@@ -4314,6 +4883,62 @@ export interface DescribeStatisticDataResponse {
4314
4883
  */
4315
4884
  RequestId?: string;
4316
4885
  }
4886
+ /**
4887
+ * CreatePrometheusScrapeJob请求参数结构体
4888
+ */
4889
+ export interface CreatePrometheusScrapeJobRequest {
4890
+ /**
4891
+ * 实例 ID
4892
+ */
4893
+ InstanceId: string;
4894
+ /**
4895
+ * Agent ID
4896
+ */
4897
+ AgentId: string;
4898
+ /**
4899
+ * 任务内容
4900
+ */
4901
+ Config?: string;
4902
+ }
4903
+ /**
4904
+ * UninstallGrafanaDashboard请求参数结构体
4905
+ */
4906
+ export interface UninstallGrafanaDashboardRequest {
4907
+ /**
4908
+ * 实例 ID
4909
+ */
4910
+ InstanceId: string;
4911
+ /**
4912
+ * Prometheus 集成项 Code,删除对应的 Dashboard,Code 如下:
4913
+ <li>spring_mvc</li>
4914
+ <li>mysql</li>
4915
+ <li>go</li>
4916
+ <li>redis</li>
4917
+ <li>jvm</li>
4918
+ <li>pgsql</li>
4919
+ <li>mongo</li>
4920
+ <li>kafka</li>
4921
+ <li>es</li>
4922
+ <li>flink</li>
4923
+ <li>blackbox</li>
4924
+ <li>consule</li>
4925
+ <li>memcached</li>
4926
+ <li>zk</li>
4927
+ <li>tps</li>
4928
+ <li>istio</li>
4929
+ <li>etcd</li>
4930
+ */
4931
+ IntegrationCodes?: Array<string>;
4932
+ }
4933
+ /**
4934
+ * CreateExporterIntegration返回参数结构体
4935
+ */
4936
+ export interface CreateExporterIntegrationResponse {
4937
+ /**
4938
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4939
+ */
4940
+ RequestId?: string;
4941
+ }
4317
4942
  /**
4318
4943
  * DescribePolicyConditionList.EventMetric
4319
4944
  */
@@ -4598,6 +5223,34 @@ export interface DescribePolicyGroupListGroup {
4598
5223
  */
4599
5224
  IsUnionRule: number;
4600
5225
  }
5226
+ /**
5227
+ * UpdateExporterIntegration请求参数结构体
5228
+ */
5229
+ export interface UpdateExporterIntegrationRequest {
5230
+ /**
5231
+ * 实例 ID
5232
+ */
5233
+ InstanceId: string;
5234
+ /**
5235
+ * Kubernetes 集群类型,取值如下:
5236
+ <li> 1= 容器集群(TKE) </li>
5237
+ <li> 2=弹性集群<EKS> </li>
5238
+ <li> 3= Prometheus管理的弹性集群<MEKS> </li>
5239
+ */
5240
+ KubeType: number;
5241
+ /**
5242
+ * 集群 ID
5243
+ */
5244
+ ClusterId: string;
5245
+ /**
5246
+ * 类型
5247
+ */
5248
+ Kind: string;
5249
+ /**
5250
+ * 配置内容
5251
+ */
5252
+ Content: string;
5253
+ }
4601
5254
  /**
4602
5255
  * DescribeAccidentEventList请求参数结构体
4603
5256
  */
@@ -4651,6 +5304,31 @@ export interface DescribeAccidentEventListRequest {
4651
5304
  */
4652
5305
  AffectResource?: string;
4653
5306
  }
5307
+ /**
5308
+ * UnBindingPolicyObject请求参数结构体
5309
+ */
5310
+ export interface UnBindingPolicyObjectRequest {
5311
+ /**
5312
+ * 固定值,为"monitor"
5313
+ */
5314
+ Module: string;
5315
+ /**
5316
+ * 策略组id,如传入 PolicyId 则该字段被忽略可传入任意值如 0
5317
+ */
5318
+ GroupId: number;
5319
+ /**
5320
+ * 待删除对象实例的唯一id列表,UniqueId从调用[获取已绑定对象列表接口](https://cloud.tencent.com/document/api/248/40570)的出参的List中得到
5321
+ */
5322
+ UniqueId: Array<string>;
5323
+ /**
5324
+ * 实例分组id,如果按实例分组删除的话UniqueId参数是无效的
5325
+ */
5326
+ InstanceGroupId?: number;
5327
+ /**
5328
+ * 告警策略ID,使用此字段时 GroupId 会被忽略
5329
+ */
5330
+ PolicyId?: string;
5331
+ }
4654
5332
  /**
4655
5333
  * 指标名称和值的封装
4656
5334
  */
@@ -4715,21 +5393,6 @@ export interface DescribeBindingPolicyObjectListInstanceGroup {
4715
5393
  */
4716
5394
  Regions: Array<string>;
4717
5395
  }
4718
- /**
4719
- * DescribeProductEventList返回的Events里的GroupInfo
4720
- */
4721
- export interface DescribeProductEventListEventsGroupInfo {
4722
- /**
4723
- * 策略ID
4724
- 注意:此字段可能返回 null,表示取不到有效值。
4725
- */
4726
- GroupId: number;
4727
- /**
4728
- * 策略名
4729
- 注意:此字段可能返回 null,表示取不到有效值。
4730
- */
4731
- GroupName: string;
4732
- }
4733
5396
  /**
4734
5397
  * DeleteAlertRules请求参数结构体
4735
5398
  */
@@ -4756,6 +5419,19 @@ export interface DescribeAlarmNoticeRequest {
4756
5419
  */
4757
5420
  NoticeId: string;
4758
5421
  }
5422
+ /**
5423
+ * CreatePrometheusAgent请求参数结构体
5424
+ */
5425
+ export interface CreatePrometheusAgentRequest {
5426
+ /**
5427
+ * 实例 ID
5428
+ */
5429
+ InstanceId: string;
5430
+ /**
5431
+ * Agent 名称
5432
+ */
5433
+ Name: string;
5434
+ }
4759
5435
  /**
4760
5436
  * DescribeBindingPolicyObjectList接口的Dimension
4761
5437
  */
@@ -5021,9 +5697,35 @@ export interface DescribePolicyGroupInfoEventCondition {
5021
5697
  AlarmNotifyType: number;
5022
5698
  }
5023
5699
  /**
5024
- * SendCustomAlarmMsg返回参数结构体
5700
+ * prometheus 报警规则 KV 参数
5025
5701
  */
5026
- export interface SendCustomAlarmMsgResponse {
5702
+ export interface PrometheusRuleKV {
5703
+ /**
5704
+ * 键
5705
+ */
5706
+ Key: string;
5707
+ /**
5708
+ * 值
5709
+ */
5710
+ Value: string;
5711
+ }
5712
+ /**
5713
+ * ModifyAlarmPolicyStatus返回参数结构体
5714
+ */
5715
+ export interface ModifyAlarmPolicyStatusResponse {
5716
+ /**
5717
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5718
+ */
5719
+ RequestId?: string;
5720
+ }
5721
+ /**
5722
+ * GetPrometheusAgentManagementCommand返回参数结构体
5723
+ */
5724
+ export interface GetPrometheusAgentManagementCommandResponse {
5725
+ /**
5726
+ * Agent 管理命令
5727
+ */
5728
+ Command?: ManagementCommand;
5027
5729
  /**
5028
5730
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5029
5731
  */
@@ -5151,14 +5853,19 @@ export interface DeleteServiceDiscoveryRequest {
5151
5853
  Yaml: string;
5152
5854
  }
5153
5855
  /**
5154
- * 告警策略事件触发条件
5856
+ * DescribeProductEventList返回的Events里的GroupInfo
5155
5857
  */
5156
- export interface AlarmPolicyEventCondition {
5858
+ export interface DescribeProductEventListEventsGroupInfo {
5157
5859
  /**
5158
- * 告警触发条件列表
5860
+ * 策略ID
5159
5861
  注意:此字段可能返回 null,表示取不到有效值。
5160
5862
  */
5161
- Rules: Array<AlarmPolicyRule>;
5863
+ GroupId: number;
5864
+ /**
5865
+ * 策略名
5866
+ 注意:此字段可能返回 null,表示取不到有效值。
5867
+ */
5868
+ GroupName: string;
5162
5869
  }
5163
5870
  /**
5164
5871
  * DescribePrometheusInstances请求参数结构体
@@ -5276,6 +5983,15 @@ export interface SetDefaultAlarmPolicyResponse {
5276
5983
  */
5277
5984
  RequestId?: string;
5278
5985
  }
5986
+ /**
5987
+ * UninstallGrafanaDashboard返回参数结构体
5988
+ */
5989
+ export interface UninstallGrafanaDashboardResponse {
5990
+ /**
5991
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5992
+ */
5993
+ RequestId?: string;
5994
+ }
5279
5995
  /**
5280
5996
  * BindingPolicyObject返回参数结构体
5281
5997
  */