tencentcloud-sdk-nodejs-tem 4.0.397 → 4.0.432

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.
@@ -18,17 +18,24 @@
18
18
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
19
19
  import {
20
20
  CreateResourceRequest,
21
+ DescribeConfigDataResponse,
21
22
  NamespacePage,
22
- DescribeApplicationPodsResponse,
23
+ DescribeApplicationInfoResponse,
24
+ ModifyIngressResponse,
25
+ RestartApplicationPodRequest,
26
+ DestroyLogConfigResponse,
23
27
  ResumeDeployApplicationResponse,
24
28
  StorageConf,
29
+ DescribeApplicationPodsRequest,
30
+ IngressTls,
25
31
  DeployServicePodDetail,
26
32
  LogOutputConf,
27
33
  DeleteIngressResponse,
28
34
  DeleteApplicationResponse,
35
+ ModifyApplicationAutoscalerResponse,
29
36
  RollingUpdateApplicationByVersionRequest,
30
37
  CreateCosTokenResponse,
31
- RevertDeployApplicationRequest,
38
+ ModifyLogConfigResponse,
32
39
  RollingUpdateApplicationByVersionResponse,
33
40
  StopApplicationRequest,
34
41
  ModifyApplicationInfoRequest,
@@ -40,73 +47,113 @@ import {
40
47
  DescribeApplicationsResponse,
41
48
  IngressInfo,
42
49
  DescribeEnvironmentsRequest,
43
- ModifyEnvironmentRequest,
50
+ LogConfigListPage,
51
+ ServiceVersionBrief,
44
52
  CreateEnvironmentRequest,
53
+ NodeInfo,
54
+ DescribeLogConfigRequest,
45
55
  TemDeployApplicationDetailInfo,
46
56
  DescribeEnvironmentStatusResponse,
47
- IngressTls,
57
+ DeployStrategyConf,
58
+ DescribeApplicationPodsResponse,
59
+ DescribeConfigDataListRequest,
60
+ EnableApplicationAutoscalerResponse,
48
61
  ServicePage,
62
+ TemServiceVersionInfo,
63
+ ServicePortMapping,
49
64
  CreateCosTokenRequest,
65
+ ModifyApplicationAutoscalerRequest,
66
+ ModifyConfigDataResponse,
50
67
  ModifyIngressRequest,
51
68
  EnablePrometheusConf,
52
69
  DescribeIngressesRequest,
53
70
  StorageMountConf,
71
+ CreateLogConfigRequest,
54
72
  RestartApplicationResponse,
55
73
  DescribeIngressesResponse,
74
+ ModifyConfigDataRequest,
75
+ CreateConfigDataResponse,
56
76
  DescribeApplicationsStatusRequest,
57
77
  RunVersionPod,
58
78
  CreateResourceResponse,
59
79
  ModifyApplicationInfoResponse,
60
80
  RestartApplicationRequest,
61
81
  DestroyEnvironmentResponse,
82
+ DisableApplicationAutoscalerResponse,
62
83
  DescribeIngressRequest,
63
84
  StopApplicationResponse,
64
85
  DeployApplicationResponse,
65
86
  RestartApplicationPodResponse,
66
87
  TemEnvironmentStoppingStatus,
67
88
  DeleteApplicationRequest,
89
+ CreateApplicationAutoscalerResponse,
90
+ DeleteApplicationAutoscalerRequest,
91
+ DescribeApplicationAutoscalerListRequest,
68
92
  DescribeApplicationsStatusResponse,
69
93
  DescribeDeployApplicationDetailRequest,
70
94
  DeleteIngressRequest,
95
+ DisableApplicationAutoscalerRequest,
71
96
  DescribeRelatedIngressesRequest,
72
97
  CosToken,
73
98
  GenerateApplicationPackageDownloadUrlRequest,
74
99
  DescribeEnvironmentsResponse,
100
+ DeleteApplicationAutoscalerResponse,
75
101
  DescribeRelatedIngressesResponse,
76
- TemNamespaceInfo,
102
+ DescribeEnvironmentRequest,
103
+ DescribePagedLogConfigListRequest,
77
104
  TemEnvironmentStartingStatus,
78
105
  TemService,
79
106
  IngressRule,
80
- RestartApplicationPodRequest,
107
+ CronHorizontalAutoscaler,
81
108
  DescribeDeployApplicationDetailResponse,
82
109
  IngressRuleValue,
110
+ DescribeEnvironmentResponse,
111
+ TemNamespaceInfo,
112
+ CreateApplicationAutoscalerRequest,
113
+ ConfigData,
83
114
  ResumeDeployApplicationRequest,
115
+ DescribeConfigDataRequest,
84
116
  MountedSettingConf,
117
+ CreateLogConfigResponse,
118
+ DescribeConfigDataListResponse,
119
+ DescribePagedLogConfigListResponse,
85
120
  HealthCheckConfig,
86
121
  DeployServiceBatchDetail,
122
+ Autoscaler,
123
+ CreateConfigDataRequest,
124
+ DescribeConfigDataListPage,
87
125
  DeployApplicationRequest,
88
- ModifyIngressResponse,
126
+ DescribeApplicationAutoscalerListResponse,
127
+ DestroyConfigDataRequest,
128
+ DestroyConfigDataResponse,
89
129
  DescribeApplicationsRequest,
90
- DescribeApplicationPodsRequest,
130
+ DescribeApplicationInfoRequest,
91
131
  CreateApplicationRequest,
92
132
  NamespaceStatusInfo,
93
133
  DescribeRunPodPage,
94
134
  ModifyApplicationReplicasResponse,
95
135
  UseDefaultRepoParameters,
136
+ CronHorizontalAutoscalerSchedule,
137
+ ModifyEnvironmentRequest,
96
138
  GenerateApplicationPackageDownloadUrlResponse,
97
139
  IngressRuleBackend,
98
- DeployStrategyConf,
99
140
  DescribeIngressResponse,
141
+ WorkloadInfo,
100
142
  IngressRulePath,
101
- ServiceVersionBrief,
143
+ NamespaceInfo,
144
+ DescribeLogConfigResponse,
145
+ ServicePortMappingItem,
146
+ RevertDeployApplicationRequest,
102
147
  CreateApplicationResponse,
103
- CronHorizontalAutoscaler,
148
+ HorizontalAutoscaler,
104
149
  PortMapping,
150
+ LogConfig,
105
151
  ModifyEnvironmentResponse,
106
152
  ModifyApplicationReplicasRequest,
153
+ ModifyLogConfigRequest,
154
+ DestroyLogConfigRequest,
155
+ EnableApplicationAutoscalerRequest,
107
156
  EksService,
108
- CronHorizontalAutoscalerSchedule,
109
- HorizontalAutoscaler,
110
157
  Pair,
111
158
  } from "./tem_models"
112
159
 
@@ -119,6 +166,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
119
166
  super("tem.tencentcloudapi.com", "2021-07-01", clientConfig)
120
167
  }
121
168
 
169
+ /**
170
+ * 编辑配置
171
+ */
172
+ async ModifyConfigData(
173
+ req: ModifyConfigDataRequest,
174
+ cb?: (error: string, rep: ModifyConfigDataResponse) => void
175
+ ): Promise<ModifyConfigDataResponse> {
176
+ return this.request("ModifyConfigData", req, cb)
177
+ }
178
+
122
179
  /**
123
180
  * 单环境下所有应用状态查看
124
181
  */
@@ -129,6 +186,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
129
186
  return this.request("DescribeApplicationsStatus", req, cb)
130
187
  }
131
188
 
189
+ /**
190
+ * 查询分页的日志收集配置列表
191
+ */
192
+ async DescribePagedLogConfigList(
193
+ req: DescribePagedLogConfigListRequest,
194
+ cb?: (error: string, rep: DescribePagedLogConfigListResponse) => void
195
+ ): Promise<DescribePagedLogConfigListResponse> {
196
+ return this.request("DescribePagedLogConfigList", req, cb)
197
+ }
198
+
132
199
  /**
133
200
  * 创建或者更新 Ingress 规则
134
201
  */
@@ -139,6 +206,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
139
206
  return this.request("ModifyIngress", req, cb)
140
207
  }
141
208
 
209
+ /**
210
+ * 启用应用弹性策略组合
211
+ */
212
+ async EnableApplicationAutoscaler(
213
+ req: EnableApplicationAutoscalerRequest,
214
+ cb?: (error: string, rep: EnableApplicationAutoscalerResponse) => void
215
+ ): Promise<EnableApplicationAutoscalerResponse> {
216
+ return this.request("EnableApplicationAutoscaler", req, cb)
217
+ }
218
+
142
219
  /**
143
220
  * 修改应用实例数量
144
221
  */
@@ -149,6 +226,36 @@ export class Client extends TencentCloudCommon.AbstractClient {
149
226
  return this.request("ModifyApplicationReplicas", req, cb)
150
227
  }
151
228
 
229
+ /**
230
+ * 创建弹性伸缩策略组合
231
+ */
232
+ async CreateApplicationAutoscaler(
233
+ req: CreateApplicationAutoscalerRequest,
234
+ cb?: (error: string, rep: CreateApplicationAutoscalerResponse) => void
235
+ ): Promise<CreateApplicationAutoscalerResponse> {
236
+ return this.request("CreateApplicationAutoscaler", req, cb)
237
+ }
238
+
239
+ /**
240
+ * 重启应用实例
241
+ */
242
+ async RestartApplicationPod(
243
+ req: RestartApplicationPodRequest,
244
+ cb?: (error: string, rep: RestartApplicationPodResponse) => void
245
+ ): Promise<RestartApplicationPodResponse> {
246
+ return this.request("RestartApplicationPod", req, cb)
247
+ }
248
+
249
+ /**
250
+ * 编辑日志收集配置
251
+ */
252
+ async ModifyLogConfig(
253
+ req: ModifyLogConfigRequest,
254
+ cb?: (error: string, rep: ModifyLogConfigResponse) => void
255
+ ): Promise<ModifyLogConfigResponse> {
256
+ return this.request("ModifyLogConfig", req, cb)
257
+ }
258
+
152
259
  /**
153
260
  * 服务删除
154
261
  - 停止当前运行服务
@@ -192,6 +299,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
192
299
  return this.request("DeployApplication", req, cb)
193
300
  }
194
301
 
302
+ /**
303
+ * 修改弹性伸缩策略组合
304
+ */
305
+ async ModifyApplicationAutoscaler(
306
+ req: ModifyApplicationAutoscalerRequest,
307
+ cb?: (error: string, rep: ModifyApplicationAutoscalerResponse) => void
308
+ ): Promise<ModifyApplicationAutoscalerResponse> {
309
+ return this.request("ModifyApplicationAutoscaler", req, cb)
310
+ }
311
+
195
312
  /**
196
313
  * 获取分批发布详情
197
314
  */
@@ -222,6 +339,26 @@ export class Client extends TencentCloudCommon.AbstractClient {
222
339
  return this.request("ModifyEnvironment", req, cb)
223
340
  }
224
341
 
342
+ /**
343
+ * 获取环境基础信息
344
+ */
345
+ async DescribeEnvironment(
346
+ req: DescribeEnvironmentRequest,
347
+ cb?: (error: string, rep: DescribeEnvironmentResponse) => void
348
+ ): Promise<DescribeEnvironmentResponse> {
349
+ return this.request("DescribeEnvironment", req, cb)
350
+ }
351
+
352
+ /**
353
+ * 查询日志收集配置详情
354
+ */
355
+ async DescribeLogConfig(
356
+ req: DescribeLogConfigRequest,
357
+ cb?: (error: string, rep: DescribeLogConfigResponse) => void
358
+ ): Promise<DescribeLogConfigResponse> {
359
+ return this.request("DescribeLogConfig", req, cb)
360
+ }
361
+
225
362
  /**
226
363
  * 服务停止
227
364
  */
@@ -232,6 +369,36 @@ export class Client extends TencentCloudCommon.AbstractClient {
232
369
  return this.request("StopApplication", req, cb)
233
370
  }
234
371
 
372
+ /**
373
+ * 创建日志收集配置
374
+ */
375
+ async CreateLogConfig(
376
+ req: CreateLogConfigRequest,
377
+ cb?: (error: string, rep: CreateLogConfigResponse) => void
378
+ ): Promise<CreateLogConfigResponse> {
379
+ return this.request("CreateLogConfig", req, cb)
380
+ }
381
+
382
+ /**
383
+ * 服务基本信息查看
384
+ */
385
+ async DescribeApplicationInfo(
386
+ req: DescribeApplicationInfoRequest,
387
+ cb?: (error: string, rep: DescribeApplicationInfoResponse) => void
388
+ ): Promise<DescribeApplicationInfoResponse> {
389
+ return this.request("DescribeApplicationInfo", req, cb)
390
+ }
391
+
392
+ /**
393
+ * 创建配置
394
+ */
395
+ async CreateConfigData(
396
+ req: CreateConfigDataRequest,
397
+ cb?: (error: string, rep: CreateConfigDataResponse) => void
398
+ ): Promise<CreateConfigDataResponse> {
399
+ return this.request("CreateConfigData", req, cb)
400
+ }
401
+
235
402
  /**
236
403
  * 获取应用实例列表
237
404
  */
@@ -243,13 +410,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
243
410
  }
244
411
 
245
412
  /**
246
- * 服务重启
413
+ * 删除应用弹性策略组合
247
414
  */
248
- async RestartApplication(
249
- req: RestartApplicationRequest,
250
- cb?: (error: string, rep: RestartApplicationResponse) => void
251
- ): Promise<RestartApplicationResponse> {
252
- return this.request("RestartApplication", req, cb)
415
+ async DeleteApplicationAutoscaler(
416
+ req: DeleteApplicationAutoscalerRequest,
417
+ cb?: (error: string, rep: DeleteApplicationAutoscalerResponse) => void
418
+ ): Promise<DeleteApplicationAutoscalerResponse> {
419
+ return this.request("DeleteApplicationAutoscaler", req, cb)
253
420
  }
254
421
 
255
422
  /**
@@ -263,7 +430,17 @@ export class Client extends TencentCloudCommon.AbstractClient {
263
430
  }
264
431
 
265
432
  /**
266
- * 获取租户环境列表
433
+ * 销毁配置
434
+ */
435
+ async DestroyConfigData(
436
+ req: DestroyConfigDataRequest,
437
+ cb?: (error: string, rep: DestroyConfigDataResponse) => void
438
+ ): Promise<DestroyConfigDataResponse> {
439
+ return this.request("DestroyConfigData", req, cb)
440
+ }
441
+
442
+ /**
443
+ * 获取环境列表
267
444
  */
268
445
  async DescribeEnvironments(
269
446
  req: DescribeEnvironmentsRequest,
@@ -312,6 +489,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
312
489
  return this.request("CreateEnvironment", req, cb)
313
490
  }
314
491
 
492
+ /**
493
+ * 关闭应用弹性策略组合
494
+ */
495
+ async DisableApplicationAutoscaler(
496
+ req: DisableApplicationAutoscalerRequest,
497
+ cb?: (error: string, rep: DisableApplicationAutoscalerResponse) => void
498
+ ): Promise<DisableApplicationAutoscalerResponse> {
499
+ return this.request("DisableApplicationAutoscaler", req, cb)
500
+ }
501
+
315
502
  /**
316
503
  * 查询 Ingress 规则列表
317
504
  */
@@ -333,13 +520,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
333
520
  }
334
521
 
335
522
  /**
336
- * 重启应用实例
523
+ * 服务重启
337
524
  */
338
- async RestartApplicationPod(
339
- req: RestartApplicationPodRequest,
340
- cb?: (error: string, rep: RestartApplicationPodResponse) => void
341
- ): Promise<RestartApplicationPodResponse> {
342
- return this.request("RestartApplicationPod", req, cb)
525
+ async RestartApplication(
526
+ req: RestartApplicationRequest,
527
+ cb?: (error: string, rep: RestartApplicationResponse) => void
528
+ ): Promise<RestartApplicationResponse> {
529
+ return this.request("RestartApplication", req, cb)
343
530
  }
344
531
 
345
532
  /**
@@ -372,6 +559,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
372
559
  return this.request("RevertDeployApplication", req, cb)
373
560
  }
374
561
 
562
+ /**
563
+ * 销毁日志收集配置
564
+ */
565
+ async DestroyLogConfig(
566
+ req: DestroyLogConfigRequest,
567
+ cb?: (error: string, rep: DestroyLogConfigResponse) => void
568
+ ): Promise<DestroyLogConfigResponse> {
569
+ return this.request("DestroyLogConfig", req, cb)
570
+ }
571
+
375
572
  /**
376
573
  * 查询应用关联的 Ingress 规则列表
377
574
  */
@@ -382,6 +579,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
382
579
  return this.request("DescribeRelatedIngresses", req, cb)
383
580
  }
384
581
 
582
+ /**
583
+ * 查询配置详情
584
+ */
585
+ async DescribeConfigData(
586
+ req: DescribeConfigDataRequest,
587
+ cb?: (error: string, rep: DescribeConfigDataResponse) => void
588
+ ): Promise<DescribeConfigDataResponse> {
589
+ return this.request("DescribeConfigData", req, cb)
590
+ }
591
+
385
592
  /**
386
593
  * 绑定云资源
387
594
  */
@@ -393,7 +600,17 @@ export class Client extends TencentCloudCommon.AbstractClient {
393
600
  }
394
601
 
395
602
  /**
396
- * 销毁命名空间
603
+ * 获取应用弹性策略组合
604
+ */
605
+ async DescribeApplicationAutoscalerList(
606
+ req: DescribeApplicationAutoscalerListRequest,
607
+ cb?: (error: string, rep: DescribeApplicationAutoscalerListResponse) => void
608
+ ): Promise<DescribeApplicationAutoscalerListResponse> {
609
+ return this.request("DescribeApplicationAutoscalerList", req, cb)
610
+ }
611
+
612
+ /**
613
+ * 销毁环境
397
614
  */
398
615
  async DestroyEnvironment(
399
616
  req: DestroyEnvironmentRequest,
@@ -401,4 +618,14 @@ export class Client extends TencentCloudCommon.AbstractClient {
401
618
  ): Promise<DestroyEnvironmentResponse> {
402
619
  return this.request("DestroyEnvironment", req, cb)
403
620
  }
621
+
622
+ /**
623
+ * 查询配置列表
624
+ */
625
+ async DescribeConfigDataList(
626
+ req: DescribeConfigDataListRequest,
627
+ cb?: (error: string, rep: DescribeConfigDataListResponse) => void
628
+ ): Promise<DescribeConfigDataListResponse> {
629
+ return this.request("DescribeConfigDataList", req, cb)
630
+ }
404
631
  }