tencentcloud-sdk-nodejs-tke 4.0.595 → 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 +1792 -0
- package/SERVICE_CHANGELOG.md +1832 -83
- package/package.json +1 -1
- package/products.md +193 -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
|
@@ -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
|
*/
|
|
@@ -3952,6 +4088,23 @@ export interface DescribeTKEEdgeClustersResponse {
|
|
|
3952
4088
|
RequestId?: string
|
|
3953
4089
|
}
|
|
3954
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
|
+
|
|
3955
4108
|
/**
|
|
3956
4109
|
* DescribeAvailableTKEEdgeVersion请求参数结构体
|
|
3957
4110
|
*/
|
|
@@ -3963,23 +4116,21 @@ export interface DescribeAvailableTKEEdgeVersionRequest {
|
|
|
3963
4116
|
}
|
|
3964
4117
|
|
|
3965
4118
|
/**
|
|
3966
|
-
*
|
|
4119
|
+
* DescribeClusterInspectionResultsOverview请求参数结构体
|
|
3967
4120
|
*/
|
|
3968
|
-
export interface
|
|
4121
|
+
export interface DescribeClusterInspectionResultsOverviewRequest {
|
|
3969
4122
|
/**
|
|
3970
|
-
|
|
3971
|
-
*/
|
|
3972
|
-
ClusterId: string
|
|
4123
|
+
* Array of String 目标集群列表,为空查询用户所有集群
|
|
3973
4124
|
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
*/
|
|
3977
|
-
AutoScalingGroupIds: Array<string>
|
|
4125
|
+
*/
|
|
4126
|
+
ClusterIds?: Array<string>
|
|
3978
4127
|
|
|
3979
4128
|
/**
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
4129
|
+
* 聚合字段信息,概览结果按照 GroupBy 信息聚合后返回,可选参数:
|
|
4130
|
+
catalogue.first:按一级分类聚合
|
|
4131
|
+
catalogue.second:按二级分类聚合
|
|
4132
|
+
*/
|
|
4133
|
+
GroupBy?: Array<string>
|
|
3983
4134
|
}
|
|
3984
4135
|
|
|
3985
4136
|
/**
|
|
@@ -4624,6 +4775,22 @@ export interface DeleteBackupStorageLocationRequest {
|
|
|
4624
4775
|
Name: string
|
|
4625
4776
|
}
|
|
4626
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
|
+
|
|
4627
4794
|
/**
|
|
4628
4795
|
* 集群容器网络相关参数
|
|
4629
4796
|
*/
|
|
@@ -5435,6 +5602,16 @@ export interface DescribeClusterEndpointStatusResponse {
|
|
|
5435
5602
|
RequestId?: string
|
|
5436
5603
|
}
|
|
5437
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
|
+
|
|
5438
5615
|
/**
|
|
5439
5616
|
* DescribeExternalClusterSpec返回参数结构体
|
|
5440
5617
|
*/
|
|
@@ -7697,6 +7874,59 @@ export interface DescribeClusterReleaseDetailsRequest {
|
|
|
7697
7874
|
ClusterType?: string
|
|
7698
7875
|
}
|
|
7699
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
|
+
|
|
7700
7930
|
/**
|
|
7701
7931
|
* CreateECMInstances请求参数结构体
|
|
7702
7932
|
*/
|
|
@@ -8152,95 +8382,20 @@ export interface TagSpecification {
|
|
|
8152
8382
|
}
|
|
8153
8383
|
|
|
8154
8384
|
/**
|
|
8155
|
-
*
|
|
8385
|
+
* 集群巡检诊断概览
|
|
8156
8386
|
*/
|
|
8157
|
-
export interface
|
|
8387
|
+
export interface KubeJarvisStateDiagnosticOverview {
|
|
8158
8388
|
/**
|
|
8159
|
-
|
|
8160
|
-
*/
|
|
8161
|
-
Enabled: boolean
|
|
8162
|
-
|
|
8163
|
-
/**
|
|
8164
|
-
* 通道类型,默认为amp,支持以下
|
|
8165
|
-
amp
|
|
8166
|
-
webhook
|
|
8167
|
-
alertmanager
|
|
8168
|
-
*/
|
|
8169
|
-
Type: string
|
|
8170
|
-
|
|
8171
|
-
/**
|
|
8172
|
-
* 如果Type为webhook, 则该字段为必填项
|
|
8389
|
+
* 诊断目录
|
|
8173
8390
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8174
8391
|
*/
|
|
8175
|
-
|
|
8392
|
+
Catalogues?: Array<KubeJarvisStateCatalogue>
|
|
8176
8393
|
|
|
8177
8394
|
/**
|
|
8178
|
-
*
|
|
8395
|
+
* 诊断结果统计
|
|
8179
8396
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8180
8397
|
*/
|
|
8181
|
-
|
|
8182
|
-
|
|
8183
|
-
/**
|
|
8184
|
-
* 收敛时间
|
|
8185
|
-
*/
|
|
8186
|
-
RepeatInterval?: string
|
|
8187
|
-
|
|
8188
|
-
/**
|
|
8189
|
-
* 生效起始时间
|
|
8190
|
-
*/
|
|
8191
|
-
TimeRangeStart?: string
|
|
8192
|
-
|
|
8193
|
-
/**
|
|
8194
|
-
* 生效结束时间
|
|
8195
|
-
*/
|
|
8196
|
-
TimeRangeEnd?: string
|
|
8197
|
-
|
|
8198
|
-
/**
|
|
8199
|
-
* 告警通知方式。目前有SMS、EMAIL、CALL、WECHAT方式。
|
|
8200
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8201
|
-
*/
|
|
8202
|
-
NotifyWay?: Array<string>
|
|
8203
|
-
|
|
8204
|
-
/**
|
|
8205
|
-
* 告警接收组(用户组)
|
|
8206
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8207
|
-
*/
|
|
8208
|
-
ReceiverGroups?: Array<string>
|
|
8209
|
-
|
|
8210
|
-
/**
|
|
8211
|
-
* 电话告警顺序。
|
|
8212
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
8213
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8214
|
-
*/
|
|
8215
|
-
PhoneNotifyOrder?: Array<number>
|
|
8216
|
-
|
|
8217
|
-
/**
|
|
8218
|
-
* 电话告警次数。
|
|
8219
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
8220
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8221
|
-
*/
|
|
8222
|
-
PhoneCircleTimes?: number
|
|
8223
|
-
|
|
8224
|
-
/**
|
|
8225
|
-
* 电话告警轮内间隔。单位:秒
|
|
8226
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
8227
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8228
|
-
*/
|
|
8229
|
-
PhoneInnerInterval?: number
|
|
8230
|
-
|
|
8231
|
-
/**
|
|
8232
|
-
* 电话告警轮外间隔。单位:秒
|
|
8233
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
8234
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8235
|
-
*/
|
|
8236
|
-
PhoneCircleInterval?: number
|
|
8237
|
-
|
|
8238
|
-
/**
|
|
8239
|
-
* 电话告警触达通知
|
|
8240
|
-
注:NotifyWay选择CALL,采用该参数。
|
|
8241
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
8242
|
-
*/
|
|
8243
|
-
PhoneArriveNotice?: boolean
|
|
8398
|
+
Statistics?: Array<KubeJarvisStateStatistic>
|
|
8244
8399
|
}
|
|
8245
8400
|
|
|
8246
8401
|
/**
|
|
@@ -8279,6 +8434,26 @@ export interface CreatePrometheusGlobalNotificationResponse {
|
|
|
8279
8434
|
RequestId?: string
|
|
8280
8435
|
}
|
|
8281
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
|
+
|
|
8282
8457
|
/**
|
|
8283
8458
|
* DescribeClusterAuthenticationOptions返回参数结构体
|
|
8284
8459
|
*/
|
|
@@ -8828,6 +9003,22 @@ export interface DisableClusterDeletionProtectionRequest {
|
|
|
8828
9003
|
ClusterId: string
|
|
8829
9004
|
}
|
|
8830
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
|
+
|
|
8831
9022
|
/**
|
|
8832
9023
|
* prometheus一个job的targets
|
|
8833
9024
|
*/
|
|
@@ -9076,19 +9267,23 @@ export interface SyncPrometheusTemplateResponse {
|
|
|
9076
9267
|
}
|
|
9077
9268
|
|
|
9078
9269
|
/**
|
|
9079
|
-
*
|
|
9270
|
+
* DeleteClusterAsGroups请求参数结构体
|
|
9080
9271
|
*/
|
|
9081
|
-
export interface
|
|
9272
|
+
export interface DeleteClusterAsGroupsRequest {
|
|
9082
9273
|
/**
|
|
9083
|
-
|
|
9084
|
-
|
|
9085
|
-
|
|
9086
|
-
Release: PendingRelease
|
|
9274
|
+
* 集群ID,通过[DescribeClusters](https://cloud.tencent.com/document/api/457/31862)接口获取。
|
|
9275
|
+
*/
|
|
9276
|
+
ClusterId: string
|
|
9087
9277
|
|
|
9088
9278
|
/**
|
|
9089
|
-
*
|
|
9279
|
+
* 集群伸缩组ID的列表
|
|
9090
9280
|
*/
|
|
9091
|
-
|
|
9281
|
+
AutoScalingGroupIds: Array<string>
|
|
9282
|
+
|
|
9283
|
+
/**
|
|
9284
|
+
* 是否保留伸缩组中的节点(默认值: false(不保留))
|
|
9285
|
+
*/
|
|
9286
|
+
KeepInstance?: boolean
|
|
9092
9287
|
}
|
|
9093
9288
|
|
|
9094
9289
|
/**
|
|
@@ -11177,6 +11372,98 @@ export interface DeleteClusterRouteResponse {
|
|
|
11177
11372
|
RequestId?: string
|
|
11178
11373
|
}
|
|
11179
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
|
+
|
|
11180
11467
|
/**
|
|
11181
11468
|
* DeletePrometheusConfig请求参数结构体
|
|
11182
11469
|
*/
|
|
@@ -11597,6 +11884,28 @@ export interface AcquireClusterAdminRoleRequest {
|
|
|
11597
11884
|
ClusterId: string
|
|
11598
11885
|
}
|
|
11599
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
|
+
|
|
11600
11909
|
/**
|
|
11601
11910
|
* DeletePrometheusTemplate返回参数结构体
|
|
11602
11911
|
*/
|
|
@@ -12341,6 +12650,23 @@ export interface AddVpcCniSubnetsResponse {
|
|
|
12341
12650
|
RequestId?: string
|
|
12342
12651
|
}
|
|
12343
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
|
+
|
|
12344
12670
|
/**
|
|
12345
12671
|
* 不同角色的已存在节点配置参数
|
|
12346
12672
|
*/
|
|
@@ -12366,6 +12692,29 @@ export interface ExistedInstancesForNode {
|
|
|
12366
12692
|
DesiredPodNumbers?: Array<number>
|
|
12367
12693
|
}
|
|
12368
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
|
+
|
|
12369
12718
|
/**
|
|
12370
12719
|
* DescribePrometheusOverviews返回参数结构体
|
|
12371
12720
|
*/
|
|
@@ -12387,6 +12736,34 @@ export interface DescribePrometheusOverviewsResponse {
|
|
|
12387
12736
|
RequestId?: string
|
|
12388
12737
|
}
|
|
12389
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
|
+
|
|
12390
12767
|
/**
|
|
12391
12768
|
* DeletePrometheusRecordRuleYaml请求参数结构体
|
|
12392
12769
|
*/
|