tencentcloud-sdk-nodejs 4.0.419 → 4.0.422
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 +766 -0
- package/SERVICE_CHANGELOG.md +998 -57
- package/package.json +1 -1
- package/products.md +28 -28
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +1 -1
- package/src/services/captcha/v20190722/captcha_models.ts +0 -1
- package/src/services/cdn/v20180606/cdn_models.ts +0 -1
- package/src/services/ckafka/v20190819/ckafka_client.ts +1 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +46 -1
- package/src/services/cls/v20201016/cls_models.ts +5 -0
- package/src/services/cvm/v20170312/cvm_models.ts +5 -0
- package/src/services/cwp/v20180228/cwp_client.ts +1 -0
- package/src/services/cwp/v20180228/cwp_models.ts +44 -1
- package/src/services/eb/v20210416/eb_models.ts +5 -0
- package/src/services/ess/v20201111/ess_models.ts +2 -2
- package/src/services/gs/v20191118/gs_client.ts +1 -1
- package/src/services/gs/v20191118/gs_models.ts +5 -0
- package/src/services/iotvideo/v20211125/iotvideo_models.ts +6 -0
- package/src/services/irp/v20220805/irp_client.ts +3 -3
- package/src/services/live/v20180801/live_client.ts +1 -1
- package/src/services/live/v20180801/live_models.ts +3 -3
- package/src/services/monitor/v20180724/monitor_client.ts +917 -500
- package/src/services/monitor/v20180724/monitor_models.ts +1820 -493
- package/src/services/partners/v20180321/partners_models.ts +5 -4
- package/src/services/pts/v20210728/pts_client.ts +1 -0
- package/src/services/pts/v20210728/pts_models.ts +20 -0
- package/src/services/taf/v20200210/taf_client.ts +5 -21
- package/src/services/taf/v20200210/taf_models.ts +42 -170
- package/src/services/tcaplusdb/v20190823/tcaplusdb_client.ts +2 -0
- package/src/services/tcaplusdb/v20190823/tcaplusdb_models.ts +81 -0
- package/src/services/tcb/v20180608/tcb_models.ts +12 -0
- package/src/services/tcbr/v20220217/tcbr_models.ts +5 -0
- package/src/services/tcss/v20201101/tcss_models.ts +24 -2
- package/src/services/teo/v20220106/teo_models.ts +284 -109
- package/src/services/tiia/v20190529/tiia_client.ts +4 -1
- package/src/services/tione/v20211111/tione_models.ts +2 -2
- package/src/services/tke/v20180525/tke_client.ts +3 -2
- package/src/services/tke/v20180525/tke_models.ts +46 -1
- package/src/services/vod/v20180717/vod_client.ts +15 -2
- package/src/services/vod/v20180717/vod_models.ts +124 -0
- package/src/services/yinsuda/v20220527/yinsuda_client.ts +46 -31
- package/src/services/yinsuda/v20220527/yinsuda_models.ts +236 -150
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -1
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +0 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +0 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +39 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +4 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +5 -0
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +37 -1
- package/tencentcloud/services/eb/v20210416/eb_models.d.ts +4 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +2 -2
- package/tencentcloud/services/gs/v20191118/gs_client.d.ts +1 -1
- package/tencentcloud/services/gs/v20191118/gs_client.js +1 -1
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +4 -0
- package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +5 -0
- package/tencentcloud/services/irp/v20220805/irp_client.d.ts +3 -3
- package/tencentcloud/services/irp/v20220805/irp_client.js +3 -3
- 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 +3 -3
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +305 -169
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +449 -245
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +1520 -381
- package/tencentcloud/services/partners/v20180321/partners_models.d.ts +3 -2
- package/tencentcloud/services/pts/v20210728/pts_models.d.ts +17 -0
- package/tencentcloud/services/taf/v20200210/taf_client.d.ts +1 -5
- package/tencentcloud/services/taf/v20200210/taf_client.js +0 -6
- package/tencentcloud/services/taf/v20200210/taf_models.d.ts +37 -147
- package/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_models.d.ts +67 -0
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +10 -0
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +4 -0
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +21 -1
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +241 -92
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +4 -1
- package/tencentcloud/services/tiia/v20190529/tiia_client.js +4 -1
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +2 -2
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +2 -2
- package/tencentcloud/services/tke/v20180525/tke_client.js +1 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +39 -1
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +7 -3
- package/tencentcloud/services/vod/v20180717/vod_client.js +8 -2
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +104 -0
- package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.d.ts +13 -9
- package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.js +18 -12
- package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +212 -138
- package/test/monitor.v20180724.test.js +492 -152
- package/test/taf.v20200210.test.js +0 -10
- package/test/vod.v20180717.test.js +10 -0
- package/test/yinsuda.v20220527.test.js +18 -8
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UpdateAlertRuleState请求参数结构体
|
|
3
|
+
*/
|
|
4
|
+
export interface UpdateAlertRuleStateRequest {
|
|
5
|
+
/**
|
|
6
|
+
* 规则 ID 列表
|
|
7
|
+
*/
|
|
8
|
+
RuleIds: Array<string>;
|
|
9
|
+
/**
|
|
10
|
+
* Prometheus 实例 ID
|
|
11
|
+
*/
|
|
12
|
+
InstanceId: string;
|
|
13
|
+
/**
|
|
14
|
+
* 规则状态码,取值如下:
|
|
15
|
+
<li>2=RuleEnabled</li>
|
|
16
|
+
<li>3=RuleDisabled</li>
|
|
17
|
+
默认状态码为 2 启用。
|
|
18
|
+
*/
|
|
19
|
+
RuleState: number;
|
|
20
|
+
}
|
|
1
21
|
/**
|
|
2
22
|
* 策略列表详情标签返回体
|
|
3
23
|
*/
|
|
@@ -74,9 +94,22 @@ export interface DescribePolicyConditionListConfigManual {
|
|
|
74
94
|
StatType: DescribePolicyConditionListConfigManualStatType;
|
|
75
95
|
}
|
|
76
96
|
/**
|
|
77
|
-
*
|
|
97
|
+
* InstallPlugins请求参数结构体
|
|
78
98
|
*/
|
|
79
|
-
export interface
|
|
99
|
+
export interface InstallPluginsRequest {
|
|
100
|
+
/**
|
|
101
|
+
* 插件信息
|
|
102
|
+
*/
|
|
103
|
+
Plugins: Array<GrafanaPlugin>;
|
|
104
|
+
/**
|
|
105
|
+
* 实例 ID
|
|
106
|
+
*/
|
|
107
|
+
InstanceId: string;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* UpdateGrafanaEnvironments返回参数结构体
|
|
111
|
+
*/
|
|
112
|
+
export interface UpdateGrafanaEnvironmentsResponse {
|
|
80
113
|
/**
|
|
81
114
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
82
115
|
*/
|
|
@@ -218,6 +251,44 @@ export interface DescribeServiceDiscoveryResponse {
|
|
|
218
251
|
*/
|
|
219
252
|
RequestId?: string;
|
|
220
253
|
}
|
|
254
|
+
/**
|
|
255
|
+
* ModifyAlarmNotice返回参数结构体
|
|
256
|
+
*/
|
|
257
|
+
export interface ModifyAlarmNoticeResponse {
|
|
258
|
+
/**
|
|
259
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
260
|
+
*/
|
|
261
|
+
RequestId?: string;
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* UpdateServiceDiscovery请求参数结构体
|
|
265
|
+
*/
|
|
266
|
+
export interface UpdateServiceDiscoveryRequest {
|
|
267
|
+
/**
|
|
268
|
+
* Prometheus 实例 ID
|
|
269
|
+
*/
|
|
270
|
+
InstanceId: string;
|
|
271
|
+
/**
|
|
272
|
+
* <li>类型是 TKE,为对应的腾讯云容器服务集群 ID</li>
|
|
273
|
+
*/
|
|
274
|
+
KubeClusterId: string;
|
|
275
|
+
/**
|
|
276
|
+
* 用户 Kubernetes 集群类型:
|
|
277
|
+
<li> 1 = 容器服务集群(TKE) </li>
|
|
278
|
+
*/
|
|
279
|
+
KubeType: number;
|
|
280
|
+
/**
|
|
281
|
+
* 服务发现类型,取值如下:
|
|
282
|
+
<li> 1 = ServiceMonitor</li>
|
|
283
|
+
<li> 2 = PodMonitor</li>
|
|
284
|
+
<li> 3 = JobMonitor</li>
|
|
285
|
+
*/
|
|
286
|
+
Type: number;
|
|
287
|
+
/**
|
|
288
|
+
* 服务发现配置信息
|
|
289
|
+
*/
|
|
290
|
+
Yaml: string;
|
|
291
|
+
}
|
|
221
292
|
/**
|
|
222
293
|
* DescribeRecordingRules返回参数结构体
|
|
223
294
|
*/
|
|
@@ -236,6 +307,37 @@ export interface DescribeRecordingRulesResponse {
|
|
|
236
307
|
*/
|
|
237
308
|
RequestId?: string;
|
|
238
309
|
}
|
|
310
|
+
/**
|
|
311
|
+
* 指标配置
|
|
312
|
+
*/
|
|
313
|
+
export interface MetricConfig {
|
|
314
|
+
/**
|
|
315
|
+
* 允许使用的运算符
|
|
316
|
+
*/
|
|
317
|
+
Operator: Array<string>;
|
|
318
|
+
/**
|
|
319
|
+
* 允许配置的数据周期,以秒为单位
|
|
320
|
+
*/
|
|
321
|
+
Period: Array<number>;
|
|
322
|
+
/**
|
|
323
|
+
* 允许配置的持续周期个数
|
|
324
|
+
*/
|
|
325
|
+
ContinuePeriod: Array<number>;
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Grafana 插件
|
|
329
|
+
*/
|
|
330
|
+
export interface GrafanaPlugin {
|
|
331
|
+
/**
|
|
332
|
+
* Grafana 插件 ID
|
|
333
|
+
*/
|
|
334
|
+
PluginId: string;
|
|
335
|
+
/**
|
|
336
|
+
* Grafana 插件版本
|
|
337
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
338
|
+
*/
|
|
339
|
+
Version: string;
|
|
340
|
+
}
|
|
239
341
|
/**
|
|
240
342
|
* Prometheus 托管服务标签
|
|
241
343
|
*/
|
|
@@ -342,16 +444,63 @@ export interface DescribePolicyGroupListResponse {
|
|
|
342
444
|
* 策略组列表
|
|
343
445
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
344
446
|
*/
|
|
345
|
-
GroupList
|
|
447
|
+
GroupList: Array<DescribePolicyGroupListGroup>;
|
|
346
448
|
/**
|
|
347
449
|
* 策略组总数
|
|
348
450
|
*/
|
|
349
|
-
Total
|
|
451
|
+
Total: number;
|
|
452
|
+
/**
|
|
453
|
+
* 备注信息
|
|
454
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
455
|
+
*/
|
|
456
|
+
Warning: string;
|
|
350
457
|
/**
|
|
351
458
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
352
459
|
*/
|
|
353
460
|
RequestId?: string;
|
|
354
461
|
}
|
|
462
|
+
/**
|
|
463
|
+
* prometheus agent
|
|
464
|
+
*/
|
|
465
|
+
export interface PrometheusAgent {
|
|
466
|
+
/**
|
|
467
|
+
* Agent 名
|
|
468
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
469
|
+
*/
|
|
470
|
+
Name: string;
|
|
471
|
+
/**
|
|
472
|
+
* Agent ID
|
|
473
|
+
*/
|
|
474
|
+
AgentId: string;
|
|
475
|
+
/**
|
|
476
|
+
* 实例 ID
|
|
477
|
+
*/
|
|
478
|
+
InstanceId: string;
|
|
479
|
+
/**
|
|
480
|
+
* Agent IP
|
|
481
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
482
|
+
*/
|
|
483
|
+
Ipv4: string;
|
|
484
|
+
/**
|
|
485
|
+
* 心跳时间
|
|
486
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
487
|
+
*/
|
|
488
|
+
HeartbeatTime: string;
|
|
489
|
+
/**
|
|
490
|
+
* 最近一次错误
|
|
491
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
492
|
+
*/
|
|
493
|
+
LastError: string;
|
|
494
|
+
/**
|
|
495
|
+
* Agent 版本
|
|
496
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
497
|
+
*/
|
|
498
|
+
AgentVersion: string;
|
|
499
|
+
/**
|
|
500
|
+
* Agent 状态
|
|
501
|
+
*/
|
|
502
|
+
Status: number;
|
|
503
|
+
}
|
|
355
504
|
/**
|
|
356
505
|
* BindingPolicyObject请求参数结构体
|
|
357
506
|
*/
|
|
@@ -378,13 +527,26 @@ export interface BindingPolicyObjectRequest {
|
|
|
378
527
|
Dimensions?: Array<BindingPolicyObjectDimension>;
|
|
379
528
|
}
|
|
380
529
|
/**
|
|
381
|
-
*
|
|
530
|
+
* CreateServiceDiscovery返回参数结构体
|
|
382
531
|
*/
|
|
383
|
-
export interface
|
|
532
|
+
export interface CreateServiceDiscoveryResponse {
|
|
384
533
|
/**
|
|
385
|
-
*
|
|
534
|
+
* 创建成功之后,返回对应服务发现信息
|
|
386
535
|
*/
|
|
387
|
-
|
|
536
|
+
ServiceDiscovery?: ServiceDiscoveryItem;
|
|
537
|
+
/**
|
|
538
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
539
|
+
*/
|
|
540
|
+
RequestId?: string;
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
543
|
+
* UpdateGrafanaWhiteList返回参数结构体
|
|
544
|
+
*/
|
|
545
|
+
export interface UpdateGrafanaWhiteListResponse {
|
|
546
|
+
/**
|
|
547
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
548
|
+
*/
|
|
549
|
+
RequestId?: string;
|
|
388
550
|
}
|
|
389
551
|
/**
|
|
390
552
|
* DescribeBindingPolicyObjectList返回参数结构体
|
|
@@ -436,9 +598,9 @@ export interface DescribePolicyGroupInfoRequest {
|
|
|
436
598
|
GroupId: number;
|
|
437
599
|
}
|
|
438
600
|
/**
|
|
439
|
-
*
|
|
601
|
+
* EnableSSOCamCheck返回参数结构体
|
|
440
602
|
*/
|
|
441
|
-
export interface
|
|
603
|
+
export interface EnableSSOCamCheckResponse {
|
|
442
604
|
/**
|
|
443
605
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
444
606
|
*/
|
|
@@ -509,6 +671,19 @@ export interface DescribePolicyGroupInfoCallback {
|
|
|
509
671
|
*/
|
|
510
672
|
VerifyCode: string;
|
|
511
673
|
}
|
|
674
|
+
/**
|
|
675
|
+
* ModifyGrafanaInstance请求参数结构体
|
|
676
|
+
*/
|
|
677
|
+
export interface ModifyGrafanaInstanceRequest {
|
|
678
|
+
/**
|
|
679
|
+
* 实例 ID
|
|
680
|
+
*/
|
|
681
|
+
InstanceId: string;
|
|
682
|
+
/**
|
|
683
|
+
* 实例名称
|
|
684
|
+
*/
|
|
685
|
+
InstanceName: string;
|
|
686
|
+
}
|
|
512
687
|
/**
|
|
513
688
|
* 告警历史的指标信息
|
|
514
689
|
*/
|
|
@@ -595,6 +770,15 @@ export interface CreateAlarmPolicyRequest {
|
|
|
595
770
|
*/
|
|
596
771
|
GroupBy?: Array<string>;
|
|
597
772
|
}
|
|
773
|
+
/**
|
|
774
|
+
* EnableGrafanaSSO返回参数结构体
|
|
775
|
+
*/
|
|
776
|
+
export interface EnableGrafanaSSOResponse {
|
|
777
|
+
/**
|
|
778
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
779
|
+
*/
|
|
780
|
+
RequestId?: string;
|
|
781
|
+
}
|
|
598
782
|
/**
|
|
599
783
|
* CreateExporterIntegration请求参数结构体
|
|
600
784
|
*/
|
|
@@ -733,46 +917,17 @@ export interface DescribePolicyGroupInfoResponse {
|
|
|
733
917
|
RequestId?: string;
|
|
734
918
|
}
|
|
735
919
|
/**
|
|
736
|
-
*
|
|
920
|
+
* 维度支持的操作符信息
|
|
737
921
|
*/
|
|
738
|
-
export interface
|
|
739
|
-
/**
|
|
740
|
-
* Agent 名
|
|
741
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
742
|
-
*/
|
|
743
|
-
Name: string;
|
|
744
|
-
/**
|
|
745
|
-
* Agent ID
|
|
746
|
-
*/
|
|
747
|
-
AgentId: string;
|
|
922
|
+
export interface Operator {
|
|
748
923
|
/**
|
|
749
|
-
*
|
|
750
|
-
*/
|
|
751
|
-
InstanceId: string;
|
|
752
|
-
/**
|
|
753
|
-
* Agent IP
|
|
754
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
755
|
-
*/
|
|
756
|
-
Ipv4: string;
|
|
757
|
-
/**
|
|
758
|
-
* 心跳时间
|
|
759
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
760
|
-
*/
|
|
761
|
-
HeartbeatTime: string;
|
|
762
|
-
/**
|
|
763
|
-
* 最近一次错误
|
|
764
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
924
|
+
* 运算符标识
|
|
765
925
|
*/
|
|
766
|
-
|
|
767
|
-
/**
|
|
768
|
-
* Agent 版本
|
|
769
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
770
|
-
*/
|
|
771
|
-
AgentVersion: string;
|
|
926
|
+
Id: string;
|
|
772
927
|
/**
|
|
773
|
-
*
|
|
928
|
+
* 运算符展示名
|
|
774
929
|
*/
|
|
775
|
-
|
|
930
|
+
Name: string;
|
|
776
931
|
}
|
|
777
932
|
/**
|
|
778
933
|
* ModifyAlarmPolicyNotice请求参数结构体
|
|
@@ -808,6 +963,15 @@ export interface DeleteAlarmPolicyRequest {
|
|
|
808
963
|
*/
|
|
809
964
|
PolicyIds: Array<string>;
|
|
810
965
|
}
|
|
966
|
+
/**
|
|
967
|
+
* UpdatePrometheusAgentStatus返回参数结构体
|
|
968
|
+
*/
|
|
969
|
+
export interface UpdatePrometheusAgentStatusResponse {
|
|
970
|
+
/**
|
|
971
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
972
|
+
*/
|
|
973
|
+
RequestId?: string;
|
|
974
|
+
}
|
|
811
975
|
/**
|
|
812
976
|
* 策略标签
|
|
813
977
|
*/
|
|
@@ -1007,27 +1171,58 @@ export interface DescribeBaseMetricsResponse {
|
|
|
1007
1171
|
RequestId?: string;
|
|
1008
1172
|
}
|
|
1009
1173
|
/**
|
|
1010
|
-
*
|
|
1174
|
+
* 策略类型的维度信息
|
|
1011
1175
|
*/
|
|
1012
|
-
export interface
|
|
1176
|
+
export interface DimensionNew {
|
|
1013
1177
|
/**
|
|
1014
|
-
*
|
|
1015
|
-
|
|
1178
|
+
* 维度 key 标示,后台英文名
|
|
1179
|
+
*/
|
|
1180
|
+
Key: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* 维度 key 名称,中英文前台展示名
|
|
1016
1183
|
*/
|
|
1017
1184
|
Name: string;
|
|
1018
1185
|
/**
|
|
1019
|
-
*
|
|
1186
|
+
* 是否必选
|
|
1020
1187
|
*/
|
|
1021
|
-
|
|
1188
|
+
IsRequired: boolean;
|
|
1022
1189
|
/**
|
|
1023
|
-
*
|
|
1190
|
+
* 支持的操作符列表
|
|
1024
1191
|
*/
|
|
1025
|
-
|
|
1192
|
+
Operators: Array<Operator>;
|
|
1026
1193
|
/**
|
|
1027
|
-
*
|
|
1194
|
+
* 是否支持多选
|
|
1195
|
+
*/
|
|
1196
|
+
IsMultiple: boolean;
|
|
1197
|
+
/**
|
|
1198
|
+
* 创建后是否可以修改
|
|
1199
|
+
*/
|
|
1200
|
+
IsMutable: boolean;
|
|
1201
|
+
/**
|
|
1202
|
+
* 是否展示给用户
|
|
1203
|
+
*/
|
|
1204
|
+
IsVisible: boolean;
|
|
1205
|
+
/**
|
|
1206
|
+
* 能否用来过滤策略列表
|
|
1207
|
+
*/
|
|
1208
|
+
CanFilterPolicy: boolean;
|
|
1209
|
+
/**
|
|
1210
|
+
* 能否用来过滤告警历史
|
|
1211
|
+
*/
|
|
1212
|
+
CanFilterHistory: boolean;
|
|
1213
|
+
/**
|
|
1214
|
+
* 能否作为聚合维度
|
|
1215
|
+
*/
|
|
1216
|
+
CanGroupBy: boolean;
|
|
1217
|
+
/**
|
|
1218
|
+
* 是否必须作为聚合维度
|
|
1219
|
+
*/
|
|
1220
|
+
MustGroupBy: boolean;
|
|
1221
|
+
/**
|
|
1222
|
+
* 前端翻译要替换的 key
|
|
1028
1223
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1029
1224
|
*/
|
|
1030
|
-
|
|
1225
|
+
ShowValueReplace: string;
|
|
1031
1226
|
}
|
|
1032
1227
|
/**
|
|
1033
1228
|
* CreatePrometheusMultiTenantInstancePostPayMode请求参数结构体
|
|
@@ -1104,9 +1299,39 @@ export interface DeleteAlertRulesResponse {
|
|
|
1104
1299
|
RequestId?: string;
|
|
1105
1300
|
}
|
|
1106
1301
|
/**
|
|
1107
|
-
*
|
|
1302
|
+
* 策略类型信息
|
|
1108
1303
|
*/
|
|
1109
|
-
export interface
|
|
1304
|
+
export interface CommonNamespaceNew {
|
|
1305
|
+
/**
|
|
1306
|
+
* 命名空间标示
|
|
1307
|
+
*/
|
|
1308
|
+
Id: string;
|
|
1309
|
+
/**
|
|
1310
|
+
* 命名空间名称
|
|
1311
|
+
*/
|
|
1312
|
+
Name: string;
|
|
1313
|
+
/**
|
|
1314
|
+
* 监控类型
|
|
1315
|
+
*/
|
|
1316
|
+
MonitorType: string;
|
|
1317
|
+
/**
|
|
1318
|
+
* 维度信息
|
|
1319
|
+
*/
|
|
1320
|
+
Dimensions: Array<DimensionNew>;
|
|
1321
|
+
}
|
|
1322
|
+
/**
|
|
1323
|
+
* DeleteGrafanaNotificationChannel返回参数结构体
|
|
1324
|
+
*/
|
|
1325
|
+
export interface DeleteGrafanaNotificationChannelResponse {
|
|
1326
|
+
/**
|
|
1327
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1328
|
+
*/
|
|
1329
|
+
RequestId?: string;
|
|
1330
|
+
}
|
|
1331
|
+
/**
|
|
1332
|
+
* GetMonitorData请求参数结构体
|
|
1333
|
+
*/
|
|
1334
|
+
export interface GetMonitorDataRequest {
|
|
1110
1335
|
/**
|
|
1111
1336
|
* 命名空间,如QCE/CVM。各个云产品的详细命名空间说明请参阅各个产品[监控指标](https://cloud.tencent.com/document/product/248/6140)文档
|
|
1112
1337
|
*/
|
|
@@ -1132,6 +1357,15 @@ export interface GetMonitorDataRequest {
|
|
|
1132
1357
|
*/
|
|
1133
1358
|
EndTime?: string;
|
|
1134
1359
|
}
|
|
1360
|
+
/**
|
|
1361
|
+
* CreateSSOAccount返回参数结构体
|
|
1362
|
+
*/
|
|
1363
|
+
export interface CreateSSOAccountResponse {
|
|
1364
|
+
/**
|
|
1365
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1366
|
+
*/
|
|
1367
|
+
RequestId?: string;
|
|
1368
|
+
}
|
|
1135
1369
|
/**
|
|
1136
1370
|
* 监控数据点
|
|
1137
1371
|
*/
|
|
@@ -1307,21 +1541,50 @@ export interface DescribePolicyConditionListConfigManualPeriod {
|
|
|
1307
1541
|
Need: boolean;
|
|
1308
1542
|
}
|
|
1309
1543
|
/**
|
|
1310
|
-
*
|
|
1544
|
+
* DescribeGrafanaEnvironments返回参数结构体
|
|
1311
1545
|
*/
|
|
1312
|
-
export interface
|
|
1546
|
+
export interface DescribeGrafanaEnvironmentsResponse {
|
|
1313
1547
|
/**
|
|
1314
|
-
*
|
|
1548
|
+
* 环境变量字符串
|
|
1315
1549
|
*/
|
|
1316
|
-
|
|
1550
|
+
Envs: string;
|
|
1317
1551
|
/**
|
|
1318
|
-
*
|
|
1552
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1319
1553
|
*/
|
|
1320
|
-
|
|
1554
|
+
RequestId?: string;
|
|
1555
|
+
}
|
|
1556
|
+
/**
|
|
1557
|
+
* export 集成配置
|
|
1558
|
+
*/
|
|
1559
|
+
export interface IntegrationConfiguration {
|
|
1321
1560
|
/**
|
|
1322
|
-
*
|
|
1561
|
+
* 名字
|
|
1323
1562
|
*/
|
|
1324
|
-
|
|
1563
|
+
Name: string;
|
|
1564
|
+
/**
|
|
1565
|
+
* 类型
|
|
1566
|
+
*/
|
|
1567
|
+
Kind: string;
|
|
1568
|
+
/**
|
|
1569
|
+
* 内容
|
|
1570
|
+
*/
|
|
1571
|
+
Content: string;
|
|
1572
|
+
/**
|
|
1573
|
+
* 状态
|
|
1574
|
+
*/
|
|
1575
|
+
Status: number;
|
|
1576
|
+
/**
|
|
1577
|
+
* 实例类型
|
|
1578
|
+
*/
|
|
1579
|
+
Category: string;
|
|
1580
|
+
/**
|
|
1581
|
+
* 实例描述
|
|
1582
|
+
*/
|
|
1583
|
+
InstanceDesc: string;
|
|
1584
|
+
/**
|
|
1585
|
+
* dashboard 的 URL
|
|
1586
|
+
*/
|
|
1587
|
+
GrafanaDashboardURL: string;
|
|
1325
1588
|
}
|
|
1326
1589
|
/**
|
|
1327
1590
|
* DescribeServiceDiscovery请求参数结构体
|
|
@@ -1387,6 +1650,41 @@ export interface DescribePolicyConditionListRequest {
|
|
|
1387
1650
|
*/
|
|
1388
1651
|
Module: string;
|
|
1389
1652
|
}
|
|
1653
|
+
/**
|
|
1654
|
+
* 云监控告警通知模板 - 回调通知详情
|
|
1655
|
+
*/
|
|
1656
|
+
export interface URLNotice {
|
|
1657
|
+
/**
|
|
1658
|
+
* 回调 url(限长256字符)
|
|
1659
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1660
|
+
*/
|
|
1661
|
+
URL: string;
|
|
1662
|
+
/**
|
|
1663
|
+
* 是否通过验证 0=否 1=是
|
|
1664
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1665
|
+
*/
|
|
1666
|
+
IsValid?: number;
|
|
1667
|
+
/**
|
|
1668
|
+
* 验证码
|
|
1669
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1670
|
+
*/
|
|
1671
|
+
ValidationCode?: string;
|
|
1672
|
+
/**
|
|
1673
|
+
* 通知开始时间 一天开始的秒数
|
|
1674
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1675
|
+
*/
|
|
1676
|
+
StartTime?: number;
|
|
1677
|
+
/**
|
|
1678
|
+
* 通知结束时间 一天开始的秒数
|
|
1679
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1680
|
+
*/
|
|
1681
|
+
EndTime?: number;
|
|
1682
|
+
/**
|
|
1683
|
+
* 通知周期 1-7表示周一到周日
|
|
1684
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1685
|
+
*/
|
|
1686
|
+
Weekday?: Array<number>;
|
|
1687
|
+
}
|
|
1390
1688
|
/**
|
|
1391
1689
|
* DeletePolicyGroup返回参数结构体
|
|
1392
1690
|
*/
|
|
@@ -1414,6 +1712,15 @@ export interface DescribeConditionsTemplateListResponse {
|
|
|
1414
1712
|
*/
|
|
1415
1713
|
RequestId?: string;
|
|
1416
1714
|
}
|
|
1715
|
+
/**
|
|
1716
|
+
* ResumeGrafanaInstance请求参数结构体
|
|
1717
|
+
*/
|
|
1718
|
+
export interface ResumeGrafanaInstanceRequest {
|
|
1719
|
+
/**
|
|
1720
|
+
* 实例 ID
|
|
1721
|
+
*/
|
|
1722
|
+
InstanceId: string;
|
|
1723
|
+
}
|
|
1417
1724
|
/**
|
|
1418
1725
|
* DescribeMonitorTypes请求参数结构体
|
|
1419
1726
|
*/
|
|
@@ -1424,17 +1731,35 @@ export interface DescribeMonitorTypesRequest {
|
|
|
1424
1731
|
Module: string;
|
|
1425
1732
|
}
|
|
1426
1733
|
/**
|
|
1427
|
-
*
|
|
1734
|
+
* DescribeGrafanaConfig返回参数结构体
|
|
1428
1735
|
*/
|
|
1429
|
-
export interface
|
|
1736
|
+
export interface DescribeGrafanaConfigResponse {
|
|
1430
1737
|
/**
|
|
1431
|
-
*
|
|
1738
|
+
* JSON 编码后的字符串
|
|
1432
1739
|
*/
|
|
1433
|
-
|
|
1740
|
+
Config: string;
|
|
1434
1741
|
/**
|
|
1435
|
-
*
|
|
1742
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1436
1743
|
*/
|
|
1437
|
-
|
|
1744
|
+
RequestId?: string;
|
|
1745
|
+
}
|
|
1746
|
+
/**
|
|
1747
|
+
* DeleteGrafanaInstance请求参数结构体
|
|
1748
|
+
*/
|
|
1749
|
+
export interface DeleteGrafanaInstanceRequest {
|
|
1750
|
+
/**
|
|
1751
|
+
* 实例名数组
|
|
1752
|
+
*/
|
|
1753
|
+
InstanceIDs: Array<string>;
|
|
1754
|
+
}
|
|
1755
|
+
/**
|
|
1756
|
+
* DescribeGrafanaIntegrations返回参数结构体
|
|
1757
|
+
*/
|
|
1758
|
+
export interface DescribeGrafanaIntegrationsResponse {
|
|
1759
|
+
/**
|
|
1760
|
+
* 集成数组
|
|
1761
|
+
*/
|
|
1762
|
+
IntegrationSet: Array<GrafanaIntegrationConfig>;
|
|
1438
1763
|
/**
|
|
1439
1764
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1440
1765
|
*/
|
|
@@ -1457,6 +1782,27 @@ export interface ModifyAlarmPolicyTasksRequest {
|
|
|
1457
1782
|
*/
|
|
1458
1783
|
TriggerTasks?: Array<AlarmPolicyTriggerTask>;
|
|
1459
1784
|
}
|
|
1785
|
+
/**
|
|
1786
|
+
* Grafana 集成实例配置
|
|
1787
|
+
*/
|
|
1788
|
+
export interface GrafanaIntegrationConfig {
|
|
1789
|
+
/**
|
|
1790
|
+
* 集成 ID
|
|
1791
|
+
*/
|
|
1792
|
+
IntegrationId: string;
|
|
1793
|
+
/**
|
|
1794
|
+
* 集成类型
|
|
1795
|
+
*/
|
|
1796
|
+
Kind: string;
|
|
1797
|
+
/**
|
|
1798
|
+
* 集成内容
|
|
1799
|
+
*/
|
|
1800
|
+
Content: string;
|
|
1801
|
+
/**
|
|
1802
|
+
* 集成描述
|
|
1803
|
+
*/
|
|
1804
|
+
Description: string;
|
|
1805
|
+
}
|
|
1460
1806
|
/**
|
|
1461
1807
|
* 维度信息
|
|
1462
1808
|
*/
|
|
@@ -1466,6 +1812,19 @@ export interface DimensionsDesc {
|
|
|
1466
1812
|
*/
|
|
1467
1813
|
Dimensions: Array<string>;
|
|
1468
1814
|
}
|
|
1815
|
+
/**
|
|
1816
|
+
* DeleteGrafanaIntegration请求参数结构体
|
|
1817
|
+
*/
|
|
1818
|
+
export interface DeleteGrafanaIntegrationRequest {
|
|
1819
|
+
/**
|
|
1820
|
+
* 实例 ID
|
|
1821
|
+
*/
|
|
1822
|
+
InstanceId: string;
|
|
1823
|
+
/**
|
|
1824
|
+
* 集成 ID
|
|
1825
|
+
*/
|
|
1826
|
+
IntegrationId: string;
|
|
1827
|
+
}
|
|
1469
1828
|
/**
|
|
1470
1829
|
* ModifyAlarmPolicyStatus请求参数结构体
|
|
1471
1830
|
*/
|
|
@@ -1497,9 +1856,55 @@ export interface CreatePrometheusMultiTenantInstancePostPayModeResponse {
|
|
|
1497
1856
|
RequestId?: string;
|
|
1498
1857
|
}
|
|
1499
1858
|
/**
|
|
1500
|
-
*
|
|
1859
|
+
* Grafana可视化服务 授权账户信息
|
|
1501
1860
|
*/
|
|
1502
|
-
export interface
|
|
1861
|
+
export interface GrafanaAccountInfo {
|
|
1862
|
+
/**
|
|
1863
|
+
* 用户账号ID
|
|
1864
|
+
*/
|
|
1865
|
+
UserId: string;
|
|
1866
|
+
/**
|
|
1867
|
+
* 用户权限
|
|
1868
|
+
*/
|
|
1869
|
+
Role: Array<GrafanaAccountRole>;
|
|
1870
|
+
/**
|
|
1871
|
+
* 备注
|
|
1872
|
+
*/
|
|
1873
|
+
Notes: string;
|
|
1874
|
+
/**
|
|
1875
|
+
* 创建时间
|
|
1876
|
+
*/
|
|
1877
|
+
CreateAt: string;
|
|
1878
|
+
}
|
|
1879
|
+
/**
|
|
1880
|
+
* UpdateGrafanaNotificationChannel请求参数结构体
|
|
1881
|
+
*/
|
|
1882
|
+
export interface UpdateGrafanaNotificationChannelRequest {
|
|
1883
|
+
/**
|
|
1884
|
+
* 通道 ID
|
|
1885
|
+
*/
|
|
1886
|
+
ChannelId: string;
|
|
1887
|
+
/**
|
|
1888
|
+
* 实例名
|
|
1889
|
+
*/
|
|
1890
|
+
InstanceId: string;
|
|
1891
|
+
/**
|
|
1892
|
+
* 渠道名
|
|
1893
|
+
*/
|
|
1894
|
+
ChannelName: string;
|
|
1895
|
+
/**
|
|
1896
|
+
* 接受告警通道 ID 数组
|
|
1897
|
+
*/
|
|
1898
|
+
Receivers: Array<string>;
|
|
1899
|
+
/**
|
|
1900
|
+
* 额外组织 ID 数组
|
|
1901
|
+
*/
|
|
1902
|
+
ExtraOrgIds?: Array<string>;
|
|
1903
|
+
}
|
|
1904
|
+
/**
|
|
1905
|
+
* UninstallGrafanaPlugins返回参数结构体
|
|
1906
|
+
*/
|
|
1907
|
+
export interface UninstallGrafanaPluginsResponse {
|
|
1503
1908
|
/**
|
|
1504
1909
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1505
1910
|
*/
|
|
@@ -1646,17 +2051,31 @@ export interface DescribeBasicAlarmListResponse {
|
|
|
1646
2051
|
* 告警列表
|
|
1647
2052
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1648
2053
|
*/
|
|
1649
|
-
Alarms
|
|
2054
|
+
Alarms: Array<DescribeBasicAlarmListAlarms>;
|
|
1650
2055
|
/**
|
|
1651
2056
|
* 总数
|
|
1652
2057
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1653
2058
|
*/
|
|
1654
|
-
Total
|
|
2059
|
+
Total: number;
|
|
2060
|
+
/**
|
|
2061
|
+
* 备注信息
|
|
2062
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2063
|
+
*/
|
|
2064
|
+
Warning: string;
|
|
1655
2065
|
/**
|
|
1656
2066
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1657
2067
|
*/
|
|
1658
2068
|
RequestId?: string;
|
|
1659
2069
|
}
|
|
2070
|
+
/**
|
|
2071
|
+
* DescribeGrafanaEnvironments请求参数结构体
|
|
2072
|
+
*/
|
|
2073
|
+
export interface DescribeGrafanaEnvironmentsRequest {
|
|
2074
|
+
/**
|
|
2075
|
+
* 实例名
|
|
2076
|
+
*/
|
|
2077
|
+
InstanceId: string;
|
|
2078
|
+
}
|
|
1660
2079
|
/**
|
|
1661
2080
|
* DescribeProductList请求参数结构体
|
|
1662
2081
|
*/
|
|
@@ -1691,6 +2110,19 @@ export interface PeriodsSt {
|
|
|
1691
2110
|
*/
|
|
1692
2111
|
StatType: Array<string>;
|
|
1693
2112
|
}
|
|
2113
|
+
/**
|
|
2114
|
+
* Grafana可视化服务 账号权限
|
|
2115
|
+
*/
|
|
2116
|
+
export interface GrafanaAccountRole {
|
|
2117
|
+
/**
|
|
2118
|
+
* 组织
|
|
2119
|
+
*/
|
|
2120
|
+
Organization?: string;
|
|
2121
|
+
/**
|
|
2122
|
+
* 权限
|
|
2123
|
+
*/
|
|
2124
|
+
Role?: string;
|
|
2125
|
+
}
|
|
1694
2126
|
/**
|
|
1695
2127
|
* BindPrometheusManagedGrafana返回参数结构体
|
|
1696
2128
|
*/
|
|
@@ -1881,25 +2313,25 @@ export interface DeleteExporterIntegrationRequest {
|
|
|
1881
2313
|
* 实例 ID
|
|
1882
2314
|
*/
|
|
1883
2315
|
InstanceId: string;
|
|
2316
|
+
/**
|
|
2317
|
+
* 类型
|
|
2318
|
+
*/
|
|
2319
|
+
Kind: string;
|
|
2320
|
+
/**
|
|
2321
|
+
* 名字
|
|
2322
|
+
*/
|
|
2323
|
+
Name: string;
|
|
1884
2324
|
/**
|
|
1885
2325
|
* Kubernetes 集群类型,取值如下:
|
|
1886
2326
|
<li> 1= 容器集群(TKE) </li>
|
|
1887
2327
|
<li> 2=弹性集群<EKS> </li>
|
|
1888
2328
|
<li> 3= Prometheus管理的弹性集群<MEKS> </li>
|
|
1889
2329
|
*/
|
|
1890
|
-
KubeType
|
|
2330
|
+
KubeType?: number;
|
|
1891
2331
|
/**
|
|
1892
2332
|
* 集群 ID
|
|
1893
2333
|
*/
|
|
1894
|
-
ClusterId
|
|
1895
|
-
/**
|
|
1896
|
-
* 类型
|
|
1897
|
-
*/
|
|
1898
|
-
Kind: string;
|
|
1899
|
-
/**
|
|
1900
|
-
* 名字
|
|
1901
|
-
*/
|
|
1902
|
-
Name: string;
|
|
2334
|
+
ClusterId?: string;
|
|
1903
2335
|
}
|
|
1904
2336
|
/**
|
|
1905
2337
|
* ModifyAlarmReceivers返回参数结构体
|
|
@@ -1911,34 +2343,17 @@ export interface ModifyAlarmReceiversResponse {
|
|
|
1911
2343
|
RequestId?: string;
|
|
1912
2344
|
}
|
|
1913
2345
|
/**
|
|
1914
|
-
*
|
|
2346
|
+
* EnableGrafanaSSO请求参数结构体
|
|
1915
2347
|
*/
|
|
1916
|
-
export interface
|
|
1917
|
-
/**
|
|
1918
|
-
* Agent 安装命令
|
|
1919
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1920
|
-
*/
|
|
1921
|
-
Install: string;
|
|
1922
|
-
/**
|
|
1923
|
-
* Agent 重启命令
|
|
1924
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1925
|
-
*/
|
|
1926
|
-
Restart: string;
|
|
1927
|
-
/**
|
|
1928
|
-
* Agent 停止命令
|
|
1929
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1930
|
-
*/
|
|
1931
|
-
Stop: string;
|
|
2348
|
+
export interface EnableGrafanaSSORequest {
|
|
1932
2349
|
/**
|
|
1933
|
-
*
|
|
1934
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2350
|
+
* 是否开启 SSO
|
|
1935
2351
|
*/
|
|
1936
|
-
|
|
2352
|
+
EnableSSO: boolean;
|
|
1937
2353
|
/**
|
|
1938
|
-
*
|
|
1939
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2354
|
+
* 实例 ID
|
|
1940
2355
|
*/
|
|
1941
|
-
|
|
2356
|
+
InstanceId: string;
|
|
1942
2357
|
}
|
|
1943
2358
|
/**
|
|
1944
2359
|
* DescribePolicyConditionList返回参数结构体
|
|
@@ -2039,7 +2454,12 @@ export interface DescribeAllNamespacesResponse {
|
|
|
2039
2454
|
*/
|
|
2040
2455
|
CustomNamespacesNew: Array<CommonNamespace>;
|
|
2041
2456
|
/**
|
|
2042
|
-
*
|
|
2457
|
+
* 通用告警策略类型(包括:应用性能监控,前端性能监控,云拨测)
|
|
2458
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2459
|
+
*/
|
|
2460
|
+
CommonNamespaces: Array<CommonNamespaceNew>;
|
|
2461
|
+
/**
|
|
2462
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2043
2463
|
*/
|
|
2044
2464
|
RequestId?: string;
|
|
2045
2465
|
}
|
|
@@ -2074,6 +2494,39 @@ export interface DeleteAlarmNoticesResponse {
|
|
|
2074
2494
|
*/
|
|
2075
2495
|
RequestId?: string;
|
|
2076
2496
|
}
|
|
2497
|
+
/**
|
|
2498
|
+
* DescribeGrafanaNotificationChannels请求参数结构体
|
|
2499
|
+
*/
|
|
2500
|
+
export interface DescribeGrafanaNotificationChannelsRequest {
|
|
2501
|
+
/**
|
|
2502
|
+
* 实例名
|
|
2503
|
+
*/
|
|
2504
|
+
InstanceId: string;
|
|
2505
|
+
/**
|
|
2506
|
+
* 偏移量
|
|
2507
|
+
*/
|
|
2508
|
+
Offset: number;
|
|
2509
|
+
/**
|
|
2510
|
+
* 查询数量
|
|
2511
|
+
*/
|
|
2512
|
+
Limit: number;
|
|
2513
|
+
/**
|
|
2514
|
+
* 渠道名
|
|
2515
|
+
*/
|
|
2516
|
+
ChannelName?: string;
|
|
2517
|
+
/**
|
|
2518
|
+
* 渠道 ID
|
|
2519
|
+
*/
|
|
2520
|
+
ChannelIDs?: Array<string>;
|
|
2521
|
+
/**
|
|
2522
|
+
* 状态
|
|
2523
|
+
*/
|
|
2524
|
+
ChannelState?: number;
|
|
2525
|
+
}
|
|
2526
|
+
/**
|
|
2527
|
+
* DescribePluginOverviews请求参数结构体
|
|
2528
|
+
*/
|
|
2529
|
+
export declare type DescribePluginOverviewsRequest = null;
|
|
2077
2530
|
/**
|
|
2078
2531
|
* TerminatePrometheusInstances请求参数结构体
|
|
2079
2532
|
*/
|
|
@@ -2084,9 +2537,14 @@ export interface TerminatePrometheusInstancesRequest {
|
|
|
2084
2537
|
InstanceIds: Array<string>;
|
|
2085
2538
|
}
|
|
2086
2539
|
/**
|
|
2087
|
-
*
|
|
2540
|
+
* DescribeSSOAccount返回参数结构体
|
|
2088
2541
|
*/
|
|
2089
|
-
export interface
|
|
2542
|
+
export interface DescribeSSOAccountResponse {
|
|
2543
|
+
/**
|
|
2544
|
+
* 授权账号列表
|
|
2545
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2546
|
+
*/
|
|
2547
|
+
AccountSet: Array<GrafanaAccountInfo>;
|
|
2090
2548
|
/**
|
|
2091
2549
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2092
2550
|
*/
|
|
@@ -2111,6 +2569,15 @@ export interface UpdatePrometheusAgentStatusRequest {
|
|
|
2111
2569
|
*/
|
|
2112
2570
|
Status: number;
|
|
2113
2571
|
}
|
|
2572
|
+
/**
|
|
2573
|
+
* InstallPlugins返回参数结构体
|
|
2574
|
+
*/
|
|
2575
|
+
export interface InstallPluginsResponse {
|
|
2576
|
+
/**
|
|
2577
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2578
|
+
*/
|
|
2579
|
+
RequestId?: string;
|
|
2580
|
+
}
|
|
2114
2581
|
/**
|
|
2115
2582
|
* CreateAlarmPolicy返回参数结构体
|
|
2116
2583
|
*/
|
|
@@ -2257,17 +2724,34 @@ re=正则匹配
|
|
|
2257
2724
|
ProductId?: string;
|
|
2258
2725
|
}
|
|
2259
2726
|
/**
|
|
2260
|
-
*
|
|
2727
|
+
* DeleteGrafanaNotificationChannel请求参数结构体
|
|
2261
2728
|
*/
|
|
2262
|
-
export interface
|
|
2729
|
+
export interface DeleteGrafanaNotificationChannelRequest {
|
|
2263
2730
|
/**
|
|
2264
|
-
*
|
|
2731
|
+
* 通道 ID 数组
|
|
2265
2732
|
*/
|
|
2266
|
-
|
|
2733
|
+
ChannelIDs: Array<string>;
|
|
2267
2734
|
/**
|
|
2268
|
-
*
|
|
2735
|
+
* 实例名
|
|
2269
2736
|
*/
|
|
2270
|
-
|
|
2737
|
+
InstanceId: string;
|
|
2738
|
+
}
|
|
2739
|
+
/**
|
|
2740
|
+
* CreateGrafanaIntegration请求参数结构体
|
|
2741
|
+
*/
|
|
2742
|
+
export interface CreateGrafanaIntegrationRequest {
|
|
2743
|
+
/**
|
|
2744
|
+
* 实例名
|
|
2745
|
+
*/
|
|
2746
|
+
InstanceId: string;
|
|
2747
|
+
/**
|
|
2748
|
+
* 类型
|
|
2749
|
+
*/
|
|
2750
|
+
Kind: string;
|
|
2751
|
+
/**
|
|
2752
|
+
* 配置
|
|
2753
|
+
*/
|
|
2754
|
+
Content: string;
|
|
2271
2755
|
}
|
|
2272
2756
|
/**
|
|
2273
2757
|
* CreatePrometheusAgent返回参数结构体
|
|
@@ -2296,11 +2780,11 @@ export interface DescribeExporterIntegrationsRequest {
|
|
|
2296
2780
|
<li> 2=弹性集群<EKS> </li>
|
|
2297
2781
|
<li> 3= Prometheus管理的弹性集群<MEKS> </li>
|
|
2298
2782
|
*/
|
|
2299
|
-
KubeType
|
|
2783
|
+
KubeType?: number;
|
|
2300
2784
|
/**
|
|
2301
2785
|
* 集群 ID
|
|
2302
2786
|
*/
|
|
2303
|
-
ClusterId
|
|
2787
|
+
ClusterId?: string;
|
|
2304
2788
|
/**
|
|
2305
2789
|
* 类型
|
|
2306
2790
|
*/
|
|
@@ -2521,24 +3005,17 @@ export interface Point {
|
|
|
2521
3005
|
Value: number;
|
|
2522
3006
|
}
|
|
2523
3007
|
/**
|
|
2524
|
-
*
|
|
3008
|
+
* UpdateAlertRule返回参数结构体
|
|
2525
3009
|
*/
|
|
2526
|
-
export interface
|
|
2527
|
-
/**
|
|
2528
|
-
* 规则 ID 列表
|
|
2529
|
-
*/
|
|
2530
|
-
RuleIds: Array<string>;
|
|
3010
|
+
export interface UpdateAlertRuleResponse {
|
|
2531
3011
|
/**
|
|
2532
|
-
*
|
|
3012
|
+
* 规则 ID
|
|
2533
3013
|
*/
|
|
2534
|
-
|
|
3014
|
+
RuleId: string;
|
|
2535
3015
|
/**
|
|
2536
|
-
*
|
|
2537
|
-
<li>2=RuleEnabled</li>
|
|
2538
|
-
<li>3=RuleDisabled</li>
|
|
2539
|
-
默认状态码为 2 启用。
|
|
3016
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2540
3017
|
*/
|
|
2541
|
-
|
|
3018
|
+
RequestId?: string;
|
|
2542
3019
|
}
|
|
2543
3020
|
/**
|
|
2544
3021
|
* 修改告警策略组传入的事件告警条件
|
|
@@ -2562,57 +3039,38 @@ export interface ModifyPolicyGroupEventCondition {
|
|
|
2562
3039
|
RuleId?: number;
|
|
2563
3040
|
}
|
|
2564
3041
|
/**
|
|
2565
|
-
*
|
|
3042
|
+
* CreateGrafanaNotificationChannel请求参数结构体
|
|
2566
3043
|
*/
|
|
2567
|
-
export interface
|
|
2568
|
-
/**
|
|
2569
|
-
* 告警策略类型
|
|
2570
|
-
*/
|
|
2571
|
-
Namespace: string;
|
|
2572
|
-
/**
|
|
2573
|
-
* 指标名
|
|
2574
|
-
*/
|
|
2575
|
-
MetricName: string;
|
|
2576
|
-
/**
|
|
2577
|
-
* 指标展示名
|
|
2578
|
-
*/
|
|
2579
|
-
Description: string;
|
|
2580
|
-
/**
|
|
2581
|
-
* 最小值
|
|
2582
|
-
*/
|
|
2583
|
-
Min: number;
|
|
2584
|
-
/**
|
|
2585
|
-
* 最大值
|
|
2586
|
-
*/
|
|
2587
|
-
Max: number;
|
|
3044
|
+
export interface CreateGrafanaNotificationChannelRequest {
|
|
2588
3045
|
/**
|
|
2589
|
-
*
|
|
3046
|
+
* 实例名
|
|
2590
3047
|
*/
|
|
2591
|
-
|
|
3048
|
+
InstanceId: string;
|
|
2592
3049
|
/**
|
|
2593
|
-
*
|
|
3050
|
+
* 渠道名
|
|
2594
3051
|
*/
|
|
2595
|
-
|
|
3052
|
+
ChannelName: string;
|
|
2596
3053
|
/**
|
|
2597
|
-
*
|
|
2598
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3054
|
+
* 组织 ID
|
|
2599
3055
|
*/
|
|
2600
|
-
|
|
3056
|
+
OrgId: number;
|
|
2601
3057
|
/**
|
|
2602
|
-
*
|
|
2603
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3058
|
+
* 接受告警通道 ID 数组
|
|
2604
3059
|
*/
|
|
2605
|
-
|
|
3060
|
+
Receivers: Array<string>;
|
|
2606
3061
|
/**
|
|
2607
|
-
*
|
|
2608
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3062
|
+
* 额外组织 ID 数组
|
|
2609
3063
|
*/
|
|
2610
|
-
|
|
3064
|
+
ExtraOrgIds?: Array<string>;
|
|
3065
|
+
}
|
|
3066
|
+
/**
|
|
3067
|
+
* ModifyGrafanaInstance返回参数结构体
|
|
3068
|
+
*/
|
|
3069
|
+
export interface ModifyGrafanaInstanceResponse {
|
|
2611
3070
|
/**
|
|
2612
|
-
*
|
|
2613
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3071
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2614
3072
|
*/
|
|
2615
|
-
|
|
3073
|
+
RequestId?: string;
|
|
2616
3074
|
}
|
|
2617
3075
|
/**
|
|
2618
3076
|
* ModifyPolicyGroup请求参数结构体
|
|
@@ -2702,6 +3160,27 @@ export interface DescribeBaseMetricsRequest {
|
|
|
2702
3160
|
*/
|
|
2703
3161
|
Dimensions?: Array<string>;
|
|
2704
3162
|
}
|
|
3163
|
+
/**
|
|
3164
|
+
* CreateSSOAccount请求参数结构体
|
|
3165
|
+
*/
|
|
3166
|
+
export interface CreateSSOAccountRequest {
|
|
3167
|
+
/**
|
|
3168
|
+
* 实例ID
|
|
3169
|
+
*/
|
|
3170
|
+
InstanceId: string;
|
|
3171
|
+
/**
|
|
3172
|
+
* 用户账号ID
|
|
3173
|
+
*/
|
|
3174
|
+
UserId: string;
|
|
3175
|
+
/**
|
|
3176
|
+
* 权限
|
|
3177
|
+
*/
|
|
3178
|
+
Role: Array<GrafanaAccountRole>;
|
|
3179
|
+
/**
|
|
3180
|
+
* 备注
|
|
3181
|
+
*/
|
|
3182
|
+
Notes?: string;
|
|
3183
|
+
}
|
|
2705
3184
|
/**
|
|
2706
3185
|
* 云监控告警通知模板 - 用户通知详情
|
|
2707
3186
|
*/
|
|
@@ -2793,6 +3272,15 @@ export interface UpdatePrometheusScrapeJobRequest {
|
|
|
2793
3272
|
*/
|
|
2794
3273
|
Config: string;
|
|
2795
3274
|
}
|
|
3275
|
+
/**
|
|
3276
|
+
* UpdateGrafanaNotificationChannel返回参数结构体
|
|
3277
|
+
*/
|
|
3278
|
+
export interface UpdateGrafanaNotificationChannelResponse {
|
|
3279
|
+
/**
|
|
3280
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3281
|
+
*/
|
|
3282
|
+
RequestId?: string;
|
|
3283
|
+
}
|
|
2796
3284
|
/**
|
|
2797
3285
|
* 告警策略过滤条件
|
|
2798
3286
|
*/
|
|
@@ -2808,6 +3296,28 @@ export interface AlarmPolicyFilter {
|
|
|
2808
3296
|
*/
|
|
2809
3297
|
Dimensions?: string;
|
|
2810
3298
|
}
|
|
3299
|
+
/**
|
|
3300
|
+
* UpgradeGrafanaInstance请求参数结构体
|
|
3301
|
+
*/
|
|
3302
|
+
export interface UpgradeGrafanaInstanceRequest {
|
|
3303
|
+
/**
|
|
3304
|
+
* 实例名
|
|
3305
|
+
*/
|
|
3306
|
+
InstanceId: string;
|
|
3307
|
+
/**
|
|
3308
|
+
* 版本别名
|
|
3309
|
+
*/
|
|
3310
|
+
Alias: string;
|
|
3311
|
+
}
|
|
3312
|
+
/**
|
|
3313
|
+
* DescribeAlarmNoticeCallbacks请求参数结构体
|
|
3314
|
+
*/
|
|
3315
|
+
export interface DescribeAlarmNoticeCallbacksRequest {
|
|
3316
|
+
/**
|
|
3317
|
+
* 模块名,这里填“monitor”
|
|
3318
|
+
*/
|
|
3319
|
+
Module: string;
|
|
3320
|
+
}
|
|
2811
3321
|
/**
|
|
2812
3322
|
* DescribeAlarmNoticeCallbacks返回参数结构体
|
|
2813
3323
|
*/
|
|
@@ -2865,136 +3375,173 @@ export interface ModifyAlarmPolicyConditionRequest {
|
|
|
2865
3375
|
GroupBy?: Array<string>;
|
|
2866
3376
|
}
|
|
2867
3377
|
/**
|
|
2868
|
-
*
|
|
2869
|
-
*/
|
|
2870
|
-
export interface ModifyAlarmNoticeResponse {
|
|
2871
|
-
/**
|
|
2872
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2873
|
-
*/
|
|
2874
|
-
RequestId?: string;
|
|
2875
|
-
}
|
|
2876
|
-
/**
|
|
2877
|
-
* BindPrometheusManagedGrafana请求参数结构体
|
|
3378
|
+
* DeleteSSOAccount请求参数结构体
|
|
2878
3379
|
*/
|
|
2879
|
-
export interface
|
|
3380
|
+
export interface DeleteSSOAccountRequest {
|
|
2880
3381
|
/**
|
|
2881
|
-
*
|
|
3382
|
+
* 实例ID
|
|
2882
3383
|
*/
|
|
2883
3384
|
InstanceId: string;
|
|
2884
3385
|
/**
|
|
2885
|
-
*
|
|
2886
|
-
*/
|
|
2887
|
-
GrafanaId: string;
|
|
2888
|
-
}
|
|
2889
|
-
/**
|
|
2890
|
-
* 实例维度组合数组
|
|
2891
|
-
*/
|
|
2892
|
-
export interface Instance {
|
|
2893
|
-
/**
|
|
2894
|
-
* 实例的维度组合
|
|
3386
|
+
* 用户账号ID
|
|
2895
3387
|
*/
|
|
2896
|
-
|
|
3388
|
+
UserId: string;
|
|
2897
3389
|
}
|
|
2898
3390
|
/**
|
|
2899
|
-
*
|
|
3391
|
+
* Prometheus 抓取任务
|
|
2900
3392
|
*/
|
|
2901
|
-
export interface
|
|
3393
|
+
export interface PrometheusScrapeJob {
|
|
2902
3394
|
/**
|
|
2903
|
-
*
|
|
3395
|
+
* 任务名
|
|
3396
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2904
3397
|
*/
|
|
2905
|
-
|
|
3398
|
+
Name: string;
|
|
2906
3399
|
/**
|
|
2907
|
-
*
|
|
3400
|
+
* Agent ID
|
|
2908
3401
|
*/
|
|
2909
|
-
|
|
3402
|
+
AgentId: string;
|
|
2910
3403
|
/**
|
|
2911
|
-
*
|
|
2912
|
-
{"unInstanceId":"ins-00jvv9mo"}。不同云产品的维度信息不同,详见
|
|
2913
|
-
[指标维度信息Dimensions列表](https://cloud.tencent.com/document/product/248/50397)
|
|
3404
|
+
* 任务 ID
|
|
2914
3405
|
*/
|
|
2915
|
-
|
|
3406
|
+
JobId: string;
|
|
2916
3407
|
/**
|
|
2917
|
-
*
|
|
3408
|
+
* 配置
|
|
3409
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2918
3410
|
*/
|
|
2919
|
-
|
|
3411
|
+
Config: string;
|
|
2920
3412
|
}
|
|
2921
3413
|
/**
|
|
2922
|
-
*
|
|
3414
|
+
* CreateGrafanaIntegration返回参数结构体
|
|
2923
3415
|
*/
|
|
2924
|
-
export interface
|
|
2925
|
-
/**
|
|
2926
|
-
* 固定值,为"monitor"
|
|
2927
|
-
*/
|
|
2928
|
-
Module: string;
|
|
3416
|
+
export interface CreateGrafanaIntegrationResponse {
|
|
2929
3417
|
/**
|
|
2930
|
-
*
|
|
3418
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2931
3419
|
*/
|
|
2932
|
-
|
|
3420
|
+
RequestId?: string;
|
|
2933
3421
|
}
|
|
2934
3422
|
/**
|
|
2935
|
-
*
|
|
3423
|
+
* BindPrometheusManagedGrafana请求参数结构体
|
|
2936
3424
|
*/
|
|
2937
|
-
export interface
|
|
3425
|
+
export interface BindPrometheusManagedGrafanaRequest {
|
|
2938
3426
|
/**
|
|
2939
|
-
*
|
|
3427
|
+
* Prometheus 实例 ID
|
|
2940
3428
|
*/
|
|
2941
|
-
|
|
3429
|
+
InstanceId: string;
|
|
2942
3430
|
/**
|
|
2943
|
-
*
|
|
3431
|
+
* Grafana 可视化服务实例 ID
|
|
2944
3432
|
*/
|
|
2945
|
-
|
|
3433
|
+
GrafanaId: string;
|
|
2946
3434
|
}
|
|
2947
3435
|
/**
|
|
2948
|
-
*
|
|
3436
|
+
* ResumeGrafanaInstance返回参数结构体
|
|
2949
3437
|
*/
|
|
2950
|
-
export interface
|
|
3438
|
+
export interface ResumeGrafanaInstanceResponse {
|
|
2951
3439
|
/**
|
|
2952
3440
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2953
3441
|
*/
|
|
2954
3442
|
RequestId?: string;
|
|
2955
3443
|
}
|
|
2956
3444
|
/**
|
|
2957
|
-
*
|
|
3445
|
+
* UpdateAlertRuleState返回参数结构体
|
|
2958
3446
|
*/
|
|
2959
|
-
export interface
|
|
2960
|
-
/**
|
|
2961
|
-
* 更新成功之后,返回对应服务发现的信息
|
|
2962
|
-
*/
|
|
2963
|
-
ServiceDiscovery?: ServiceDiscoveryItem;
|
|
3447
|
+
export interface UpdateAlertRuleStateResponse {
|
|
2964
3448
|
/**
|
|
2965
3449
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2966
3450
|
*/
|
|
2967
3451
|
RequestId?: string;
|
|
2968
3452
|
}
|
|
2969
3453
|
/**
|
|
2970
|
-
*
|
|
3454
|
+
* 实例维度组合数组
|
|
2971
3455
|
*/
|
|
2972
|
-
export interface
|
|
3456
|
+
export interface Instance {
|
|
2973
3457
|
/**
|
|
2974
|
-
*
|
|
3458
|
+
* 实例的维度组合
|
|
2975
3459
|
*/
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
3460
|
+
Dimensions: Array<Dimension>;
|
|
3461
|
+
}
|
|
3462
|
+
/**
|
|
3463
|
+
* DescribeProductEventList返回参数结构体
|
|
3464
|
+
*/
|
|
3465
|
+
export interface DescribeProductEventListResponse {
|
|
3466
|
+
/**
|
|
3467
|
+
* 事件列表
|
|
3468
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2979
3469
|
*/
|
|
2980
|
-
|
|
3470
|
+
Events: Array<DescribeProductEventListEvents>;
|
|
3471
|
+
/**
|
|
3472
|
+
* 事件统计
|
|
3473
|
+
*/
|
|
3474
|
+
OverView: DescribeProductEventListOverView;
|
|
3475
|
+
/**
|
|
3476
|
+
* 事件总数
|
|
3477
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3478
|
+
*/
|
|
3479
|
+
Total: number;
|
|
2981
3480
|
/**
|
|
2982
3481
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2983
3482
|
*/
|
|
2984
3483
|
RequestId?: string;
|
|
2985
3484
|
}
|
|
2986
3485
|
/**
|
|
2987
|
-
*
|
|
3486
|
+
* CreateGrafanaInstance请求参数结构体
|
|
2988
3487
|
*/
|
|
2989
|
-
export interface
|
|
3488
|
+
export interface CreateGrafanaInstanceRequest {
|
|
2990
3489
|
/**
|
|
2991
|
-
*
|
|
3490
|
+
* 实例名
|
|
2992
3491
|
*/
|
|
2993
|
-
|
|
3492
|
+
InstanceName: string;
|
|
2994
3493
|
/**
|
|
2995
|
-
*
|
|
3494
|
+
* VPC ID
|
|
2996
3495
|
*/
|
|
2997
|
-
|
|
3496
|
+
VpcId: string;
|
|
3497
|
+
/**
|
|
3498
|
+
* 子网 ID 数组
|
|
3499
|
+
*/
|
|
3500
|
+
SubnetIds: Array<string>;
|
|
3501
|
+
/**
|
|
3502
|
+
* Grafana 初始密码
|
|
3503
|
+
*/
|
|
3504
|
+
GrafanaInitPassword: string;
|
|
3505
|
+
/**
|
|
3506
|
+
* 是否启用外网
|
|
3507
|
+
*/
|
|
3508
|
+
EnableInternet: boolean;
|
|
3509
|
+
/**
|
|
3510
|
+
* 标签
|
|
3511
|
+
*/
|
|
3512
|
+
TagSpecification?: Array<PrometheusTag>;
|
|
3513
|
+
}
|
|
3514
|
+
/**
|
|
3515
|
+
* 策略绑定实例维度信息
|
|
3516
|
+
*/
|
|
3517
|
+
export interface BindingPolicyObjectDimension {
|
|
3518
|
+
/**
|
|
3519
|
+
* 地域名
|
|
3520
|
+
*/
|
|
3521
|
+
Region: string;
|
|
3522
|
+
/**
|
|
3523
|
+
* 地域ID
|
|
3524
|
+
*/
|
|
3525
|
+
RegionId?: number;
|
|
3526
|
+
/**
|
|
3527
|
+
* 实例的维度信息,格式为
|
|
3528
|
+
{"unInstanceId":"ins-00jvv9mo"}。不同云产品的维度信息不同,详见
|
|
3529
|
+
[指标维度信息Dimensions列表](https://cloud.tencent.com/document/product/248/50397)
|
|
3530
|
+
*/
|
|
3531
|
+
Dimensions?: string;
|
|
3532
|
+
/**
|
|
3533
|
+
* 事件维度信息
|
|
3534
|
+
*/
|
|
3535
|
+
EventDimensions?: string;
|
|
3536
|
+
}
|
|
3537
|
+
/**
|
|
3538
|
+
* UnbindPrometheusManagedGrafana返回参数结构体
|
|
3539
|
+
*/
|
|
3540
|
+
export interface UnbindPrometheusManagedGrafanaResponse {
|
|
3541
|
+
/**
|
|
3542
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3543
|
+
*/
|
|
3544
|
+
RequestId?: string;
|
|
2998
3545
|
}
|
|
2999
3546
|
/**
|
|
3000
3547
|
* DescribeBasicAlarmList返回的Alarms
|
|
@@ -3110,6 +3657,198 @@ export interface DescribeBasicAlarmListAlarms {
|
|
|
3110
3657
|
*/
|
|
3111
3658
|
InstanceGroup: Array<InstanceGroup>;
|
|
3112
3659
|
}
|
|
3660
|
+
/**
|
|
3661
|
+
* DescribeAlarmPolicy返回参数结构体
|
|
3662
|
+
*/
|
|
3663
|
+
export interface DescribeAlarmPolicyResponse {
|
|
3664
|
+
/**
|
|
3665
|
+
* 策略详情
|
|
3666
|
+
*/
|
|
3667
|
+
Policy?: AlarmPolicy;
|
|
3668
|
+
/**
|
|
3669
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3670
|
+
*/
|
|
3671
|
+
RequestId?: string;
|
|
3672
|
+
}
|
|
3673
|
+
/**
|
|
3674
|
+
* DeleteExporterIntegration返回参数结构体
|
|
3675
|
+
*/
|
|
3676
|
+
export interface DeleteExporterIntegrationResponse {
|
|
3677
|
+
/**
|
|
3678
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3679
|
+
*/
|
|
3680
|
+
RequestId?: string;
|
|
3681
|
+
}
|
|
3682
|
+
/**
|
|
3683
|
+
* UpdateServiceDiscovery返回参数结构体
|
|
3684
|
+
*/
|
|
3685
|
+
export interface UpdateServiceDiscoveryResponse {
|
|
3686
|
+
/**
|
|
3687
|
+
* 更新成功之后,返回对应服务发现的信息
|
|
3688
|
+
*/
|
|
3689
|
+
ServiceDiscovery?: ServiceDiscoveryItem;
|
|
3690
|
+
/**
|
|
3691
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3692
|
+
*/
|
|
3693
|
+
RequestId?: string;
|
|
3694
|
+
}
|
|
3695
|
+
/**
|
|
3696
|
+
* DescribeMonitorTypes返回参数结构体
|
|
3697
|
+
*/
|
|
3698
|
+
export interface DescribeMonitorTypesResponse {
|
|
3699
|
+
/**
|
|
3700
|
+
* 监控类型,云产品监控为 MT_QCE
|
|
3701
|
+
*/
|
|
3702
|
+
MonitorTypes: Array<string>;
|
|
3703
|
+
/**
|
|
3704
|
+
* 监控类型详情
|
|
3705
|
+
*/
|
|
3706
|
+
MonitorTypeInfos: Array<MonitorTypeInfo>;
|
|
3707
|
+
/**
|
|
3708
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3709
|
+
*/
|
|
3710
|
+
RequestId?: string;
|
|
3711
|
+
}
|
|
3712
|
+
/**
|
|
3713
|
+
* 查询 Grafana 实例时的实例类型
|
|
3714
|
+
*/
|
|
3715
|
+
export interface GrafanaInstanceInfo {
|
|
3716
|
+
/**
|
|
3717
|
+
* 实例名
|
|
3718
|
+
*/
|
|
3719
|
+
InstanceName: string;
|
|
3720
|
+
/**
|
|
3721
|
+
* 实例 ID
|
|
3722
|
+
*/
|
|
3723
|
+
InstanceId: string;
|
|
3724
|
+
/**
|
|
3725
|
+
* 地域
|
|
3726
|
+
*/
|
|
3727
|
+
Region: string;
|
|
3728
|
+
/**
|
|
3729
|
+
* VPC ID
|
|
3730
|
+
*/
|
|
3731
|
+
VpcId: string;
|
|
3732
|
+
/**
|
|
3733
|
+
* 子网 ID 数组
|
|
3734
|
+
*/
|
|
3735
|
+
SubnetIds: Array<string>;
|
|
3736
|
+
/**
|
|
3737
|
+
* Grafana 内网地址
|
|
3738
|
+
*/
|
|
3739
|
+
InternetUrl: string;
|
|
3740
|
+
/**
|
|
3741
|
+
* Grafana 公网地址
|
|
3742
|
+
*/
|
|
3743
|
+
InternalUrl: string;
|
|
3744
|
+
/**
|
|
3745
|
+
* 创建时间
|
|
3746
|
+
*/
|
|
3747
|
+
CreatedAt: string;
|
|
3748
|
+
/**
|
|
3749
|
+
* 运行状态(1:正在创建;2:运行中;3:异常;4:重启中;5:停机中; 6:已停机; 7: 已删除)
|
|
3750
|
+
*/
|
|
3751
|
+
InstanceStatus: number;
|
|
3752
|
+
/**
|
|
3753
|
+
* 实例的标签
|
|
3754
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3755
|
+
*/
|
|
3756
|
+
TagSpecification: Array<PrometheusTag>;
|
|
3757
|
+
/**
|
|
3758
|
+
* 实例的可用区
|
|
3759
|
+
*/
|
|
3760
|
+
Zone: string;
|
|
3761
|
+
/**
|
|
3762
|
+
* 计费模式(1:包年包月)
|
|
3763
|
+
*/
|
|
3764
|
+
InstanceChargeType: number;
|
|
3765
|
+
/**
|
|
3766
|
+
* VPC 名称
|
|
3767
|
+
*/
|
|
3768
|
+
VpcName: string;
|
|
3769
|
+
/**
|
|
3770
|
+
* 子网名称
|
|
3771
|
+
*/
|
|
3772
|
+
SubnetName: string;
|
|
3773
|
+
/**
|
|
3774
|
+
* 地域 ID
|
|
3775
|
+
*/
|
|
3776
|
+
RegionId: number;
|
|
3777
|
+
/**
|
|
3778
|
+
* 可访问此实例的完整 URL
|
|
3779
|
+
*/
|
|
3780
|
+
RootUrl: string;
|
|
3781
|
+
/**
|
|
3782
|
+
* 是否开启 SSO
|
|
3783
|
+
*/
|
|
3784
|
+
EnableSSO: boolean;
|
|
3785
|
+
/**
|
|
3786
|
+
* 版本号
|
|
3787
|
+
*/
|
|
3788
|
+
Version: string;
|
|
3789
|
+
/**
|
|
3790
|
+
* SSO登录时是否开启cam鉴权
|
|
3791
|
+
*/
|
|
3792
|
+
EnableSSOCamCheck: boolean;
|
|
3793
|
+
}
|
|
3794
|
+
/**
|
|
3795
|
+
* 实例对象的维度组合
|
|
3796
|
+
*/
|
|
3797
|
+
export interface Dimension {
|
|
3798
|
+
/**
|
|
3799
|
+
* 实例维度名称
|
|
3800
|
+
*/
|
|
3801
|
+
Name: string;
|
|
3802
|
+
/**
|
|
3803
|
+
* 实例维度值
|
|
3804
|
+
*/
|
|
3805
|
+
Value: string;
|
|
3806
|
+
}
|
|
3807
|
+
/**
|
|
3808
|
+
* DescribeAccidentEventList接口的出参类型
|
|
3809
|
+
*/
|
|
3810
|
+
export interface DescribeAccidentEventListAlarms {
|
|
3811
|
+
/**
|
|
3812
|
+
* 事件分类
|
|
3813
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3814
|
+
*/
|
|
3815
|
+
BusinessTypeDesc: string;
|
|
3816
|
+
/**
|
|
3817
|
+
* 事件类型
|
|
3818
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3819
|
+
*/
|
|
3820
|
+
AccidentTypeDesc: string;
|
|
3821
|
+
/**
|
|
3822
|
+
* 事件分类的ID,1表示服务问题,2表示其他订阅
|
|
3823
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3824
|
+
*/
|
|
3825
|
+
BusinessID: number;
|
|
3826
|
+
/**
|
|
3827
|
+
* 事件状态的ID,0表示已恢复,1表示未恢复
|
|
3828
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3829
|
+
*/
|
|
3830
|
+
EventStatus: number;
|
|
3831
|
+
/**
|
|
3832
|
+
* 影响的对象
|
|
3833
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3834
|
+
*/
|
|
3835
|
+
AffectResource: string;
|
|
3836
|
+
/**
|
|
3837
|
+
* 事件的地域
|
|
3838
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3839
|
+
*/
|
|
3840
|
+
Region: string;
|
|
3841
|
+
/**
|
|
3842
|
+
* 事件发生的时间
|
|
3843
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3844
|
+
*/
|
|
3845
|
+
OccurTime: string;
|
|
3846
|
+
/**
|
|
3847
|
+
* 更新时间
|
|
3848
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3849
|
+
*/
|
|
3850
|
+
UpdateTime: string;
|
|
3851
|
+
}
|
|
3113
3852
|
/**
|
|
3114
3853
|
* UpdateRecordingRule返回参数结构体
|
|
3115
3854
|
*/
|
|
@@ -3230,49 +3969,30 @@ export interface MetricObjectMeaning {
|
|
|
3230
3969
|
Zh: string;
|
|
3231
3970
|
}
|
|
3232
3971
|
/**
|
|
3233
|
-
*
|
|
3972
|
+
* DeletePolicyGroup请求参数结构体
|
|
3234
3973
|
*/
|
|
3235
|
-
export interface
|
|
3236
|
-
/**
|
|
3237
|
-
* 事件分类
|
|
3238
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3239
|
-
*/
|
|
3240
|
-
BusinessTypeDesc: string;
|
|
3241
|
-
/**
|
|
3242
|
-
* 事件类型
|
|
3243
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3244
|
-
*/
|
|
3245
|
-
AccidentTypeDesc: string;
|
|
3246
|
-
/**
|
|
3247
|
-
* 事件分类的ID,1表示服务问题,2表示其他订阅
|
|
3248
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3249
|
-
*/
|
|
3250
|
-
BusinessID: number;
|
|
3251
|
-
/**
|
|
3252
|
-
* 事件状态的ID,0表示已恢复,1表示未恢复
|
|
3253
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3254
|
-
*/
|
|
3255
|
-
EventStatus: number;
|
|
3974
|
+
export interface DeletePolicyGroupRequest {
|
|
3256
3975
|
/**
|
|
3257
|
-
*
|
|
3258
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3976
|
+
* 固定值,为"monitor"
|
|
3259
3977
|
*/
|
|
3260
|
-
|
|
3978
|
+
Module: string;
|
|
3261
3979
|
/**
|
|
3262
|
-
*
|
|
3263
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3980
|
+
* 策略组id
|
|
3264
3981
|
*/
|
|
3265
|
-
|
|
3982
|
+
GroupId: Array<number>;
|
|
3983
|
+
}
|
|
3984
|
+
/**
|
|
3985
|
+
* EnableSSOCamCheck请求参数结构体
|
|
3986
|
+
*/
|
|
3987
|
+
export interface EnableSSOCamCheckRequest {
|
|
3266
3988
|
/**
|
|
3267
|
-
*
|
|
3268
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3989
|
+
* 实例ID
|
|
3269
3990
|
*/
|
|
3270
|
-
|
|
3991
|
+
InstanceId: string;
|
|
3271
3992
|
/**
|
|
3272
|
-
*
|
|
3273
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3993
|
+
* 是否开启cam鉴权
|
|
3274
3994
|
*/
|
|
3275
|
-
|
|
3995
|
+
EnableSSOCamCheck: boolean;
|
|
3276
3996
|
}
|
|
3277
3997
|
/**
|
|
3278
3998
|
* ModifyPolicyGroup返回参数结构体
|
|
@@ -3287,6 +4007,24 @@ export interface ModifyPolicyGroupResponse {
|
|
|
3287
4007
|
*/
|
|
3288
4008
|
RequestId?: string;
|
|
3289
4009
|
}
|
|
4010
|
+
/**
|
|
4011
|
+
* DeleteGrafanaIntegration返回参数结构体
|
|
4012
|
+
*/
|
|
4013
|
+
export interface DeleteGrafanaIntegrationResponse {
|
|
4014
|
+
/**
|
|
4015
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4016
|
+
*/
|
|
4017
|
+
RequestId?: string;
|
|
4018
|
+
}
|
|
4019
|
+
/**
|
|
4020
|
+
* DescribeInstalledPlugins请求参数结构体
|
|
4021
|
+
*/
|
|
4022
|
+
export interface DescribeInstalledPluginsRequest {
|
|
4023
|
+
/**
|
|
4024
|
+
* 实例 ID
|
|
4025
|
+
*/
|
|
4026
|
+
InstanceId: string;
|
|
4027
|
+
}
|
|
3290
4028
|
/**
|
|
3291
4029
|
* DescribeAlarmMetrics返回参数结构体
|
|
3292
4030
|
*/
|
|
@@ -3349,18 +4087,23 @@ export interface Condition {
|
|
|
3349
4087
|
Unit: string;
|
|
3350
4088
|
}
|
|
3351
4089
|
/**
|
|
3352
|
-
*
|
|
4090
|
+
* DeleteGrafanaInstance返回参数结构体
|
|
3353
4091
|
*/
|
|
3354
|
-
export interface
|
|
3355
|
-
/**
|
|
3356
|
-
* 规则 ID
|
|
3357
|
-
*/
|
|
3358
|
-
RuleId: string;
|
|
4092
|
+
export interface DeleteGrafanaInstanceResponse {
|
|
3359
4093
|
/**
|
|
3360
4094
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3361
4095
|
*/
|
|
3362
4096
|
RequestId?: string;
|
|
3363
4097
|
}
|
|
4098
|
+
/**
|
|
4099
|
+
* DescribeGrafanaWhiteList请求参数结构体
|
|
4100
|
+
*/
|
|
4101
|
+
export interface DescribeGrafanaWhiteListRequest {
|
|
4102
|
+
/**
|
|
4103
|
+
* 实例名
|
|
4104
|
+
*/
|
|
4105
|
+
InstanceId: string;
|
|
4106
|
+
}
|
|
3364
4107
|
/**
|
|
3365
4108
|
* PutMonitorData请求参数结构体
|
|
3366
4109
|
*/
|
|
@@ -3429,6 +4172,15 @@ export interface MetricData {
|
|
|
3429
4172
|
*/
|
|
3430
4173
|
Points: Array<MetricDataPoint>;
|
|
3431
4174
|
}
|
|
4175
|
+
/**
|
|
4176
|
+
* UpdateGrafanaIntegration返回参数结构体
|
|
4177
|
+
*/
|
|
4178
|
+
export interface UpdateGrafanaIntegrationResponse {
|
|
4179
|
+
/**
|
|
4180
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4181
|
+
*/
|
|
4182
|
+
RequestId?: string;
|
|
4183
|
+
}
|
|
3432
4184
|
/**
|
|
3433
4185
|
* 告警事件
|
|
3434
4186
|
*/
|
|
@@ -3446,6 +4198,15 @@ export interface AlarmEvent {
|
|
|
3446
4198
|
*/
|
|
3447
4199
|
Namespace: string;
|
|
3448
4200
|
}
|
|
4201
|
+
/**
|
|
4202
|
+
* ModifyAlarmPolicyNotice返回参数结构体
|
|
4203
|
+
*/
|
|
4204
|
+
export interface ModifyAlarmPolicyNoticeResponse {
|
|
4205
|
+
/**
|
|
4206
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4207
|
+
*/
|
|
4208
|
+
RequestId?: string;
|
|
4209
|
+
}
|
|
3449
4210
|
/**
|
|
3450
4211
|
* BindingPolicyTag请求参数结构体
|
|
3451
4212
|
*/
|
|
@@ -3480,37 +4241,17 @@ export interface BindingPolicyTagRequest {
|
|
|
3480
4241
|
BatchTag?: Array<PolicyTag>;
|
|
3481
4242
|
}
|
|
3482
4243
|
/**
|
|
3483
|
-
*
|
|
4244
|
+
* CreateGrafanaInstance返回参数结构体
|
|
3484
4245
|
*/
|
|
3485
|
-
export interface
|
|
3486
|
-
/**
|
|
3487
|
-
* 名字
|
|
3488
|
-
*/
|
|
3489
|
-
Name: string;
|
|
3490
|
-
/**
|
|
3491
|
-
* 类型
|
|
3492
|
-
*/
|
|
3493
|
-
Kind: string;
|
|
3494
|
-
/**
|
|
3495
|
-
* 内容
|
|
3496
|
-
*/
|
|
3497
|
-
Content: string;
|
|
3498
|
-
/**
|
|
3499
|
-
* 状态
|
|
3500
|
-
*/
|
|
3501
|
-
Status: number;
|
|
3502
|
-
/**
|
|
3503
|
-
* 实例类型
|
|
3504
|
-
*/
|
|
3505
|
-
Category: string;
|
|
4246
|
+
export interface CreateGrafanaInstanceResponse {
|
|
3506
4247
|
/**
|
|
3507
|
-
*
|
|
4248
|
+
* 实例名
|
|
3508
4249
|
*/
|
|
3509
|
-
|
|
4250
|
+
InstanceId: string;
|
|
3510
4251
|
/**
|
|
3511
|
-
*
|
|
4252
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3512
4253
|
*/
|
|
3513
|
-
|
|
4254
|
+
RequestId?: string;
|
|
3514
4255
|
}
|
|
3515
4256
|
/**
|
|
3516
4257
|
* UpdateAlertRule请求参数结构体
|
|
@@ -3930,6 +4671,19 @@ export interface PolicyGroup {
|
|
|
3930
4671
|
*/
|
|
3931
4672
|
IsUnionRule: number;
|
|
3932
4673
|
}
|
|
4674
|
+
/**
|
|
4675
|
+
* DescribeGrafanaNotificationChannels返回参数结构体
|
|
4676
|
+
*/
|
|
4677
|
+
export interface DescribeGrafanaNotificationChannelsResponse {
|
|
4678
|
+
/**
|
|
4679
|
+
* 告警通道数组
|
|
4680
|
+
*/
|
|
4681
|
+
NotificationChannelSet: Array<GrafanaNotificationChannel>;
|
|
4682
|
+
/**
|
|
4683
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4684
|
+
*/
|
|
4685
|
+
RequestId?: string;
|
|
4686
|
+
}
|
|
3933
4687
|
/**
|
|
3934
4688
|
* DeleteRecordingRules请求参数结构体
|
|
3935
4689
|
*/
|
|
@@ -4134,6 +4888,66 @@ export interface DescribePrometheusScrapeJobsResponse {
|
|
|
4134
4888
|
*/
|
|
4135
4889
|
RequestId?: string;
|
|
4136
4890
|
}
|
|
4891
|
+
/**
|
|
4892
|
+
* EnableGrafanaInternet请求参数结构体
|
|
4893
|
+
*/
|
|
4894
|
+
export interface EnableGrafanaInternetRequest {
|
|
4895
|
+
/**
|
|
4896
|
+
* 实例 ID
|
|
4897
|
+
*/
|
|
4898
|
+
InstanceID: string;
|
|
4899
|
+
/**
|
|
4900
|
+
* 开启或关闭
|
|
4901
|
+
*/
|
|
4902
|
+
EnableInternet: boolean;
|
|
4903
|
+
}
|
|
4904
|
+
/**
|
|
4905
|
+
* DescribePluginOverviews返回参数结构体
|
|
4906
|
+
*/
|
|
4907
|
+
export interface DescribePluginOverviewsResponse {
|
|
4908
|
+
/**
|
|
4909
|
+
* 插件列表
|
|
4910
|
+
*/
|
|
4911
|
+
PluginSet: Array<GrafanaPlugin>;
|
|
4912
|
+
/**
|
|
4913
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4914
|
+
*/
|
|
4915
|
+
RequestId?: string;
|
|
4916
|
+
}
|
|
4917
|
+
/**
|
|
4918
|
+
* UpdateSSOAccount请求参数结构体
|
|
4919
|
+
*/
|
|
4920
|
+
export interface UpdateSSOAccountRequest {
|
|
4921
|
+
/**
|
|
4922
|
+
* 示例ID
|
|
4923
|
+
*/
|
|
4924
|
+
InstanceId: string;
|
|
4925
|
+
/**
|
|
4926
|
+
* 用户账号ID
|
|
4927
|
+
*/
|
|
4928
|
+
UserId: string;
|
|
4929
|
+
/**
|
|
4930
|
+
* 权限
|
|
4931
|
+
*/
|
|
4932
|
+
Role?: Array<GrafanaAccountRole>;
|
|
4933
|
+
/**
|
|
4934
|
+
* 备注
|
|
4935
|
+
*/
|
|
4936
|
+
Notes?: string;
|
|
4937
|
+
}
|
|
4938
|
+
/**
|
|
4939
|
+
* GetPrometheusAgentManagementCommand返回参数结构体
|
|
4940
|
+
*/
|
|
4941
|
+
export interface GetPrometheusAgentManagementCommandResponse {
|
|
4942
|
+
/**
|
|
4943
|
+
* Agent 管理命令
|
|
4944
|
+
*/
|
|
4945
|
+
Command?: ManagementCommand;
|
|
4946
|
+
/**
|
|
4947
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4948
|
+
*/
|
|
4949
|
+
RequestId?: string;
|
|
4950
|
+
}
|
|
4137
4951
|
/**
|
|
4138
4952
|
* DescribePolicyConditionList.ConfigManual.StatType
|
|
4139
4953
|
*/
|
|
@@ -4338,6 +5152,59 @@ export interface DescribePrometheusAgentsResponse {
|
|
|
4338
5152
|
*/
|
|
4339
5153
|
RequestId?: string;
|
|
4340
5154
|
}
|
|
5155
|
+
/**
|
|
5156
|
+
* 指标,可用于设置告警、查询数据
|
|
5157
|
+
*/
|
|
5158
|
+
export interface Metric {
|
|
5159
|
+
/**
|
|
5160
|
+
* 告警策略类型
|
|
5161
|
+
*/
|
|
5162
|
+
Namespace: string;
|
|
5163
|
+
/**
|
|
5164
|
+
* 指标名
|
|
5165
|
+
*/
|
|
5166
|
+
MetricName: string;
|
|
5167
|
+
/**
|
|
5168
|
+
* 指标展示名
|
|
5169
|
+
*/
|
|
5170
|
+
Description: string;
|
|
5171
|
+
/**
|
|
5172
|
+
* 最小值
|
|
5173
|
+
*/
|
|
5174
|
+
Min: number;
|
|
5175
|
+
/**
|
|
5176
|
+
* 最大值
|
|
5177
|
+
*/
|
|
5178
|
+
Max: number;
|
|
5179
|
+
/**
|
|
5180
|
+
* 维度列表
|
|
5181
|
+
*/
|
|
5182
|
+
Dimensions: Array<string>;
|
|
5183
|
+
/**
|
|
5184
|
+
* 单位
|
|
5185
|
+
*/
|
|
5186
|
+
Unit: string;
|
|
5187
|
+
/**
|
|
5188
|
+
* 指标配置
|
|
5189
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5190
|
+
*/
|
|
5191
|
+
MetricConfig: MetricConfig;
|
|
5192
|
+
/**
|
|
5193
|
+
* 是否为高级指标。1是 0否
|
|
5194
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5195
|
+
*/
|
|
5196
|
+
IsAdvanced: number;
|
|
5197
|
+
/**
|
|
5198
|
+
* 高级指标是否开通。1是 0否
|
|
5199
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5200
|
+
*/
|
|
5201
|
+
IsOpen: number;
|
|
5202
|
+
/**
|
|
5203
|
+
* 集成中心产品ID
|
|
5204
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5205
|
+
*/
|
|
5206
|
+
ProductId: number;
|
|
5207
|
+
}
|
|
4341
5208
|
/**
|
|
4342
5209
|
* DescribeAlarmEvents请求参数结构体
|
|
4343
5210
|
*/
|
|
@@ -4389,6 +5256,27 @@ export interface DeletePrometheusScrapeJobsRequest {
|
|
|
4389
5256
|
*/
|
|
4390
5257
|
JobIds: Array<string>;
|
|
4391
5258
|
}
|
|
5259
|
+
/**
|
|
5260
|
+
* UpdateGrafanaIntegration请求参数结构体
|
|
5261
|
+
*/
|
|
5262
|
+
export interface UpdateGrafanaIntegrationRequest {
|
|
5263
|
+
/**
|
|
5264
|
+
* 集成 ID
|
|
5265
|
+
*/
|
|
5266
|
+
IntegrationId: string;
|
|
5267
|
+
/**
|
|
5268
|
+
* 实例 ID
|
|
5269
|
+
*/
|
|
5270
|
+
InstanceId: string;
|
|
5271
|
+
/**
|
|
5272
|
+
* 集成类型
|
|
5273
|
+
*/
|
|
5274
|
+
Kind: string;
|
|
5275
|
+
/**
|
|
5276
|
+
* 集成内容
|
|
5277
|
+
*/
|
|
5278
|
+
Content: string;
|
|
5279
|
+
}
|
|
4392
5280
|
/**
|
|
4393
5281
|
* UnBindingPolicyObject请求参数结构体
|
|
4394
5282
|
*/
|
|
@@ -4415,39 +5303,26 @@ export interface UnBindingPolicyObjectRequest {
|
|
|
4415
5303
|
PolicyId?: string;
|
|
4416
5304
|
}
|
|
4417
5305
|
/**
|
|
4418
|
-
*
|
|
5306
|
+
* CleanGrafanaInstance返回参数结构体
|
|
4419
5307
|
*/
|
|
4420
|
-
export interface
|
|
4421
|
-
/**
|
|
4422
|
-
* 回调 url(限长256字符)
|
|
4423
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4424
|
-
*/
|
|
4425
|
-
URL: string;
|
|
4426
|
-
/**
|
|
4427
|
-
* 是否通过验证 0=否 1=是
|
|
4428
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4429
|
-
*/
|
|
4430
|
-
IsValid?: number;
|
|
4431
|
-
/**
|
|
4432
|
-
* 验证码
|
|
4433
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4434
|
-
*/
|
|
4435
|
-
ValidationCode?: string;
|
|
5308
|
+
export interface CleanGrafanaInstanceResponse {
|
|
4436
5309
|
/**
|
|
4437
|
-
*
|
|
4438
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5310
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4439
5311
|
*/
|
|
4440
|
-
|
|
5312
|
+
RequestId?: string;
|
|
5313
|
+
}
|
|
5314
|
+
/**
|
|
5315
|
+
* UpdateDNSConfig请求参数结构体
|
|
5316
|
+
*/
|
|
5317
|
+
export interface UpdateDNSConfigRequest {
|
|
4441
5318
|
/**
|
|
4442
|
-
*
|
|
4443
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5319
|
+
* 实例名
|
|
4444
5320
|
*/
|
|
4445
|
-
|
|
5321
|
+
InstanceId: string;
|
|
4446
5322
|
/**
|
|
4447
|
-
*
|
|
4448
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5323
|
+
* DNS 数组
|
|
4449
5324
|
*/
|
|
4450
|
-
|
|
5325
|
+
NameServers: Array<string>;
|
|
4451
5326
|
}
|
|
4452
5327
|
/**
|
|
4453
5328
|
* CreateAlertRule请求参数结构体
|
|
@@ -4488,11 +5363,50 @@ export interface CreateAlertRuleRequest {
|
|
|
4488
5363
|
|
|
4489
5364
|
告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description。
|
|
4490
5365
|
*/
|
|
4491
|
-
Annotations?: Array<PrometheusRuleKV>;
|
|
5366
|
+
Annotations?: Array<PrometheusRuleKV>;
|
|
5367
|
+
/**
|
|
5368
|
+
* 报警策略模板分类
|
|
5369
|
+
*/
|
|
5370
|
+
Type?: string;
|
|
5371
|
+
}
|
|
5372
|
+
/**
|
|
5373
|
+
* DescribeDNSConfig返回参数结构体
|
|
5374
|
+
*/
|
|
5375
|
+
export interface DescribeDNSConfigResponse {
|
|
5376
|
+
/**
|
|
5377
|
+
* DNS 服务器数组
|
|
5378
|
+
*/
|
|
5379
|
+
NameServers: Array<string>;
|
|
5380
|
+
/**
|
|
5381
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5382
|
+
*/
|
|
5383
|
+
RequestId?: string;
|
|
5384
|
+
}
|
|
5385
|
+
/**
|
|
5386
|
+
* UpdateGrafanaConfig请求参数结构体
|
|
5387
|
+
*/
|
|
5388
|
+
export interface UpdateGrafanaConfigRequest {
|
|
5389
|
+
/**
|
|
5390
|
+
* 无
|
|
5391
|
+
*/
|
|
5392
|
+
InstanceId: string;
|
|
5393
|
+
/**
|
|
5394
|
+
* JSON 编码后的字符串
|
|
5395
|
+
*/
|
|
5396
|
+
Config: string;
|
|
5397
|
+
}
|
|
5398
|
+
/**
|
|
5399
|
+
* UpdateGrafanaEnvironments请求参数结构体
|
|
5400
|
+
*/
|
|
5401
|
+
export interface UpdateGrafanaEnvironmentsRequest {
|
|
5402
|
+
/**
|
|
5403
|
+
* 实例名
|
|
5404
|
+
*/
|
|
5405
|
+
InstanceId: string;
|
|
4492
5406
|
/**
|
|
4493
|
-
*
|
|
5407
|
+
* 环境变量字符串
|
|
4494
5408
|
*/
|
|
4495
|
-
|
|
5409
|
+
Envs: string;
|
|
4496
5410
|
}
|
|
4497
5411
|
/**
|
|
4498
5412
|
* DescribeProductList返回参数结构体
|
|
@@ -4514,27 +5428,21 @@ export interface DescribeProductListResponse {
|
|
|
4514
5428
|
RequestId?: string;
|
|
4515
5429
|
}
|
|
4516
5430
|
/**
|
|
4517
|
-
*
|
|
5431
|
+
* DescribeGrafanaIntegrations请求参数结构体
|
|
4518
5432
|
*/
|
|
4519
|
-
export interface
|
|
4520
|
-
/**
|
|
4521
|
-
* 事件列表
|
|
4522
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4523
|
-
*/
|
|
4524
|
-
Events: Array<DescribeProductEventListEvents>;
|
|
5433
|
+
export interface DescribeGrafanaIntegrationsRequest {
|
|
4525
5434
|
/**
|
|
4526
|
-
*
|
|
5435
|
+
* 实例名
|
|
4527
5436
|
*/
|
|
4528
|
-
|
|
5437
|
+
InstanceId: string;
|
|
4529
5438
|
/**
|
|
4530
|
-
*
|
|
4531
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5439
|
+
* 集成 ID
|
|
4532
5440
|
*/
|
|
4533
|
-
|
|
5441
|
+
IntegrationId?: string;
|
|
4534
5442
|
/**
|
|
4535
|
-
*
|
|
5443
|
+
* 类型
|
|
4536
5444
|
*/
|
|
4537
|
-
|
|
5445
|
+
Kind?: string;
|
|
4538
5446
|
}
|
|
4539
5447
|
/**
|
|
4540
5448
|
* 告警历史数据
|
|
@@ -4836,6 +5744,23 @@ export interface DescribePolicyGroupInfoReceiverInfo {
|
|
|
4836
5744
|
*/
|
|
4837
5745
|
ReceiveLanguage: string;
|
|
4838
5746
|
}
|
|
5747
|
+
/**
|
|
5748
|
+
* DescribeAlarmNotices返回参数结构体
|
|
5749
|
+
*/
|
|
5750
|
+
export interface DescribeAlarmNoticesResponse {
|
|
5751
|
+
/**
|
|
5752
|
+
* 告警通知模板总数
|
|
5753
|
+
*/
|
|
5754
|
+
TotalCount: number;
|
|
5755
|
+
/**
|
|
5756
|
+
* 告警通知模板列表
|
|
5757
|
+
*/
|
|
5758
|
+
Notices: Array<AlarmNotice>;
|
|
5759
|
+
/**
|
|
5760
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5761
|
+
*/
|
|
5762
|
+
RequestId?: string;
|
|
5763
|
+
}
|
|
4839
5764
|
/**
|
|
4840
5765
|
* DescribeStatisticData返回参数结构体
|
|
4841
5766
|
*/
|
|
@@ -5064,13 +5989,34 @@ export interface DescribeBasicAlarmListRequest {
|
|
|
5064
5989
|
MetricNames?: Array<string>;
|
|
5065
5990
|
}
|
|
5066
5991
|
/**
|
|
5067
|
-
*
|
|
5992
|
+
* Prometheus Agent 管理命令行
|
|
5068
5993
|
*/
|
|
5069
|
-
export interface
|
|
5994
|
+
export interface ManagementCommand {
|
|
5070
5995
|
/**
|
|
5071
|
-
*
|
|
5996
|
+
* Agent 安装命令
|
|
5997
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5072
5998
|
*/
|
|
5073
|
-
|
|
5999
|
+
Install: string;
|
|
6000
|
+
/**
|
|
6001
|
+
* Agent 重启命令
|
|
6002
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6003
|
+
*/
|
|
6004
|
+
Restart: string;
|
|
6005
|
+
/**
|
|
6006
|
+
* Agent 停止命令
|
|
6007
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6008
|
+
*/
|
|
6009
|
+
Stop: string;
|
|
6010
|
+
/**
|
|
6011
|
+
* Agent 状态检测命令
|
|
6012
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6013
|
+
*/
|
|
6014
|
+
StatusCheck: string;
|
|
6015
|
+
/**
|
|
6016
|
+
* Agent 日志检测命令
|
|
6017
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6018
|
+
*/
|
|
6019
|
+
LogCheck: string;
|
|
5074
6020
|
}
|
|
5075
6021
|
/**
|
|
5076
6022
|
* DescribeAlarmNotices请求参数结构体
|
|
@@ -5117,6 +6063,15 @@ export interface DescribeAlarmNoticesRequest {
|
|
|
5117
6063
|
*/
|
|
5118
6064
|
NoticeIds?: Array<string>;
|
|
5119
6065
|
}
|
|
6066
|
+
/**
|
|
6067
|
+
* DescribeGrafanaConfig请求参数结构体
|
|
6068
|
+
*/
|
|
6069
|
+
export interface DescribeGrafanaConfigRequest {
|
|
6070
|
+
/**
|
|
6071
|
+
* 无
|
|
6072
|
+
*/
|
|
6073
|
+
InstanceId: string;
|
|
6074
|
+
}
|
|
5120
6075
|
/**
|
|
5121
6076
|
* DescribePolicyGroupList.Group
|
|
5122
6077
|
*/
|
|
@@ -5208,6 +6163,35 @@ export interface DescribePolicyGroupListGroup {
|
|
|
5208
6163
|
*/
|
|
5209
6164
|
IsUnionRule: number;
|
|
5210
6165
|
}
|
|
6166
|
+
/**
|
|
6167
|
+
* DescribeGrafanaInstances请求参数结构体
|
|
6168
|
+
*/
|
|
6169
|
+
export interface DescribeGrafanaInstancesRequest {
|
|
6170
|
+
/**
|
|
6171
|
+
* 查询偏移量
|
|
6172
|
+
*/
|
|
6173
|
+
Offset: number;
|
|
6174
|
+
/**
|
|
6175
|
+
* 查询数量
|
|
6176
|
+
*/
|
|
6177
|
+
Limit: number;
|
|
6178
|
+
/**
|
|
6179
|
+
* 实例 ID 数组
|
|
6180
|
+
*/
|
|
6181
|
+
InstanceIds?: Array<string>;
|
|
6182
|
+
/**
|
|
6183
|
+
* 实例名,支持前缀模糊搜索
|
|
6184
|
+
*/
|
|
6185
|
+
InstanceName?: string;
|
|
6186
|
+
/**
|
|
6187
|
+
* 查询状态
|
|
6188
|
+
*/
|
|
6189
|
+
InstanceStatus?: Array<number>;
|
|
6190
|
+
/**
|
|
6191
|
+
* 标签过滤数组
|
|
6192
|
+
*/
|
|
6193
|
+
TagFilters?: Array<PrometheusTag>;
|
|
6194
|
+
}
|
|
5211
6195
|
/**
|
|
5212
6196
|
* UpdateExporterIntegration请求参数结构体
|
|
5213
6197
|
*/
|
|
@@ -5316,6 +6300,15 @@ export interface MetricDatum {
|
|
|
5316
6300
|
*/
|
|
5317
6301
|
Value: number;
|
|
5318
6302
|
}
|
|
6303
|
+
/**
|
|
6304
|
+
* CreateGrafanaNotificationChannel返回参数结构体
|
|
6305
|
+
*/
|
|
6306
|
+
export interface CreateGrafanaNotificationChannelResponse {
|
|
6307
|
+
/**
|
|
6308
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6309
|
+
*/
|
|
6310
|
+
RequestId?: string;
|
|
6311
|
+
}
|
|
5319
6312
|
/**
|
|
5320
6313
|
* DescribeAlarmNotice返回参数结构体
|
|
5321
6314
|
*/
|
|
@@ -5368,33 +6361,50 @@ export interface DescribeBindingPolicyObjectListInstanceGroup {
|
|
|
5368
6361
|
Regions: Array<string>;
|
|
5369
6362
|
}
|
|
5370
6363
|
/**
|
|
5371
|
-
*
|
|
6364
|
+
* DescribeProductEventList返回的Events里的GroupInfo
|
|
5372
6365
|
*/
|
|
5373
|
-
export interface
|
|
6366
|
+
export interface DescribeProductEventListEventsGroupInfo {
|
|
5374
6367
|
/**
|
|
5375
|
-
*
|
|
6368
|
+
* 策略ID
|
|
6369
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5376
6370
|
*/
|
|
5377
|
-
|
|
6371
|
+
GroupId: number;
|
|
5378
6372
|
/**
|
|
5379
|
-
*
|
|
6373
|
+
* 策略名
|
|
6374
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5380
6375
|
*/
|
|
5381
|
-
|
|
6376
|
+
GroupName: string;
|
|
6377
|
+
}
|
|
6378
|
+
/**
|
|
6379
|
+
* UninstallGrafanaPlugins请求参数结构体
|
|
6380
|
+
*/
|
|
6381
|
+
export interface UninstallGrafanaPluginsRequest {
|
|
5382
6382
|
/**
|
|
5383
|
-
*
|
|
5384
|
-
<li> 1 = 容器服务集群(TKE) </li>
|
|
6383
|
+
* 插件 ID 数组
|
|
5385
6384
|
*/
|
|
5386
|
-
|
|
6385
|
+
PluginIds: Array<string>;
|
|
5387
6386
|
/**
|
|
5388
|
-
*
|
|
5389
|
-
<li> 1 = ServiceMonitor</li>
|
|
5390
|
-
<li> 2 = PodMonitor</li>
|
|
5391
|
-
<li> 3 = JobMonitor</li>
|
|
6387
|
+
* 实例 ID
|
|
5392
6388
|
*/
|
|
5393
|
-
|
|
6389
|
+
InstanceId: string;
|
|
6390
|
+
}
|
|
6391
|
+
/**
|
|
6392
|
+
* CleanGrafanaInstance请求参数结构体
|
|
6393
|
+
*/
|
|
6394
|
+
export interface CleanGrafanaInstanceRequest {
|
|
5394
6395
|
/**
|
|
5395
|
-
*
|
|
6396
|
+
* 实例名
|
|
5396
6397
|
*/
|
|
5397
|
-
|
|
6398
|
+
InstanceId: string;
|
|
6399
|
+
}
|
|
6400
|
+
/**
|
|
6401
|
+
* UpgradeGrafanaInstance返回参数结构体
|
|
6402
|
+
*/
|
|
6403
|
+
export interface UpgradeGrafanaInstanceResponse {
|
|
6404
|
+
/**
|
|
6405
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6406
|
+
*/
|
|
6407
|
+
RequestId?: string;
|
|
5398
6408
|
}
|
|
5399
6409
|
/**
|
|
5400
6410
|
* DeleteAlertRules请求参数结构体
|
|
@@ -5409,6 +6419,15 @@ export interface DeleteAlertRulesRequest {
|
|
|
5409
6419
|
*/
|
|
5410
6420
|
InstanceId: string;
|
|
5411
6421
|
}
|
|
6422
|
+
/**
|
|
6423
|
+
* DescribeSSOAccount请求参数结构体
|
|
6424
|
+
*/
|
|
6425
|
+
export interface DescribeSSOAccountRequest {
|
|
6426
|
+
/**
|
|
6427
|
+
* 实例ID
|
|
6428
|
+
*/
|
|
6429
|
+
InstanceId: string;
|
|
6430
|
+
}
|
|
5412
6431
|
/**
|
|
5413
6432
|
* DescribeAlarmNotice请求参数结构体
|
|
5414
6433
|
*/
|
|
@@ -5452,6 +6471,31 @@ export interface UninstallGrafanaDashboardRequest {
|
|
|
5452
6471
|
*/
|
|
5453
6472
|
IntegrationCodes?: Array<string>;
|
|
5454
6473
|
}
|
|
6474
|
+
/**
|
|
6475
|
+
* Grafana 告警渠道
|
|
6476
|
+
*/
|
|
6477
|
+
export interface GrafanaNotificationChannel {
|
|
6478
|
+
/**
|
|
6479
|
+
* 渠道 ID
|
|
6480
|
+
*/
|
|
6481
|
+
ChannelId: string;
|
|
6482
|
+
/**
|
|
6483
|
+
* 渠道名
|
|
6484
|
+
*/
|
|
6485
|
+
ChannelName: string;
|
|
6486
|
+
/**
|
|
6487
|
+
* 告警通道模板 ID 数组
|
|
6488
|
+
*/
|
|
6489
|
+
Receivers: Array<string>;
|
|
6490
|
+
/**
|
|
6491
|
+
* 创建时间
|
|
6492
|
+
*/
|
|
6493
|
+
CreatedAt: string;
|
|
6494
|
+
/**
|
|
6495
|
+
* 更新时间
|
|
6496
|
+
*/
|
|
6497
|
+
UpdatedAt: string;
|
|
6498
|
+
}
|
|
5455
6499
|
/**
|
|
5456
6500
|
* CreatePrometheusAgent请求参数结构体
|
|
5457
6501
|
*/
|
|
@@ -5736,6 +6780,15 @@ export interface CLSNotice {
|
|
|
5736
6780
|
*/
|
|
5737
6781
|
Enable?: number;
|
|
5738
6782
|
}
|
|
6783
|
+
/**
|
|
6784
|
+
* EnableGrafanaInternet返回参数结构体
|
|
6785
|
+
*/
|
|
6786
|
+
export interface EnableGrafanaInternetResponse {
|
|
6787
|
+
/**
|
|
6788
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6789
|
+
*/
|
|
6790
|
+
RequestId?: string;
|
|
6791
|
+
}
|
|
5739
6792
|
/**
|
|
5740
6793
|
* 查询策略输出的事件告警条件
|
|
5741
6794
|
*/
|
|
@@ -5784,13 +6837,13 @@ export interface ModifyAlarmPolicyStatusResponse {
|
|
|
5784
6837
|
RequestId?: string;
|
|
5785
6838
|
}
|
|
5786
6839
|
/**
|
|
5787
|
-
*
|
|
6840
|
+
* DescribeGrafanaWhiteList返回参数结构体
|
|
5788
6841
|
*/
|
|
5789
|
-
export interface
|
|
6842
|
+
export interface DescribeGrafanaWhiteListResponse {
|
|
5790
6843
|
/**
|
|
5791
|
-
*
|
|
6844
|
+
* 数组
|
|
5792
6845
|
*/
|
|
5793
|
-
|
|
6846
|
+
WhiteList: Array<string>;
|
|
5794
6847
|
/**
|
|
5795
6848
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5796
6849
|
*/
|
|
@@ -5877,6 +6930,24 @@ export interface ModifyPolicyGroupCondition {
|
|
|
5877
6930
|
*/
|
|
5878
6931
|
RuleId?: number;
|
|
5879
6932
|
}
|
|
6933
|
+
/**
|
|
6934
|
+
* DescribeDNSConfig请求参数结构体
|
|
6935
|
+
*/
|
|
6936
|
+
export interface DescribeDNSConfigRequest {
|
|
6937
|
+
/**
|
|
6938
|
+
* 实例名
|
|
6939
|
+
*/
|
|
6940
|
+
InstanceId: string;
|
|
6941
|
+
}
|
|
6942
|
+
/**
|
|
6943
|
+
* UpdateDNSConfig返回参数结构体
|
|
6944
|
+
*/
|
|
6945
|
+
export interface UpdateDNSConfigResponse {
|
|
6946
|
+
/**
|
|
6947
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6948
|
+
*/
|
|
6949
|
+
RequestId?: string;
|
|
6950
|
+
}
|
|
5880
6951
|
/**
|
|
5881
6952
|
* DescribePolicyConditionList策略条件
|
|
5882
6953
|
*/
|
|
@@ -5917,6 +6988,19 @@ export interface DescribePolicyConditionListCondition {
|
|
|
5917
6988
|
*/
|
|
5918
6989
|
SupportRegions: Array<string>;
|
|
5919
6990
|
}
|
|
6991
|
+
/**
|
|
6992
|
+
* UpdateGrafanaWhiteList请求参数结构体
|
|
6993
|
+
*/
|
|
6994
|
+
export interface UpdateGrafanaWhiteListRequest {
|
|
6995
|
+
/**
|
|
6996
|
+
* 实例名
|
|
6997
|
+
*/
|
|
6998
|
+
InstanceId: string;
|
|
6999
|
+
/**
|
|
7000
|
+
* 白名单数组
|
|
7001
|
+
*/
|
|
7002
|
+
Whitelist: Array<string>;
|
|
7003
|
+
}
|
|
5920
7004
|
/**
|
|
5921
7005
|
* Prometheus 服务响应体
|
|
5922
7006
|
*/
|
|
@@ -6119,19 +7203,74 @@ export interface DeleteServiceDiscoveryRequest {
|
|
|
6119
7203
|
Yaml: string;
|
|
6120
7204
|
}
|
|
6121
7205
|
/**
|
|
6122
|
-
*
|
|
7206
|
+
* UpdateSSOAccount返回参数结构体
|
|
6123
7207
|
*/
|
|
6124
|
-
export interface
|
|
7208
|
+
export interface UpdateSSOAccountResponse {
|
|
6125
7209
|
/**
|
|
6126
|
-
*
|
|
6127
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7210
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6128
7211
|
*/
|
|
6129
|
-
|
|
7212
|
+
RequestId?: string;
|
|
7213
|
+
}
|
|
7214
|
+
/**
|
|
7215
|
+
* DescribeInstalledPlugins返回参数结构体
|
|
7216
|
+
*/
|
|
7217
|
+
export interface DescribeInstalledPluginsResponse {
|
|
6130
7218
|
/**
|
|
6131
|
-
*
|
|
6132
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7219
|
+
* 插件列表
|
|
6133
7220
|
*/
|
|
6134
|
-
|
|
7221
|
+
PluginSet: Array<GrafanaPlugin>;
|
|
7222
|
+
/**
|
|
7223
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7224
|
+
*/
|
|
7225
|
+
RequestId?: string;
|
|
7226
|
+
}
|
|
7227
|
+
/**
|
|
7228
|
+
* UpdateGrafanaConfig返回参数结构体
|
|
7229
|
+
*/
|
|
7230
|
+
export interface UpdateGrafanaConfigResponse {
|
|
7231
|
+
/**
|
|
7232
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7233
|
+
*/
|
|
7234
|
+
RequestId?: string;
|
|
7235
|
+
}
|
|
7236
|
+
/**
|
|
7237
|
+
* DeleteSSOAccount返回参数结构体
|
|
7238
|
+
*/
|
|
7239
|
+
export interface DeleteSSOAccountResponse {
|
|
7240
|
+
/**
|
|
7241
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7242
|
+
*/
|
|
7243
|
+
RequestId?: string;
|
|
7244
|
+
}
|
|
7245
|
+
/**
|
|
7246
|
+
* DescribeGrafanaInstances返回参数结构体
|
|
7247
|
+
*/
|
|
7248
|
+
export interface DescribeGrafanaInstancesResponse {
|
|
7249
|
+
/**
|
|
7250
|
+
* 已废弃,请使用 Instances
|
|
7251
|
+
*/
|
|
7252
|
+
InstanceSet: Array<GrafanaInstanceInfo>;
|
|
7253
|
+
/**
|
|
7254
|
+
* 符合查询条件的实例总数
|
|
7255
|
+
*/
|
|
7256
|
+
TotalCount: number;
|
|
7257
|
+
/**
|
|
7258
|
+
* 实例列表
|
|
7259
|
+
*/
|
|
7260
|
+
Instances: Array<GrafanaInstanceInfo>;
|
|
7261
|
+
/**
|
|
7262
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7263
|
+
*/
|
|
7264
|
+
RequestId?: string;
|
|
7265
|
+
}
|
|
7266
|
+
/**
|
|
7267
|
+
* UnBindingAllPolicyObject返回参数结构体
|
|
7268
|
+
*/
|
|
7269
|
+
export interface UnBindingAllPolicyObjectResponse {
|
|
7270
|
+
/**
|
|
7271
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7272
|
+
*/
|
|
7273
|
+
RequestId?: string;
|
|
6135
7274
|
}
|
|
6136
7275
|
/**
|
|
6137
7276
|
* DescribePrometheusInstances请求参数结构体
|