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
|
@@ -784,6 +784,59 @@ export interface CreateBackupStorageLocationResponse {
|
|
|
784
784
|
RequestId?: string
|
|
785
785
|
}
|
|
786
786
|
|
|
787
|
+
/**
|
|
788
|
+
* 集群巡检诊断结果
|
|
789
|
+
*/
|
|
790
|
+
export interface KubeJarvisStateDiagnostic {
|
|
791
|
+
/**
|
|
792
|
+
* 诊断开始时间
|
|
793
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
794
|
+
*/
|
|
795
|
+
StartTime?: string
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* 诊断结束时间
|
|
799
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
800
|
+
*/
|
|
801
|
+
EndTime?: string
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* 诊断目录
|
|
805
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
806
|
+
*/
|
|
807
|
+
Catalogues?: Array<KubeJarvisStateCatalogue>
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* 诊断类型
|
|
811
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
812
|
+
*/
|
|
813
|
+
Type?: string
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* 诊断名称
|
|
817
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
818
|
+
*/
|
|
819
|
+
Name?: string
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* 诊断描述
|
|
823
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
824
|
+
*/
|
|
825
|
+
Desc?: string
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* 诊断结果列表
|
|
829
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
830
|
+
*/
|
|
831
|
+
Results?: Array<KubeJarvisStateResultsItem>
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* 诊断结果统计
|
|
835
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
836
|
+
*/
|
|
837
|
+
Statistics?: Array<KubeJarvisStateStatistic>
|
|
838
|
+
}
|
|
839
|
+
|
|
787
840
|
/**
|
|
788
841
|
* EnvironmentVariable
|
|
789
842
|
*/
|
|
@@ -1885,6 +1938,25 @@ export interface GetMostSuitableImageCacheResponse {
|
|
|
1885
1938
|
RequestId?: string
|
|
1886
1939
|
}
|
|
1887
1940
|
|
|
1941
|
+
/**
|
|
1942
|
+
* 集群巡检诊断的默认目录类型
|
|
1943
|
+
*/
|
|
1944
|
+
export interface KubeJarvisStateCatalogue {
|
|
1945
|
+
/**
|
|
1946
|
+
* 目录级别,支持参数:
|
|
1947
|
+
first:一级目录
|
|
1948
|
+
second:二级目录
|
|
1949
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1950
|
+
*/
|
|
1951
|
+
CatalogueLevel?: string
|
|
1952
|
+
|
|
1953
|
+
/**
|
|
1954
|
+
* 目录名
|
|
1955
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1956
|
+
*/
|
|
1957
|
+
CatalogueName?: string
|
|
1958
|
+
}
|
|
1959
|
+
|
|
1888
1960
|
/**
|
|
1889
1961
|
* 服务事件
|
|
1890
1962
|
*/
|
|
@@ -2090,13 +2162,44 @@ export interface ModifyClusterAttributeResponse {
|
|
|
2090
2162
|
}
|
|
2091
2163
|
|
|
2092
2164
|
/**
|
|
2093
|
-
*
|
|
2165
|
+
* 集群巡检检查结果
|
|
2094
2166
|
*/
|
|
2095
|
-
export interface
|
|
2167
|
+
export interface KubeJarvisStateInspectionResult {
|
|
2096
2168
|
/**
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2169
|
+
* 集群ID
|
|
2170
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2171
|
+
*/
|
|
2172
|
+
ClusterId?: string
|
|
2173
|
+
|
|
2174
|
+
/**
|
|
2175
|
+
* 诊断开始时间
|
|
2176
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2177
|
+
*/
|
|
2178
|
+
StartTime?: string
|
|
2179
|
+
|
|
2180
|
+
/**
|
|
2181
|
+
* 诊断结束时间
|
|
2182
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2183
|
+
*/
|
|
2184
|
+
EndTime?: string
|
|
2185
|
+
|
|
2186
|
+
/**
|
|
2187
|
+
* 诊断结果统计
|
|
2188
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2189
|
+
*/
|
|
2190
|
+
Statistics?: Array<KubeJarvisStateStatistic>
|
|
2191
|
+
|
|
2192
|
+
/**
|
|
2193
|
+
* 诊断结果详情
|
|
2194
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2195
|
+
*/
|
|
2196
|
+
Diagnostics?: Array<KubeJarvisStateDiagnostic>
|
|
2197
|
+
|
|
2198
|
+
/**
|
|
2199
|
+
* 查询巡检报告相关报错
|
|
2200
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2201
|
+
*/
|
|
2202
|
+
Error?: string
|
|
2100
2203
|
}
|
|
2101
2204
|
|
|
2102
2205
|
/**
|
|
@@ -2947,6 +3050,23 @@ export interface DescribePrometheusGlobalConfigResponse {
|
|
|
2947
3050
|
RequestId?: string
|
|
2948
3051
|
}
|
|
2949
3052
|
|
|
3053
|
+
/**
|
|
3054
|
+
* 集群巡检结果历史列表
|
|
3055
|
+
*/
|
|
3056
|
+
export interface KubeJarvisStateInspectionResultsItem {
|
|
3057
|
+
/**
|
|
3058
|
+
* 巡检结果名称
|
|
3059
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3060
|
+
*/
|
|
3061
|
+
Name?: string
|
|
3062
|
+
|
|
3063
|
+
/**
|
|
3064
|
+
* 诊断结果统计
|
|
3065
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3066
|
+
*/
|
|
3067
|
+
Statistics?: Array<KubeJarvisStateStatistic>
|
|
3068
|
+
}
|
|
3069
|
+
|
|
2950
3070
|
/**
|
|
2951
3071
|
* DescribeClusterReleaseHistory返回参数结构体
|
|
2952
3072
|
*/
|
|
@@ -3126,6 +3246,22 @@ export interface ResourceDeleteOption {
|
|
|
3126
3246
|
DeleteMode: string
|
|
3127
3247
|
}
|
|
3128
3248
|
|
|
3249
|
+
/**
|
|
3250
|
+
* ListClusterInspectionResults返回参数结构体
|
|
3251
|
+
*/
|
|
3252
|
+
export interface ListClusterInspectionResultsResponse {
|
|
3253
|
+
/**
|
|
3254
|
+
* 集群诊断结果列表
|
|
3255
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3256
|
+
*/
|
|
3257
|
+
InspectionResults?: Array<KubeJarvisStateInspectionResult>
|
|
3258
|
+
|
|
3259
|
+
/**
|
|
3260
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3261
|
+
*/
|
|
3262
|
+
RequestId?: string
|
|
3263
|
+
}
|
|
3264
|
+
|
|
3129
3265
|
/**
|
|
3130
3266
|
* InstallEdgeLogAgent请求参数结构体
|
|
3131
3267
|
*/
|
|
@@ -3405,6 +3541,12 @@ export interface EdgeCluster {
|
|
|
3405
3541
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3406
3542
|
*/
|
|
3407
3543
|
EdgeVersion?: string
|
|
3544
|
+
|
|
3545
|
+
/**
|
|
3546
|
+
* 集群绑定的云标签
|
|
3547
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3548
|
+
*/
|
|
3549
|
+
TagSpecification?: TagSpecification
|
|
3408
3550
|
}
|
|
3409
3551
|
|
|
3410
3552
|
/**
|
|
@@ -3946,6 +4088,23 @@ export interface DescribeTKEEdgeClustersResponse {
|
|
|
3946
4088
|
RequestId?: string
|
|
3947
4089
|
}
|
|
3948
4090
|
|
|
4091
|
+
/**
|
|
4092
|
+
* 集群巡检诊断对象信息
|
|
4093
|
+
*/
|
|
4094
|
+
export interface KubeJarvisStateResultObjInfo {
|
|
4095
|
+
/**
|
|
4096
|
+
* 对象属性名称
|
|
4097
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4098
|
+
*/
|
|
4099
|
+
PropertyName?: string
|
|
4100
|
+
|
|
4101
|
+
/**
|
|
4102
|
+
* 对象属性值
|
|
4103
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4104
|
+
*/
|
|
4105
|
+
PropertyValue?: string
|
|
4106
|
+
}
|
|
4107
|
+
|
|
3949
4108
|
/**
|
|
3950
4109
|
* DescribeAvailableTKEEdgeVersion请求参数结构体
|
|
3951
4110
|
*/
|
|
@@ -3957,23 +4116,21 @@ export interface DescribeAvailableTKEEdgeVersionRequest {
|
|
|
3957
4116
|
}
|
|
3958
4117
|
|
|
3959
4118
|
/**
|
|
3960
|
-
*
|
|
4119
|
+
* DescribeClusterInspectionResultsOverview请求参数结构体
|
|
3961
4120
|
*/
|
|
3962
|
-
export interface
|
|
4121
|
+
export interface DescribeClusterInspectionResultsOverviewRequest {
|
|
3963
4122
|
/**
|
|
3964
|
-
|
|
3965
|
-
*/
|
|
3966
|
-
ClusterId: string
|
|
4123
|
+
* Array of String 目标集群列表,为空查询用户所有集群
|
|
3967
4124
|
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
*/
|
|
3971
|
-
AutoScalingGroupIds: Array<string>
|
|
4125
|
+
*/
|
|
4126
|
+
ClusterIds?: Array<string>
|
|
3972
4127
|
|
|
3973
4128
|
/**
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
4129
|
+
* 聚合字段信息,概览结果按照 GroupBy 信息聚合后返回,可选参数:
|
|
4130
|
+
catalogue.first:按一级分类聚合
|
|
4131
|
+
catalogue.second:按二级分类聚合
|
|
4132
|
+
*/
|
|
4133
|
+
GroupBy?: Array<string>
|
|
3977
4134
|
}
|
|
3978
4135
|
|
|
3979
4136
|
/**
|
|
@@ -4618,6 +4775,22 @@ export interface DeleteBackupStorageLocationRequest {
|
|
|
4618
4775
|
Name: string
|
|
4619
4776
|
}
|
|
4620
4777
|
|
|
4778
|
+
/**
|
|
4779
|
+
* UninstallClusterRelease返回参数结构体
|
|
4780
|
+
*/
|
|
4781
|
+
export interface UninstallClusterReleaseResponse {
|
|
4782
|
+
/**
|
|
4783
|
+
* 应用详情
|
|
4784
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4785
|
+
*/
|
|
4786
|
+
Release: PendingRelease
|
|
4787
|
+
|
|
4788
|
+
/**
|
|
4789
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4790
|
+
*/
|
|
4791
|
+
RequestId?: string
|
|
4792
|
+
}
|
|
4793
|
+
|
|
4621
4794
|
/**
|
|
4622
4795
|
* 集群容器网络相关参数
|
|
4623
4796
|
*/
|
|
@@ -5429,6 +5602,16 @@ export interface DescribeClusterEndpointStatusResponse {
|
|
|
5429
5602
|
RequestId?: string
|
|
5430
5603
|
}
|
|
5431
5604
|
|
|
5605
|
+
/**
|
|
5606
|
+
* 描述了 “云自动化助手” 服务相关的信息
|
|
5607
|
+
*/
|
|
5608
|
+
export interface RunAutomationServiceEnabled {
|
|
5609
|
+
/**
|
|
5610
|
+
* 是否开启云自动化助手。取值范围:<br><li>TRUE:表示开启云自动化助手服务<br><li>FALSE:表示不开启云自动化助手服务<br><br>默认取值:FALSE。
|
|
5611
|
+
*/
|
|
5612
|
+
Enabled?: boolean
|
|
5613
|
+
}
|
|
5614
|
+
|
|
5432
5615
|
/**
|
|
5433
5616
|
* DescribeExternalClusterSpec返回参数结构体
|
|
5434
5617
|
*/
|
|
@@ -7691,6 +7874,59 @@ export interface DescribeClusterReleaseDetailsRequest {
|
|
|
7691
7874
|
ClusterType?: string
|
|
7692
7875
|
}
|
|
7693
7876
|
|
|
7877
|
+
/**
|
|
7878
|
+
* 集群巡检诊断结果详情信息
|
|
7879
|
+
*/
|
|
7880
|
+
export interface KubeJarvisStateResultsItem {
|
|
7881
|
+
/**
|
|
7882
|
+
* 诊断结果级别
|
|
7883
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7884
|
+
*/
|
|
7885
|
+
Level?: string
|
|
7886
|
+
|
|
7887
|
+
/**
|
|
7888
|
+
* 诊断对象名
|
|
7889
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7890
|
+
*/
|
|
7891
|
+
ObjName?: string
|
|
7892
|
+
|
|
7893
|
+
/**
|
|
7894
|
+
* 诊断对象信息
|
|
7895
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7896
|
+
*/
|
|
7897
|
+
ObjInfo?: Array<KubeJarvisStateResultObjInfo>
|
|
7898
|
+
|
|
7899
|
+
/**
|
|
7900
|
+
* 诊断项标题
|
|
7901
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7902
|
+
*/
|
|
7903
|
+
Title?: string
|
|
7904
|
+
|
|
7905
|
+
/**
|
|
7906
|
+
* 诊断项描述
|
|
7907
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7908
|
+
*/
|
|
7909
|
+
Desc?: string
|
|
7910
|
+
|
|
7911
|
+
/**
|
|
7912
|
+
* 诊断建议
|
|
7913
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7914
|
+
*/
|
|
7915
|
+
Proposal?: string
|
|
7916
|
+
|
|
7917
|
+
/**
|
|
7918
|
+
* 诊断建议文档链接
|
|
7919
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7920
|
+
*/
|
|
7921
|
+
ProposalDocUrl?: string
|
|
7922
|
+
|
|
7923
|
+
/**
|
|
7924
|
+
* 诊断建议文档名称
|
|
7925
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7926
|
+
*/
|
|
7927
|
+
ProposalDocName?: string
|
|
7928
|
+
}
|
|
7929
|
+
|
|
7694
7930
|
/**
|
|
7695
7931
|
* CreateECMInstances请求参数结构体
|
|
7696
7932
|
*/
|
|
@@ -8146,95 +8382,20 @@ export interface TagSpecification {
|
|
|
8146
8382
|
}
|
|
8147
8383
|
|
|
8148
8384
|
/**
|
|
8149
|
-
*
|
|
8385
|
+
* 集群巡检诊断概览
|
|
8150
8386
|
*/
|
|
8151
|
-
export interface
|
|
8152
|
-
/**
|
|
8153
|
-
* 是否启用
|
|
8154
|
-
*/
|
|
8155
|
-
Enabled: boolean
|
|
8156
|
-
|
|
8157
|
-
/**
|
|
8158
|
-
* 通道类型,默认为amp,支持以下
|
|
8159
|
-
amp
|
|
8160
|
-
webhook
|
|
8161
|
-
alertmanager
|
|
8162
|
-
*/
|
|
8163
|
-
Type: string
|
|
8164
|
-
|
|
8165
|
-
/**
|
|
8166
|
-
* 如果Type为webhook, 则该字段为必填项
|
|
8167
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8168
|
-
*/
|
|
8169
|
-
WebHook?: string
|
|
8170
|
-
|
|
8171
|
-
/**
|
|
8172
|
-
* 如果Type为alertmanager, 则该字段为必填项
|
|
8173
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8174
|
-
*/
|
|
8175
|
-
AlertManager?: PrometheusAlertManagerConfig
|
|
8176
|
-
|
|
8177
|
-
/**
|
|
8178
|
-
* 收敛时间
|
|
8179
|
-
*/
|
|
8180
|
-
RepeatInterval?: string
|
|
8181
|
-
|
|
8182
|
-
/**
|
|
8183
|
-
* 生效起始时间
|
|
8184
|
-
*/
|
|
8185
|
-
TimeRangeStart?: string
|
|
8186
|
-
|
|
8187
|
-
/**
|
|
8188
|
-
* 生效结束时间
|
|
8189
|
-
*/
|
|
8190
|
-
TimeRangeEnd?: string
|
|
8191
|
-
|
|
8192
|
-
/**
|
|
8193
|
-
* 告警通知方式。目前有SMS、EMAIL、CALL、WECHAT方式。
|
|
8194
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8195
|
-
*/
|
|
8196
|
-
NotifyWay?: Array<string>
|
|
8197
|
-
|
|
8198
|
-
/**
|
|
8199
|
-
* 告警接收组(用户组)
|
|
8200
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8201
|
-
*/
|
|
8202
|
-
ReceiverGroups?: Array<string>
|
|
8203
|
-
|
|
8204
|
-
/**
|
|
8205
|
-
* 电话告警顺序。
|
|
8206
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
8207
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8208
|
-
*/
|
|
8209
|
-
PhoneNotifyOrder?: Array<number>
|
|
8210
|
-
|
|
8211
|
-
/**
|
|
8212
|
-
* 电话告警次数。
|
|
8213
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
8214
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8215
|
-
*/
|
|
8216
|
-
PhoneCircleTimes?: number
|
|
8217
|
-
|
|
8218
|
-
/**
|
|
8219
|
-
* 电话告警轮内间隔。单位:秒
|
|
8220
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
8221
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8222
|
-
*/
|
|
8223
|
-
PhoneInnerInterval?: number
|
|
8224
|
-
|
|
8387
|
+
export interface KubeJarvisStateDiagnosticOverview {
|
|
8225
8388
|
/**
|
|
8226
|
-
*
|
|
8227
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
8389
|
+
* 诊断目录
|
|
8228
8390
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8229
8391
|
*/
|
|
8230
|
-
|
|
8392
|
+
Catalogues?: Array<KubeJarvisStateCatalogue>
|
|
8231
8393
|
|
|
8232
8394
|
/**
|
|
8233
|
-
*
|
|
8234
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
8395
|
+
* 诊断结果统计
|
|
8235
8396
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8236
8397
|
*/
|
|
8237
|
-
|
|
8398
|
+
Statistics?: Array<KubeJarvisStateStatistic>
|
|
8238
8399
|
}
|
|
8239
8400
|
|
|
8240
8401
|
/**
|
|
@@ -8273,6 +8434,26 @@ export interface CreatePrometheusGlobalNotificationResponse {
|
|
|
8273
8434
|
RequestId?: string
|
|
8274
8435
|
}
|
|
8275
8436
|
|
|
8437
|
+
/**
|
|
8438
|
+
* ListClusterInspectionResultsItems请求参数结构体
|
|
8439
|
+
*/
|
|
8440
|
+
export interface ListClusterInspectionResultsItemsRequest {
|
|
8441
|
+
/**
|
|
8442
|
+
* 目标集群ID
|
|
8443
|
+
*/
|
|
8444
|
+
ClusterId: string
|
|
8445
|
+
|
|
8446
|
+
/**
|
|
8447
|
+
* 查询历史结果的开始时间,Unix时间戳
|
|
8448
|
+
*/
|
|
8449
|
+
StartTime?: string
|
|
8450
|
+
|
|
8451
|
+
/**
|
|
8452
|
+
* 查询历史结果的结束时间,默认当前距离开始时间3天,Unix时间戳
|
|
8453
|
+
*/
|
|
8454
|
+
EndTime?: string
|
|
8455
|
+
}
|
|
8456
|
+
|
|
8276
8457
|
/**
|
|
8277
8458
|
* DescribeClusterAuthenticationOptions返回参数结构体
|
|
8278
8459
|
*/
|
|
@@ -8822,6 +9003,22 @@ export interface DisableClusterDeletionProtectionRequest {
|
|
|
8822
9003
|
ClusterId: string
|
|
8823
9004
|
}
|
|
8824
9005
|
|
|
9006
|
+
/**
|
|
9007
|
+
* ListClusterInspectionResultsItems返回参数结构体
|
|
9008
|
+
*/
|
|
9009
|
+
export interface ListClusterInspectionResultsItemsResponse {
|
|
9010
|
+
/**
|
|
9011
|
+
* 巡检结果历史列表
|
|
9012
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9013
|
+
*/
|
|
9014
|
+
InspectionResultsItems?: Array<KubeJarvisStateInspectionResultsItem>
|
|
9015
|
+
|
|
9016
|
+
/**
|
|
9017
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9018
|
+
*/
|
|
9019
|
+
RequestId?: string
|
|
9020
|
+
}
|
|
9021
|
+
|
|
8825
9022
|
/**
|
|
8826
9023
|
* prometheus一个job的targets
|
|
8827
9024
|
*/
|
|
@@ -9070,19 +9267,23 @@ export interface SyncPrometheusTemplateResponse {
|
|
|
9070
9267
|
}
|
|
9071
9268
|
|
|
9072
9269
|
/**
|
|
9073
|
-
*
|
|
9270
|
+
* DeleteClusterAsGroups请求参数结构体
|
|
9074
9271
|
*/
|
|
9075
|
-
export interface
|
|
9272
|
+
export interface DeleteClusterAsGroupsRequest {
|
|
9076
9273
|
/**
|
|
9077
|
-
|
|
9078
|
-
|
|
9079
|
-
|
|
9080
|
-
Release: PendingRelease
|
|
9274
|
+
* 集群ID,通过[DescribeClusters](https://cloud.tencent.com/document/api/457/31862)接口获取。
|
|
9275
|
+
*/
|
|
9276
|
+
ClusterId: string
|
|
9081
9277
|
|
|
9082
9278
|
/**
|
|
9083
|
-
*
|
|
9279
|
+
* 集群伸缩组ID的列表
|
|
9084
9280
|
*/
|
|
9085
|
-
|
|
9281
|
+
AutoScalingGroupIds: Array<string>
|
|
9282
|
+
|
|
9283
|
+
/**
|
|
9284
|
+
* 是否保留伸缩组中的节点(默认值: false(不保留))
|
|
9285
|
+
*/
|
|
9286
|
+
KeepInstance?: boolean
|
|
9086
9287
|
}
|
|
9087
9288
|
|
|
9088
9289
|
/**
|
|
@@ -11171,6 +11372,98 @@ export interface DeleteClusterRouteResponse {
|
|
|
11171
11372
|
RequestId?: string
|
|
11172
11373
|
}
|
|
11173
11374
|
|
|
11375
|
+
/**
|
|
11376
|
+
* 告警通知渠道配置
|
|
11377
|
+
*/
|
|
11378
|
+
export interface PrometheusNotificationItem {
|
|
11379
|
+
/**
|
|
11380
|
+
* 是否启用
|
|
11381
|
+
*/
|
|
11382
|
+
Enabled: boolean
|
|
11383
|
+
|
|
11384
|
+
/**
|
|
11385
|
+
* 通道类型,默认为amp,支持以下
|
|
11386
|
+
amp
|
|
11387
|
+
webhook
|
|
11388
|
+
alertmanager
|
|
11389
|
+
*/
|
|
11390
|
+
Type: string
|
|
11391
|
+
|
|
11392
|
+
/**
|
|
11393
|
+
* 如果Type为webhook, 则该字段为必填项
|
|
11394
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11395
|
+
*/
|
|
11396
|
+
WebHook?: string
|
|
11397
|
+
|
|
11398
|
+
/**
|
|
11399
|
+
* 如果Type为alertmanager, 则该字段为必填项
|
|
11400
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11401
|
+
*/
|
|
11402
|
+
AlertManager?: PrometheusAlertManagerConfig
|
|
11403
|
+
|
|
11404
|
+
/**
|
|
11405
|
+
* 收敛时间
|
|
11406
|
+
*/
|
|
11407
|
+
RepeatInterval?: string
|
|
11408
|
+
|
|
11409
|
+
/**
|
|
11410
|
+
* 生效起始时间
|
|
11411
|
+
*/
|
|
11412
|
+
TimeRangeStart?: string
|
|
11413
|
+
|
|
11414
|
+
/**
|
|
11415
|
+
* 生效结束时间
|
|
11416
|
+
*/
|
|
11417
|
+
TimeRangeEnd?: string
|
|
11418
|
+
|
|
11419
|
+
/**
|
|
11420
|
+
* 告警通知方式。目前有SMS、EMAIL、CALL、WECHAT方式。
|
|
11421
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11422
|
+
*/
|
|
11423
|
+
NotifyWay?: Array<string>
|
|
11424
|
+
|
|
11425
|
+
/**
|
|
11426
|
+
* 告警接收组(用户组)
|
|
11427
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11428
|
+
*/
|
|
11429
|
+
ReceiverGroups?: Array<string>
|
|
11430
|
+
|
|
11431
|
+
/**
|
|
11432
|
+
* 电话告警顺序。
|
|
11433
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
11434
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11435
|
+
*/
|
|
11436
|
+
PhoneNotifyOrder?: Array<number>
|
|
11437
|
+
|
|
11438
|
+
/**
|
|
11439
|
+
* 电话告警次数。
|
|
11440
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
11441
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11442
|
+
*/
|
|
11443
|
+
PhoneCircleTimes?: number
|
|
11444
|
+
|
|
11445
|
+
/**
|
|
11446
|
+
* 电话告警轮内间隔。单位:秒
|
|
11447
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
11448
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11449
|
+
*/
|
|
11450
|
+
PhoneInnerInterval?: number
|
|
11451
|
+
|
|
11452
|
+
/**
|
|
11453
|
+
* 电话告警轮外间隔。单位:秒
|
|
11454
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
11455
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11456
|
+
*/
|
|
11457
|
+
PhoneCircleInterval?: number
|
|
11458
|
+
|
|
11459
|
+
/**
|
|
11460
|
+
* 电话告警触达通知
|
|
11461
|
+
注:NotifyWay选择CALL,采用该参数。
|
|
11462
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
11463
|
+
*/
|
|
11464
|
+
PhoneArriveNotice?: boolean
|
|
11465
|
+
}
|
|
11466
|
+
|
|
11174
11467
|
/**
|
|
11175
11468
|
* DeletePrometheusConfig请求参数结构体
|
|
11176
11469
|
*/
|
|
@@ -11591,6 +11884,28 @@ export interface AcquireClusterAdminRoleRequest {
|
|
|
11591
11884
|
ClusterId: string
|
|
11592
11885
|
}
|
|
11593
11886
|
|
|
11887
|
+
/**
|
|
11888
|
+
* ListClusterInspectionResults请求参数结构体
|
|
11889
|
+
*/
|
|
11890
|
+
export interface ListClusterInspectionResultsRequest {
|
|
11891
|
+
/**
|
|
11892
|
+
* 目标集群列表,为空查询用户所有集群
|
|
11893
|
+
|
|
11894
|
+
*/
|
|
11895
|
+
ClusterIds?: Array<string>
|
|
11896
|
+
|
|
11897
|
+
/**
|
|
11898
|
+
* 隐藏的字段信息,为了减少无效的字段返回,隐藏字段不会在返回值中返回。可选值:results
|
|
11899
|
+
|
|
11900
|
+
*/
|
|
11901
|
+
Hide?: Array<string>
|
|
11902
|
+
|
|
11903
|
+
/**
|
|
11904
|
+
* 指定查询结果的报告名称,默认查询最新的每个集群只查询最新的一条
|
|
11905
|
+
*/
|
|
11906
|
+
Name?: string
|
|
11907
|
+
}
|
|
11908
|
+
|
|
11594
11909
|
/**
|
|
11595
11910
|
* DeletePrometheusTemplate返回参数结构体
|
|
11596
11911
|
*/
|
|
@@ -12335,6 +12650,23 @@ export interface AddVpcCniSubnetsResponse {
|
|
|
12335
12650
|
RequestId?: string
|
|
12336
12651
|
}
|
|
12337
12652
|
|
|
12653
|
+
/**
|
|
12654
|
+
* 集群巡检统计结果
|
|
12655
|
+
*/
|
|
12656
|
+
export interface KubeJarvisStateStatistic {
|
|
12657
|
+
/**
|
|
12658
|
+
* 诊断结果的健康水平
|
|
12659
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12660
|
+
*/
|
|
12661
|
+
HealthyLevel?: string
|
|
12662
|
+
|
|
12663
|
+
/**
|
|
12664
|
+
* 诊断结果的统计
|
|
12665
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12666
|
+
*/
|
|
12667
|
+
Count?: number
|
|
12668
|
+
}
|
|
12669
|
+
|
|
12338
12670
|
/**
|
|
12339
12671
|
* 不同角色的已存在节点配置参数
|
|
12340
12672
|
*/
|
|
@@ -12360,6 +12692,29 @@ export interface ExistedInstancesForNode {
|
|
|
12360
12692
|
DesiredPodNumbers?: Array<number>
|
|
12361
12693
|
}
|
|
12362
12694
|
|
|
12695
|
+
/**
|
|
12696
|
+
* 集群巡检检查结果概览
|
|
12697
|
+
*/
|
|
12698
|
+
export interface KubeJarvisStateInspectionOverview {
|
|
12699
|
+
/**
|
|
12700
|
+
* 集群ID
|
|
12701
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12702
|
+
*/
|
|
12703
|
+
ClusterId?: string
|
|
12704
|
+
|
|
12705
|
+
/**
|
|
12706
|
+
* 诊断结果统计
|
|
12707
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12708
|
+
*/
|
|
12709
|
+
Statistics?: Array<KubeJarvisStateStatistic>
|
|
12710
|
+
|
|
12711
|
+
/**
|
|
12712
|
+
* 诊断结果详情
|
|
12713
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12714
|
+
*/
|
|
12715
|
+
Diagnostics?: Array<KubeJarvisStateDiagnosticOverview>
|
|
12716
|
+
}
|
|
12717
|
+
|
|
12363
12718
|
/**
|
|
12364
12719
|
* DescribePrometheusOverviews返回参数结构体
|
|
12365
12720
|
*/
|
|
@@ -12381,6 +12736,34 @@ export interface DescribePrometheusOverviewsResponse {
|
|
|
12381
12736
|
RequestId?: string
|
|
12382
12737
|
}
|
|
12383
12738
|
|
|
12739
|
+
/**
|
|
12740
|
+
* DescribeClusterInspectionResultsOverview返回参数结构体
|
|
12741
|
+
*/
|
|
12742
|
+
export interface DescribeClusterInspectionResultsOverviewResponse {
|
|
12743
|
+
/**
|
|
12744
|
+
* 诊断结果统计
|
|
12745
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12746
|
+
*/
|
|
12747
|
+
Statistics?: Array<KubeJarvisStateStatistic>
|
|
12748
|
+
|
|
12749
|
+
/**
|
|
12750
|
+
* 诊断结果概览
|
|
12751
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12752
|
+
*/
|
|
12753
|
+
Diagnostics?: Array<KubeJarvisStateDiagnosticOverview>
|
|
12754
|
+
|
|
12755
|
+
/**
|
|
12756
|
+
* 集群诊断结果概览
|
|
12757
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12758
|
+
*/
|
|
12759
|
+
InspectionOverview?: Array<KubeJarvisStateInspectionOverview>
|
|
12760
|
+
|
|
12761
|
+
/**
|
|
12762
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
12763
|
+
*/
|
|
12764
|
+
RequestId?: string
|
|
12765
|
+
}
|
|
12766
|
+
|
|
12384
12767
|
/**
|
|
12385
12768
|
* DeletePrometheusRecordRuleYaml请求参数结构体
|
|
12386
12769
|
*/
|