tencentcloud-sdk-nodejs-tke 4.0.595 → 4.0.605
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 +2260 -0
- package/SERVICE_CHANGELOG.md +1958 -100
- package/package.json +1 -1
- package/products.md +194 -193
- package/src/services/tke/v20180525/tke_client.ts +49 -4
- package/src/services/tke/v20180525/tke_models.ts +483 -106
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +13 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +18 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +420 -94
|
@@ -651,6 +651,51 @@ export interface CreateBackupStorageLocationResponse {
|
|
|
651
651
|
*/
|
|
652
652
|
RequestId?: string;
|
|
653
653
|
}
|
|
654
|
+
/**
|
|
655
|
+
* 集群巡检诊断结果
|
|
656
|
+
*/
|
|
657
|
+
export interface KubeJarvisStateDiagnostic {
|
|
658
|
+
/**
|
|
659
|
+
* 诊断开始时间
|
|
660
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
661
|
+
*/
|
|
662
|
+
StartTime?: string;
|
|
663
|
+
/**
|
|
664
|
+
* 诊断结束时间
|
|
665
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
666
|
+
*/
|
|
667
|
+
EndTime?: string;
|
|
668
|
+
/**
|
|
669
|
+
* 诊断目录
|
|
670
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
671
|
+
*/
|
|
672
|
+
Catalogues?: Array<KubeJarvisStateCatalogue>;
|
|
673
|
+
/**
|
|
674
|
+
* 诊断类型
|
|
675
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
676
|
+
*/
|
|
677
|
+
Type?: string;
|
|
678
|
+
/**
|
|
679
|
+
* 诊断名称
|
|
680
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
681
|
+
*/
|
|
682
|
+
Name?: string;
|
|
683
|
+
/**
|
|
684
|
+
* 诊断描述
|
|
685
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
686
|
+
*/
|
|
687
|
+
Desc?: string;
|
|
688
|
+
/**
|
|
689
|
+
* 诊断结果列表
|
|
690
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
691
|
+
*/
|
|
692
|
+
Results?: Array<KubeJarvisStateResultsItem>;
|
|
693
|
+
/**
|
|
694
|
+
* 诊断结果统计
|
|
695
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
696
|
+
*/
|
|
697
|
+
Statistics?: Array<KubeJarvisStateStatistic>;
|
|
698
|
+
}
|
|
654
699
|
/**
|
|
655
700
|
* EnvironmentVariable
|
|
656
701
|
*/
|
|
@@ -1591,6 +1636,23 @@ export interface GetMostSuitableImageCacheResponse {
|
|
|
1591
1636
|
*/
|
|
1592
1637
|
RequestId?: string;
|
|
1593
1638
|
}
|
|
1639
|
+
/**
|
|
1640
|
+
* 集群巡检诊断的默认目录类型
|
|
1641
|
+
*/
|
|
1642
|
+
export interface KubeJarvisStateCatalogue {
|
|
1643
|
+
/**
|
|
1644
|
+
* 目录级别,支持参数:
|
|
1645
|
+
first:一级目录
|
|
1646
|
+
second:二级目录
|
|
1647
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1648
|
+
*/
|
|
1649
|
+
CatalogueLevel?: string;
|
|
1650
|
+
/**
|
|
1651
|
+
* 目录名
|
|
1652
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1653
|
+
*/
|
|
1654
|
+
CatalogueName?: string;
|
|
1655
|
+
}
|
|
1594
1656
|
/**
|
|
1595
1657
|
* 服务事件
|
|
1596
1658
|
*/
|
|
@@ -1765,13 +1827,39 @@ export interface ModifyClusterAttributeResponse {
|
|
|
1765
1827
|
RequestId?: string;
|
|
1766
1828
|
}
|
|
1767
1829
|
/**
|
|
1768
|
-
*
|
|
1830
|
+
* 集群巡检检查结果
|
|
1769
1831
|
*/
|
|
1770
|
-
export interface
|
|
1832
|
+
export interface KubeJarvisStateInspectionResult {
|
|
1771
1833
|
/**
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1834
|
+
* 集群ID
|
|
1835
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1836
|
+
*/
|
|
1837
|
+
ClusterId?: string;
|
|
1838
|
+
/**
|
|
1839
|
+
* 诊断开始时间
|
|
1840
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1841
|
+
*/
|
|
1842
|
+
StartTime?: string;
|
|
1843
|
+
/**
|
|
1844
|
+
* 诊断结束时间
|
|
1845
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1846
|
+
*/
|
|
1847
|
+
EndTime?: string;
|
|
1848
|
+
/**
|
|
1849
|
+
* 诊断结果统计
|
|
1850
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1851
|
+
*/
|
|
1852
|
+
Statistics?: Array<KubeJarvisStateStatistic>;
|
|
1853
|
+
/**
|
|
1854
|
+
* 诊断结果详情
|
|
1855
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1856
|
+
*/
|
|
1857
|
+
Diagnostics?: Array<KubeJarvisStateDiagnostic>;
|
|
1858
|
+
/**
|
|
1859
|
+
* 查询巡检报告相关报错
|
|
1860
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1861
|
+
*/
|
|
1862
|
+
Error?: string;
|
|
1775
1863
|
}
|
|
1776
1864
|
/**
|
|
1777
1865
|
* CreateCluster返回参数结构体
|
|
@@ -2499,6 +2587,21 @@ export interface DescribePrometheusGlobalConfigResponse {
|
|
|
2499
2587
|
*/
|
|
2500
2588
|
RequestId?: string;
|
|
2501
2589
|
}
|
|
2590
|
+
/**
|
|
2591
|
+
* 集群巡检结果历史列表
|
|
2592
|
+
*/
|
|
2593
|
+
export interface KubeJarvisStateInspectionResultsItem {
|
|
2594
|
+
/**
|
|
2595
|
+
* 巡检结果名称
|
|
2596
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2597
|
+
*/
|
|
2598
|
+
Name?: string;
|
|
2599
|
+
/**
|
|
2600
|
+
* 诊断结果统计
|
|
2601
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2602
|
+
*/
|
|
2603
|
+
Statistics?: Array<KubeJarvisStateStatistic>;
|
|
2604
|
+
}
|
|
2502
2605
|
/**
|
|
2503
2606
|
* DescribeClusterReleaseHistory返回参数结构体
|
|
2504
2607
|
*/
|
|
@@ -2652,6 +2755,20 @@ export interface ResourceDeleteOption {
|
|
|
2652
2755
|
*/
|
|
2653
2756
|
DeleteMode: string;
|
|
2654
2757
|
}
|
|
2758
|
+
/**
|
|
2759
|
+
* ListClusterInspectionResults返回参数结构体
|
|
2760
|
+
*/
|
|
2761
|
+
export interface ListClusterInspectionResultsResponse {
|
|
2762
|
+
/**
|
|
2763
|
+
* 集群诊断结果列表
|
|
2764
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2765
|
+
*/
|
|
2766
|
+
InspectionResults?: Array<KubeJarvisStateInspectionResult>;
|
|
2767
|
+
/**
|
|
2768
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2769
|
+
*/
|
|
2770
|
+
RequestId?: string;
|
|
2771
|
+
}
|
|
2655
2772
|
/**
|
|
2656
2773
|
* InstallEdgeLogAgent请求参数结构体
|
|
2657
2774
|
*/
|
|
@@ -3349,6 +3466,21 @@ export interface DescribeTKEEdgeClustersResponse {
|
|
|
3349
3466
|
*/
|
|
3350
3467
|
RequestId?: string;
|
|
3351
3468
|
}
|
|
3469
|
+
/**
|
|
3470
|
+
* 集群巡检诊断对象信息
|
|
3471
|
+
*/
|
|
3472
|
+
export interface KubeJarvisStateResultObjInfo {
|
|
3473
|
+
/**
|
|
3474
|
+
* 对象属性名称
|
|
3475
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3476
|
+
*/
|
|
3477
|
+
PropertyName?: string;
|
|
3478
|
+
/**
|
|
3479
|
+
* 对象属性值
|
|
3480
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3481
|
+
*/
|
|
3482
|
+
PropertyValue?: string;
|
|
3483
|
+
}
|
|
3352
3484
|
/**
|
|
3353
3485
|
* DescribeAvailableTKEEdgeVersion请求参数结构体
|
|
3354
3486
|
*/
|
|
@@ -3359,21 +3491,20 @@ export interface DescribeAvailableTKEEdgeVersionRequest {
|
|
|
3359
3491
|
ClusterId?: string;
|
|
3360
3492
|
}
|
|
3361
3493
|
/**
|
|
3362
|
-
*
|
|
3494
|
+
* DescribeClusterInspectionResultsOverview请求参数结构体
|
|
3363
3495
|
*/
|
|
3364
|
-
export interface
|
|
3365
|
-
/**
|
|
3366
|
-
* 集群ID,通过[DescribeClusters](https://cloud.tencent.com/document/api/457/31862)接口获取。
|
|
3367
|
-
*/
|
|
3368
|
-
ClusterId: string;
|
|
3496
|
+
export interface DescribeClusterInspectionResultsOverviewRequest {
|
|
3369
3497
|
/**
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3498
|
+
* Array of String 目标集群列表,为空查询用户所有集群
|
|
3499
|
+
|
|
3500
|
+
*/
|
|
3501
|
+
ClusterIds?: Array<string>;
|
|
3373
3502
|
/**
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3503
|
+
* 聚合字段信息,概览结果按照 GroupBy 信息聚合后返回,可选参数:
|
|
3504
|
+
catalogue.first:按一级分类聚合
|
|
3505
|
+
catalogue.second:按二级分类聚合
|
|
3506
|
+
*/
|
|
3507
|
+
GroupBy?: Array<string>;
|
|
3377
3508
|
}
|
|
3378
3509
|
/**
|
|
3379
3510
|
* ModifyPrometheusAlertPolicy请求参数结构体
|
|
@@ -3920,6 +4051,20 @@ export interface DeleteBackupStorageLocationRequest {
|
|
|
3920
4051
|
*/
|
|
3921
4052
|
Name: string;
|
|
3922
4053
|
}
|
|
4054
|
+
/**
|
|
4055
|
+
* UninstallClusterRelease返回参数结构体
|
|
4056
|
+
*/
|
|
4057
|
+
export interface UninstallClusterReleaseResponse {
|
|
4058
|
+
/**
|
|
4059
|
+
* 应用详情
|
|
4060
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4061
|
+
*/
|
|
4062
|
+
Release: PendingRelease;
|
|
4063
|
+
/**
|
|
4064
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4065
|
+
*/
|
|
4066
|
+
RequestId?: string;
|
|
4067
|
+
}
|
|
3923
4068
|
/**
|
|
3924
4069
|
* 集群容器网络相关参数
|
|
3925
4070
|
*/
|
|
@@ -4611,6 +4756,15 @@ export interface DescribeClusterEndpointStatusResponse {
|
|
|
4611
4756
|
*/
|
|
4612
4757
|
RequestId?: string;
|
|
4613
4758
|
}
|
|
4759
|
+
/**
|
|
4760
|
+
* 描述了 “云自动化助手” 服务相关的信息
|
|
4761
|
+
*/
|
|
4762
|
+
export interface RunAutomationServiceEnabled {
|
|
4763
|
+
/**
|
|
4764
|
+
* 是否开启云自动化助手。取值范围:<br><li>TRUE:表示开启云自动化助手服务<br><li>FALSE:表示不开启云自动化助手服务<br><br>默认取值:FALSE。
|
|
4765
|
+
*/
|
|
4766
|
+
Enabled?: boolean;
|
|
4767
|
+
}
|
|
4614
4768
|
/**
|
|
4615
4769
|
* DescribeExternalClusterSpec返回参数结构体
|
|
4616
4770
|
*/
|
|
@@ -6540,6 +6694,51 @@ export interface DescribeClusterReleaseDetailsRequest {
|
|
|
6540
6694
|
*/
|
|
6541
6695
|
ClusterType?: string;
|
|
6542
6696
|
}
|
|
6697
|
+
/**
|
|
6698
|
+
* 集群巡检诊断结果详情信息
|
|
6699
|
+
*/
|
|
6700
|
+
export interface KubeJarvisStateResultsItem {
|
|
6701
|
+
/**
|
|
6702
|
+
* 诊断结果级别
|
|
6703
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6704
|
+
*/
|
|
6705
|
+
Level?: string;
|
|
6706
|
+
/**
|
|
6707
|
+
* 诊断对象名
|
|
6708
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6709
|
+
*/
|
|
6710
|
+
ObjName?: string;
|
|
6711
|
+
/**
|
|
6712
|
+
* 诊断对象信息
|
|
6713
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6714
|
+
*/
|
|
6715
|
+
ObjInfo?: Array<KubeJarvisStateResultObjInfo>;
|
|
6716
|
+
/**
|
|
6717
|
+
* 诊断项标题
|
|
6718
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6719
|
+
*/
|
|
6720
|
+
Title?: string;
|
|
6721
|
+
/**
|
|
6722
|
+
* 诊断项描述
|
|
6723
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6724
|
+
*/
|
|
6725
|
+
Desc?: string;
|
|
6726
|
+
/**
|
|
6727
|
+
* 诊断建议
|
|
6728
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6729
|
+
*/
|
|
6730
|
+
Proposal?: string;
|
|
6731
|
+
/**
|
|
6732
|
+
* 诊断建议文档链接
|
|
6733
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6734
|
+
*/
|
|
6735
|
+
ProposalDocUrl?: string;
|
|
6736
|
+
/**
|
|
6737
|
+
* 诊断建议文档名称
|
|
6738
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6739
|
+
*/
|
|
6740
|
+
ProposalDocName?: string;
|
|
6741
|
+
}
|
|
6543
6742
|
/**
|
|
6544
6743
|
* CreateECMInstances请求参数结构体
|
|
6545
6744
|
*/
|
|
@@ -6930,82 +7129,19 @@ export interface TagSpecification {
|
|
|
6930
7129
|
Tags?: Array<Tag>;
|
|
6931
7130
|
}
|
|
6932
7131
|
/**
|
|
6933
|
-
*
|
|
7132
|
+
* 集群巡检诊断概览
|
|
6934
7133
|
*/
|
|
6935
|
-
export interface
|
|
6936
|
-
/**
|
|
6937
|
-
* 是否启用
|
|
6938
|
-
*/
|
|
6939
|
-
Enabled: boolean;
|
|
6940
|
-
/**
|
|
6941
|
-
* 通道类型,默认为amp,支持以下
|
|
6942
|
-
amp
|
|
6943
|
-
webhook
|
|
6944
|
-
alertmanager
|
|
6945
|
-
*/
|
|
6946
|
-
Type: string;
|
|
6947
|
-
/**
|
|
6948
|
-
* 如果Type为webhook, 则该字段为必填项
|
|
6949
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6950
|
-
*/
|
|
6951
|
-
WebHook?: string;
|
|
6952
|
-
/**
|
|
6953
|
-
* 如果Type为alertmanager, 则该字段为必填项
|
|
6954
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6955
|
-
*/
|
|
6956
|
-
AlertManager?: PrometheusAlertManagerConfig;
|
|
6957
|
-
/**
|
|
6958
|
-
* 收敛时间
|
|
6959
|
-
*/
|
|
6960
|
-
RepeatInterval?: string;
|
|
6961
|
-
/**
|
|
6962
|
-
* 生效起始时间
|
|
6963
|
-
*/
|
|
6964
|
-
TimeRangeStart?: string;
|
|
6965
|
-
/**
|
|
6966
|
-
* 生效结束时间
|
|
6967
|
-
*/
|
|
6968
|
-
TimeRangeEnd?: string;
|
|
6969
|
-
/**
|
|
6970
|
-
* 告警通知方式。目前有SMS、EMAIL、CALL、WECHAT方式。
|
|
6971
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6972
|
-
*/
|
|
6973
|
-
NotifyWay?: Array<string>;
|
|
7134
|
+
export interface KubeJarvisStateDiagnosticOverview {
|
|
6974
7135
|
/**
|
|
6975
|
-
*
|
|
6976
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6977
|
-
*/
|
|
6978
|
-
ReceiverGroups?: Array<string>;
|
|
6979
|
-
/**
|
|
6980
|
-
* 电话告警顺序。
|
|
6981
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
6982
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6983
|
-
*/
|
|
6984
|
-
PhoneNotifyOrder?: Array<number>;
|
|
6985
|
-
/**
|
|
6986
|
-
* 电话告警次数。
|
|
6987
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
6988
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6989
|
-
*/
|
|
6990
|
-
PhoneCircleTimes?: number;
|
|
6991
|
-
/**
|
|
6992
|
-
* 电话告警轮内间隔。单位:秒
|
|
6993
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
6994
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6995
|
-
*/
|
|
6996
|
-
PhoneInnerInterval?: number;
|
|
6997
|
-
/**
|
|
6998
|
-
* 电话告警轮外间隔。单位:秒
|
|
6999
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
7136
|
+
* 诊断目录
|
|
7000
7137
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7001
7138
|
*/
|
|
7002
|
-
|
|
7139
|
+
Catalogues?: Array<KubeJarvisStateCatalogue>;
|
|
7003
7140
|
/**
|
|
7004
|
-
*
|
|
7005
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
7141
|
+
* 诊断结果统计
|
|
7006
7142
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7007
7143
|
*/
|
|
7008
|
-
|
|
7144
|
+
Statistics?: Array<KubeJarvisStateStatistic>;
|
|
7009
7145
|
}
|
|
7010
7146
|
/**
|
|
7011
7147
|
* DeleteEdgeClusterInstances返回参数结构体
|
|
@@ -7039,6 +7175,23 @@ export interface CreatePrometheusGlobalNotificationResponse {
|
|
|
7039
7175
|
*/
|
|
7040
7176
|
RequestId?: string;
|
|
7041
7177
|
}
|
|
7178
|
+
/**
|
|
7179
|
+
* ListClusterInspectionResultsItems请求参数结构体
|
|
7180
|
+
*/
|
|
7181
|
+
export interface ListClusterInspectionResultsItemsRequest {
|
|
7182
|
+
/**
|
|
7183
|
+
* 目标集群ID
|
|
7184
|
+
*/
|
|
7185
|
+
ClusterId: string;
|
|
7186
|
+
/**
|
|
7187
|
+
* 查询历史结果的开始时间,Unix时间戳
|
|
7188
|
+
*/
|
|
7189
|
+
StartTime?: string;
|
|
7190
|
+
/**
|
|
7191
|
+
* 查询历史结果的结束时间,默认当前距离开始时间3天,Unix时间戳
|
|
7192
|
+
*/
|
|
7193
|
+
EndTime?: string;
|
|
7194
|
+
}
|
|
7042
7195
|
/**
|
|
7043
7196
|
* DescribeClusterAuthenticationOptions返回参数结构体
|
|
7044
7197
|
*/
|
|
@@ -7507,6 +7660,20 @@ export interface DisableClusterDeletionProtectionRequest {
|
|
|
7507
7660
|
*/
|
|
7508
7661
|
ClusterId: string;
|
|
7509
7662
|
}
|
|
7663
|
+
/**
|
|
7664
|
+
* ListClusterInspectionResultsItems返回参数结构体
|
|
7665
|
+
*/
|
|
7666
|
+
export interface ListClusterInspectionResultsItemsResponse {
|
|
7667
|
+
/**
|
|
7668
|
+
* 巡检结果历史列表
|
|
7669
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7670
|
+
*/
|
|
7671
|
+
InspectionResultsItems?: Array<KubeJarvisStateInspectionResultsItem>;
|
|
7672
|
+
/**
|
|
7673
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
7674
|
+
*/
|
|
7675
|
+
RequestId?: string;
|
|
7676
|
+
}
|
|
7510
7677
|
/**
|
|
7511
7678
|
* prometheus一个job的targets
|
|
7512
7679
|
*/
|
|
@@ -7721,18 +7888,21 @@ export interface SyncPrometheusTemplateResponse {
|
|
|
7721
7888
|
RequestId?: string;
|
|
7722
7889
|
}
|
|
7723
7890
|
/**
|
|
7724
|
-
*
|
|
7891
|
+
* DeleteClusterAsGroups请求参数结构体
|
|
7725
7892
|
*/
|
|
7726
|
-
export interface
|
|
7893
|
+
export interface DeleteClusterAsGroupsRequest {
|
|
7727
7894
|
/**
|
|
7728
|
-
|
|
7729
|
-
|
|
7730
|
-
|
|
7731
|
-
Release: PendingRelease;
|
|
7895
|
+
* 集群ID,通过[DescribeClusters](https://cloud.tencent.com/document/api/457/31862)接口获取。
|
|
7896
|
+
*/
|
|
7897
|
+
ClusterId: string;
|
|
7732
7898
|
/**
|
|
7733
|
-
*
|
|
7899
|
+
* 集群伸缩组ID的列表
|
|
7734
7900
|
*/
|
|
7735
|
-
|
|
7901
|
+
AutoScalingGroupIds: Array<string>;
|
|
7902
|
+
/**
|
|
7903
|
+
* 是否保留伸缩组中的节点(默认值: false(不保留))
|
|
7904
|
+
*/
|
|
7905
|
+
KeepInstance?: boolean;
|
|
7736
7906
|
}
|
|
7737
7907
|
/**
|
|
7738
7908
|
* 集群伸缩组属性
|
|
@@ -9504,6 +9674,84 @@ export interface DeleteClusterRouteResponse {
|
|
|
9504
9674
|
*/
|
|
9505
9675
|
RequestId?: string;
|
|
9506
9676
|
}
|
|
9677
|
+
/**
|
|
9678
|
+
* 告警通知渠道配置
|
|
9679
|
+
*/
|
|
9680
|
+
export interface PrometheusNotificationItem {
|
|
9681
|
+
/**
|
|
9682
|
+
* 是否启用
|
|
9683
|
+
*/
|
|
9684
|
+
Enabled: boolean;
|
|
9685
|
+
/**
|
|
9686
|
+
* 通道类型,默认为amp,支持以下
|
|
9687
|
+
amp
|
|
9688
|
+
webhook
|
|
9689
|
+
alertmanager
|
|
9690
|
+
*/
|
|
9691
|
+
Type: string;
|
|
9692
|
+
/**
|
|
9693
|
+
* 如果Type为webhook, 则该字段为必填项
|
|
9694
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9695
|
+
*/
|
|
9696
|
+
WebHook?: string;
|
|
9697
|
+
/**
|
|
9698
|
+
* 如果Type为alertmanager, 则该字段为必填项
|
|
9699
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9700
|
+
*/
|
|
9701
|
+
AlertManager?: PrometheusAlertManagerConfig;
|
|
9702
|
+
/**
|
|
9703
|
+
* 收敛时间
|
|
9704
|
+
*/
|
|
9705
|
+
RepeatInterval?: string;
|
|
9706
|
+
/**
|
|
9707
|
+
* 生效起始时间
|
|
9708
|
+
*/
|
|
9709
|
+
TimeRangeStart?: string;
|
|
9710
|
+
/**
|
|
9711
|
+
* 生效结束时间
|
|
9712
|
+
*/
|
|
9713
|
+
TimeRangeEnd?: string;
|
|
9714
|
+
/**
|
|
9715
|
+
* 告警通知方式。目前有SMS、EMAIL、CALL、WECHAT方式。
|
|
9716
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9717
|
+
*/
|
|
9718
|
+
NotifyWay?: Array<string>;
|
|
9719
|
+
/**
|
|
9720
|
+
* 告警接收组(用户组)
|
|
9721
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9722
|
+
*/
|
|
9723
|
+
ReceiverGroups?: Array<string>;
|
|
9724
|
+
/**
|
|
9725
|
+
* 电话告警顺序。
|
|
9726
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
9727
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9728
|
+
*/
|
|
9729
|
+
PhoneNotifyOrder?: Array<number>;
|
|
9730
|
+
/**
|
|
9731
|
+
* 电话告警次数。
|
|
9732
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
9733
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9734
|
+
*/
|
|
9735
|
+
PhoneCircleTimes?: number;
|
|
9736
|
+
/**
|
|
9737
|
+
* 电话告警轮内间隔。单位:秒
|
|
9738
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
9739
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9740
|
+
*/
|
|
9741
|
+
PhoneInnerInterval?: number;
|
|
9742
|
+
/**
|
|
9743
|
+
* 电话告警轮外间隔。单位:秒
|
|
9744
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
9745
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9746
|
+
*/
|
|
9747
|
+
PhoneCircleInterval?: number;
|
|
9748
|
+
/**
|
|
9749
|
+
* 电话告警触达通知
|
|
9750
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
9751
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9752
|
+
*/
|
|
9753
|
+
PhoneArriveNotice?: boolean;
|
|
9754
|
+
}
|
|
9507
9755
|
/**
|
|
9508
9756
|
* DeletePrometheusConfig请求参数结构体
|
|
9509
9757
|
*/
|
|
@@ -9864,6 +10112,25 @@ export interface AcquireClusterAdminRoleRequest {
|
|
|
9864
10112
|
*/
|
|
9865
10113
|
ClusterId: string;
|
|
9866
10114
|
}
|
|
10115
|
+
/**
|
|
10116
|
+
* ListClusterInspectionResults请求参数结构体
|
|
10117
|
+
*/
|
|
10118
|
+
export interface ListClusterInspectionResultsRequest {
|
|
10119
|
+
/**
|
|
10120
|
+
* 目标集群列表,为空查询用户所有集群
|
|
10121
|
+
|
|
10122
|
+
*/
|
|
10123
|
+
ClusterIds?: Array<string>;
|
|
10124
|
+
/**
|
|
10125
|
+
* 隐藏的字段信息,为了减少无效的字段返回,隐藏字段不会在返回值中返回。可选值:results
|
|
10126
|
+
|
|
10127
|
+
*/
|
|
10128
|
+
Hide?: Array<string>;
|
|
10129
|
+
/**
|
|
10130
|
+
* 指定查询结果的报告名称,默认查询最新的每个集群只查询最新的一条
|
|
10131
|
+
*/
|
|
10132
|
+
Name?: string;
|
|
10133
|
+
}
|
|
9867
10134
|
/**
|
|
9868
10135
|
* DeletePrometheusTemplate返回参数结构体
|
|
9869
10136
|
*/
|
|
@@ -10495,6 +10762,21 @@ export interface AddVpcCniSubnetsResponse {
|
|
|
10495
10762
|
*/
|
|
10496
10763
|
RequestId?: string;
|
|
10497
10764
|
}
|
|
10765
|
+
/**
|
|
10766
|
+
* 集群巡检统计结果
|
|
10767
|
+
*/
|
|
10768
|
+
export interface KubeJarvisStateStatistic {
|
|
10769
|
+
/**
|
|
10770
|
+
* 诊断结果的健康水平
|
|
10771
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10772
|
+
*/
|
|
10773
|
+
HealthyLevel?: string;
|
|
10774
|
+
/**
|
|
10775
|
+
* 诊断结果的统计
|
|
10776
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10777
|
+
*/
|
|
10778
|
+
Count?: number;
|
|
10779
|
+
}
|
|
10498
10780
|
/**
|
|
10499
10781
|
* 不同角色的已存在节点配置参数
|
|
10500
10782
|
*/
|
|
@@ -10516,6 +10798,26 @@ export interface ExistedInstancesForNode {
|
|
|
10516
10798
|
*/
|
|
10517
10799
|
DesiredPodNumbers?: Array<number>;
|
|
10518
10800
|
}
|
|
10801
|
+
/**
|
|
10802
|
+
* 集群巡检检查结果概览
|
|
10803
|
+
*/
|
|
10804
|
+
export interface KubeJarvisStateInspectionOverview {
|
|
10805
|
+
/**
|
|
10806
|
+
* 集群ID
|
|
10807
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10808
|
+
*/
|
|
10809
|
+
ClusterId?: string;
|
|
10810
|
+
/**
|
|
10811
|
+
* 诊断结果统计
|
|
10812
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10813
|
+
*/
|
|
10814
|
+
Statistics?: Array<KubeJarvisStateStatistic>;
|
|
10815
|
+
/**
|
|
10816
|
+
* 诊断结果详情
|
|
10817
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10818
|
+
*/
|
|
10819
|
+
Diagnostics?: Array<KubeJarvisStateDiagnosticOverview>;
|
|
10820
|
+
}
|
|
10519
10821
|
/**
|
|
10520
10822
|
* DescribePrometheusOverviews返回参数结构体
|
|
10521
10823
|
*/
|
|
@@ -10534,6 +10836,30 @@ export interface DescribePrometheusOverviewsResponse {
|
|
|
10534
10836
|
*/
|
|
10535
10837
|
RequestId?: string;
|
|
10536
10838
|
}
|
|
10839
|
+
/**
|
|
10840
|
+
* DescribeClusterInspectionResultsOverview返回参数结构体
|
|
10841
|
+
*/
|
|
10842
|
+
export interface DescribeClusterInspectionResultsOverviewResponse {
|
|
10843
|
+
/**
|
|
10844
|
+
* 诊断结果统计
|
|
10845
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10846
|
+
*/
|
|
10847
|
+
Statistics?: Array<KubeJarvisStateStatistic>;
|
|
10848
|
+
/**
|
|
10849
|
+
* 诊断结果概览
|
|
10850
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10851
|
+
*/
|
|
10852
|
+
Diagnostics?: Array<KubeJarvisStateDiagnosticOverview>;
|
|
10853
|
+
/**
|
|
10854
|
+
* 集群诊断结果概览
|
|
10855
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10856
|
+
*/
|
|
10857
|
+
InspectionOverview?: Array<KubeJarvisStateInspectionOverview>;
|
|
10858
|
+
/**
|
|
10859
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
10860
|
+
*/
|
|
10861
|
+
RequestId?: string;
|
|
10862
|
+
}
|
|
10537
10863
|
/**
|
|
10538
10864
|
* DeletePrometheusRecordRuleYaml请求参数结构体
|
|
10539
10865
|
*/
|