tencentcloud-sdk-nodejs-tke 4.1.149 → 4.1.151
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/es/services/tke/index.js +2 -2
- package/es/services/tke/v20180525/tke_client.js +67 -13
- package/package.json +1 -1
- package/tencentcloud/services/tke/index.d.ts +4 -4
- package/tencentcloud/services/tke/index.js +2 -2
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +87 -15
- package/tencentcloud/services/tke/v20180525/tke_client.js +129 -21
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +891 -150
|
@@ -82,6 +82,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
82
82
|
async ModifyClusterAsGroupOptionAttribute(req, cb) {
|
|
83
83
|
return this.request("ModifyClusterAsGroupOptionAttribute", req, cb);
|
|
84
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* 查询集群发布序列标签
|
|
87
|
+
*/
|
|
88
|
+
async DescribeClusterRollOutSequenceTags(req, cb) {
|
|
89
|
+
return this.request("DescribeClusterRollOutSequenceTags", req, cb);
|
|
90
|
+
}
|
|
85
91
|
/**
|
|
86
92
|
* GR集群可以通过本接口附加vpc-cni容器网络插件,开启vpc-cni容器网络能力
|
|
87
93
|
*/
|
|
@@ -113,10 +119,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
113
119
|
return this.request("DescribeExternalNodeSupportConfig", req, cb);
|
|
114
120
|
}
|
|
115
121
|
/**
|
|
116
|
-
*
|
|
122
|
+
* 创建集群维护时间窗口和排除项
|
|
117
123
|
*/
|
|
118
|
-
async
|
|
119
|
-
return this.request("
|
|
124
|
+
async CreateClusterMaintenanceWindowAndExclusions(req, cb) {
|
|
125
|
+
return this.request("CreateClusterMaintenanceWindowAndExclusions", req, cb);
|
|
120
126
|
}
|
|
121
127
|
/**
|
|
122
128
|
* 包括 Pod 资源统计和绑定的预留券资源统计。
|
|
@@ -166,6 +172,24 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
166
172
|
async DescribePrometheusAlertHistory(req, cb) {
|
|
167
173
|
return this.request("DescribePrometheusAlertHistory", req, cb);
|
|
168
174
|
}
|
|
175
|
+
/**
|
|
176
|
+
* 创建全局维护时间窗口和排除项
|
|
177
|
+
*/
|
|
178
|
+
async CreateGlobalMaintenanceWindowAndExclusions(req, cb) {
|
|
179
|
+
return this.request("CreateGlobalMaintenanceWindowAndExclusions", req, cb);
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* 扩容独立集群master节点
|
|
183
|
+
*/
|
|
184
|
+
async ScaleOutClusterMaster(req, cb) {
|
|
185
|
+
return this.request("ScaleOutClusterMaster", req, cb);
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* 修改被关联集群的external labels
|
|
189
|
+
*/
|
|
190
|
+
async ModifyPrometheusAgentExternalLabels(req, cb) {
|
|
191
|
+
return this.request("ModifyPrometheusAgentExternalLabels", req, cb);
|
|
192
|
+
}
|
|
169
193
|
/**
|
|
170
194
|
* 获取eniipamd组件信息
|
|
171
195
|
*/
|
|
@@ -178,6 +202,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
178
202
|
async CreateClusterRouteTable(req, cb) {
|
|
179
203
|
return this.request("CreateClusterRouteTable", req, cb);
|
|
180
204
|
}
|
|
205
|
+
/**
|
|
206
|
+
* 更新镜像缓存接口
|
|
207
|
+
*/
|
|
208
|
+
async UpdateImageCache(req, cb) {
|
|
209
|
+
return this.request("UpdateImageCache", req, cb);
|
|
210
|
+
}
|
|
181
211
|
/**
|
|
182
212
|
* 获得节点升级当前的进度,若集群未处于节点升级状态,则接口会报错:任务未找到。
|
|
183
213
|
*/
|
|
@@ -226,6 +256,18 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
226
256
|
async DescribeAvailableTKEEdgeVersion(req, cb) {
|
|
227
257
|
return this.request("DescribeAvailableTKEEdgeVersion", req, cb);
|
|
228
258
|
}
|
|
259
|
+
/**
|
|
260
|
+
* 获取集群资源使用量
|
|
261
|
+
*/
|
|
262
|
+
async DescribeResourceUsage(req, cb) {
|
|
263
|
+
return this.request("DescribeResourceUsage", req, cb);
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* 查询计划升级任务详情
|
|
267
|
+
*/
|
|
268
|
+
async DescribeUpgradeTaskDetail(req, cb) {
|
|
269
|
+
return this.request("DescribeUpgradeTaskDetail", req, cb);
|
|
270
|
+
}
|
|
229
271
|
/**
|
|
230
272
|
* 查询边缘集群列表
|
|
231
273
|
*/
|
|
@@ -251,10 +293,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
251
293
|
return this.request("DescribeVersions", req, cb);
|
|
252
294
|
}
|
|
253
295
|
/**
|
|
254
|
-
*
|
|
296
|
+
* 删除集群发布序列
|
|
255
297
|
*/
|
|
256
|
-
async
|
|
257
|
-
return this.request("
|
|
298
|
+
async DeleteRollOutSequence(req, cb) {
|
|
299
|
+
return this.request("DeleteRollOutSequence", req, cb);
|
|
258
300
|
}
|
|
259
301
|
/**
|
|
260
302
|
* 查询边缘集群自定义参数
|
|
@@ -418,6 +460,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
418
460
|
async DeletePrometheusTemplateSync(req, cb) {
|
|
419
461
|
return this.request("DeletePrometheusTemplateSync", req, cb);
|
|
420
462
|
}
|
|
463
|
+
/**
|
|
464
|
+
* 获取集群维护时间窗口和排除项
|
|
465
|
+
*/
|
|
466
|
+
async DescribeClusterMaintenanceWindowAndExclusions(req, cb) {
|
|
467
|
+
return this.request("DescribeClusterMaintenanceWindowAndExclusions", req, cb);
|
|
468
|
+
}
|
|
421
469
|
/**
|
|
422
470
|
* 更新集群自定义参数,只支持托管集群
|
|
423
471
|
*/
|
|
@@ -533,10 +581,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
533
581
|
return this.request("CreateReservedInstances", req, cb);
|
|
534
582
|
}
|
|
535
583
|
/**
|
|
536
|
-
*
|
|
584
|
+
* 查询计划升级任务
|
|
537
585
|
*/
|
|
538
|
-
async
|
|
539
|
-
return this.request("
|
|
586
|
+
async DescribeUpgradeTasks(req, cb) {
|
|
587
|
+
return this.request("DescribeUpgradeTasks", req, cb);
|
|
540
588
|
}
|
|
541
589
|
/**
|
|
542
590
|
* 查询批量修改标签状态
|
|
@@ -545,16 +593,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
545
593
|
return this.request("DescribeBatchModifyTagsStatus", req, cb);
|
|
546
594
|
}
|
|
547
595
|
/**
|
|
548
|
-
*
|
|
596
|
+
* 删除边缘计算实例
|
|
549
597
|
*/
|
|
550
|
-
async
|
|
551
|
-
return this.request("
|
|
598
|
+
async DeleteEdgeClusterInstances(req, cb) {
|
|
599
|
+
return this.request("DeleteEdgeClusterInstances", req, cb);
|
|
552
600
|
}
|
|
553
601
|
/**
|
|
554
|
-
*
|
|
602
|
+
* 获取容器服务支持的所有地域
|
|
555
603
|
*/
|
|
556
|
-
async
|
|
557
|
-
return this.request("
|
|
604
|
+
async DescribeRegions(req, cb) {
|
|
605
|
+
return this.request("DescribeRegions", req, cb);
|
|
558
606
|
}
|
|
559
607
|
/**
|
|
560
608
|
* 添加已经存在的实例到集群
|
|
@@ -586,6 +634,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
586
634
|
async DescribePrometheusTargets(req, cb) {
|
|
587
635
|
return this.request("DescribePrometheusTargets", req, cb);
|
|
588
636
|
}
|
|
637
|
+
/**
|
|
638
|
+
* 查询各种规格类型的预留券使用率
|
|
639
|
+
*/
|
|
640
|
+
async DescribeReservedInstanceUtilizationRate(req, cb) {
|
|
641
|
+
return this.request("DescribeReservedInstanceUtilizationRate", req, cb);
|
|
642
|
+
}
|
|
589
643
|
/**
|
|
590
644
|
* 删除容器实例,可批量删除
|
|
591
645
|
*/
|
|
@@ -610,6 +664,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
610
664
|
async DescribeClusterControllers(req, cb) {
|
|
611
665
|
return this.request("DescribeClusterControllers", req, cb);
|
|
612
666
|
}
|
|
667
|
+
/**
|
|
668
|
+
* 删除全集维护时间窗口和排除项
|
|
669
|
+
*/
|
|
670
|
+
async DeleteGlobalMaintenanceWindowAndExclusion(req, cb) {
|
|
671
|
+
return this.request("DeleteGlobalMaintenanceWindowAndExclusion", req, cb);
|
|
672
|
+
}
|
|
613
673
|
/**
|
|
614
674
|
* 获取一个addon的参数
|
|
615
675
|
*/
|
|
@@ -640,6 +700,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
640
700
|
async DisableEncryptionProtection(req, cb) {
|
|
641
701
|
return this.request("DisableEncryptionProtection", req, cb);
|
|
642
702
|
}
|
|
703
|
+
/**
|
|
704
|
+
* 更新全局维护时间窗口和排除项
|
|
705
|
+
*/
|
|
706
|
+
async ModifyGlobalMaintenanceWindowAndExclusions(req, cb) {
|
|
707
|
+
return this.request("ModifyGlobalMaintenanceWindowAndExclusions", req, cb);
|
|
708
|
+
}
|
|
643
709
|
/**
|
|
644
710
|
* 更新容器实例
|
|
645
711
|
*/
|
|
@@ -664,6 +730,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
664
730
|
async CreateEksLogConfig(req, cb) {
|
|
665
731
|
return this.request("CreateEksLogConfig", req, cb);
|
|
666
732
|
}
|
|
733
|
+
/**
|
|
734
|
+
* 创建集群发布序列
|
|
735
|
+
*/
|
|
736
|
+
async CreateRollOutSequence(req, cb) {
|
|
737
|
+
return this.request("CreateRollOutSequence", req, cb);
|
|
738
|
+
}
|
|
667
739
|
/**
|
|
668
740
|
* 驱逐超级节点
|
|
669
741
|
*/
|
|
@@ -820,6 +892,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
820
892
|
async CreateClusterRoute(req, cb) {
|
|
821
893
|
return this.request("CreateClusterRoute", req, cb);
|
|
822
894
|
}
|
|
895
|
+
/**
|
|
896
|
+
* 取消升级计划
|
|
897
|
+
*/
|
|
898
|
+
async CancelUpgradePlan(req, cb) {
|
|
899
|
+
return this.request("CancelUpgradePlan", req, cb);
|
|
900
|
+
}
|
|
823
901
|
/**
|
|
824
902
|
* 查询集群在应用市场中某个已安装应用的版本历史
|
|
825
903
|
*/
|
|
@@ -911,10 +989,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
911
989
|
return this.request("DescribePrometheusAgentInstances", req, cb);
|
|
912
990
|
}
|
|
913
991
|
/**
|
|
914
|
-
*
|
|
992
|
+
* 更新集群发布序列标签
|
|
915
993
|
*/
|
|
916
|
-
async
|
|
917
|
-
return this.request("
|
|
994
|
+
async ModifyClusterRollOutSequenceTags(req, cb) {
|
|
995
|
+
return this.request("ModifyClusterRollOutSequenceTags", req, cb);
|
|
996
|
+
}
|
|
997
|
+
/**
|
|
998
|
+
* 切换集群网络访问链路为直连
|
|
999
|
+
*/
|
|
1000
|
+
async SwitchClusterEndpoint(req, cb) {
|
|
1001
|
+
return this.request("SwitchClusterEndpoint", req, cb);
|
|
918
1002
|
}
|
|
919
1003
|
/**
|
|
920
1004
|
* 创建告警规则
|
|
@@ -928,6 +1012,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
928
1012
|
async DeletePrometheusRecordRuleYaml(req, cb) {
|
|
929
1013
|
return this.request("DeletePrometheusRecordRuleYaml", req, cb);
|
|
930
1014
|
}
|
|
1015
|
+
/**
|
|
1016
|
+
* 获取全局维护时间窗口和排除项
|
|
1017
|
+
*/
|
|
1018
|
+
async DescribeGlobalMaintenanceWindowAndExclusions(req, cb) {
|
|
1019
|
+
return this.request("DescribeGlobalMaintenanceWindowAndExclusions", req, cb);
|
|
1020
|
+
}
|
|
931
1021
|
/**
|
|
932
1022
|
* 查询备份仓库信息
|
|
933
1023
|
*/
|
|
@@ -989,10 +1079,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
989
1079
|
return this.request("CreateTKEEdgeCluster", req, cb);
|
|
990
1080
|
}
|
|
991
1081
|
/**
|
|
992
|
-
*
|
|
1082
|
+
* 删除集群维护时间窗口和排除项
|
|
993
1083
|
*/
|
|
994
|
-
async
|
|
995
|
-
return this.request("
|
|
1084
|
+
async DeleteClusterMaintenanceWindowAndExclusion(req, cb) {
|
|
1085
|
+
return this.request("DeleteClusterMaintenanceWindowAndExclusion", req, cb);
|
|
996
1086
|
}
|
|
997
1087
|
/**
|
|
998
1088
|
* 获取模板关联实例信息,针对V2版本实例
|
|
@@ -1042,6 +1132,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1042
1132
|
async DeletePrometheusAlertPolicy(req, cb) {
|
|
1043
1133
|
return this.request("DeletePrometheusAlertPolicy", req, cb);
|
|
1044
1134
|
}
|
|
1135
|
+
/**
|
|
1136
|
+
* 更新集群发布序列
|
|
1137
|
+
*/
|
|
1138
|
+
async ModifyRollOutSequence(req, cb) {
|
|
1139
|
+
return this.request("ModifyRollOutSequence", req, cb);
|
|
1140
|
+
}
|
|
1045
1141
|
/**
|
|
1046
1142
|
* 获取弹性容器集群的接入认证信息
|
|
1047
1143
|
*/
|
|
@@ -1096,6 +1192,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1096
1192
|
async DescribeEksContainerInstanceLog(req, cb) {
|
|
1097
1193
|
return this.request("DescribeEksContainerInstanceLog", req, cb);
|
|
1098
1194
|
}
|
|
1195
|
+
/**
|
|
1196
|
+
* 查询集群发布序列
|
|
1197
|
+
*/
|
|
1198
|
+
async DescribeRollOutSequences(req, cb) {
|
|
1199
|
+
return this.request("DescribeRollOutSequences", req, cb);
|
|
1200
|
+
}
|
|
1099
1201
|
/**
|
|
1100
1202
|
* 检查给定节点列表中哪些是可升级的
|
|
1101
1203
|
*/
|
|
@@ -1360,6 +1462,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1360
1462
|
async DescribePrometheusInstancesOverview(req, cb) {
|
|
1361
1463
|
return this.request("DescribePrometheusInstancesOverview", req, cb);
|
|
1362
1464
|
}
|
|
1465
|
+
/**
|
|
1466
|
+
* 更新集群维护时间窗口和排除项
|
|
1467
|
+
*/
|
|
1468
|
+
async ModifyClusterMaintenanceWindowAndExclusions(req, cb) {
|
|
1469
|
+
return this.request("ModifyClusterMaintenanceWindowAndExclusions", req, cb);
|
|
1470
|
+
}
|
|
1363
1471
|
/**
|
|
1364
1472
|
* 删除集群中的实例
|
|
1365
1473
|
*/
|