tencentcloud-sdk-nodejs-tke 4.0.593 → 4.0.602
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 +2202 -0
- package/SERVICE_CHANGELOG.md +2072 -323
- package/package.json +1 -1
- package/products.md +193 -192
- package/src/services/tke/v20180525/tke_client.ts +49 -4
- package/src/services/tke/v20180525/tke_models.ts +489 -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 +425 -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
|
*/
|
|
@@ -2886,6 +3003,11 @@ export interface EdgeCluster {
|
|
|
2886
3003
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2887
3004
|
*/
|
|
2888
3005
|
EdgeVersion?: string;
|
|
3006
|
+
/**
|
|
3007
|
+
* 集群绑定的云标签
|
|
3008
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3009
|
+
*/
|
|
3010
|
+
TagSpecification?: TagSpecification;
|
|
2889
3011
|
}
|
|
2890
3012
|
/**
|
|
2891
3013
|
* DescribeClusterNodePoolDetail返回参数结构体
|
|
@@ -3344,6 +3466,21 @@ export interface DescribeTKEEdgeClustersResponse {
|
|
|
3344
3466
|
*/
|
|
3345
3467
|
RequestId?: string;
|
|
3346
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
|
+
}
|
|
3347
3484
|
/**
|
|
3348
3485
|
* DescribeAvailableTKEEdgeVersion请求参数结构体
|
|
3349
3486
|
*/
|
|
@@ -3354,21 +3491,20 @@ export interface DescribeAvailableTKEEdgeVersionRequest {
|
|
|
3354
3491
|
ClusterId?: string;
|
|
3355
3492
|
}
|
|
3356
3493
|
/**
|
|
3357
|
-
*
|
|
3494
|
+
* DescribeClusterInspectionResultsOverview请求参数结构体
|
|
3358
3495
|
*/
|
|
3359
|
-
export interface
|
|
3360
|
-
/**
|
|
3361
|
-
* 集群ID,通过[DescribeClusters](https://cloud.tencent.com/document/api/457/31862)接口获取。
|
|
3362
|
-
*/
|
|
3363
|
-
ClusterId: string;
|
|
3496
|
+
export interface DescribeClusterInspectionResultsOverviewRequest {
|
|
3364
3497
|
/**
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3498
|
+
* Array of String 目标集群列表,为空查询用户所有集群
|
|
3499
|
+
|
|
3500
|
+
*/
|
|
3501
|
+
ClusterIds?: Array<string>;
|
|
3368
3502
|
/**
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3503
|
+
* 聚合字段信息,概览结果按照 GroupBy 信息聚合后返回,可选参数:
|
|
3504
|
+
catalogue.first:按一级分类聚合
|
|
3505
|
+
catalogue.second:按二级分类聚合
|
|
3506
|
+
*/
|
|
3507
|
+
GroupBy?: Array<string>;
|
|
3372
3508
|
}
|
|
3373
3509
|
/**
|
|
3374
3510
|
* ModifyPrometheusAlertPolicy请求参数结构体
|
|
@@ -3915,6 +4051,20 @@ export interface DeleteBackupStorageLocationRequest {
|
|
|
3915
4051
|
*/
|
|
3916
4052
|
Name: string;
|
|
3917
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
|
+
}
|
|
3918
4068
|
/**
|
|
3919
4069
|
* 集群容器网络相关参数
|
|
3920
4070
|
*/
|
|
@@ -4606,6 +4756,15 @@ export interface DescribeClusterEndpointStatusResponse {
|
|
|
4606
4756
|
*/
|
|
4607
4757
|
RequestId?: string;
|
|
4608
4758
|
}
|
|
4759
|
+
/**
|
|
4760
|
+
* 描述了 “云自动化助手” 服务相关的信息
|
|
4761
|
+
*/
|
|
4762
|
+
export interface RunAutomationServiceEnabled {
|
|
4763
|
+
/**
|
|
4764
|
+
* 是否开启云自动化助手。取值范围:<br><li>TRUE:表示开启云自动化助手服务<br><li>FALSE:表示不开启云自动化助手服务<br><br>默认取值:FALSE。
|
|
4765
|
+
*/
|
|
4766
|
+
Enabled?: boolean;
|
|
4767
|
+
}
|
|
4609
4768
|
/**
|
|
4610
4769
|
* DescribeExternalClusterSpec返回参数结构体
|
|
4611
4770
|
*/
|
|
@@ -6535,6 +6694,51 @@ export interface DescribeClusterReleaseDetailsRequest {
|
|
|
6535
6694
|
*/
|
|
6536
6695
|
ClusterType?: string;
|
|
6537
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
|
+
}
|
|
6538
6742
|
/**
|
|
6539
6743
|
* CreateECMInstances请求参数结构体
|
|
6540
6744
|
*/
|
|
@@ -6925,82 +7129,19 @@ export interface TagSpecification {
|
|
|
6925
7129
|
Tags?: Array<Tag>;
|
|
6926
7130
|
}
|
|
6927
7131
|
/**
|
|
6928
|
-
*
|
|
7132
|
+
* 集群巡检诊断概览
|
|
6929
7133
|
*/
|
|
6930
|
-
export interface
|
|
6931
|
-
/**
|
|
6932
|
-
* 是否启用
|
|
6933
|
-
*/
|
|
6934
|
-
Enabled: boolean;
|
|
6935
|
-
/**
|
|
6936
|
-
* 通道类型,默认为amp,支持以下
|
|
6937
|
-
amp
|
|
6938
|
-
webhook
|
|
6939
|
-
alertmanager
|
|
6940
|
-
*/
|
|
6941
|
-
Type: string;
|
|
6942
|
-
/**
|
|
6943
|
-
* 如果Type为webhook, 则该字段为必填项
|
|
6944
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6945
|
-
*/
|
|
6946
|
-
WebHook?: string;
|
|
6947
|
-
/**
|
|
6948
|
-
* 如果Type为alertmanager, 则该字段为必填项
|
|
6949
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6950
|
-
*/
|
|
6951
|
-
AlertManager?: PrometheusAlertManagerConfig;
|
|
6952
|
-
/**
|
|
6953
|
-
* 收敛时间
|
|
6954
|
-
*/
|
|
6955
|
-
RepeatInterval?: string;
|
|
6956
|
-
/**
|
|
6957
|
-
* 生效起始时间
|
|
6958
|
-
*/
|
|
6959
|
-
TimeRangeStart?: string;
|
|
6960
|
-
/**
|
|
6961
|
-
* 生效结束时间
|
|
6962
|
-
*/
|
|
6963
|
-
TimeRangeEnd?: string;
|
|
6964
|
-
/**
|
|
6965
|
-
* 告警通知方式。目前有SMS、EMAIL、CALL、WECHAT方式。
|
|
6966
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6967
|
-
*/
|
|
6968
|
-
NotifyWay?: Array<string>;
|
|
6969
|
-
/**
|
|
6970
|
-
* 告警接收组(用户组)
|
|
6971
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6972
|
-
*/
|
|
6973
|
-
ReceiverGroups?: Array<string>;
|
|
6974
|
-
/**
|
|
6975
|
-
* 电话告警顺序。
|
|
6976
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
6977
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6978
|
-
*/
|
|
6979
|
-
PhoneNotifyOrder?: Array<number>;
|
|
7134
|
+
export interface KubeJarvisStateDiagnosticOverview {
|
|
6980
7135
|
/**
|
|
6981
|
-
*
|
|
6982
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
7136
|
+
* 诊断目录
|
|
6983
7137
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6984
7138
|
*/
|
|
6985
|
-
|
|
7139
|
+
Catalogues?: Array<KubeJarvisStateCatalogue>;
|
|
6986
7140
|
/**
|
|
6987
|
-
*
|
|
6988
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
7141
|
+
* 诊断结果统计
|
|
6989
7142
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6990
7143
|
*/
|
|
6991
|
-
|
|
6992
|
-
/**
|
|
6993
|
-
* 电话告警轮外间隔。单位:秒
|
|
6994
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
6995
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6996
|
-
*/
|
|
6997
|
-
PhoneCircleInterval?: number;
|
|
6998
|
-
/**
|
|
6999
|
-
* 电话告警触达通知
|
|
7000
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
7001
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7002
|
-
*/
|
|
7003
|
-
PhoneArriveNotice?: boolean;
|
|
7144
|
+
Statistics?: Array<KubeJarvisStateStatistic>;
|
|
7004
7145
|
}
|
|
7005
7146
|
/**
|
|
7006
7147
|
* DeleteEdgeClusterInstances返回参数结构体
|
|
@@ -7034,6 +7175,23 @@ export interface CreatePrometheusGlobalNotificationResponse {
|
|
|
7034
7175
|
*/
|
|
7035
7176
|
RequestId?: string;
|
|
7036
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
|
+
}
|
|
7037
7195
|
/**
|
|
7038
7196
|
* DescribeClusterAuthenticationOptions返回参数结构体
|
|
7039
7197
|
*/
|
|
@@ -7502,6 +7660,20 @@ export interface DisableClusterDeletionProtectionRequest {
|
|
|
7502
7660
|
*/
|
|
7503
7661
|
ClusterId: string;
|
|
7504
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
|
+
}
|
|
7505
7677
|
/**
|
|
7506
7678
|
* prometheus一个job的targets
|
|
7507
7679
|
*/
|
|
@@ -7716,18 +7888,21 @@ export interface SyncPrometheusTemplateResponse {
|
|
|
7716
7888
|
RequestId?: string;
|
|
7717
7889
|
}
|
|
7718
7890
|
/**
|
|
7719
|
-
*
|
|
7891
|
+
* DeleteClusterAsGroups请求参数结构体
|
|
7720
7892
|
*/
|
|
7721
|
-
export interface
|
|
7893
|
+
export interface DeleteClusterAsGroupsRequest {
|
|
7722
7894
|
/**
|
|
7723
|
-
|
|
7724
|
-
|
|
7725
|
-
|
|
7726
|
-
Release: PendingRelease;
|
|
7895
|
+
* 集群ID,通过[DescribeClusters](https://cloud.tencent.com/document/api/457/31862)接口获取。
|
|
7896
|
+
*/
|
|
7897
|
+
ClusterId: string;
|
|
7727
7898
|
/**
|
|
7728
|
-
*
|
|
7899
|
+
* 集群伸缩组ID的列表
|
|
7729
7900
|
*/
|
|
7730
|
-
|
|
7901
|
+
AutoScalingGroupIds: Array<string>;
|
|
7902
|
+
/**
|
|
7903
|
+
* 是否保留伸缩组中的节点(默认值: false(不保留))
|
|
7904
|
+
*/
|
|
7905
|
+
KeepInstance?: boolean;
|
|
7731
7906
|
}
|
|
7732
7907
|
/**
|
|
7733
7908
|
* 集群伸缩组属性
|
|
@@ -9499,6 +9674,84 @@ export interface DeleteClusterRouteResponse {
|
|
|
9499
9674
|
*/
|
|
9500
9675
|
RequestId?: string;
|
|
9501
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
|
+
}
|
|
9502
9755
|
/**
|
|
9503
9756
|
* DeletePrometheusConfig请求参数结构体
|
|
9504
9757
|
*/
|
|
@@ -9859,6 +10112,25 @@ export interface AcquireClusterAdminRoleRequest {
|
|
|
9859
10112
|
*/
|
|
9860
10113
|
ClusterId: string;
|
|
9861
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
|
+
}
|
|
9862
10134
|
/**
|
|
9863
10135
|
* DeletePrometheusTemplate返回参数结构体
|
|
9864
10136
|
*/
|
|
@@ -10490,6 +10762,21 @@ export interface AddVpcCniSubnetsResponse {
|
|
|
10490
10762
|
*/
|
|
10491
10763
|
RequestId?: string;
|
|
10492
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
|
+
}
|
|
10493
10780
|
/**
|
|
10494
10781
|
* 不同角色的已存在节点配置参数
|
|
10495
10782
|
*/
|
|
@@ -10511,6 +10798,26 @@ export interface ExistedInstancesForNode {
|
|
|
10511
10798
|
*/
|
|
10512
10799
|
DesiredPodNumbers?: Array<number>;
|
|
10513
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
|
+
}
|
|
10514
10821
|
/**
|
|
10515
10822
|
* DescribePrometheusOverviews返回参数结构体
|
|
10516
10823
|
*/
|
|
@@ -10529,6 +10836,30 @@ export interface DescribePrometheusOverviewsResponse {
|
|
|
10529
10836
|
*/
|
|
10530
10837
|
RequestId?: string;
|
|
10531
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
|
+
}
|
|
10532
10863
|
/**
|
|
10533
10864
|
* DeletePrometheusRecordRuleYaml请求参数结构体
|
|
10534
10865
|
*/
|