tencentcloud-sdk-nodejs-tem 4.0.389 → 4.0.433

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.
@@ -17,87 +17,143 @@
17
17
  */
18
18
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
19
19
  import {
20
- MountedSettingConf,
21
- RestartApplicationPodResponse,
22
- DeleteApplicationRequest,
23
20
  CreateResourceRequest,
21
+ DescribeConfigDataResponse,
22
+ NamespacePage,
23
+ DescribeApplicationInfoResponse,
24
+ ModifyIngressResponse,
25
+ RestartApplicationPodRequest,
26
+ DestroyLogConfigResponse,
24
27
  ResumeDeployApplicationResponse,
25
- RestartApplicationResponse,
26
- DescribeApplicationsStatusResponse,
27
- HealthCheckConfig,
28
- TemDeployApplicationDetailInfo,
29
- DescribeDeployApplicationDetailRequest,
28
+ StorageConf,
29
+ DescribeApplicationPodsRequest,
30
+ IngressTls,
31
+ DeployServicePodDetail,
32
+ LogOutputConf,
33
+ DeleteIngressResponse,
34
+ DeleteApplicationResponse,
35
+ ModifyApplicationAutoscalerResponse,
36
+ RollingUpdateApplicationByVersionRequest,
37
+ CreateCosTokenResponse,
38
+ ModifyLogConfigResponse,
39
+ RollingUpdateApplicationByVersionResponse,
40
+ StopApplicationRequest,
41
+ ModifyApplicationInfoRequest,
42
+ DestroyEnvironmentRequest,
43
+ CreateEnvironmentResponse,
44
+ DescribeEnvironmentStatusRequest,
45
+ RevertDeployApplicationResponse,
30
46
  EsInfo,
31
- DeployServiceBatchDetail,
47
+ DescribeApplicationsResponse,
48
+ IngressInfo,
49
+ DescribeEnvironmentsRequest,
50
+ LogConfigListPage,
51
+ ServiceVersionBrief,
52
+ CreateEnvironmentRequest,
53
+ NodeInfo,
54
+ DescribeLogConfigRequest,
55
+ TemDeployApplicationDetailInfo,
56
+ DescribeEnvironmentStatusResponse,
57
+ DeployStrategyConf,
32
58
  DescribeApplicationPodsResponse,
59
+ DescribeConfigDataListRequest,
60
+ EnableApplicationAutoscalerResponse,
61
+ ServicePage,
62
+ TemServiceVersionInfo,
63
+ ServicePortMapping,
64
+ CreateCosTokenRequest,
65
+ ModifyApplicationAutoscalerRequest,
66
+ ModifyConfigDataResponse,
67
+ ModifyIngressRequest,
68
+ EnablePrometheusConf,
69
+ DescribeIngressesRequest,
70
+ StorageMountConf,
71
+ CreateLogConfigRequest,
72
+ RestartApplicationResponse,
73
+ DescribeIngressesResponse,
74
+ ModifyConfigDataRequest,
75
+ CreateConfigDataResponse,
76
+ DescribeApplicationsStatusRequest,
77
+ RunVersionPod,
78
+ CreateResourceResponse,
79
+ ModifyApplicationInfoResponse,
33
80
  RestartApplicationRequest,
81
+ DestroyEnvironmentResponse,
82
+ DisableApplicationAutoscalerResponse,
83
+ DescribeIngressRequest,
84
+ StopApplicationResponse,
85
+ DeployApplicationResponse,
86
+ RestartApplicationPodResponse,
87
+ TemEnvironmentStoppingStatus,
88
+ DeleteApplicationRequest,
89
+ CreateApplicationAutoscalerResponse,
90
+ DeleteApplicationAutoscalerRequest,
91
+ DescribeApplicationAutoscalerListRequest,
92
+ DescribeApplicationsStatusResponse,
93
+ DescribeDeployApplicationDetailRequest,
34
94
  DeleteIngressRequest,
35
- RestartApplicationPodRequest,
95
+ DisableApplicationAutoscalerRequest,
36
96
  DescribeRelatedIngressesRequest,
37
- ModifyEnvironmentResponse,
38
97
  CosToken,
39
98
  GenerateApplicationPackageDownloadUrlRequest,
40
- DeployApplicationRequest,
41
- IngressInfo,
42
- ModifyIngressResponse,
43
99
  DescribeEnvironmentsResponse,
44
- ModifyIngressRequest,
45
- DescribeApplicationPodsRequest,
46
- CreateApplicationRequest,
47
- EnablePrometheusConf,
100
+ DeleteApplicationAutoscalerResponse,
48
101
  DescribeRelatedIngressesResponse,
49
- DescribeIngressesRequest,
102
+ DescribeEnvironmentRequest,
103
+ DescribePagedLogConfigListRequest,
104
+ TemEnvironmentStartingStatus,
105
+ TemService,
106
+ IngressRule,
107
+ CronHorizontalAutoscaler,
108
+ DescribeDeployApplicationDetailResponse,
109
+ IngressRuleValue,
110
+ DescribeEnvironmentResponse,
111
+ TemNamespaceInfo,
112
+ CreateApplicationAutoscalerRequest,
113
+ ConfigData,
114
+ ResumeDeployApplicationRequest,
115
+ DescribeConfigDataRequest,
116
+ MountedSettingConf,
117
+ CreateLogConfigResponse,
118
+ DescribeConfigDataListResponse,
119
+ DescribePagedLogConfigListResponse,
120
+ HealthCheckConfig,
121
+ DeployServiceBatchDetail,
122
+ Autoscaler,
123
+ CreateConfigDataRequest,
124
+ DescribeConfigDataListPage,
125
+ DeployApplicationRequest,
126
+ DescribeApplicationAutoscalerListResponse,
127
+ DestroyConfigDataRequest,
128
+ DestroyConfigDataResponse,
129
+ DescribeApplicationsRequest,
130
+ DescribeApplicationInfoRequest,
131
+ CreateApplicationRequest,
132
+ NamespaceStatusInfo,
50
133
  DescribeRunPodPage,
51
- IngressTls,
52
- DeployServicePodDetail,
53
134
  ModifyApplicationReplicasResponse,
54
- ModifyApplicationReplicasRequest,
55
- LogOutputConf,
56
- DescribeIngressesResponse,
57
- DeleteIngressResponse,
58
- DestroyEnvironmentRequest,
59
- TemNamespaceInfo,
135
+ UseDefaultRepoParameters,
136
+ CronHorizontalAutoscalerSchedule,
137
+ ModifyEnvironmentRequest,
60
138
  GenerateApplicationPackageDownloadUrlResponse,
61
139
  IngressRuleBackend,
62
140
  DescribeIngressResponse,
63
- CreateCosTokenResponse,
64
- IngressRule,
65
- CronHorizontalAutoscaler,
66
- DescribeApplicationsStatusRequest,
67
- RollingUpdateApplicationByVersionResponse,
68
- RollingUpdateApplicationByVersionRequest,
69
- RunVersionPod,
70
- DescribeDeployApplicationDetailResponse,
71
- IngressRuleValue,
72
- CreateResourceResponse,
73
- ModifyApplicationInfoRequest,
74
- ModifyApplicationInfoResponse,
75
- DeleteApplicationResponse,
141
+ WorkloadInfo,
76
142
  IngressRulePath,
77
- CreateEnvironmentResponse,
78
- NamespacePage,
79
- DestroyEnvironmentResponse,
143
+ NamespaceInfo,
144
+ DescribeLogConfigResponse,
145
+ ServicePortMappingItem,
146
+ RevertDeployApplicationRequest,
80
147
  CreateApplicationResponse,
81
148
  HorizontalAutoscaler,
82
- RevertDeployApplicationRequest,
83
- StorageMountConf,
84
- ModifyEnvironmentRequest,
85
149
  PortMapping,
86
- UseDefaultRepoParameters,
87
- RevertDeployApplicationResponse,
88
- DeployStrategyConf,
89
- StopApplicationRequest,
90
- DescribeIngressRequest,
91
- CreateCosTokenRequest,
92
- DescribeEnvironmentsRequest,
93
- StopApplicationResponse,
150
+ LogConfig,
151
+ ModifyEnvironmentResponse,
152
+ ModifyApplicationReplicasRequest,
153
+ ModifyLogConfigRequest,
154
+ DestroyLogConfigRequest,
155
+ EnableApplicationAutoscalerRequest,
94
156
  EksService,
95
- CronHorizontalAutoscalerSchedule,
96
- ResumeDeployApplicationRequest,
97
- DeployApplicationResponse,
98
- StorageConf,
99
- ServiceVersionBrief,
100
- CreateEnvironmentRequest,
101
157
  Pair,
102
158
  } from "./tem_models"
103
159
 
@@ -110,6 +166,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
110
166
  super("tem.tencentcloudapi.com", "2021-07-01", clientConfig)
111
167
  }
112
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
+
113
179
  /**
114
180
  * 单环境下所有应用状态查看
115
181
  */
@@ -120,6 +186,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
120
186
  return this.request("DescribeApplicationsStatus", req, cb)
121
187
  }
122
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
+
123
199
  /**
124
200
  * 创建或者更新 Ingress 规则
125
201
  */
@@ -130,6 +206,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
130
206
  return this.request("ModifyIngress", req, cb)
131
207
  }
132
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
+
133
219
  /**
134
220
  * 修改应用实例数量
135
221
  */
@@ -140,6 +226,36 @@ export class Client extends TencentCloudCommon.AbstractClient {
140
226
  return this.request("ModifyApplicationReplicas", req, cb)
141
227
  }
142
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
+
143
259
  /**
144
260
  * 服务删除
145
261
  - 停止当前运行服务
@@ -153,6 +269,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
153
269
  return this.request("DeleteApplication", req, cb)
154
270
  }
155
271
 
272
+ /**
273
+ * 获取环境状态
274
+ */
275
+ async DescribeEnvironmentStatus(
276
+ req: DescribeEnvironmentStatusRequest,
277
+ cb?: (error: string, rep: DescribeEnvironmentStatusResponse) => void
278
+ ): Promise<DescribeEnvironmentStatusResponse> {
279
+ return this.request("DescribeEnvironmentStatus", req, cb)
280
+ }
281
+
156
282
  /**
157
283
  * 删除 Ingress 规则
158
284
  */
@@ -173,6 +299,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
173
299
  return this.request("DeployApplication", req, cb)
174
300
  }
175
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
+
176
312
  /**
177
313
  * 获取分批发布详情
178
314
  */
@@ -203,6 +339,26 @@ export class Client extends TencentCloudCommon.AbstractClient {
203
339
  return this.request("ModifyEnvironment", req, cb)
204
340
  }
205
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
+
206
362
  /**
207
363
  * 服务停止
208
364
  */
@@ -213,6 +369,36 @@ export class Client extends TencentCloudCommon.AbstractClient {
213
369
  return this.request("StopApplication", req, cb)
214
370
  }
215
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
+
216
402
  /**
217
403
  * 获取应用实例列表
218
404
  */
@@ -224,13 +410,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
224
410
  }
225
411
 
226
412
  /**
227
- * 重启应用实例
413
+ * 删除应用弹性策略组合
228
414
  */
229
- async RestartApplicationPod(
230
- req: RestartApplicationPodRequest,
231
- cb?: (error: string, rep: RestartApplicationPodResponse) => void
232
- ): Promise<RestartApplicationPodResponse> {
233
- return this.request("RestartApplicationPod", 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)
234
420
  }
235
421
 
236
422
  /**
@@ -244,7 +430,17 @@ export class Client extends TencentCloudCommon.AbstractClient {
244
430
  }
245
431
 
246
432
  /**
247
- * 获取租户环境列表
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
+ * 获取环境列表
248
444
  */
249
445
  async DescribeEnvironments(
250
446
  req: DescribeEnvironmentsRequest,
@@ -293,6 +489,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
293
489
  return this.request("CreateEnvironment", req, cb)
294
490
  }
295
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
+
296
502
  /**
297
503
  * 查询 Ingress 规则列表
298
504
  */
@@ -333,6 +539,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
333
539
  return this.request("RollingUpdateApplicationByVersion", req, cb)
334
540
  }
335
541
 
542
+ /**
543
+ * 获取运行服务列表
544
+ */
545
+ async DescribeApplications(
546
+ req: DescribeApplicationsRequest,
547
+ cb?: (error: string, rep: DescribeApplicationsResponse) => void
548
+ ): Promise<DescribeApplicationsResponse> {
549
+ return this.request("DescribeApplications", req, cb)
550
+ }
551
+
336
552
  /**
337
553
  * 回滚分批发布
338
554
  */
@@ -343,6 +559,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
343
559
  return this.request("RevertDeployApplication", req, cb)
344
560
  }
345
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
+
346
572
  /**
347
573
  * 查询应用关联的 Ingress 规则列表
348
574
  */
@@ -353,6 +579,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
353
579
  return this.request("DescribeRelatedIngresses", req, cb)
354
580
  }
355
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
+
356
592
  /**
357
593
  * 绑定云资源
358
594
  */
@@ -364,7 +600,17 @@ export class Client extends TencentCloudCommon.AbstractClient {
364
600
  }
365
601
 
366
602
  /**
367
- * 销毁命名空间
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
+ * 销毁环境
368
614
  */
369
615
  async DestroyEnvironment(
370
616
  req: DestroyEnvironmentRequest,
@@ -372,4 +618,14 @@ export class Client extends TencentCloudCommon.AbstractClient {
372
618
  ): Promise<DestroyEnvironmentResponse> {
373
619
  return this.request("DestroyEnvironment", req, cb)
374
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
+ }
375
631
  }