tencentcloud-sdk-nodejs-tem 4.0.450 → 4.0.452

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.
@@ -39,6 +39,12 @@ class Client extends TencentCloudCommon.AbstractClient {
39
39
  async DescribeApplicationsStatus(req, cb) {
40
40
  return this.request("DescribeApplicationsStatus", req, cb);
41
41
  }
42
+ /**
43
+ * 查询应用访问方式列表
44
+ */
45
+ async DescribeApplicationServiceList(req, cb) {
46
+ return this.request("DescribeApplicationServiceList", req, cb);
47
+ }
42
48
  /**
43
49
  * 查询分页的日志收集配置列表
44
50
  */
@@ -96,6 +102,12 @@ class Client extends TencentCloudCommon.AbstractClient {
96
102
  async DescribeEnvironmentStatus(req, cb) {
97
103
  return this.request("DescribeEnvironmentStatus", req, cb);
98
104
  }
105
+ /**
106
+ * 开始下一批次发布
107
+ */
108
+ async ResumeDeployApplication(req, cb) {
109
+ return this.request("ResumeDeployApplication", req, cb);
110
+ }
99
111
  /**
100
112
  * 删除 Ingress 规则
101
113
  */
@@ -121,10 +133,10 @@ class Client extends TencentCloudCommon.AbstractClient {
121
133
  return this.request("DescribeDeployApplicationDetail", req, cb);
122
134
  }
123
135
  /**
124
- * 开始下一批次发布
136
+ * 修改服务访问方式列表
125
137
  */
126
- async ResumeDeployApplication(req, cb) {
127
- return this.request("ResumeDeployApplication", req, cb);
138
+ async ModifyApplicationService(req, cb) {
139
+ return this.request("ModifyApplicationService", req, cb);
128
140
  }
129
141
  /**
130
142
  * 编辑环境
@@ -156,6 +168,12 @@ class Client extends TencentCloudCommon.AbstractClient {
156
168
  async CreateLogConfig(req, cb) {
157
169
  return this.request("CreateLogConfig", req, cb);
158
170
  }
171
+ /**
172
+ * 新增访问方式
173
+ */
174
+ async CreateApplicationService(req, cb) {
175
+ return this.request("CreateApplicationService", req, cb);
176
+ }
159
177
  /**
160
178
  * 服务基本信息查看
161
179
  */
@@ -210,6 +228,12 @@ class Client extends TencentCloudCommon.AbstractClient {
210
228
  async DescribeIngress(req, cb) {
211
229
  return this.request("DescribeIngress", req, cb);
212
230
  }
231
+ /**
232
+ * 删除一条访问方式
233
+ */
234
+ async DeleteApplicationService(req, cb) {
235
+ return this.request("DeleteApplicationService", req, cb);
236
+ }
213
237
  /**
214
238
  * 生成应用程序包预签名下载链接
215
239
  */
@@ -60,6 +60,11 @@ export interface NamespacePage {
60
60
  * 页数
61
61
  */
62
62
  Pages: number;
63
+ /**
64
+ * 当前条目
65
+ 注意:此字段可能返回 null,表示取不到有效值。
66
+ */
67
+ Current: number;
63
68
  }
64
69
  /**
65
70
  * DescribeApplicationInfo返回参数结构体
@@ -88,6 +93,27 @@ export interface ModifyIngressResponse {
88
93
  */
89
94
  RequestId?: string;
90
95
  }
96
+ /**
97
+ * DeleteApplicationService请求参数结构体
98
+ */
99
+ export interface DeleteApplicationServiceRequest {
100
+ /**
101
+ * 服务id
102
+ */
103
+ ApplicationId?: string;
104
+ /**
105
+ * 来源渠道
106
+ */
107
+ SourceChannel?: number;
108
+ /**
109
+ * 环境ID
110
+ */
111
+ EnvironmentId?: string;
112
+ /**
113
+ * 访问方式服务名
114
+ */
115
+ ServiceName?: string;
116
+ }
91
117
  /**
92
118
  * RestartApplicationPod请求参数结构体
93
119
  */
@@ -495,29 +521,33 @@ export interface RevertDeployApplicationResponse {
495
521
  RequestId?: string;
496
522
  }
497
523
  /**
498
- * 弹性伸缩配置
524
+ * 分批发布策略配置
499
525
  */
500
- export interface EsInfo {
526
+ export interface DeployStrategyConf {
501
527
  /**
502
- * 最小实例数
528
+ * 总分批数
503
529
  */
504
- MinAliveInstances: number;
530
+ TotalBatchCount?: number;
505
531
  /**
506
- * 最大实例数
532
+ * beta分批实例数
507
533
  */
508
- MaxAliveInstances: number;
534
+ BetaBatchNum?: number;
509
535
  /**
510
- * 弹性策略,1:cpu,2:内存
536
+ * 分批策略:0-全自动,1-全手动,2-beta分批,beta批一定是手动的,3-首次发布
511
537
  */
512
- EsStrategy: number;
538
+ DeployStrategyType?: number;
513
539
  /**
514
- * 弹性扩缩容条件值
540
+ * 每批暂停间隔
515
541
  */
516
- Threshold: number;
542
+ BatchInterval?: number;
517
543
  /**
518
- * 版本Id
544
+ * 最小可用实例数
519
545
  */
520
- VersionId?: string;
546
+ MinAvailable?: number;
547
+ /**
548
+ * 是否强制发布
549
+ */
550
+ Force?: boolean;
521
551
  }
522
552
  /**
523
553
  * DescribeApplications返回参数结构体
@@ -533,66 +563,29 @@ export interface DescribeApplicationsResponse {
533
563
  RequestId?: string;
534
564
  }
535
565
  /**
536
- * Ingress 配置
566
+ * CreateCosToken请求参数结构体
537
567
  */
538
- export interface IngressInfo {
539
- /**
540
- * 环境ID
541
- 注意:此字段可能返回 null,表示取不到有效值。
542
- */
543
- EnvironmentId: string;
568
+ export interface CreateCosTokenRequest {
544
569
  /**
545
- * 环境namespace
570
+ * 应用ID
546
571
  */
547
- ClusterNamespace: string;
572
+ ApplicationId: string;
548
573
  /**
549
- * ip version
574
+ * 包名
550
575
  */
551
- AddressIPVersion: string;
576
+ PkgName: string;
552
577
  /**
553
- * ingress name
578
+ * optType 1上传 2查询
554
579
  */
555
- IngressName: string;
580
+ OptType: number;
556
581
  /**
557
- * rules 配置
582
+ * 来源 channel
558
583
  */
559
- Rules: Array<IngressRule>;
560
- /**
561
- * clb ID
562
- 注意:此字段可能返回 null,表示取不到有效值。
563
- */
564
- ClbId?: string;
565
- /**
566
- * tls 配置
567
- 注意:此字段可能返回 null,表示取不到有效值。
568
- */
569
- Tls?: Array<IngressTls>;
570
- /**
571
- * 环境集群ID
572
- 注意:此字段可能返回 null,表示取不到有效值。
573
- */
574
- ClusterId?: string;
575
- /**
576
- * clb ip
577
- 注意:此字段可能返回 null,表示取不到有效值。
578
- */
579
- Vip?: string;
580
- /**
581
- * 创建时间
582
- 注意:此字段可能返回 null,表示取不到有效值。
583
- */
584
- CreateTime?: string;
584
+ SourceChannel?: number;
585
585
  /**
586
- * 是否混合 https,默认 false,可选值 true 代表有 https 协议监听
586
+ * 充当deployVersion入参
587
587
  */
588
- Mixed?: boolean;
589
- /**
590
- * 重定向模式,可选值:
591
- - AUTO(自动重定向http到https)
592
- - NONE(不使用重定向)
593
- 注意:此字段可能返回 null,表示取不到有效值。
594
- */
595
- RewriteType?: string;
588
+ TimeVersion?: string;
596
589
  }
597
590
  /**
598
591
  * DescribeEnvironments请求参数结构体
@@ -758,6 +751,19 @@ export interface NodeInfo {
758
751
  */
759
752
  Cidr: string;
760
753
  }
754
+ /**
755
+ * DescribeApplicationServiceList返回参数结构体
756
+ */
757
+ export interface DescribeApplicationServiceListResponse {
758
+ /**
759
+ * 应用 EKS Service 列表
760
+ */
761
+ Result: EksService;
762
+ /**
763
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
764
+ */
765
+ RequestId?: string;
766
+ }
761
767
  /**
762
768
  * DescribeLogConfig请求参数结构体
763
769
  */
@@ -864,33 +870,29 @@ export interface DescribeEnvironmentStatusResponse {
864
870
  RequestId?: string;
865
871
  }
866
872
  /**
867
- * 分批发布策略配置
873
+ * 弹性伸缩配置
868
874
  */
869
- export interface DeployStrategyConf {
870
- /**
871
- * 总分批数
872
- */
873
- TotalBatchCount?: number;
875
+ export interface EsInfo {
874
876
  /**
875
- * beta分批实例数
877
+ * 最小实例数
876
878
  */
877
- BetaBatchNum?: number;
879
+ MinAliveInstances: number;
878
880
  /**
879
- * 分批策略:0-全自动,1-全手动,2-beta分批,beta批一定是手动的,3-首次发布
881
+ * 最大实例数
880
882
  */
881
- DeployStrategyType?: number;
883
+ MaxAliveInstances: number;
882
884
  /**
883
- * 每批暂停间隔
885
+ * 弹性策略,1:cpu,2:内存
884
886
  */
885
- BatchInterval?: number;
887
+ EsStrategy: number;
886
888
  /**
887
- * 最小可用实例数
889
+ * 弹性扩缩容条件值
888
890
  */
889
- MinAvailable?: number;
891
+ Threshold: number;
890
892
  /**
891
- * 是否强制发布
893
+ * 版本Id
892
894
  */
893
- Force?: boolean;
895
+ VersionId?: string;
894
896
  }
895
897
  /**
896
898
  * DescribeApplicationPods返回参数结构体
@@ -1369,29 +1371,66 @@ export interface ServicePortMapping {
1369
1371
  PortMappingItemList?: Array<ServicePortMappingItem>;
1370
1372
  }
1371
1373
  /**
1372
- * CreateCosToken请求参数结构体
1374
+ * Ingress 配置
1373
1375
  */
1374
- export interface CreateCosTokenRequest {
1376
+ export interface IngressInfo {
1375
1377
  /**
1376
- * 应用ID
1378
+ * 环境ID
1379
+ 注意:此字段可能返回 null,表示取不到有效值。
1380
+ */
1381
+ EnvironmentId: string;
1382
+ /**
1383
+ * 环境namespace
1377
1384
  */
1378
- ApplicationId: string;
1385
+ ClusterNamespace: string;
1379
1386
  /**
1380
- * 包名
1387
+ * ip version
1381
1388
  */
1382
- PkgName: string;
1389
+ AddressIPVersion: string;
1383
1390
  /**
1384
- * optType 1上传 2查询
1391
+ * ingress name
1385
1392
  */
1386
- OptType: number;
1393
+ IngressName: string;
1387
1394
  /**
1388
- * 来源 channel
1395
+ * rules 配置
1389
1396
  */
1390
- SourceChannel?: number;
1397
+ Rules: Array<IngressRule>;
1391
1398
  /**
1392
- * 充当deployVersion入参
1399
+ * clb ID
1400
+ 注意:此字段可能返回 null,表示取不到有效值。
1401
+ */
1402
+ ClbId?: string;
1403
+ /**
1404
+ * tls 配置
1405
+ 注意:此字段可能返回 null,表示取不到有效值。
1406
+ */
1407
+ Tls?: Array<IngressTls>;
1408
+ /**
1409
+ * 环境集群ID
1410
+ 注意:此字段可能返回 null,表示取不到有效值。
1411
+ */
1412
+ ClusterId?: string;
1413
+ /**
1414
+ * clb ip
1415
+ 注意:此字段可能返回 null,表示取不到有效值。
1416
+ */
1417
+ Vip?: string;
1418
+ /**
1419
+ * 创建时间
1420
+ 注意:此字段可能返回 null,表示取不到有效值。
1421
+ */
1422
+ CreateTime?: string;
1423
+ /**
1424
+ * 是否混合 https,默认 false,可选值 true 代表有 https 协议监听
1393
1425
  */
1394
- TimeVersion?: string;
1426
+ Mixed?: boolean;
1427
+ /**
1428
+ * 重定向模式,可选值:
1429
+ - AUTO(自动重定向http到https)
1430
+ - NONE(不使用重定向)
1431
+ 注意:此字段可能返回 null,表示取不到有效值。
1432
+ */
1433
+ RewriteType?: string;
1395
1434
  }
1396
1435
  /**
1397
1436
  * ModifyApplicationAutoscaler请求参数结构体
@@ -1444,6 +1483,21 @@ export interface ModifyIngressRequest {
1444
1483
  */
1445
1484
  SourceChannel?: number;
1446
1485
  }
1486
+ /**
1487
+ * 标签
1488
+ */
1489
+ export interface Tag {
1490
+ /**
1491
+ * 标签键
1492
+ 注意:此字段可能返回 null,表示取不到有效值。
1493
+ */
1494
+ TagKey?: string;
1495
+ /**
1496
+ * 标签值
1497
+ 注意:此字段可能返回 null,表示取不到有效值。
1498
+ */
1499
+ TagValue?: string;
1500
+ }
1447
1501
  /**
1448
1502
  * 开启prometheus监控配置
1449
1503
  */
@@ -1610,6 +1664,19 @@ export interface DescribeApplicationsStatusRequest {
1610
1664
  */
1611
1665
  EnvironmentId?: string;
1612
1666
  }
1667
+ /**
1668
+ * DescribeIngress返回参数结构体
1669
+ */
1670
+ export interface DescribeIngressResponse {
1671
+ /**
1672
+ * Ingress 规则配置
1673
+ */
1674
+ Result: IngressInfo;
1675
+ /**
1676
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1677
+ */
1678
+ RequestId?: string;
1679
+ }
1613
1680
  /**
1614
1681
  * 应用实例
1615
1682
  */
@@ -2267,6 +2334,23 @@ export interface CronHorizontalAutoscaler {
2267
2334
  */
2268
2335
  Priority?: number;
2269
2336
  }
2337
+ /**
2338
+ * DescribeApplicationServiceList请求参数结构体
2339
+ */
2340
+ export interface DescribeApplicationServiceListRequest {
2341
+ /**
2342
+ * namespace id
2343
+ */
2344
+ EnvironmentId: string;
2345
+ /**
2346
+ * 服务ID
2347
+ */
2348
+ ApplicationId: string;
2349
+ /**
2350
+ * xx
2351
+ */
2352
+ SourceChannel?: number;
2353
+ }
2270
2354
  /**
2271
2355
  * DescribeDeployApplicationDetail返回参数结构体
2272
2356
  */
@@ -2375,6 +2459,31 @@ export interface TemNamespaceInfo {
2375
2459
  * 环境锁,1为上锁,0则为上锁
2376
2460
  */
2377
2461
  Locked: number;
2462
+ /**
2463
+ * 用户AppId
2464
+ 注意:此字段可能返回 null,表示取不到有效值。
2465
+ */
2466
+ AppId: string;
2467
+ /**
2468
+ * 用户Uin
2469
+ 注意:此字段可能返回 null,表示取不到有效值。
2470
+ */
2471
+ Uin: string;
2472
+ /**
2473
+ * 用户SubAccountUin
2474
+ 注意:此字段可能返回 null,表示取不到有效值。
2475
+ */
2476
+ SubAccountUin: string;
2477
+ /**
2478
+ * 集群ID
2479
+ 注意:此字段可能返回 null,表示取不到有效值。
2480
+ */
2481
+ ClusterId: string;
2482
+ /**
2483
+ * 标签
2484
+ 注意:此字段可能返回 null,表示取不到有效值。
2485
+ */
2486
+ Tags: Array<Tag>;
2378
2487
  }
2379
2488
  /**
2380
2489
  * CreateApplicationAutoscaler请求参数结构体
@@ -2397,6 +2506,20 @@ export interface CreateApplicationAutoscalerRequest {
2397
2506
  */
2398
2507
  Autoscaler?: Autoscaler;
2399
2508
  }
2509
+ /**
2510
+ * DeleteApplicationService返回参数结构体
2511
+ */
2512
+ export interface DeleteApplicationServiceResponse {
2513
+ /**
2514
+ * 是否成功
2515
+ 注意:此字段可能返回 null,表示取不到有效值。
2516
+ */
2517
+ Result: boolean;
2518
+ /**
2519
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2520
+ */
2521
+ RequestId?: string;
2522
+ }
2400
2523
  /**
2401
2524
  * 配置
2402
2525
  */
@@ -2495,6 +2618,31 @@ export interface DescribeConfigDataListResponse {
2495
2618
  */
2496
2619
  RequestId?: string;
2497
2620
  }
2621
+ /**
2622
+ * ModifyApplicationService请求参数结构体
2623
+ */
2624
+ export interface ModifyApplicationServiceRequest {
2625
+ /**
2626
+ * 服务id
2627
+ */
2628
+ ApplicationId: string;
2629
+ /**
2630
+ * 环境ID
2631
+ */
2632
+ EnvironmentId: string;
2633
+ /**
2634
+ * 来源渠道
2635
+ */
2636
+ SourceChannel?: number;
2637
+ /**
2638
+ * 全量访问方式设置
2639
+ */
2640
+ Service?: EksService;
2641
+ /**
2642
+ * 单条访问方式设置
2643
+ */
2644
+ Data?: ServicePortMapping;
2645
+ }
2498
2646
  /**
2499
2647
  * DescribePagedLogConfigList返回参数结构体
2500
2648
  */
@@ -3097,6 +3245,27 @@ export interface DescribeRunPodPage {
3097
3245
  */
3098
3246
  PodList: Array<RunVersionPod>;
3099
3247
  }
3248
+ /**
3249
+ * CreateApplicationService请求参数结构体
3250
+ */
3251
+ export interface CreateApplicationServiceRequest {
3252
+ /**
3253
+ * 服务id
3254
+ */
3255
+ ApplicationId: string;
3256
+ /**
3257
+ * 环境ID
3258
+ */
3259
+ EnvironmentId: string;
3260
+ /**
3261
+ * 来源渠道
3262
+ */
3263
+ SourceChannel?: number;
3264
+ /**
3265
+ * 访问方式详情
3266
+ */
3267
+ Service?: ServicePortMapping;
3268
+ }
3100
3269
  /**
3101
3270
  * ModifyApplicationReplicas返回参数结构体
3102
3271
  */
@@ -3199,13 +3368,14 @@ export interface IngressRuleBackend {
3199
3368
  ServicePort: number;
3200
3369
  }
3201
3370
  /**
3202
- * DescribeIngress返回参数结构体
3371
+ * CreateApplicationService返回参数结构体
3203
3372
  */
3204
- export interface DescribeIngressResponse {
3373
+ export interface CreateApplicationServiceResponse {
3205
3374
  /**
3206
- * Ingress 规则配置
3207
- */
3208
- Result: IngressInfo;
3375
+ * 是否成功
3376
+ 注意:此字段可能返回 null,表示取不到有效值。
3377
+ */
3378
+ Result: boolean;
3209
3379
  /**
3210
3380
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3211
3381
  */
@@ -3371,6 +3541,20 @@ export interface HorizontalAutoscaler {
3371
3541
  */
3372
3542
  Enabled?: boolean;
3373
3543
  }
3544
+ /**
3545
+ * ModifyApplicationService返回参数结构体
3546
+ */
3547
+ export interface ModifyApplicationServiceResponse {
3548
+ /**
3549
+ * 是否成功
3550
+ 注意:此字段可能返回 null,表示取不到有效值。
3551
+ */
3552
+ Result: boolean;
3553
+ /**
3554
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3555
+ */
3556
+ RequestId?: string;
3557
+ }
3374
3558
  /**
3375
3559
  * 服务端口映射
3376
3560
  */