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.
- package/CHANGELOG.md +459 -0
- package/SERVICE_CHANGELOG.md +484 -82
- package/package.json +1 -1
- package/products.md +25 -25
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_client.ts +1 -1
- package/src/services/cdn/v20180606/cdn_models.ts +12 -0
- package/src/services/cls/v20201016/cls_models.ts +1 -0
- package/src/services/cme/v20191029/cme_client.ts +3 -1
- package/src/services/cme/v20191029/cme_models.ts +21 -0
- package/src/services/cpdp/v20190820/cpdp_models.ts +57 -14
- package/src/services/cwp/v20180228/cwp_client.ts +1 -0
- package/src/services/cwp/v20180228/cwp_models.ts +38 -2
- package/src/services/dnspod/v20210323/dnspod_client.ts +75 -26
- package/src/services/dnspod/v20210323/dnspod_models.ts +184 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +10 -0
- package/src/services/live/v20180801/live_client.ts +1 -1
- package/src/services/live/v20180801/live_models.ts +42 -1
- package/src/services/mmps/v20200710/mmps_models.ts +6 -0
- package/src/services/monitor/v20180724/monitor_client.ts +267 -35
- package/src/services/monitor/v20180724/monitor_models.ts +1017 -190
- package/src/services/mrs/v20200910/mrs_client.ts +1 -0
- package/src/services/mrs/v20200910/mrs_models.ts +65 -0
- package/src/services/tcbr/v20220217/tcbr_client.ts +48 -8
- package/src/services/tcbr/v20220217/tcbr_models.ts +329 -26
- package/src/services/teo/v20220106/teo_models.ts +3 -3
- package/src/services/tke/v20180525/tke_models.ts +3 -3
- package/src/services/vod/v20180717/vod_models.ts +16 -15
- package/src/services/vpc/v20170312/vpc_client.ts +16 -1
- package/src/services/vpc/v20170312/vpc_models.ts +165 -15
- package/src/services/waf/v20180125/waf_client.ts +37 -20
- package/src/services/waf/v20180125/waf_models.ts +435 -129
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +10 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -0
- package/tencentcloud/services/cme/v20191029/cme_client.d.ts +2 -1
- package/tencentcloud/services/cme/v20191029/cme_client.js +2 -1
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +18 -0
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +50 -14
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +32 -2
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +26 -10
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +37 -13
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +159 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +8 -0
- package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
- package/tencentcloud/services/live/v20180801/live_client.js +1 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +35 -1
- package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +5 -0
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +85 -9
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +124 -10
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +889 -173
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +55 -0
- package/tencentcloud/services/tcbr/v20220217/tcbr_client.d.ts +15 -3
- package/tencentcloud/services/tcbr/v20220217/tcbr_client.js +21 -3
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +276 -23
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +3 -3
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +3 -3
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +13 -12
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +6 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +7 -0
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +138 -14
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +9 -5
- package/tencentcloud/services/waf/v20180125/waf_client.js +12 -6
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +363 -108
- package/test/dnspod.v20210323.test.js +48 -8
- package/test/monitor.v20180724.test.js +194 -4
- package/test/tcbr.v20220217.test.js +32 -2
- package/test/vpc.v20170312.test.js +10 -0
- package/test/waf.v20180125.test.js +14 -4
|
@@ -292,6 +292,16 @@ export interface PrometheusTag {
|
|
|
292
292
|
Value: string
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
+
/**
|
|
296
|
+
* DestroyPrometheusInstance返回参数结构体
|
|
297
|
+
*/
|
|
298
|
+
export interface DestroyPrometheusInstanceResponse {
|
|
299
|
+
/**
|
|
300
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
301
|
+
*/
|
|
302
|
+
RequestId?: string
|
|
303
|
+
}
|
|
304
|
+
|
|
295
305
|
/**
|
|
296
306
|
* 指标告警配置
|
|
297
307
|
*/
|
|
@@ -433,33 +443,45 @@ export interface BindingPolicyObjectRequest {
|
|
|
433
443
|
}
|
|
434
444
|
|
|
435
445
|
/**
|
|
436
|
-
*
|
|
446
|
+
* DescribeAlarmNoticeCallbacks请求参数结构体
|
|
437
447
|
*/
|
|
438
|
-
export interface
|
|
439
|
-
/**
|
|
440
|
-
* 创建成功之后,返回对应服务发现信息
|
|
441
|
-
*/
|
|
442
|
-
ServiceDiscovery?: ServiceDiscoveryItem
|
|
443
|
-
|
|
448
|
+
export interface DescribeAlarmNoticeCallbacksRequest {
|
|
444
449
|
/**
|
|
445
|
-
*
|
|
450
|
+
* 模块名,这里填“monitor”
|
|
446
451
|
*/
|
|
447
|
-
|
|
452
|
+
Module: string
|
|
448
453
|
}
|
|
449
454
|
|
|
450
455
|
/**
|
|
451
|
-
*
|
|
456
|
+
* DescribeBindingPolicyObjectList返回参数结构体
|
|
452
457
|
*/
|
|
453
|
-
export interface
|
|
458
|
+
export interface DescribeBindingPolicyObjectListResponse {
|
|
454
459
|
/**
|
|
455
|
-
|
|
460
|
+
* 绑定的对象实例列表
|
|
461
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
462
|
+
*/
|
|
463
|
+
List: Array<DescribeBindingPolicyObjectListInstance>
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* 绑定的对象实例总数
|
|
456
467
|
*/
|
|
457
|
-
|
|
468
|
+
Total: number
|
|
458
469
|
|
|
459
470
|
/**
|
|
460
|
-
*
|
|
471
|
+
* 未屏蔽的对象实例数
|
|
461
472
|
*/
|
|
462
|
-
|
|
473
|
+
NoShieldedSum: number
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* 绑定的实例分组信息,没有绑定实例分组则为空
|
|
477
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
478
|
+
*/
|
|
479
|
+
InstanceGroup: DescribeBindingPolicyObjectListInstanceGroup
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
483
|
+
*/
|
|
484
|
+
RequestId?: string
|
|
463
485
|
}
|
|
464
486
|
|
|
465
487
|
/**
|
|
@@ -517,6 +539,16 @@ export interface DeleteServiceDiscoveryResponse {
|
|
|
517
539
|
RequestId?: string
|
|
518
540
|
}
|
|
519
541
|
|
|
542
|
+
/**
|
|
543
|
+
* CreatePrometheusScrapeJob返回参数结构体
|
|
544
|
+
*/
|
|
545
|
+
export interface CreatePrometheusScrapeJobResponse {
|
|
546
|
+
/**
|
|
547
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
548
|
+
*/
|
|
549
|
+
RequestId?: string
|
|
550
|
+
}
|
|
551
|
+
|
|
520
552
|
/**
|
|
521
553
|
* 查询策略输出的用户回调信息
|
|
522
554
|
*/
|
|
@@ -642,6 +674,39 @@ export interface CreateAlarmPolicyRequest {
|
|
|
642
674
|
GroupBy?: Array<string>
|
|
643
675
|
}
|
|
644
676
|
|
|
677
|
+
/**
|
|
678
|
+
* CreateExporterIntegration请求参数结构体
|
|
679
|
+
*/
|
|
680
|
+
export interface CreateExporterIntegrationRequest {
|
|
681
|
+
/**
|
|
682
|
+
* 实例 ID
|
|
683
|
+
*/
|
|
684
|
+
InstanceId: string
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Kubernetes 集群类型,取值如下:
|
|
688
|
+
<li> 1= 容器集群(TKE) </li>
|
|
689
|
+
<li> 2=弹性集群<EKS> </li>
|
|
690
|
+
<li> 3= Prometheus管理的弹性集群<MEKS> </li>
|
|
691
|
+
*/
|
|
692
|
+
KubeType: number
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* 集群 ID
|
|
696
|
+
*/
|
|
697
|
+
ClusterId: string
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* 类型
|
|
701
|
+
*/
|
|
702
|
+
Kind: string
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* 集成配置
|
|
706
|
+
*/
|
|
707
|
+
Content: string
|
|
708
|
+
}
|
|
709
|
+
|
|
645
710
|
/**
|
|
646
711
|
* DescribeAlarmEvents返回参数结构体
|
|
647
712
|
*/
|
|
@@ -773,6 +838,89 @@ export interface DescribePolicyGroupInfoResponse {
|
|
|
773
838
|
RequestId?: string
|
|
774
839
|
}
|
|
775
840
|
|
|
841
|
+
/**
|
|
842
|
+
* prometheus agent
|
|
843
|
+
*/
|
|
844
|
+
export interface PrometheusAgent {
|
|
845
|
+
/**
|
|
846
|
+
* Agent 名
|
|
847
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
848
|
+
*/
|
|
849
|
+
Name: string
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* Agent ID
|
|
853
|
+
*/
|
|
854
|
+
AgentId: string
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* 实例 ID
|
|
858
|
+
*/
|
|
859
|
+
InstanceId: string
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* Agent IP
|
|
863
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
864
|
+
*/
|
|
865
|
+
Ipv4: string
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* 心跳时间
|
|
869
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
870
|
+
*/
|
|
871
|
+
HeartbeatTime: string
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* 最近一次错误
|
|
875
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
876
|
+
*/
|
|
877
|
+
LastError: string
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* Agent 版本
|
|
881
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
882
|
+
*/
|
|
883
|
+
AgentVersion: string
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* Agent 状态
|
|
887
|
+
*/
|
|
888
|
+
Status: number
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* DeleteExporterIntegration请求参数结构体
|
|
893
|
+
*/
|
|
894
|
+
export interface DeleteExporterIntegrationRequest {
|
|
895
|
+
/**
|
|
896
|
+
* 实例 ID
|
|
897
|
+
*/
|
|
898
|
+
InstanceId: string
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* Kubernetes 集群类型,取值如下:
|
|
902
|
+
<li> 1= 容器集群(TKE) </li>
|
|
903
|
+
<li> 2=弹性集群<EKS> </li>
|
|
904
|
+
<li> 3= Prometheus管理的弹性集群<MEKS> </li>
|
|
905
|
+
*/
|
|
906
|
+
KubeType: number
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* 集群 ID
|
|
910
|
+
*/
|
|
911
|
+
ClusterId: string
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* 类型
|
|
915
|
+
*/
|
|
916
|
+
Kind: string
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* 名字
|
|
920
|
+
*/
|
|
921
|
+
Name: string
|
|
922
|
+
}
|
|
923
|
+
|
|
776
924
|
/**
|
|
777
925
|
* ModifyAlarmPolicyNotice请求参数结构体
|
|
778
926
|
*/
|
|
@@ -1099,6 +1247,41 @@ export interface DescribeConditionsTemplateListRequest {
|
|
|
1099
1247
|
UpdateTimeOrder?: string
|
|
1100
1248
|
}
|
|
1101
1249
|
|
|
1250
|
+
/**
|
|
1251
|
+
* DescribePrometheusScrapeJobs请求参数结构体
|
|
1252
|
+
*/
|
|
1253
|
+
export interface DescribePrometheusScrapeJobsRequest {
|
|
1254
|
+
/**
|
|
1255
|
+
* 实例 ID
|
|
1256
|
+
*/
|
|
1257
|
+
InstanceId: string
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* Agent ID
|
|
1261
|
+
*/
|
|
1262
|
+
AgentId: string
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* 任务名
|
|
1266
|
+
*/
|
|
1267
|
+
Name?: string
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* 任务 ID 列表
|
|
1271
|
+
*/
|
|
1272
|
+
JobIds?: Array<string>
|
|
1273
|
+
|
|
1274
|
+
/**
|
|
1275
|
+
* 偏移量,默认为0
|
|
1276
|
+
*/
|
|
1277
|
+
Offset?: number
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* 返回数量,默认为20,最大值为100
|
|
1281
|
+
*/
|
|
1282
|
+
Limit?: number
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1102
1285
|
/**
|
|
1103
1286
|
* CreateAlertRule返回参数结构体
|
|
1104
1287
|
*/
|
|
@@ -1155,6 +1338,43 @@ export interface DescribeBaseMetricsResponse {
|
|
|
1155
1338
|
RequestId?: string
|
|
1156
1339
|
}
|
|
1157
1340
|
|
|
1341
|
+
/**
|
|
1342
|
+
* Prometheus 抓取任务
|
|
1343
|
+
*/
|
|
1344
|
+
export interface PrometheusScrapeJob {
|
|
1345
|
+
/**
|
|
1346
|
+
* 任务名
|
|
1347
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1348
|
+
*/
|
|
1349
|
+
Name: string
|
|
1350
|
+
|
|
1351
|
+
/**
|
|
1352
|
+
* Agent ID
|
|
1353
|
+
*/
|
|
1354
|
+
AgentId: string
|
|
1355
|
+
|
|
1356
|
+
/**
|
|
1357
|
+
* 任务 ID
|
|
1358
|
+
*/
|
|
1359
|
+
JobId: string
|
|
1360
|
+
|
|
1361
|
+
/**
|
|
1362
|
+
* 配置
|
|
1363
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1364
|
+
*/
|
|
1365
|
+
Config: string
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
* ModifyPrometheusInstanceAttributes返回参数结构体
|
|
1370
|
+
*/
|
|
1371
|
+
export interface ModifyPrometheusInstanceAttributesResponse {
|
|
1372
|
+
/**
|
|
1373
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1374
|
+
*/
|
|
1375
|
+
RequestId?: string
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1158
1378
|
/**
|
|
1159
1379
|
* DescribeMetricData出参
|
|
1160
1380
|
*/
|
|
@@ -1370,6 +1590,26 @@ export interface SendCustomAlarmMsgRequest {
|
|
|
1370
1590
|
Msg: string
|
|
1371
1591
|
}
|
|
1372
1592
|
|
|
1593
|
+
/**
|
|
1594
|
+
* ModifyPrometheusInstanceAttributes请求参数结构体
|
|
1595
|
+
*/
|
|
1596
|
+
export interface ModifyPrometheusInstanceAttributesRequest {
|
|
1597
|
+
/**
|
|
1598
|
+
* 实例名称
|
|
1599
|
+
*/
|
|
1600
|
+
InstanceName: string
|
|
1601
|
+
|
|
1602
|
+
/**
|
|
1603
|
+
* 实例 ID
|
|
1604
|
+
*/
|
|
1605
|
+
InstanceId: string
|
|
1606
|
+
|
|
1607
|
+
/**
|
|
1608
|
+
* 存储时长(取值为 15、30、45。此参数不适用于包年包月实例)
|
|
1609
|
+
*/
|
|
1610
|
+
DataRetentionTime?: number
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1373
1613
|
/**
|
|
1374
1614
|
* DescribePolicyConditionList.ConfigManual.Period
|
|
1375
1615
|
*/
|
|
@@ -1393,33 +1633,23 @@ export interface DescribePolicyConditionListConfigManualPeriod {
|
|
|
1393
1633
|
}
|
|
1394
1634
|
|
|
1395
1635
|
/**
|
|
1396
|
-
*
|
|
1636
|
+
* 指标配置
|
|
1397
1637
|
*/
|
|
1398
|
-
export interface
|
|
1399
|
-
/**
|
|
1400
|
-
* 固定值,为"monitor"
|
|
1401
|
-
*/
|
|
1402
|
-
Module: string
|
|
1403
|
-
|
|
1404
|
-
/**
|
|
1405
|
-
* 策略组id,如传入 PolicyId 则该字段被忽略可传入任意值如 0
|
|
1406
|
-
*/
|
|
1407
|
-
GroupId: number
|
|
1408
|
-
|
|
1638
|
+
export interface MetricConfig {
|
|
1409
1639
|
/**
|
|
1410
|
-
*
|
|
1640
|
+
* 允许使用的运算符
|
|
1411
1641
|
*/
|
|
1412
|
-
|
|
1642
|
+
Operator: Array<string>
|
|
1413
1643
|
|
|
1414
1644
|
/**
|
|
1415
|
-
*
|
|
1645
|
+
* 允许配置的数据周期,以秒为单位
|
|
1416
1646
|
*/
|
|
1417
|
-
|
|
1647
|
+
Period: Array<number>
|
|
1418
1648
|
|
|
1419
1649
|
/**
|
|
1420
|
-
*
|
|
1650
|
+
* 允许配置的持续周期个数
|
|
1421
1651
|
*/
|
|
1422
|
-
|
|
1652
|
+
ContinuePeriod: Array<number>
|
|
1423
1653
|
}
|
|
1424
1654
|
|
|
1425
1655
|
/**
|
|
@@ -1509,20 +1739,19 @@ export interface DeletePolicyGroupResponse {
|
|
|
1509
1739
|
}
|
|
1510
1740
|
|
|
1511
1741
|
/**
|
|
1512
|
-
*
|
|
1742
|
+
* DescribeConditionsTemplateList返回参数结构体
|
|
1513
1743
|
*/
|
|
1514
|
-
export interface
|
|
1744
|
+
export interface DescribeConditionsTemplateListResponse {
|
|
1515
1745
|
/**
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
Alarms?: Array<DescribeAccidentEventListAlarms>
|
|
1746
|
+
* 模板总数
|
|
1747
|
+
*/
|
|
1748
|
+
Total: number
|
|
1520
1749
|
|
|
1521
1750
|
/**
|
|
1522
|
-
*
|
|
1751
|
+
* 模板列表
|
|
1523
1752
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1524
1753
|
*/
|
|
1525
|
-
|
|
1754
|
+
TemplateGroupList: Array<TemplateGroup>
|
|
1526
1755
|
|
|
1527
1756
|
/**
|
|
1528
1757
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1590,6 +1819,36 @@ export interface DimensionsDesc {
|
|
|
1590
1819
|
Dimensions: Array<string>
|
|
1591
1820
|
}
|
|
1592
1821
|
|
|
1822
|
+
/**
|
|
1823
|
+
* ModifyAlarmPolicyStatus请求参数结构体
|
|
1824
|
+
*/
|
|
1825
|
+
export interface ModifyAlarmPolicyStatusRequest {
|
|
1826
|
+
/**
|
|
1827
|
+
* 模块名,固定值 monitor
|
|
1828
|
+
*/
|
|
1829
|
+
Module: string
|
|
1830
|
+
|
|
1831
|
+
/**
|
|
1832
|
+
* 告警策略 ID
|
|
1833
|
+
*/
|
|
1834
|
+
PolicyId: string
|
|
1835
|
+
|
|
1836
|
+
/**
|
|
1837
|
+
* 启停状态 0=停用 1=启用
|
|
1838
|
+
*/
|
|
1839
|
+
Enable: number
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
/**
|
|
1843
|
+
* UpdatePrometheusAgentStatus返回参数结构体
|
|
1844
|
+
*/
|
|
1845
|
+
export interface UpdatePrometheusAgentStatusResponse {
|
|
1846
|
+
/**
|
|
1847
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1848
|
+
*/
|
|
1849
|
+
RequestId?: string
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1593
1852
|
/**
|
|
1594
1853
|
* Prometheus 服务发现信息
|
|
1595
1854
|
*/
|
|
@@ -1788,6 +2047,16 @@ export interface PeriodsSt {
|
|
|
1788
2047
|
StatType: Array<string>
|
|
1789
2048
|
}
|
|
1790
2049
|
|
|
2050
|
+
/**
|
|
2051
|
+
* BindPrometheusManagedGrafana返回参数结构体
|
|
2052
|
+
*/
|
|
2053
|
+
export interface BindPrometheusManagedGrafanaResponse {
|
|
2054
|
+
/**
|
|
2055
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2056
|
+
*/
|
|
2057
|
+
RequestId?: string
|
|
2058
|
+
}
|
|
2059
|
+
|
|
1791
2060
|
/**
|
|
1792
2061
|
* 告警策略详情
|
|
1793
2062
|
*/
|
|
@@ -2024,6 +2293,41 @@ export interface ModifyAlarmReceiversResponse {
|
|
|
2024
2293
|
RequestId?: string
|
|
2025
2294
|
}
|
|
2026
2295
|
|
|
2296
|
+
/**
|
|
2297
|
+
* Prometheus Agent 管理命令行
|
|
2298
|
+
*/
|
|
2299
|
+
export interface ManagementCommand {
|
|
2300
|
+
/**
|
|
2301
|
+
* Agent 安装命令
|
|
2302
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2303
|
+
*/
|
|
2304
|
+
Install: string
|
|
2305
|
+
|
|
2306
|
+
/**
|
|
2307
|
+
* Agent 重启命令
|
|
2308
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2309
|
+
*/
|
|
2310
|
+
Restart: string
|
|
2311
|
+
|
|
2312
|
+
/**
|
|
2313
|
+
* Agent 停止命令
|
|
2314
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2315
|
+
*/
|
|
2316
|
+
Stop: string
|
|
2317
|
+
|
|
2318
|
+
/**
|
|
2319
|
+
* Agent 状态检测命令
|
|
2320
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2321
|
+
*/
|
|
2322
|
+
StatusCheck: string
|
|
2323
|
+
|
|
2324
|
+
/**
|
|
2325
|
+
* Agent 日志检测命令
|
|
2326
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2327
|
+
*/
|
|
2328
|
+
LogCheck: string
|
|
2329
|
+
}
|
|
2330
|
+
|
|
2027
2331
|
/**
|
|
2028
2332
|
* DescribePolicyConditionList返回参数结构体
|
|
2029
2333
|
*/
|
|
@@ -2146,6 +2450,21 @@ export interface DescribeAllNamespacesResponse {
|
|
|
2146
2450
|
RequestId?: string
|
|
2147
2451
|
}
|
|
2148
2452
|
|
|
2453
|
+
/**
|
|
2454
|
+
* GetPrometheusAgentManagementCommand请求参数结构体
|
|
2455
|
+
*/
|
|
2456
|
+
export interface GetPrometheusAgentManagementCommandRequest {
|
|
2457
|
+
/**
|
|
2458
|
+
* Prometheus 实例 ID
|
|
2459
|
+
*/
|
|
2460
|
+
InstanceId: string
|
|
2461
|
+
|
|
2462
|
+
/**
|
|
2463
|
+
* Prometheus Agent ID
|
|
2464
|
+
*/
|
|
2465
|
+
AgentId: string
|
|
2466
|
+
}
|
|
2467
|
+
|
|
2149
2468
|
/**
|
|
2150
2469
|
* DeleteAlarmNotices返回参数结构体
|
|
2151
2470
|
*/
|
|
@@ -2156,6 +2475,48 @@ export interface DeleteAlarmNoticesResponse {
|
|
|
2156
2475
|
RequestId?: string
|
|
2157
2476
|
}
|
|
2158
2477
|
|
|
2478
|
+
/**
|
|
2479
|
+
* TerminatePrometheusInstances请求参数结构体
|
|
2480
|
+
*/
|
|
2481
|
+
export interface TerminatePrometheusInstancesRequest {
|
|
2482
|
+
/**
|
|
2483
|
+
* 实例 ID 列表
|
|
2484
|
+
*/
|
|
2485
|
+
InstanceIds: Array<string>
|
|
2486
|
+
}
|
|
2487
|
+
|
|
2488
|
+
/**
|
|
2489
|
+
* UnbindPrometheusManagedGrafana返回参数结构体
|
|
2490
|
+
*/
|
|
2491
|
+
export interface UnbindPrometheusManagedGrafanaResponse {
|
|
2492
|
+
/**
|
|
2493
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2494
|
+
*/
|
|
2495
|
+
RequestId?: string
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2498
|
+
/**
|
|
2499
|
+
* UpdatePrometheusAgentStatus请求参数结构体
|
|
2500
|
+
*/
|
|
2501
|
+
export interface UpdatePrometheusAgentStatusRequest {
|
|
2502
|
+
/**
|
|
2503
|
+
* 实例 ID
|
|
2504
|
+
*/
|
|
2505
|
+
InstanceId: string
|
|
2506
|
+
|
|
2507
|
+
/**
|
|
2508
|
+
* Agent ID 列表
|
|
2509
|
+
*/
|
|
2510
|
+
AgentIds: Array<string>
|
|
2511
|
+
|
|
2512
|
+
/**
|
|
2513
|
+
* 要更新的状态
|
|
2514
|
+
<li> 1= 开启 </li>
|
|
2515
|
+
<li> 2= 关闭 </li>
|
|
2516
|
+
*/
|
|
2517
|
+
Status: number
|
|
2518
|
+
}
|
|
2519
|
+
|
|
2159
2520
|
/**
|
|
2160
2521
|
* DescribeBasicAlarmList返回参数结构体
|
|
2161
2522
|
*/
|
|
@@ -2327,13 +2688,61 @@ re=正则匹配
|
|
|
2327
2688
|
}
|
|
2328
2689
|
|
|
2329
2690
|
/**
|
|
2330
|
-
*
|
|
2691
|
+
* CreateServiceDiscovery返回参数结构体
|
|
2331
2692
|
*/
|
|
2332
|
-
export interface
|
|
2693
|
+
export interface CreateServiceDiscoveryResponse {
|
|
2333
2694
|
/**
|
|
2334
|
-
*
|
|
2695
|
+
* 创建成功之后,返回对应服务发现信息
|
|
2335
2696
|
*/
|
|
2336
|
-
|
|
2697
|
+
ServiceDiscovery?: ServiceDiscoveryItem
|
|
2698
|
+
|
|
2699
|
+
/**
|
|
2700
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2701
|
+
*/
|
|
2702
|
+
RequestId?: string
|
|
2703
|
+
}
|
|
2704
|
+
|
|
2705
|
+
/**
|
|
2706
|
+
* CreatePrometheusAgent返回参数结构体
|
|
2707
|
+
*/
|
|
2708
|
+
export interface CreatePrometheusAgentResponse {
|
|
2709
|
+
/**
|
|
2710
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2711
|
+
*/
|
|
2712
|
+
RequestId?: string
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
/**
|
|
2716
|
+
* DescribeExporterIntegrations请求参数结构体
|
|
2717
|
+
*/
|
|
2718
|
+
export interface DescribeExporterIntegrationsRequest {
|
|
2719
|
+
/**
|
|
2720
|
+
* 实例 ID
|
|
2721
|
+
*/
|
|
2722
|
+
InstanceId: string
|
|
2723
|
+
|
|
2724
|
+
/**
|
|
2725
|
+
* Kubernetes 集群类型,取值如下:
|
|
2726
|
+
<li> 1= 容器集群(TKE) </li>
|
|
2727
|
+
<li> 2=弹性集群<EKS> </li>
|
|
2728
|
+
<li> 3= Prometheus管理的弹性集群<MEKS> </li>
|
|
2729
|
+
*/
|
|
2730
|
+
KubeType: number
|
|
2731
|
+
|
|
2732
|
+
/**
|
|
2733
|
+
* 集群 ID
|
|
2734
|
+
*/
|
|
2735
|
+
ClusterId: string
|
|
2736
|
+
|
|
2737
|
+
/**
|
|
2738
|
+
* 类型
|
|
2739
|
+
*/
|
|
2740
|
+
Kind?: string
|
|
2741
|
+
|
|
2742
|
+
/**
|
|
2743
|
+
* 名字
|
|
2744
|
+
*/
|
|
2745
|
+
Name?: string
|
|
2337
2746
|
}
|
|
2338
2747
|
|
|
2339
2748
|
/**
|
|
@@ -2369,6 +2778,38 @@ export interface ModifyAlarmPolicyConditionResponse {
|
|
|
2369
2778
|
RequestId?: string
|
|
2370
2779
|
}
|
|
2371
2780
|
|
|
2781
|
+
/**
|
|
2782
|
+
* UpgradeGrafanaDashboard请求参数结构体
|
|
2783
|
+
*/
|
|
2784
|
+
export interface UpgradeGrafanaDashboardRequest {
|
|
2785
|
+
/**
|
|
2786
|
+
* 实例 ID
|
|
2787
|
+
*/
|
|
2788
|
+
InstanceId: string
|
|
2789
|
+
|
|
2790
|
+
/**
|
|
2791
|
+
* Prometheus 集成项 Code,升级对应的 Dashboard,取值如下:
|
|
2792
|
+
<li>spring_mvc</li>
|
|
2793
|
+
<li>mysql</li>
|
|
2794
|
+
<li>go</li>
|
|
2795
|
+
<li>redis</li>
|
|
2796
|
+
<li>jvm</li>
|
|
2797
|
+
<li>pgsql</li>
|
|
2798
|
+
<li>mongo</li>
|
|
2799
|
+
<li>kafka</li>
|
|
2800
|
+
<li>es</li>
|
|
2801
|
+
<li>flink</li>
|
|
2802
|
+
<li>blackbox</li>
|
|
2803
|
+
<li>consule</li>
|
|
2804
|
+
<li>memcached</li>
|
|
2805
|
+
<li>zk</li>
|
|
2806
|
+
<li>tps</li>
|
|
2807
|
+
<li>istio</li>
|
|
2808
|
+
<li>etcd</li>
|
|
2809
|
+
*/
|
|
2810
|
+
IntegrationCodes?: Array<string>
|
|
2811
|
+
}
|
|
2812
|
+
|
|
2372
2813
|
/**
|
|
2373
2814
|
* 告警对象所属实例组
|
|
2374
2815
|
*/
|
|
@@ -2838,6 +3279,31 @@ export interface UserNotice {
|
|
|
2838
3279
|
Weekday?: Array<number>
|
|
2839
3280
|
}
|
|
2840
3281
|
|
|
3282
|
+
/**
|
|
3283
|
+
* UpdatePrometheusScrapeJob请求参数结构体
|
|
3284
|
+
*/
|
|
3285
|
+
export interface UpdatePrometheusScrapeJobRequest {
|
|
3286
|
+
/**
|
|
3287
|
+
* 实例 ID
|
|
3288
|
+
*/
|
|
3289
|
+
InstanceId: string
|
|
3290
|
+
|
|
3291
|
+
/**
|
|
3292
|
+
* Agent ID
|
|
3293
|
+
*/
|
|
3294
|
+
AgentId: string
|
|
3295
|
+
|
|
3296
|
+
/**
|
|
3297
|
+
* 抓取任务 ID
|
|
3298
|
+
*/
|
|
3299
|
+
JobId: string
|
|
3300
|
+
|
|
3301
|
+
/**
|
|
3302
|
+
* 抓取任务配置
|
|
3303
|
+
*/
|
|
3304
|
+
Config: string
|
|
3305
|
+
}
|
|
3306
|
+
|
|
2841
3307
|
/**
|
|
2842
3308
|
* 告警策略过滤条件
|
|
2843
3309
|
*/
|
|
@@ -2871,6 +3337,16 @@ export interface DescribeAlarmNoticeCallbacksResponse {
|
|
|
2871
3337
|
RequestId?: string
|
|
2872
3338
|
}
|
|
2873
3339
|
|
|
3340
|
+
/**
|
|
3341
|
+
* UpdateExporterIntegration返回参数结构体
|
|
3342
|
+
*/
|
|
3343
|
+
export interface UpdateExporterIntegrationResponse {
|
|
3344
|
+
/**
|
|
3345
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3346
|
+
*/
|
|
3347
|
+
RequestId?: string
|
|
3348
|
+
}
|
|
3349
|
+
|
|
2874
3350
|
/**
|
|
2875
3351
|
* ModifyAlarmPolicyCondition请求参数结构体
|
|
2876
3352
|
*/
|
|
@@ -2906,19 +3382,34 @@ export interface ModifyAlarmPolicyConditionRequest {
|
|
|
2906
3382
|
Filter?: AlarmPolicyFilter
|
|
2907
3383
|
|
|
2908
3384
|
/**
|
|
2909
|
-
* 聚合维度列表,指定按哪些维度 key 来做 group by
|
|
3385
|
+
* 聚合维度列表,指定按哪些维度 key 来做 group by
|
|
3386
|
+
*/
|
|
3387
|
+
GroupBy?: Array<string>
|
|
3388
|
+
}
|
|
3389
|
+
|
|
3390
|
+
/**
|
|
3391
|
+
* ModifyAlarmNotice返回参数结构体
|
|
3392
|
+
*/
|
|
3393
|
+
export interface ModifyAlarmNoticeResponse {
|
|
3394
|
+
/**
|
|
3395
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2910
3396
|
*/
|
|
2911
|
-
|
|
3397
|
+
RequestId?: string
|
|
2912
3398
|
}
|
|
2913
3399
|
|
|
2914
3400
|
/**
|
|
2915
|
-
*
|
|
3401
|
+
* BindPrometheusManagedGrafana请求参数结构体
|
|
2916
3402
|
*/
|
|
2917
|
-
export interface
|
|
3403
|
+
export interface BindPrometheusManagedGrafanaRequest {
|
|
2918
3404
|
/**
|
|
2919
|
-
*
|
|
3405
|
+
* Prometheus 实例 ID
|
|
2920
3406
|
*/
|
|
2921
|
-
|
|
3407
|
+
InstanceId: string
|
|
3408
|
+
|
|
3409
|
+
/**
|
|
3410
|
+
* Grafana 可视化服务实例 ID
|
|
3411
|
+
*/
|
|
3412
|
+
GrafanaId: string
|
|
2922
3413
|
}
|
|
2923
3414
|
|
|
2924
3415
|
/**
|
|
@@ -2988,6 +3479,16 @@ export interface DescribeAlarmPolicyResponse {
|
|
|
2988
3479
|
RequestId?: string
|
|
2989
3480
|
}
|
|
2990
3481
|
|
|
3482
|
+
/**
|
|
3483
|
+
* DeleteExporterIntegration返回参数结构体
|
|
3484
|
+
*/
|
|
3485
|
+
export interface DeleteExporterIntegrationResponse {
|
|
3486
|
+
/**
|
|
3487
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3488
|
+
*/
|
|
3489
|
+
RequestId?: string
|
|
3490
|
+
}
|
|
3491
|
+
|
|
2991
3492
|
/**
|
|
2992
3493
|
* UpdateServiceDiscovery返回参数结构体
|
|
2993
3494
|
*/
|
|
@@ -3441,19 +3942,18 @@ export interface ModifyPolicyGroupResponse {
|
|
|
3441
3942
|
}
|
|
3442
3943
|
|
|
3443
3944
|
/**
|
|
3444
|
-
*
|
|
3945
|
+
* DescribeAlarmMetrics返回参数结构体
|
|
3445
3946
|
*/
|
|
3446
|
-
export interface
|
|
3947
|
+
export interface DescribeAlarmMetricsResponse {
|
|
3447
3948
|
/**
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
Keys: Array<number>
|
|
3949
|
+
* 告警指标列表
|
|
3950
|
+
*/
|
|
3951
|
+
Metrics?: Array<Metric>
|
|
3452
3952
|
|
|
3453
3953
|
/**
|
|
3454
|
-
*
|
|
3954
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3455
3955
|
*/
|
|
3456
|
-
|
|
3956
|
+
RequestId?: string
|
|
3457
3957
|
}
|
|
3458
3958
|
|
|
3459
3959
|
/**
|
|
@@ -3514,6 +4014,21 @@ export interface Condition {
|
|
|
3514
4014
|
Unit: string
|
|
3515
4015
|
}
|
|
3516
4016
|
|
|
4017
|
+
/**
|
|
4018
|
+
* UpdateAlertRule返回参数结构体
|
|
4019
|
+
*/
|
|
4020
|
+
export interface UpdateAlertRuleResponse {
|
|
4021
|
+
/**
|
|
4022
|
+
* 规则 ID
|
|
4023
|
+
*/
|
|
4024
|
+
RuleId: string
|
|
4025
|
+
|
|
4026
|
+
/**
|
|
4027
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4028
|
+
*/
|
|
4029
|
+
RequestId?: string
|
|
4030
|
+
}
|
|
4031
|
+
|
|
3517
4032
|
/**
|
|
3518
4033
|
* PutMonitorData请求参数结构体
|
|
3519
4034
|
*/
|
|
@@ -3540,23 +4055,43 @@ export interface PutMonitorDataRequest {
|
|
|
3540
4055
|
}
|
|
3541
4056
|
|
|
3542
4057
|
/**
|
|
3543
|
-
*
|
|
4058
|
+
* DescribePrometheusAgents请求参数结构体
|
|
3544
4059
|
*/
|
|
3545
|
-
export interface
|
|
4060
|
+
export interface DescribePrometheusAgentsRequest {
|
|
3546
4061
|
/**
|
|
3547
|
-
*
|
|
4062
|
+
* 实例 ID
|
|
3548
4063
|
*/
|
|
3549
|
-
|
|
4064
|
+
InstanceId: string
|
|
3550
4065
|
|
|
3551
4066
|
/**
|
|
3552
|
-
*
|
|
4067
|
+
* Agent 名称
|
|
3553
4068
|
*/
|
|
3554
|
-
|
|
4069
|
+
Name?: string
|
|
3555
4070
|
|
|
3556
4071
|
/**
|
|
3557
|
-
*
|
|
4072
|
+
* Agent ID 列表
|
|
3558
4073
|
*/
|
|
3559
|
-
|
|
4074
|
+
AgentIds?: Array<string>
|
|
4075
|
+
|
|
4076
|
+
/**
|
|
4077
|
+
* 偏移量,默认为0
|
|
4078
|
+
*/
|
|
4079
|
+
Offset?: number
|
|
4080
|
+
|
|
4081
|
+
/**
|
|
4082
|
+
* 返回数量,默认为20,最大值为100
|
|
4083
|
+
*/
|
|
4084
|
+
Limit?: number
|
|
4085
|
+
}
|
|
4086
|
+
|
|
4087
|
+
/**
|
|
4088
|
+
* TerminatePrometheusInstances返回参数结构体
|
|
4089
|
+
*/
|
|
4090
|
+
export interface TerminatePrometheusInstancesResponse {
|
|
4091
|
+
/**
|
|
4092
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4093
|
+
*/
|
|
4094
|
+
RequestId?: string
|
|
3560
4095
|
}
|
|
3561
4096
|
|
|
3562
4097
|
/**
|
|
@@ -3614,19 +4149,64 @@ export interface BindingPolicyTagRequest {
|
|
|
3614
4149
|
GroupId: string
|
|
3615
4150
|
|
|
3616
4151
|
/**
|
|
3617
|
-
*
|
|
4152
|
+
* 产品类型
|
|
3618
4153
|
*/
|
|
3619
|
-
|
|
4154
|
+
ServiceType: string
|
|
3620
4155
|
|
|
3621
4156
|
/**
|
|
3622
|
-
*
|
|
4157
|
+
* 策略标签
|
|
3623
4158
|
*/
|
|
3624
|
-
|
|
4159
|
+
Tag?: PolicyTag
|
|
3625
4160
|
|
|
3626
4161
|
/**
|
|
3627
4162
|
* 实例分组ID
|
|
3628
4163
|
*/
|
|
3629
4164
|
InstanceGroupId?: number
|
|
4165
|
+
|
|
4166
|
+
/**
|
|
4167
|
+
* 批量绑定标签
|
|
4168
|
+
*/
|
|
4169
|
+
BatchTag?: Array<PolicyTag>
|
|
4170
|
+
}
|
|
4171
|
+
|
|
4172
|
+
/**
|
|
4173
|
+
* export 集成配置
|
|
4174
|
+
*/
|
|
4175
|
+
export interface IntegrationConfiguration {
|
|
4176
|
+
/**
|
|
4177
|
+
* 名字
|
|
4178
|
+
*/
|
|
4179
|
+
Name: string
|
|
4180
|
+
|
|
4181
|
+
/**
|
|
4182
|
+
* 类型
|
|
4183
|
+
*/
|
|
4184
|
+
Kind: string
|
|
4185
|
+
|
|
4186
|
+
/**
|
|
4187
|
+
* 内容
|
|
4188
|
+
*/
|
|
4189
|
+
Content: string
|
|
4190
|
+
|
|
4191
|
+
/**
|
|
4192
|
+
* 状态
|
|
4193
|
+
*/
|
|
4194
|
+
Status: number
|
|
4195
|
+
|
|
4196
|
+
/**
|
|
4197
|
+
* 实例类型
|
|
4198
|
+
*/
|
|
4199
|
+
Category: string
|
|
4200
|
+
|
|
4201
|
+
/**
|
|
4202
|
+
* 实例描述
|
|
4203
|
+
*/
|
|
4204
|
+
InstanceDesc: string
|
|
4205
|
+
|
|
4206
|
+
/**
|
|
4207
|
+
* dashboard 的 URL
|
|
4208
|
+
*/
|
|
4209
|
+
GrafanaDashboardURL: string
|
|
3630
4210
|
}
|
|
3631
4211
|
|
|
3632
4212
|
/**
|
|
@@ -3691,35 +4271,14 @@ export interface UpdateAlertRuleRequest {
|
|
|
3691
4271
|
}
|
|
3692
4272
|
|
|
3693
4273
|
/**
|
|
3694
|
-
*
|
|
4274
|
+
* 告警策略事件触发条件
|
|
3695
4275
|
*/
|
|
3696
|
-
export interface
|
|
3697
|
-
/**
|
|
3698
|
-
* 绑定的对象实例列表
|
|
3699
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3700
|
-
*/
|
|
3701
|
-
List: Array<DescribeBindingPolicyObjectListInstance>
|
|
3702
|
-
|
|
3703
|
-
/**
|
|
3704
|
-
* 绑定的对象实例总数
|
|
3705
|
-
*/
|
|
3706
|
-
Total: number
|
|
3707
|
-
|
|
3708
|
-
/**
|
|
3709
|
-
* 未屏蔽的对象实例数
|
|
3710
|
-
*/
|
|
3711
|
-
NoShieldedSum: number
|
|
3712
|
-
|
|
4276
|
+
export interface AlarmPolicyEventCondition {
|
|
3713
4277
|
/**
|
|
3714
|
-
*
|
|
4278
|
+
* 告警触发条件列表
|
|
3715
4279
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3716
4280
|
*/
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
/**
|
|
3720
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3721
|
-
*/
|
|
3722
|
-
RequestId?: string
|
|
4281
|
+
Rules: Array<AlarmPolicyRule>
|
|
3723
4282
|
}
|
|
3724
4283
|
|
|
3725
4284
|
/**
|
|
@@ -3815,6 +4374,16 @@ export interface UnBindingPolicyObjectResponse {
|
|
|
3815
4374
|
RequestId?: string
|
|
3816
4375
|
}
|
|
3817
4376
|
|
|
4377
|
+
/**
|
|
4378
|
+
* SendCustomAlarmMsg返回参数结构体
|
|
4379
|
+
*/
|
|
4380
|
+
export interface SendCustomAlarmMsgResponse {
|
|
4381
|
+
/**
|
|
4382
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4383
|
+
*/
|
|
4384
|
+
RequestId?: string
|
|
4385
|
+
}
|
|
4386
|
+
|
|
3818
4387
|
/**
|
|
3819
4388
|
* DescribeBasicAlarmList返回的Alarms里的InstanceGroup
|
|
3820
4389
|
*/
|
|
@@ -3978,6 +4547,21 @@ export interface DeleteAlarmNoticesRequest {
|
|
|
3978
4547
|
NoticeIds: Array<string>
|
|
3979
4548
|
}
|
|
3980
4549
|
|
|
4550
|
+
/**
|
|
4551
|
+
* DescribeExporterIntegrations返回参数结构体
|
|
4552
|
+
*/
|
|
4553
|
+
export interface DescribeExporterIntegrationsResponse {
|
|
4554
|
+
/**
|
|
4555
|
+
* 集成配置列表
|
|
4556
|
+
*/
|
|
4557
|
+
IntegrationSet: Array<IntegrationConfiguration>
|
|
4558
|
+
|
|
4559
|
+
/**
|
|
4560
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4561
|
+
*/
|
|
4562
|
+
RequestId?: string
|
|
4563
|
+
}
|
|
4564
|
+
|
|
3981
4565
|
/**
|
|
3982
4566
|
* DescribePolicyConditionList.ConfigManual.PeriodNum
|
|
3983
4567
|
*/
|
|
@@ -4000,6 +4584,16 @@ export interface DescribePolicyConditionListConfigManualPeriodNum {
|
|
|
4000
4584
|
Need: boolean
|
|
4001
4585
|
}
|
|
4002
4586
|
|
|
4587
|
+
/**
|
|
4588
|
+
* UpgradeGrafanaDashboard返回参数结构体
|
|
4589
|
+
*/
|
|
4590
|
+
export interface UpgradeGrafanaDashboardResponse {
|
|
4591
|
+
/**
|
|
4592
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4593
|
+
*/
|
|
4594
|
+
RequestId?: string
|
|
4595
|
+
}
|
|
4596
|
+
|
|
4003
4597
|
/**
|
|
4004
4598
|
* DescribeAllNamespaces请求参数结构体
|
|
4005
4599
|
*/
|
|
@@ -4112,14 +4706,24 @@ export interface PolicyGroup {
|
|
|
4112
4706
|
}
|
|
4113
4707
|
|
|
4114
4708
|
/**
|
|
4115
|
-
*
|
|
4709
|
+
* UnbindPrometheusManagedGrafana请求参数结构体
|
|
4116
4710
|
*/
|
|
4117
|
-
export interface
|
|
4711
|
+
export interface UnbindPrometheusManagedGrafanaRequest {
|
|
4118
4712
|
/**
|
|
4119
|
-
*
|
|
4713
|
+
* Prometheus 实例 ID
|
|
4120
4714
|
*/
|
|
4121
|
-
|
|
4715
|
+
InstanceId: string
|
|
4716
|
+
|
|
4717
|
+
/**
|
|
4718
|
+
* Grafana 实例 ID
|
|
4719
|
+
*/
|
|
4720
|
+
GrafanaId: string
|
|
4721
|
+
}
|
|
4122
4722
|
|
|
4723
|
+
/**
|
|
4724
|
+
* UpdatePrometheusScrapeJob返回参数结构体
|
|
4725
|
+
*/
|
|
4726
|
+
export interface UpdatePrometheusScrapeJobResponse {
|
|
4123
4727
|
/**
|
|
4124
4728
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4125
4729
|
*/
|
|
@@ -4127,18 +4731,19 @@ export interface UpdateAlertRuleResponse {
|
|
|
4127
4731
|
}
|
|
4128
4732
|
|
|
4129
4733
|
/**
|
|
4130
|
-
*
|
|
4734
|
+
* DescribePolicyConditionList.ConfigManual.CalcType
|
|
4131
4735
|
*/
|
|
4132
|
-
export interface
|
|
4736
|
+
export interface DescribePolicyConditionListConfigManualCalcType {
|
|
4133
4737
|
/**
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4738
|
+
* CalcType 取值
|
|
4739
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4740
|
+
*/
|
|
4741
|
+
Keys: Array<number>
|
|
4137
4742
|
|
|
4138
4743
|
/**
|
|
4139
|
-
*
|
|
4744
|
+
* 是否必须
|
|
4140
4745
|
*/
|
|
4141
|
-
|
|
4746
|
+
Need: boolean
|
|
4142
4747
|
}
|
|
4143
4748
|
|
|
4144
4749
|
/**
|
|
@@ -4301,19 +4906,41 @@ export interface DescribeAlarmPoliciesRequest {
|
|
|
4301
4906
|
}
|
|
4302
4907
|
|
|
4303
4908
|
/**
|
|
4304
|
-
*
|
|
4909
|
+
* DescribeAccidentEventList返回参数结构体
|
|
4305
4910
|
*/
|
|
4306
|
-
export interface
|
|
4911
|
+
export interface DescribeAccidentEventListResponse {
|
|
4307
4912
|
/**
|
|
4308
|
-
|
|
4913
|
+
* 平台事件列表
|
|
4914
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4915
|
+
*/
|
|
4916
|
+
Alarms?: Array<DescribeAccidentEventListAlarms>
|
|
4917
|
+
|
|
4918
|
+
/**
|
|
4919
|
+
* 平台事件的总数
|
|
4920
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4921
|
+
*/
|
|
4922
|
+
Total?: number
|
|
4923
|
+
|
|
4924
|
+
/**
|
|
4925
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4309
4926
|
*/
|
|
4310
|
-
|
|
4927
|
+
RequestId?: string
|
|
4928
|
+
}
|
|
4311
4929
|
|
|
4930
|
+
/**
|
|
4931
|
+
* DescribePrometheusScrapeJobs返回参数结构体
|
|
4932
|
+
*/
|
|
4933
|
+
export interface DescribePrometheusScrapeJobsResponse {
|
|
4312
4934
|
/**
|
|
4313
|
-
*
|
|
4935
|
+
* 任务列表
|
|
4314
4936
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4315
4937
|
*/
|
|
4316
|
-
|
|
4938
|
+
ScrapeJobSet?: Array<PrometheusScrapeJob>
|
|
4939
|
+
|
|
4940
|
+
/**
|
|
4941
|
+
* 任务总量
|
|
4942
|
+
*/
|
|
4943
|
+
TotalCount?: number
|
|
4317
4944
|
|
|
4318
4945
|
/**
|
|
4319
4946
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -4456,23 +5083,13 @@ export interface AlarmNotice {
|
|
|
4456
5083
|
}
|
|
4457
5084
|
|
|
4458
5085
|
/**
|
|
4459
|
-
*
|
|
5086
|
+
* DestroyPrometheusInstance请求参数结构体
|
|
4460
5087
|
*/
|
|
4461
|
-
export interface
|
|
4462
|
-
/**
|
|
4463
|
-
* 允许使用的运算符
|
|
4464
|
-
*/
|
|
4465
|
-
Operator: Array<string>
|
|
4466
|
-
|
|
4467
|
-
/**
|
|
4468
|
-
* 允许配置的数据周期,以秒为单位
|
|
4469
|
-
*/
|
|
4470
|
-
Period: Array<number>
|
|
4471
|
-
|
|
5088
|
+
export interface DestroyPrometheusInstanceRequest {
|
|
4472
5089
|
/**
|
|
4473
|
-
*
|
|
5090
|
+
* 实例 ID,该实例必须先被 terminate
|
|
4474
5091
|
*/
|
|
4475
|
-
|
|
5092
|
+
InstanceId: string
|
|
4476
5093
|
}
|
|
4477
5094
|
|
|
4478
5095
|
/**
|
|
@@ -4551,6 +5168,27 @@ export interface PolicyGroupReceiverInfo {
|
|
|
4551
5168
|
UIDList: Array<number>
|
|
4552
5169
|
}
|
|
4553
5170
|
|
|
5171
|
+
/**
|
|
5172
|
+
* DescribePrometheusAgents返回参数结构体
|
|
5173
|
+
*/
|
|
5174
|
+
export interface DescribePrometheusAgentsResponse {
|
|
5175
|
+
/**
|
|
5176
|
+
* Agent 列表
|
|
5177
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5178
|
+
*/
|
|
5179
|
+
AgentSet: Array<PrometheusAgent>
|
|
5180
|
+
|
|
5181
|
+
/**
|
|
5182
|
+
* Agent 总量
|
|
5183
|
+
*/
|
|
5184
|
+
TotalCount: number
|
|
5185
|
+
|
|
5186
|
+
/**
|
|
5187
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5188
|
+
*/
|
|
5189
|
+
RequestId?: string
|
|
5190
|
+
}
|
|
5191
|
+
|
|
4554
5192
|
/**
|
|
4555
5193
|
* DescribeAlarmEvents请求参数结构体
|
|
4556
5194
|
*/
|
|
@@ -4592,13 +5230,64 @@ export interface MidQueryCondition {
|
|
|
4592
5230
|
}
|
|
4593
5231
|
|
|
4594
5232
|
/**
|
|
4595
|
-
*
|
|
5233
|
+
* DeletePrometheusScrapeJobs请求参数结构体
|
|
4596
5234
|
*/
|
|
4597
|
-
export interface
|
|
5235
|
+
export interface DeletePrometheusScrapeJobsRequest {
|
|
4598
5236
|
/**
|
|
4599
|
-
*
|
|
5237
|
+
* 实例 ID
|
|
4600
5238
|
*/
|
|
4601
|
-
|
|
5239
|
+
InstanceId: string
|
|
5240
|
+
|
|
5241
|
+
/**
|
|
5242
|
+
* Agent ID
|
|
5243
|
+
*/
|
|
5244
|
+
AgentId: string
|
|
5245
|
+
|
|
5246
|
+
/**
|
|
5247
|
+
* 任务 ID 列表
|
|
5248
|
+
*/
|
|
5249
|
+
JobIds: Array<string>
|
|
5250
|
+
}
|
|
5251
|
+
|
|
5252
|
+
/**
|
|
5253
|
+
* 云监控告警通知模板 - 回调通知详情
|
|
5254
|
+
*/
|
|
5255
|
+
export interface URLNotice {
|
|
5256
|
+
/**
|
|
5257
|
+
* 回调 url(限长256字符)
|
|
5258
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5259
|
+
*/
|
|
5260
|
+
URL: string
|
|
5261
|
+
|
|
5262
|
+
/**
|
|
5263
|
+
* 是否通过验证 0=否 1=是
|
|
5264
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5265
|
+
*/
|
|
5266
|
+
IsValid?: number
|
|
5267
|
+
|
|
5268
|
+
/**
|
|
5269
|
+
* 验证码
|
|
5270
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5271
|
+
*/
|
|
5272
|
+
ValidationCode?: string
|
|
5273
|
+
|
|
5274
|
+
/**
|
|
5275
|
+
* 通知开始时间 一天开始的秒数
|
|
5276
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5277
|
+
*/
|
|
5278
|
+
StartTime?: number
|
|
5279
|
+
|
|
5280
|
+
/**
|
|
5281
|
+
* 通知结束时间 一天开始的秒数
|
|
5282
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5283
|
+
*/
|
|
5284
|
+
EndTime?: number
|
|
5285
|
+
|
|
5286
|
+
/**
|
|
5287
|
+
* 通知周期 1-7表示周一到周日
|
|
5288
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5289
|
+
*/
|
|
5290
|
+
Weekday?: Array<number>
|
|
4602
5291
|
}
|
|
4603
5292
|
|
|
4604
5293
|
/**
|
|
@@ -4857,44 +5546,13 @@ export interface DeleteAlarmPolicyResponse {
|
|
|
4857
5546
|
}
|
|
4858
5547
|
|
|
4859
5548
|
/**
|
|
4860
|
-
*
|
|
5549
|
+
* DeletePrometheusScrapeJobs返回参数结构体
|
|
4861
5550
|
*/
|
|
4862
|
-
export interface
|
|
4863
|
-
/**
|
|
4864
|
-
* 回调 url(限长256字符)
|
|
4865
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4866
|
-
*/
|
|
4867
|
-
URL: string
|
|
4868
|
-
|
|
4869
|
-
/**
|
|
4870
|
-
* 是否通过验证 0=否 1=是
|
|
4871
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4872
|
-
*/
|
|
4873
|
-
IsValid?: number
|
|
4874
|
-
|
|
4875
|
-
/**
|
|
4876
|
-
* 验证码
|
|
4877
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4878
|
-
*/
|
|
4879
|
-
ValidationCode?: string
|
|
4880
|
-
|
|
4881
|
-
/**
|
|
4882
|
-
* 通知开始时间 一天开始的秒数
|
|
4883
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4884
|
-
*/
|
|
4885
|
-
StartTime?: number
|
|
4886
|
-
|
|
5551
|
+
export interface DeletePrometheusScrapeJobsResponse {
|
|
4887
5552
|
/**
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
EndTime?: number
|
|
4892
|
-
|
|
4893
|
-
/**
|
|
4894
|
-
* 通知周期 1-7表示周一到周日
|
|
4895
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4896
|
-
*/
|
|
4897
|
-
Weekday?: Array<number>
|
|
5553
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5554
|
+
*/
|
|
5555
|
+
RequestId?: string
|
|
4898
5556
|
}
|
|
4899
5557
|
|
|
4900
5558
|
/**
|
|
@@ -5129,6 +5787,68 @@ export interface DescribeStatisticDataResponse {
|
|
|
5129
5787
|
RequestId?: string
|
|
5130
5788
|
}
|
|
5131
5789
|
|
|
5790
|
+
/**
|
|
5791
|
+
* CreatePrometheusScrapeJob请求参数结构体
|
|
5792
|
+
*/
|
|
5793
|
+
export interface CreatePrometheusScrapeJobRequest {
|
|
5794
|
+
/**
|
|
5795
|
+
* 实例 ID
|
|
5796
|
+
*/
|
|
5797
|
+
InstanceId: string
|
|
5798
|
+
|
|
5799
|
+
/**
|
|
5800
|
+
* Agent ID
|
|
5801
|
+
*/
|
|
5802
|
+
AgentId: string
|
|
5803
|
+
|
|
5804
|
+
/**
|
|
5805
|
+
* 任务内容
|
|
5806
|
+
*/
|
|
5807
|
+
Config?: string
|
|
5808
|
+
}
|
|
5809
|
+
|
|
5810
|
+
/**
|
|
5811
|
+
* UninstallGrafanaDashboard请求参数结构体
|
|
5812
|
+
*/
|
|
5813
|
+
export interface UninstallGrafanaDashboardRequest {
|
|
5814
|
+
/**
|
|
5815
|
+
* 实例 ID
|
|
5816
|
+
*/
|
|
5817
|
+
InstanceId: string
|
|
5818
|
+
|
|
5819
|
+
/**
|
|
5820
|
+
* Prometheus 集成项 Code,删除对应的 Dashboard,Code 如下:
|
|
5821
|
+
<li>spring_mvc</li>
|
|
5822
|
+
<li>mysql</li>
|
|
5823
|
+
<li>go</li>
|
|
5824
|
+
<li>redis</li>
|
|
5825
|
+
<li>jvm</li>
|
|
5826
|
+
<li>pgsql</li>
|
|
5827
|
+
<li>mongo</li>
|
|
5828
|
+
<li>kafka</li>
|
|
5829
|
+
<li>es</li>
|
|
5830
|
+
<li>flink</li>
|
|
5831
|
+
<li>blackbox</li>
|
|
5832
|
+
<li>consule</li>
|
|
5833
|
+
<li>memcached</li>
|
|
5834
|
+
<li>zk</li>
|
|
5835
|
+
<li>tps</li>
|
|
5836
|
+
<li>istio</li>
|
|
5837
|
+
<li>etcd</li>
|
|
5838
|
+
*/
|
|
5839
|
+
IntegrationCodes?: Array<string>
|
|
5840
|
+
}
|
|
5841
|
+
|
|
5842
|
+
/**
|
|
5843
|
+
* CreateExporterIntegration返回参数结构体
|
|
5844
|
+
*/
|
|
5845
|
+
export interface CreateExporterIntegrationResponse {
|
|
5846
|
+
/**
|
|
5847
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5848
|
+
*/
|
|
5849
|
+
RequestId?: string
|
|
5850
|
+
}
|
|
5851
|
+
|
|
5132
5852
|
/**
|
|
5133
5853
|
* DescribePolicyConditionList.EventMetric
|
|
5134
5854
|
*/
|
|
@@ -5475,6 +6195,39 @@ export interface DescribePolicyGroupListGroup {
|
|
|
5475
6195
|
IsUnionRule: number
|
|
5476
6196
|
}
|
|
5477
6197
|
|
|
6198
|
+
/**
|
|
6199
|
+
* UpdateExporterIntegration请求参数结构体
|
|
6200
|
+
*/
|
|
6201
|
+
export interface UpdateExporterIntegrationRequest {
|
|
6202
|
+
/**
|
|
6203
|
+
* 实例 ID
|
|
6204
|
+
*/
|
|
6205
|
+
InstanceId: string
|
|
6206
|
+
|
|
6207
|
+
/**
|
|
6208
|
+
* Kubernetes 集群类型,取值如下:
|
|
6209
|
+
<li> 1= 容器集群(TKE) </li>
|
|
6210
|
+
<li> 2=弹性集群<EKS> </li>
|
|
6211
|
+
<li> 3= Prometheus管理的弹性集群<MEKS> </li>
|
|
6212
|
+
*/
|
|
6213
|
+
KubeType: number
|
|
6214
|
+
|
|
6215
|
+
/**
|
|
6216
|
+
* 集群 ID
|
|
6217
|
+
*/
|
|
6218
|
+
ClusterId: string
|
|
6219
|
+
|
|
6220
|
+
/**
|
|
6221
|
+
* 类型
|
|
6222
|
+
*/
|
|
6223
|
+
Kind: string
|
|
6224
|
+
|
|
6225
|
+
/**
|
|
6226
|
+
* 配置内容
|
|
6227
|
+
*/
|
|
6228
|
+
Content: string
|
|
6229
|
+
}
|
|
6230
|
+
|
|
5478
6231
|
/**
|
|
5479
6232
|
* DescribeAccidentEventList请求参数结构体
|
|
5480
6233
|
*/
|
|
@@ -5540,6 +6293,36 @@ export interface DescribeAccidentEventListRequest {
|
|
|
5540
6293
|
AffectResource?: string
|
|
5541
6294
|
}
|
|
5542
6295
|
|
|
6296
|
+
/**
|
|
6297
|
+
* UnBindingPolicyObject请求参数结构体
|
|
6298
|
+
*/
|
|
6299
|
+
export interface UnBindingPolicyObjectRequest {
|
|
6300
|
+
/**
|
|
6301
|
+
* 固定值,为"monitor"
|
|
6302
|
+
*/
|
|
6303
|
+
Module: string
|
|
6304
|
+
|
|
6305
|
+
/**
|
|
6306
|
+
* 策略组id,如传入 PolicyId 则该字段被忽略可传入任意值如 0
|
|
6307
|
+
*/
|
|
6308
|
+
GroupId: number
|
|
6309
|
+
|
|
6310
|
+
/**
|
|
6311
|
+
* 待删除对象实例的唯一id列表,UniqueId从调用[获取已绑定对象列表接口](https://cloud.tencent.com/document/api/248/40570)的出参的List中得到
|
|
6312
|
+
*/
|
|
6313
|
+
UniqueId: Array<string>
|
|
6314
|
+
|
|
6315
|
+
/**
|
|
6316
|
+
* 实例分组id,如果按实例分组删除的话UniqueId参数是无效的
|
|
6317
|
+
*/
|
|
6318
|
+
InstanceGroupId?: number
|
|
6319
|
+
|
|
6320
|
+
/**
|
|
6321
|
+
* 告警策略ID,使用此字段时 GroupId 会被忽略
|
|
6322
|
+
*/
|
|
6323
|
+
PolicyId?: string
|
|
6324
|
+
}
|
|
6325
|
+
|
|
5543
6326
|
/**
|
|
5544
6327
|
* 指标名称和值的封装
|
|
5545
6328
|
*/
|
|
@@ -5616,23 +6399,6 @@ export interface DescribeBindingPolicyObjectListInstanceGroup {
|
|
|
5616
6399
|
Regions: Array<string>
|
|
5617
6400
|
}
|
|
5618
6401
|
|
|
5619
|
-
/**
|
|
5620
|
-
* DescribeProductEventList返回的Events里的GroupInfo
|
|
5621
|
-
*/
|
|
5622
|
-
export interface DescribeProductEventListEventsGroupInfo {
|
|
5623
|
-
/**
|
|
5624
|
-
* 策略ID
|
|
5625
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5626
|
-
*/
|
|
5627
|
-
GroupId: number
|
|
5628
|
-
|
|
5629
|
-
/**
|
|
5630
|
-
* 策略名
|
|
5631
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5632
|
-
*/
|
|
5633
|
-
GroupName: string
|
|
5634
|
-
}
|
|
5635
|
-
|
|
5636
6402
|
/**
|
|
5637
6403
|
* DeleteAlertRules请求参数结构体
|
|
5638
6404
|
*/
|
|
@@ -5663,6 +6429,21 @@ export interface DescribeAlarmNoticeRequest {
|
|
|
5663
6429
|
NoticeId: string
|
|
5664
6430
|
}
|
|
5665
6431
|
|
|
6432
|
+
/**
|
|
6433
|
+
* CreatePrometheusAgent请求参数结构体
|
|
6434
|
+
*/
|
|
6435
|
+
export interface CreatePrometheusAgentRequest {
|
|
6436
|
+
/**
|
|
6437
|
+
* 实例 ID
|
|
6438
|
+
*/
|
|
6439
|
+
InstanceId: string
|
|
6440
|
+
|
|
6441
|
+
/**
|
|
6442
|
+
* Agent 名称
|
|
6443
|
+
*/
|
|
6444
|
+
Name: string
|
|
6445
|
+
}
|
|
6446
|
+
|
|
5666
6447
|
/**
|
|
5667
6448
|
* DescribeBindingPolicyObjectList接口的Dimension
|
|
5668
6449
|
*/
|
|
@@ -5983,9 +6764,39 @@ export interface DescribePolicyGroupInfoEventCondition {
|
|
|
5983
6764
|
}
|
|
5984
6765
|
|
|
5985
6766
|
/**
|
|
5986
|
-
*
|
|
6767
|
+
* prometheus 报警规则 KV 参数
|
|
5987
6768
|
*/
|
|
5988
|
-
export interface
|
|
6769
|
+
export interface PrometheusRuleKV {
|
|
6770
|
+
/**
|
|
6771
|
+
* 键
|
|
6772
|
+
*/
|
|
6773
|
+
Key: string
|
|
6774
|
+
|
|
6775
|
+
/**
|
|
6776
|
+
* 值
|
|
6777
|
+
*/
|
|
6778
|
+
Value: string
|
|
6779
|
+
}
|
|
6780
|
+
|
|
6781
|
+
/**
|
|
6782
|
+
* ModifyAlarmPolicyStatus返回参数结构体
|
|
6783
|
+
*/
|
|
6784
|
+
export interface ModifyAlarmPolicyStatusResponse {
|
|
6785
|
+
/**
|
|
6786
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6787
|
+
*/
|
|
6788
|
+
RequestId?: string
|
|
6789
|
+
}
|
|
6790
|
+
|
|
6791
|
+
/**
|
|
6792
|
+
* GetPrometheusAgentManagementCommand返回参数结构体
|
|
6793
|
+
*/
|
|
6794
|
+
export interface GetPrometheusAgentManagementCommandResponse {
|
|
6795
|
+
/**
|
|
6796
|
+
* Agent 管理命令
|
|
6797
|
+
*/
|
|
6798
|
+
Command?: ManagementCommand
|
|
6799
|
+
|
|
5989
6800
|
/**
|
|
5990
6801
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5991
6802
|
*/
|
|
@@ -6137,14 +6948,20 @@ export interface DeleteServiceDiscoveryRequest {
|
|
|
6137
6948
|
}
|
|
6138
6949
|
|
|
6139
6950
|
/**
|
|
6140
|
-
*
|
|
6951
|
+
* DescribeProductEventList返回的Events里的GroupInfo
|
|
6141
6952
|
*/
|
|
6142
|
-
export interface
|
|
6953
|
+
export interface DescribeProductEventListEventsGroupInfo {
|
|
6143
6954
|
/**
|
|
6144
|
-
*
|
|
6955
|
+
* 策略ID
|
|
6145
6956
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6146
6957
|
*/
|
|
6147
|
-
|
|
6958
|
+
GroupId: number
|
|
6959
|
+
|
|
6960
|
+
/**
|
|
6961
|
+
* 策略名
|
|
6962
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6963
|
+
*/
|
|
6964
|
+
GroupName: string
|
|
6148
6965
|
}
|
|
6149
6966
|
|
|
6150
6967
|
/**
|
|
@@ -6282,6 +7099,16 @@ export interface SetDefaultAlarmPolicyResponse {
|
|
|
6282
7099
|
RequestId?: string
|
|
6283
7100
|
}
|
|
6284
7101
|
|
|
7102
|
+
/**
|
|
7103
|
+
* UninstallGrafanaDashboard返回参数结构体
|
|
7104
|
+
*/
|
|
7105
|
+
export interface UninstallGrafanaDashboardResponse {
|
|
7106
|
+
/**
|
|
7107
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7108
|
+
*/
|
|
7109
|
+
RequestId?: string
|
|
7110
|
+
}
|
|
7111
|
+
|
|
6285
7112
|
/**
|
|
6286
7113
|
* BindingPolicyObject返回参数结构体
|
|
6287
7114
|
*/
|