tencentcloud-sdk-nodejs-tke 4.0.372 → 4.0.375
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 +760 -0
- package/SERVICE_CHANGELOG.md +791 -51
- package/package.json +1 -1
- package/products.md +30 -28
- package/src/services/tke/v20180525/tke_client.ts +224 -65
- package/src/services/tke/v20180525/tke_models.ts +619 -116
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +73 -21
- package/tencentcloud/services/tke/v20180525/tke_client.js +108 -30
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +536 -107
|
@@ -36,6 +36,7 @@ import {
|
|
|
36
36
|
DisableVpcCniNetworkTypeResponse,
|
|
37
37
|
DescribeClusterControllersResponse,
|
|
38
38
|
DescribeExistedInstancesRequest,
|
|
39
|
+
DeletePrometheusClusterAgentRequest,
|
|
39
40
|
ClusterLevelChangeRecord,
|
|
40
41
|
ModifyPrometheusAlertRuleResponse,
|
|
41
42
|
DescribeEKSContainerInstanceEventResponse,
|
|
@@ -63,6 +64,7 @@ import {
|
|
|
63
64
|
SyncPrometheusTempResponse,
|
|
64
65
|
CreatePrometheusDashboardResponse,
|
|
65
66
|
DescribeTKEEdgeClusterStatusResponse,
|
|
67
|
+
ModifyClusterAsGroupOptionAttributeRequest,
|
|
66
68
|
DescribeClusterStatusRequest,
|
|
67
69
|
PrometheusConfigItem,
|
|
68
70
|
DeleteClusterNodePoolRequest,
|
|
@@ -76,19 +78,24 @@ import {
|
|
|
76
78
|
ExistedInstance,
|
|
77
79
|
AddNodeToNodePoolResponse,
|
|
78
80
|
PrometheusInstancesOverview,
|
|
81
|
+
DescribePrometheusInstanceInitStatusResponse,
|
|
79
82
|
DisableEventPersistenceResponse,
|
|
80
83
|
UpdateEKSContainerInstanceRequest,
|
|
81
84
|
GetMostSuitableImageCacheResponse,
|
|
82
85
|
DescribeEdgeAvailableExtraArgsResponse,
|
|
86
|
+
CreatePrometheusRecordRuleYamlRequest,
|
|
83
87
|
DescribeEnableVpcCniProgressRequest,
|
|
84
88
|
Instance,
|
|
85
|
-
|
|
89
|
+
ModifyClusterAttributeResponse,
|
|
86
90
|
RunAutomationServiceEnabled,
|
|
87
91
|
CreateClusterResponse,
|
|
92
|
+
PrometheusClusterAgentPodConfig,
|
|
88
93
|
RunSecurityServiceEnabled,
|
|
89
94
|
ImageCache,
|
|
90
95
|
DeletePrometheusAlertRuleResponse,
|
|
96
|
+
DeletePrometheusConfigResponse,
|
|
91
97
|
DescribeEksContainerInstanceLogRequest,
|
|
98
|
+
CreatePrometheusRecordRuleYamlResponse,
|
|
92
99
|
DescribeClusterInstancesRequest,
|
|
93
100
|
PodLimitsInstance,
|
|
94
101
|
ModifyPrometheusTempRequest,
|
|
@@ -99,11 +106,10 @@ import {
|
|
|
99
106
|
AcquireClusterAdminRoleResponse,
|
|
100
107
|
GetTkeAppChartListResponse,
|
|
101
108
|
DescribePrometheusTemplateSyncRequest,
|
|
102
|
-
DeleteTKEEdgeClusterResponse,
|
|
103
109
|
UpgradeAbleInstancesItem,
|
|
104
110
|
UpgradeClusterInstancesResponse,
|
|
105
111
|
DescribeClusterAsGroupOptionRequest,
|
|
106
|
-
|
|
112
|
+
DescribePrometheusAgentInstancesResponse,
|
|
107
113
|
AddExistedInstancesRequest,
|
|
108
114
|
ClusterAsGroupOption,
|
|
109
115
|
DeletePrometheusTempResponse,
|
|
@@ -114,7 +120,7 @@ import {
|
|
|
114
120
|
DeleteClusterEndpointRequest,
|
|
115
121
|
DescribeClusterNodePoolDetailRequest,
|
|
116
122
|
DescribePrometheusTempSyncRequest,
|
|
117
|
-
|
|
123
|
+
DescribeClustersResponse,
|
|
118
124
|
DescribeImagesRequest,
|
|
119
125
|
AddVpcCniSubnetsRequest,
|
|
120
126
|
DescribePrometheusAlertHistoryResponse,
|
|
@@ -132,6 +138,7 @@ import {
|
|
|
132
138
|
DescribeClusterNodePoolDetailResponse,
|
|
133
139
|
DescribeEKSContainerInstanceEventRequest,
|
|
134
140
|
ScaleOutClusterMasterResponse,
|
|
141
|
+
Toleration,
|
|
135
142
|
CreateEKSContainerInstancesResponse,
|
|
136
143
|
DescribeClusterKubeconfigResponse,
|
|
137
144
|
DescribeClusterCommonNamesRequest,
|
|
@@ -164,6 +171,7 @@ import {
|
|
|
164
171
|
DescribePrometheusAlertHistoryRequest,
|
|
165
172
|
SetNodePoolNodeProtectionResponse,
|
|
166
173
|
DeletePrometheusAlertPolicyRequest,
|
|
174
|
+
ModifyPrometheusAgentExternalLabelsResponse,
|
|
167
175
|
RouteTableConflict,
|
|
168
176
|
DeleteClusterInstancesRequest,
|
|
169
177
|
UpgradeNodeResetParam,
|
|
@@ -173,7 +181,8 @@ import {
|
|
|
173
181
|
ModifyNodePoolInstanceTypesRequest,
|
|
174
182
|
AddClusterCIDRRequest,
|
|
175
183
|
DescribeEdgeClusterExtraArgsRequest,
|
|
176
|
-
|
|
184
|
+
DescribePrometheusGlobalConfigResponse,
|
|
185
|
+
CreatePrometheusClusterAgentResponse,
|
|
177
186
|
DescribePrometheusTemplatesResponse,
|
|
178
187
|
UpdateEKSContainerInstanceResponse,
|
|
179
188
|
DnsServerConf,
|
|
@@ -188,8 +197,10 @@ import {
|
|
|
188
197
|
DescribePrometheusAlertPolicyRequest,
|
|
189
198
|
DeleteClusterAsGroupsResponse,
|
|
190
199
|
RegionInstance,
|
|
200
|
+
DescribePrometheusConfigRequest,
|
|
191
201
|
NodePoolOption,
|
|
192
202
|
DeletePrometheusTemplateRequest,
|
|
203
|
+
DeletePrometheusRecordRuleYamlResponse,
|
|
193
204
|
DescribePrometheusTempSyncResponse,
|
|
194
205
|
Cluster,
|
|
195
206
|
DescribeClusterEndpointStatusResponse,
|
|
@@ -200,6 +211,7 @@ import {
|
|
|
200
211
|
EnableVpcCniNetworkTypeRequest,
|
|
201
212
|
Container,
|
|
202
213
|
CreateClusterEndpointRequest,
|
|
214
|
+
DeletePrometheusClusterAgentResponse,
|
|
203
215
|
DescribePrometheusInstanceResponse,
|
|
204
216
|
Capabilities,
|
|
205
217
|
UpdateTKEEdgeClusterRequest,
|
|
@@ -218,7 +230,7 @@ import {
|
|
|
218
230
|
DescribeClusterLevelChangeRecordsRequest,
|
|
219
231
|
UpdateClusterVersionResponse,
|
|
220
232
|
InstanceUpgradePreCheckResultItem,
|
|
221
|
-
|
|
233
|
+
DeleteClusterNodePoolResponse,
|
|
222
234
|
DeleteImageCachesRequest,
|
|
223
235
|
CreateClusterNodePoolResponse,
|
|
224
236
|
Filter,
|
|
@@ -239,6 +251,7 @@ import {
|
|
|
239
251
|
GetMostSuitableImageCacheRequest,
|
|
240
252
|
SecurityContext,
|
|
241
253
|
DNSConfig,
|
|
254
|
+
ModifyPrometheusConfigResponse,
|
|
242
255
|
DescribeTKEEdgeExternalKubeconfigRequest,
|
|
243
256
|
CreatePrometheusAlertPolicyResponse,
|
|
244
257
|
DNSConfigOption,
|
|
@@ -246,19 +259,24 @@ import {
|
|
|
246
259
|
DescribeExternalClusterSpecRequest,
|
|
247
260
|
ModifyPrometheusGlobalNotificationResponse,
|
|
248
261
|
ForwardTKEEdgeApplicationRequestV3Response,
|
|
262
|
+
ModifyPrometheusConfigRequest,
|
|
249
263
|
AutoScalingGroupRange,
|
|
250
264
|
DescribePrometheusGlobalNotificationRequest,
|
|
251
265
|
ClusterPublicLB,
|
|
252
266
|
DescribePrometheusTemplateSyncResponse,
|
|
253
267
|
ModifyPrometheusTemplateResponse,
|
|
254
268
|
ModifyPrometheusAlertPolicyResponse,
|
|
269
|
+
DescribePrometheusClusterAgentsResponse,
|
|
270
|
+
CreatePrometheusConfigResponse,
|
|
255
271
|
DescribeClusterAuthenticationOptionsRequest,
|
|
256
272
|
DescribeEksContainerInstanceLogResponse,
|
|
257
273
|
DeleteEKSClusterResponse,
|
|
258
274
|
VersionInstance,
|
|
259
275
|
EksCi,
|
|
260
276
|
UpdateImageCacheResponse,
|
|
277
|
+
CreatePrometheusConfigRequest,
|
|
261
278
|
ImageCacheEvent,
|
|
279
|
+
CreatePrometheusClusterAgentRequest,
|
|
262
280
|
DeleteEKSContainerInstancesResponse,
|
|
263
281
|
DescribePrometheusInstancesOverviewResponse,
|
|
264
282
|
DescribeEKSClusterCredentialRequest,
|
|
@@ -266,7 +284,7 @@ import {
|
|
|
266
284
|
RestartEKSContainerInstancesRequest,
|
|
267
285
|
DescribeClusterLevelAttributeRequest,
|
|
268
286
|
DisableClusterDeletionProtectionRequest,
|
|
269
|
-
|
|
287
|
+
CreateECMInstancesRequest,
|
|
270
288
|
ClusterCredential,
|
|
271
289
|
DescribePrometheusOverviewsRequest,
|
|
272
290
|
DataDisk,
|
|
@@ -292,6 +310,7 @@ import {
|
|
|
292
310
|
DescribeClusterAuthenticationOptionsResponse,
|
|
293
311
|
DescribePrometheusAgentsRequest,
|
|
294
312
|
AddClusterCIDRResponse,
|
|
313
|
+
DescribePrometheusInstanceInitStatusRequest,
|
|
295
314
|
DescribeClusterLevelAttributeResponse,
|
|
296
315
|
PrometheusGrafanaInfo,
|
|
297
316
|
ImageInstance,
|
|
@@ -310,9 +329,11 @@ import {
|
|
|
310
329
|
PrometheusJobTargets,
|
|
311
330
|
ModifyClusterAsGroupOptionAttributeResponse,
|
|
312
331
|
UninstallLogAgentResponse,
|
|
313
|
-
|
|
332
|
+
PrometheusClusterAgentBasic,
|
|
333
|
+
DeleteTKEEdgeClusterResponse,
|
|
314
334
|
CreatePrometheusTempResponse,
|
|
315
335
|
DescribePrometheusTargetsRequest,
|
|
336
|
+
RunPrometheusInstanceResponse,
|
|
316
337
|
DeletePrometheusTemplateSyncResponse,
|
|
317
338
|
DescribeClusterAsGroupsRequest,
|
|
318
339
|
ECMRunMonitorServiceEnabled,
|
|
@@ -329,6 +350,7 @@ import {
|
|
|
329
350
|
InstanceAdvancedSettings,
|
|
330
351
|
ModifyClusterAsGroupAttributeRequest,
|
|
331
352
|
DescribeClusterAsGroupsResponse,
|
|
353
|
+
DescribePrometheusConfigResponse,
|
|
332
354
|
ScaleOutClusterMasterRequest,
|
|
333
355
|
DeleteClusterInstancesResponse,
|
|
334
356
|
CreatePrometheusGlobalNotificationRequest,
|
|
@@ -342,6 +364,7 @@ import {
|
|
|
342
364
|
CreateImageCacheResponse,
|
|
343
365
|
Exec,
|
|
344
366
|
DescribeAvailableTKEEdgeVersionResponse,
|
|
367
|
+
ModifyPrometheusRecordRuleYamlRequest,
|
|
345
368
|
DeletePrometheusAlertPolicyResponse,
|
|
346
369
|
EdgeAvailableExtraArgs,
|
|
347
370
|
IPAddress,
|
|
@@ -381,17 +404,20 @@ import {
|
|
|
381
404
|
CreatePrometheusTemplateResponse,
|
|
382
405
|
CreateClusterEndpointVipRequest,
|
|
383
406
|
ClusterInternalLB,
|
|
407
|
+
DescribePrometheusGlobalConfigRequest,
|
|
384
408
|
CreateECMInstancesResponse,
|
|
385
409
|
ModifyPrometheusGlobalNotificationRequest,
|
|
386
410
|
GetUpgradeInstanceProgressRequest,
|
|
387
411
|
UpdateEKSClusterResponse,
|
|
388
412
|
DescribeEdgeCVMInstancesResponse,
|
|
389
413
|
Event,
|
|
390
|
-
|
|
414
|
+
ModifyNodePoolDesiredCapacityAboutAsgRequest,
|
|
391
415
|
DeleteClusterRouteResponse,
|
|
416
|
+
DeletePrometheusConfigRequest,
|
|
392
417
|
DeleteEdgeCVMInstancesResponse,
|
|
393
418
|
ModifyClusterNodePoolResponse,
|
|
394
419
|
PrometheusAlertPolicyItem,
|
|
420
|
+
ModifyPrometheusAgentExternalLabelsRequest,
|
|
395
421
|
PrometheusTarget,
|
|
396
422
|
LoginSettings,
|
|
397
423
|
DescribePrometheusTempResponse,
|
|
@@ -431,10 +457,12 @@ import {
|
|
|
431
457
|
DescribeVpcCniPodLimitsRequest,
|
|
432
458
|
DeleteImageCachesResponse,
|
|
433
459
|
DescribeEKSContainerInstanceRegionsResponse,
|
|
460
|
+
ModifyPrometheusRecordRuleYamlResponse,
|
|
434
461
|
DescribeTKEEdgeScriptRequest,
|
|
435
462
|
AddVpcCniSubnetsResponse,
|
|
436
463
|
ExistedInstancesForNode,
|
|
437
464
|
DescribePrometheusOverviewsResponse,
|
|
465
|
+
DeletePrometheusRecordRuleYamlRequest,
|
|
438
466
|
DescribeEKSContainerInstancesRequest,
|
|
439
467
|
ScaleInClusterMasterResponse,
|
|
440
468
|
DescribeAvailableClusterVersionResponse,
|
|
@@ -444,6 +472,7 @@ import {
|
|
|
444
472
|
PrometheusTemplate,
|
|
445
473
|
PrometheusInstanceOverview,
|
|
446
474
|
ScaleInMaster,
|
|
475
|
+
RunPrometheusInstanceRequest,
|
|
447
476
|
} from "./tke_models"
|
|
448
477
|
|
|
449
478
|
/**
|
|
@@ -455,6 +484,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
455
484
|
super("tke.tencentcloudapi.com", "2018-05-25", clientConfig)
|
|
456
485
|
}
|
|
457
486
|
|
|
487
|
+
/**
|
|
488
|
+
* 解除2.0实例的集群关联
|
|
489
|
+
*/
|
|
490
|
+
async DeletePrometheusClusterAgent(
|
|
491
|
+
req?: DeletePrometheusClusterAgentRequest,
|
|
492
|
+
cb?: (error: string, rep: DeletePrometheusClusterAgentResponse) => void
|
|
493
|
+
): Promise<DeletePrometheusClusterAgentResponse> {
|
|
494
|
+
return this.request("DeletePrometheusClusterAgent", req, cb)
|
|
495
|
+
}
|
|
496
|
+
|
|
458
497
|
/**
|
|
459
498
|
* 创建边缘计算ECM机器
|
|
460
499
|
*/
|
|
@@ -595,16 +634,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
595
634
|
return this.request("DescribePrometheusAlertHistory", req, cb)
|
|
596
635
|
}
|
|
597
636
|
|
|
598
|
-
/**
|
|
599
|
-
* 获取边缘计算集群的认证信息
|
|
600
|
-
*/
|
|
601
|
-
async DescribeTKEEdgeClusterCredential(
|
|
602
|
-
req: DescribeTKEEdgeClusterCredentialRequest,
|
|
603
|
-
cb?: (error: string, rep: DescribeTKEEdgeClusterCredentialResponse) => void
|
|
604
|
-
): Promise<DescribeTKEEdgeClusterCredentialResponse> {
|
|
605
|
-
return this.request("DescribeTKEEdgeClusterCredential", req, cb)
|
|
606
|
-
}
|
|
607
|
-
|
|
608
637
|
/**
|
|
609
638
|
* 创建集群路由表
|
|
610
639
|
*/
|
|
@@ -655,6 +684,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
655
684
|
return this.request("GetMostSuitableImageCache", req, cb)
|
|
656
685
|
}
|
|
657
686
|
|
|
687
|
+
/**
|
|
688
|
+
* 获取边缘脚本链接
|
|
689
|
+
*/
|
|
690
|
+
async DescribeTKEEdgeScript(
|
|
691
|
+
req: DescribeTKEEdgeScriptRequest,
|
|
692
|
+
cb?: (error: string, rep: DescribeTKEEdgeScriptResponse) => void
|
|
693
|
+
): Promise<DescribeTKEEdgeScriptResponse> {
|
|
694
|
+
return this.request("DescribeTKEEdgeScript", req, cb)
|
|
695
|
+
}
|
|
696
|
+
|
|
658
697
|
/**
|
|
659
698
|
* 边缘计算支持的k8s版本
|
|
660
699
|
*/
|
|
@@ -705,6 +744,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
705
744
|
return this.request("ForwardApplicationRequestV3", req, cb)
|
|
706
745
|
}
|
|
707
746
|
|
|
747
|
+
/**
|
|
748
|
+
* 修改被关联集群的external labels
|
|
749
|
+
*/
|
|
750
|
+
async ModifyPrometheusAgentExternalLabels(
|
|
751
|
+
req: ModifyPrometheusAgentExternalLabelsRequest,
|
|
752
|
+
cb?: (error: string, rep: ModifyPrometheusAgentExternalLabelsResponse) => void
|
|
753
|
+
): Promise<ModifyPrometheusAgentExternalLabelsResponse> {
|
|
754
|
+
return this.request("ModifyPrometheusAgentExternalLabels", req, cb)
|
|
755
|
+
}
|
|
756
|
+
|
|
708
757
|
/**
|
|
709
758
|
* 删除弹性集群(yunapiv3)
|
|
710
759
|
*/
|
|
@@ -746,13 +795,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
746
795
|
}
|
|
747
796
|
|
|
748
797
|
/**
|
|
749
|
-
*
|
|
798
|
+
* 集群关联的伸缩组列表
|
|
750
799
|
*/
|
|
751
|
-
async
|
|
752
|
-
req:
|
|
753
|
-
cb?: (error: string, rep:
|
|
754
|
-
): Promise<
|
|
755
|
-
return this.request("
|
|
800
|
+
async DescribeClusterAsGroups(
|
|
801
|
+
req: DescribeClusterAsGroupsRequest,
|
|
802
|
+
cb?: (error: string, rep: DescribeClusterAsGroupsResponse) => void
|
|
803
|
+
): Promise<DescribeClusterAsGroupsResponse> {
|
|
804
|
+
return this.request("DescribeClusterAsGroups", req, cb)
|
|
756
805
|
}
|
|
757
806
|
|
|
758
807
|
/**
|
|
@@ -895,6 +944,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
895
944
|
return this.request("AddVpcCniSubnets", req, cb)
|
|
896
945
|
}
|
|
897
946
|
|
|
947
|
+
/**
|
|
948
|
+
* 获取镜像信息
|
|
949
|
+
*/
|
|
950
|
+
async DescribeImages(
|
|
951
|
+
req?: DescribeImagesRequest,
|
|
952
|
+
cb?: (error: string, rep: DescribeImagesResponse) => void
|
|
953
|
+
): Promise<DescribeImagesResponse> {
|
|
954
|
+
return this.request("DescribeImages", req, cb)
|
|
955
|
+
}
|
|
956
|
+
|
|
898
957
|
/**
|
|
899
958
|
* 查询已经存在的节点,判断是否可以加入集群
|
|
900
959
|
*/
|
|
@@ -906,13 +965,23 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
906
965
|
}
|
|
907
966
|
|
|
908
967
|
/**
|
|
909
|
-
*
|
|
968
|
+
* 获取2.0实例初始化任务状态
|
|
910
969
|
*/
|
|
911
|
-
async
|
|
912
|
-
req
|
|
913
|
-
cb?: (error: string, rep:
|
|
914
|
-
): Promise<
|
|
915
|
-
return this.request("
|
|
970
|
+
async DescribePrometheusInstanceInitStatus(
|
|
971
|
+
req?: DescribePrometheusInstanceInitStatusRequest,
|
|
972
|
+
cb?: (error: string, rep: DescribePrometheusInstanceInitStatusResponse) => void
|
|
973
|
+
): Promise<DescribePrometheusInstanceInitStatusResponse> {
|
|
974
|
+
return this.request("DescribePrometheusInstanceInitStatus", req, cb)
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* 获取边缘计算集群的认证信息
|
|
979
|
+
*/
|
|
980
|
+
async DescribeTKEEdgeClusterCredential(
|
|
981
|
+
req: DescribeTKEEdgeClusterCredentialRequest,
|
|
982
|
+
cb?: (error: string, rep: DescribeTKEEdgeClusterCredentialResponse) => void
|
|
983
|
+
): Promise<DescribeTKEEdgeClusterCredentialResponse> {
|
|
984
|
+
return this.request("DescribeTKEEdgeClusterCredential", req, cb)
|
|
916
985
|
}
|
|
917
986
|
|
|
918
987
|
/**
|
|
@@ -985,6 +1054,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
985
1054
|
return this.request("DescribeRegions", req, cb)
|
|
986
1055
|
}
|
|
987
1056
|
|
|
1057
|
+
/**
|
|
1058
|
+
* 同步模板到实例或者集群
|
|
1059
|
+
*/
|
|
1060
|
+
async SyncPrometheusTemplate(
|
|
1061
|
+
req: SyncPrometheusTemplateRequest,
|
|
1062
|
+
cb?: (error: string, rep: SyncPrometheusTemplateResponse) => void
|
|
1063
|
+
): Promise<SyncPrometheusTemplateResponse> {
|
|
1064
|
+
return this.request("SyncPrometheusTemplate", req, cb)
|
|
1065
|
+
}
|
|
1066
|
+
|
|
988
1067
|
/**
|
|
989
1068
|
* 添加已经存在的实例到集群
|
|
990
1069
|
*/
|
|
@@ -1136,13 +1215,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1136
1215
|
}
|
|
1137
1216
|
|
|
1138
1217
|
/**
|
|
1139
|
-
*
|
|
1218
|
+
* 删除Prometheus配置,如果目标不存在,将返回成功
|
|
1140
1219
|
*/
|
|
1141
|
-
async
|
|
1142
|
-
req:
|
|
1143
|
-
cb?: (error: string, rep:
|
|
1144
|
-
): Promise<
|
|
1145
|
-
return this.request("
|
|
1220
|
+
async DeletePrometheusConfig(
|
|
1221
|
+
req: DeletePrometheusConfigRequest,
|
|
1222
|
+
cb?: (error: string, rep: DeletePrometheusConfigResponse) => void
|
|
1223
|
+
): Promise<DeletePrometheusConfigResponse> {
|
|
1224
|
+
return this.request("DeletePrometheusConfig", req, cb)
|
|
1146
1225
|
}
|
|
1147
1226
|
|
|
1148
1227
|
/**
|
|
@@ -1205,16 +1284,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1205
1284
|
return this.request("CreatePrometheusTemp", req, cb)
|
|
1206
1285
|
}
|
|
1207
1286
|
|
|
1208
|
-
/**
|
|
1209
|
-
* 集群关联的伸缩组列表
|
|
1210
|
-
*/
|
|
1211
|
-
async DescribeClusterAsGroups(
|
|
1212
|
-
req: DescribeClusterAsGroupsRequest,
|
|
1213
|
-
cb?: (error: string, rep: DescribeClusterAsGroupsResponse) => void
|
|
1214
|
-
): Promise<DescribeClusterAsGroupsResponse> {
|
|
1215
|
-
return this.request("DescribeClusterAsGroups", req, cb)
|
|
1216
|
-
}
|
|
1217
|
-
|
|
1218
1287
|
/**
|
|
1219
1288
|
* 获取模板同步信息
|
|
1220
1289
|
*/
|
|
@@ -1435,6 +1504,26 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1435
1504
|
return this.request("CreatePrometheusAlertRule", req, cb)
|
|
1436
1505
|
}
|
|
1437
1506
|
|
|
1507
|
+
/**
|
|
1508
|
+
* 删除聚合实例
|
|
1509
|
+
*/
|
|
1510
|
+
async DeletePrometheusRecordRuleYaml(
|
|
1511
|
+
req: DeletePrometheusRecordRuleYamlRequest,
|
|
1512
|
+
cb?: (error: string, rep: DeletePrometheusRecordRuleYamlResponse) => void
|
|
1513
|
+
): Promise<DeletePrometheusRecordRuleYamlResponse> {
|
|
1514
|
+
return this.request("DeletePrometheusRecordRuleYaml", req, cb)
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
/**
|
|
1518
|
+
* 修改prometheus配置,如果配置项不存在,则会新增
|
|
1519
|
+
*/
|
|
1520
|
+
async ModifyPrometheusConfig(
|
|
1521
|
+
req: ModifyPrometheusConfigRequest,
|
|
1522
|
+
cb?: (error: string, rep: ModifyPrometheusConfigResponse) => void
|
|
1523
|
+
): Promise<ModifyPrometheusConfigResponse> {
|
|
1524
|
+
return this.request("ModifyPrometheusConfig", req, cb)
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1438
1527
|
/**
|
|
1439
1528
|
* 修改模板内容
|
|
1440
1529
|
*/
|
|
@@ -1445,6 +1534,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1445
1534
|
return this.request("ModifyPrometheusTemp", req, cb)
|
|
1446
1535
|
}
|
|
1447
1536
|
|
|
1537
|
+
/**
|
|
1538
|
+
* 通过yaml的方式修改Prometheus聚合实例
|
|
1539
|
+
*/
|
|
1540
|
+
async ModifyPrometheusRecordRuleYaml(
|
|
1541
|
+
req: ModifyPrometheusRecordRuleYamlRequest,
|
|
1542
|
+
cb?: (error: string, rep: ModifyPrometheusRecordRuleYamlResponse) => void
|
|
1543
|
+
): Promise<ModifyPrometheusRecordRuleYamlResponse> {
|
|
1544
|
+
return this.request("ModifyPrometheusRecordRuleYaml", req, cb)
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1448
1547
|
/**
|
|
1449
1548
|
* 用于查询Kubernetes的各个原生控制器是否开启
|
|
1450
1549
|
*/
|
|
@@ -1546,13 +1645,33 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1546
1645
|
}
|
|
1547
1646
|
|
|
1548
1647
|
/**
|
|
1549
|
-
*
|
|
1648
|
+
* 与云监控融合的2.0实例关联集群
|
|
1550
1649
|
*/
|
|
1551
|
-
async
|
|
1552
|
-
req
|
|
1553
|
-
cb?: (error: string, rep:
|
|
1554
|
-
): Promise<
|
|
1555
|
-
return this.request("
|
|
1650
|
+
async CreatePrometheusClusterAgent(
|
|
1651
|
+
req: CreatePrometheusClusterAgentRequest,
|
|
1652
|
+
cb?: (error: string, rep: CreatePrometheusClusterAgentResponse) => void
|
|
1653
|
+
): Promise<CreatePrometheusClusterAgentResponse> {
|
|
1654
|
+
return this.request("CreatePrometheusClusterAgent", req, cb)
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
/**
|
|
1658
|
+
* 删除2.0实例告警策略
|
|
1659
|
+
*/
|
|
1660
|
+
async DeletePrometheusAlertPolicy(
|
|
1661
|
+
req: DeletePrometheusAlertPolicyRequest,
|
|
1662
|
+
cb?: (error: string, rep: DeletePrometheusAlertPolicyResponse) => void
|
|
1663
|
+
): Promise<DeletePrometheusAlertPolicyResponse> {
|
|
1664
|
+
return this.request("DeletePrometheusAlertPolicy", req, cb)
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
/**
|
|
1668
|
+
* 获取弹性容器集群的接入认证信息
|
|
1669
|
+
*/
|
|
1670
|
+
async DescribeEKSClusterCredential(
|
|
1671
|
+
req: DescribeEKSClusterCredentialRequest,
|
|
1672
|
+
cb?: (error: string, rep: DescribeEKSClusterCredentialResponse) => void
|
|
1673
|
+
): Promise<DescribeEKSClusterCredentialResponse> {
|
|
1674
|
+
return this.request("DescribeEKSClusterCredential", req, cb)
|
|
1556
1675
|
}
|
|
1557
1676
|
|
|
1558
1677
|
/**
|
|
@@ -1585,6 +1704,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1585
1704
|
return this.request("DescribeClusterRoutes", req, cb)
|
|
1586
1705
|
}
|
|
1587
1706
|
|
|
1707
|
+
/**
|
|
1708
|
+
* 获得实例级别抓取配置
|
|
1709
|
+
*/
|
|
1710
|
+
async DescribePrometheusGlobalConfig(
|
|
1711
|
+
req: DescribePrometheusGlobalConfigRequest,
|
|
1712
|
+
cb?: (error: string, rep: DescribePrometheusGlobalConfigResponse) => void
|
|
1713
|
+
): Promise<DescribePrometheusGlobalConfigResponse> {
|
|
1714
|
+
return this.request("DescribePrometheusGlobalConfig", req, cb)
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1588
1717
|
/**
|
|
1589
1718
|
* 同步模板到实例或者集群,针对V2版本实例
|
|
1590
1719
|
*/
|
|
@@ -1745,6 +1874,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1745
1874
|
return this.request("DescribeClusterKubeconfig", req, cb)
|
|
1746
1875
|
}
|
|
1747
1876
|
|
|
1877
|
+
/**
|
|
1878
|
+
* 拉取Prometheus配置
|
|
1879
|
+
*/
|
|
1880
|
+
async DescribePrometheusConfig(
|
|
1881
|
+
req: DescribePrometheusConfigRequest,
|
|
1882
|
+
cb?: (error: string, rep: DescribePrometheusConfigResponse) => void
|
|
1883
|
+
): Promise<DescribePrometheusConfigResponse> {
|
|
1884
|
+
return this.request("DescribePrometheusConfig", req, cb)
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1748
1887
|
/**
|
|
1749
1888
|
* 查询边缘计算集群的节点信息
|
|
1750
1889
|
*/
|
|
@@ -1795,6 +1934,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1795
1934
|
return this.request("CreateClusterNodePool", req, cb)
|
|
1796
1935
|
}
|
|
1797
1936
|
|
|
1937
|
+
/**
|
|
1938
|
+
* 以Yaml的方式创建聚合规则
|
|
1939
|
+
*/
|
|
1940
|
+
async CreatePrometheusRecordRuleYaml(
|
|
1941
|
+
req: CreatePrometheusRecordRuleYamlRequest,
|
|
1942
|
+
cb?: (error: string, rep: CreatePrometheusRecordRuleYamlResponse) => void
|
|
1943
|
+
): Promise<CreatePrometheusRecordRuleYamlResponse> {
|
|
1944
|
+
return this.request("CreatePrometheusRecordRuleYaml", req, cb)
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1798
1947
|
/**
|
|
1799
1948
|
* 删除一个云原生Prometheus配置模板
|
|
1800
1949
|
*/
|
|
@@ -1836,13 +1985,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1836
1985
|
}
|
|
1837
1986
|
|
|
1838
1987
|
/**
|
|
1839
|
-
*
|
|
1988
|
+
* 查询镜像缓存信息接口
|
|
1840
1989
|
*/
|
|
1841
|
-
async
|
|
1842
|
-
req:
|
|
1843
|
-
cb?: (error: string, rep:
|
|
1844
|
-
): Promise<
|
|
1845
|
-
return this.request("
|
|
1990
|
+
async DescribeImageCaches(
|
|
1991
|
+
req: DescribeImageCachesRequest,
|
|
1992
|
+
cb?: (error: string, rep: DescribeImageCachesResponse) => void
|
|
1993
|
+
): Promise<DescribeImageCachesResponse> {
|
|
1994
|
+
return this.request("DescribeImageCaches", req, cb)
|
|
1846
1995
|
}
|
|
1847
1996
|
|
|
1848
1997
|
/**
|
|
@@ -1916,13 +2065,23 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1916
2065
|
}
|
|
1917
2066
|
|
|
1918
2067
|
/**
|
|
1919
|
-
*
|
|
2068
|
+
* 创建prometheus配置
|
|
1920
2069
|
*/
|
|
1921
|
-
async
|
|
1922
|
-
req:
|
|
1923
|
-
cb?: (error: string, rep:
|
|
1924
|
-
): Promise<
|
|
1925
|
-
return this.request("
|
|
2070
|
+
async CreatePrometheusConfig(
|
|
2071
|
+
req: CreatePrometheusConfigRequest,
|
|
2072
|
+
cb?: (error: string, rep: CreatePrometheusConfigResponse) => void
|
|
2073
|
+
): Promise<CreatePrometheusConfigResponse> {
|
|
2074
|
+
return this.request("CreatePrometheusConfig", req, cb)
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
/**
|
|
2078
|
+
* 初始化与云监控融合的2.0版本实例,开启集成中心时调用
|
|
2079
|
+
*/
|
|
2080
|
+
async RunPrometheusInstance(
|
|
2081
|
+
req?: RunPrometheusInstanceRequest,
|
|
2082
|
+
cb?: (error: string, rep: RunPrometheusInstanceResponse) => void
|
|
2083
|
+
): Promise<RunPrometheusInstanceResponse> {
|
|
2084
|
+
return this.request("RunPrometheusInstance", req, cb)
|
|
1926
2085
|
}
|
|
1927
2086
|
|
|
1928
2087
|
/**
|