tencentcloud-sdk-nodejs-tem 4.0.450 → 4.0.451

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.
@@ -22,6 +22,7 @@ import {
22
22
  NamespacePage,
23
23
  DescribeApplicationInfoResponse,
24
24
  ModifyIngressResponse,
25
+ DeleteApplicationServiceRequest,
25
26
  RestartApplicationPodRequest,
26
27
  DestroyLogConfigResponse,
27
28
  ResumeDeployApplicationResponse,
@@ -43,25 +44,26 @@ import {
43
44
  CreateEnvironmentResponse,
44
45
  DescribeEnvironmentStatusRequest,
45
46
  RevertDeployApplicationResponse,
46
- EsInfo,
47
+ DeployStrategyConf,
47
48
  DescribeApplicationsResponse,
48
- IngressInfo,
49
+ CreateCosTokenRequest,
49
50
  DescribeEnvironmentsRequest,
50
51
  LogConfigListPage,
51
52
  ServiceVersionBrief,
52
53
  CreateEnvironmentRequest,
53
54
  NodeInfo,
55
+ DescribeApplicationServiceListResponse,
54
56
  DescribeLogConfigRequest,
55
57
  TemDeployApplicationDetailInfo,
56
58
  DescribeEnvironmentStatusResponse,
57
- DeployStrategyConf,
59
+ EsInfo,
58
60
  DescribeApplicationPodsResponse,
59
61
  DescribeConfigDataListRequest,
60
62
  EnableApplicationAutoscalerResponse,
61
63
  ServicePage,
62
64
  TemServiceVersionInfo,
63
65
  ServicePortMapping,
64
- CreateCosTokenRequest,
66
+ IngressInfo,
65
67
  ModifyApplicationAutoscalerRequest,
66
68
  ModifyConfigDataResponse,
67
69
  ModifyIngressRequest,
@@ -74,6 +76,7 @@ import {
74
76
  ModifyConfigDataRequest,
75
77
  CreateConfigDataResponse,
76
78
  DescribeApplicationsStatusRequest,
79
+ DescribeIngressResponse,
77
80
  RunVersionPod,
78
81
  CreateResourceResponse,
79
82
  ModifyApplicationInfoResponse,
@@ -105,17 +108,20 @@ import {
105
108
  TemService,
106
109
  IngressRule,
107
110
  CronHorizontalAutoscaler,
111
+ DescribeApplicationServiceListRequest,
108
112
  DescribeDeployApplicationDetailResponse,
109
113
  IngressRuleValue,
110
114
  DescribeEnvironmentResponse,
111
115
  TemNamespaceInfo,
112
116
  CreateApplicationAutoscalerRequest,
117
+ DeleteApplicationServiceResponse,
113
118
  ConfigData,
114
119
  ResumeDeployApplicationRequest,
115
120
  DescribeConfigDataRequest,
116
121
  MountedSettingConf,
117
122
  CreateLogConfigResponse,
118
123
  DescribeConfigDataListResponse,
124
+ ModifyApplicationServiceRequest,
119
125
  DescribePagedLogConfigListResponse,
120
126
  HealthCheckConfig,
121
127
  DeployServiceBatchDetail,
@@ -131,13 +137,14 @@ import {
131
137
  CreateApplicationRequest,
132
138
  NamespaceStatusInfo,
133
139
  DescribeRunPodPage,
140
+ CreateApplicationServiceRequest,
134
141
  ModifyApplicationReplicasResponse,
135
142
  UseDefaultRepoParameters,
136
143
  CronHorizontalAutoscalerSchedule,
137
144
  ModifyEnvironmentRequest,
138
145
  GenerateApplicationPackageDownloadUrlResponse,
139
146
  IngressRuleBackend,
140
- DescribeIngressResponse,
147
+ CreateApplicationServiceResponse,
141
148
  WorkloadInfo,
142
149
  IngressRulePath,
143
150
  NamespaceInfo,
@@ -146,6 +153,7 @@ import {
146
153
  RevertDeployApplicationRequest,
147
154
  CreateApplicationResponse,
148
155
  HorizontalAutoscaler,
156
+ ModifyApplicationServiceResponse,
149
157
  PortMapping,
150
158
  LogConfig,
151
159
  ModifyEnvironmentResponse,
@@ -186,6 +194,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
186
194
  return this.request("DescribeApplicationsStatus", req, cb)
187
195
  }
188
196
 
197
+ /**
198
+ * 查询应用访问方式列表
199
+ */
200
+ async DescribeApplicationServiceList(
201
+ req: DescribeApplicationServiceListRequest,
202
+ cb?: (error: string, rep: DescribeApplicationServiceListResponse) => void
203
+ ): Promise<DescribeApplicationServiceListResponse> {
204
+ return this.request("DescribeApplicationServiceList", req, cb)
205
+ }
206
+
189
207
  /**
190
208
  * 查询分页的日志收集配置列表
191
209
  */
@@ -279,6 +297,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
279
297
  return this.request("DescribeEnvironmentStatus", req, cb)
280
298
  }
281
299
 
300
+ /**
301
+ * 开始下一批次发布
302
+ */
303
+ async ResumeDeployApplication(
304
+ req: ResumeDeployApplicationRequest,
305
+ cb?: (error: string, rep: ResumeDeployApplicationResponse) => void
306
+ ): Promise<ResumeDeployApplicationResponse> {
307
+ return this.request("ResumeDeployApplication", req, cb)
308
+ }
309
+
282
310
  /**
283
311
  * 删除 Ingress 规则
284
312
  */
@@ -320,13 +348,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
320
348
  }
321
349
 
322
350
  /**
323
- * 开始下一批次发布
351
+ * 修改服务访问方式列表
324
352
  */
325
- async ResumeDeployApplication(
326
- req: ResumeDeployApplicationRequest,
327
- cb?: (error: string, rep: ResumeDeployApplicationResponse) => void
328
- ): Promise<ResumeDeployApplicationResponse> {
329
- return this.request("ResumeDeployApplication", req, cb)
353
+ async ModifyApplicationService(
354
+ req: ModifyApplicationServiceRequest,
355
+ cb?: (error: string, rep: ModifyApplicationServiceResponse) => void
356
+ ): Promise<ModifyApplicationServiceResponse> {
357
+ return this.request("ModifyApplicationService", req, cb)
330
358
  }
331
359
 
332
360
  /**
@@ -379,6 +407,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
379
407
  return this.request("CreateLogConfig", req, cb)
380
408
  }
381
409
 
410
+ /**
411
+ * 新增访问方式
412
+ */
413
+ async CreateApplicationService(
414
+ req: CreateApplicationServiceRequest,
415
+ cb?: (error: string, rep: CreateApplicationServiceResponse) => void
416
+ ): Promise<CreateApplicationServiceResponse> {
417
+ return this.request("CreateApplicationService", req, cb)
418
+ }
419
+
382
420
  /**
383
421
  * 服务基本信息查看
384
422
  */
@@ -469,6 +507,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
469
507
  return this.request("DescribeIngress", req, cb)
470
508
  }
471
509
 
510
+ /**
511
+ * 删除一条访问方式
512
+ */
513
+ async DeleteApplicationService(
514
+ req: DeleteApplicationServiceRequest,
515
+ cb?: (error: string, rep: DeleteApplicationServiceResponse) => void
516
+ ): Promise<DeleteApplicationServiceResponse> {
517
+ return this.request("DeleteApplicationService", req, cb)
518
+ }
519
+
472
520
  /**
473
521
  * 生成应用程序包预签名下载链接
474
522
  */
@@ -121,6 +121,31 @@ export interface ModifyIngressResponse {
121
121
  RequestId?: string
122
122
  }
123
123
 
124
+ /**
125
+ * DeleteApplicationService请求参数结构体
126
+ */
127
+ export interface DeleteApplicationServiceRequest {
128
+ /**
129
+ * 服务id
130
+ */
131
+ ApplicationId?: string
132
+
133
+ /**
134
+ * 来源渠道
135
+ */
136
+ SourceChannel?: number
137
+
138
+ /**
139
+ * 环境ID
140
+ */
141
+ EnvironmentId?: string
142
+
143
+ /**
144
+ * 访问方式服务名
145
+ */
146
+ ServiceName?: string
147
+ }
148
+
124
149
  /**
125
150
  * RestartApplicationPod请求参数结构体
126
151
  */
@@ -600,33 +625,38 @@ export interface RevertDeployApplicationResponse {
600
625
  }
601
626
 
602
627
  /**
603
- * 弹性伸缩配置
628
+ * 分批发布策略配置
604
629
  */
605
- export interface EsInfo {
630
+ export interface DeployStrategyConf {
606
631
  /**
607
- * 最小实例数
632
+ * 总分批数
608
633
  */
609
- MinAliveInstances: number
634
+ TotalBatchCount?: number
610
635
 
611
636
  /**
612
- * 最大实例数
637
+ * beta分批实例数
613
638
  */
614
- MaxAliveInstances: number
639
+ BetaBatchNum?: number
615
640
 
616
641
  /**
617
- * 弹性策略,1:cpu,2:内存
642
+ * 分批策略:0-全自动,1-全手动,2-beta分批,beta批一定是手动的,3-首次发布
618
643
  */
619
- EsStrategy: number
644
+ DeployStrategyType?: number
620
645
 
621
646
  /**
622
- * 弹性扩缩容条件值
647
+ * 每批暂停间隔
623
648
  */
624
- Threshold: number
649
+ BatchInterval?: number
625
650
 
626
651
  /**
627
- * 版本Id
652
+ * 最小可用实例数
628
653
  */
629
- VersionId?: string
654
+ MinAvailable?: number
655
+
656
+ /**
657
+ * 是否强制发布
658
+ */
659
+ Force?: boolean
630
660
  }
631
661
 
632
662
  /**
@@ -645,77 +675,33 @@ export interface DescribeApplicationsResponse {
645
675
  }
646
676
 
647
677
  /**
648
- * Ingress 配置
678
+ * CreateCosToken请求参数结构体
649
679
  */
650
- export interface IngressInfo {
651
- /**
652
- * 环境ID
653
- 注意:此字段可能返回 null,表示取不到有效值。
654
- */
655
- EnvironmentId: string
656
-
680
+ export interface CreateCosTokenRequest {
657
681
  /**
658
- * 环境namespace
682
+ * 应用ID
659
683
  */
660
- ClusterNamespace: string
684
+ ApplicationId: string
661
685
 
662
686
  /**
663
- * ip version
687
+ * 包名
664
688
  */
665
- AddressIPVersion: string
689
+ PkgName: string
666
690
 
667
691
  /**
668
- * ingress name
692
+ * optType 1上传 2查询
669
693
  */
670
- IngressName: string
694
+ OptType: number
671
695
 
672
696
  /**
673
- * rules 配置
697
+ * 来源 channel
674
698
  */
675
- Rules: Array<IngressRule>
676
-
677
- /**
678
- * clb ID
679
- 注意:此字段可能返回 null,表示取不到有效值。
680
- */
681
- ClbId?: string
682
-
683
- /**
684
- * tls 配置
685
- 注意:此字段可能返回 null,表示取不到有效值。
686
- */
687
- Tls?: Array<IngressTls>
688
-
689
- /**
690
- * 环境集群ID
691
- 注意:此字段可能返回 null,表示取不到有效值。
692
- */
693
- ClusterId?: string
694
-
695
- /**
696
- * clb ip
697
- 注意:此字段可能返回 null,表示取不到有效值。
698
- */
699
- Vip?: string
700
-
701
- /**
702
- * 创建时间
703
- 注意:此字段可能返回 null,表示取不到有效值。
704
- */
705
- CreateTime?: string
699
+ SourceChannel?: number
706
700
 
707
701
  /**
708
- * 是否混合 https,默认 false,可选值 true 代表有 https 协议监听
702
+ * 充当deployVersion入参
709
703
  */
710
- Mixed?: boolean
711
-
712
- /**
713
- * 重定向模式,可选值:
714
- - AUTO(自动重定向http到https)
715
- - NONE(不使用重定向)
716
- 注意:此字段可能返回 null,表示取不到有效值。
717
- */
718
- RewriteType?: string
704
+ TimeVersion?: string
719
705
  }
720
706
 
721
707
  /**
@@ -913,6 +899,21 @@ export interface NodeInfo {
913
899
  Cidr: string
914
900
  }
915
901
 
902
+ /**
903
+ * DescribeApplicationServiceList返回参数结构体
904
+ */
905
+ export interface DescribeApplicationServiceListResponse {
906
+ /**
907
+ * 应用 EKS Service 列表
908
+ */
909
+ Result: EksService
910
+
911
+ /**
912
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
913
+ */
914
+ RequestId?: string
915
+ }
916
+
916
917
  /**
917
918
  * DescribeLogConfig请求参数结构体
918
919
  */
@@ -1038,38 +1039,33 @@ export interface DescribeEnvironmentStatusResponse {
1038
1039
  }
1039
1040
 
1040
1041
  /**
1041
- * 分批发布策略配置
1042
+ * 弹性伸缩配置
1042
1043
  */
1043
- export interface DeployStrategyConf {
1044
- /**
1045
- * 总分批数
1046
- */
1047
- TotalBatchCount?: number
1048
-
1044
+ export interface EsInfo {
1049
1045
  /**
1050
- * beta分批实例数
1046
+ * 最小实例数
1051
1047
  */
1052
- BetaBatchNum?: number
1048
+ MinAliveInstances: number
1053
1049
 
1054
1050
  /**
1055
- * 分批策略:0-全自动,1-全手动,2-beta分批,beta批一定是手动的,3-首次发布
1051
+ * 最大实例数
1056
1052
  */
1057
- DeployStrategyType?: number
1053
+ MaxAliveInstances: number
1058
1054
 
1059
1055
  /**
1060
- * 每批暂停间隔
1056
+ * 弹性策略,1:cpu,2:内存
1061
1057
  */
1062
- BatchInterval?: number
1058
+ EsStrategy: number
1063
1059
 
1064
1060
  /**
1065
- * 最小可用实例数
1061
+ * 弹性扩缩容条件值
1066
1062
  */
1067
- MinAvailable?: number
1063
+ Threshold: number
1068
1064
 
1069
1065
  /**
1070
- * 是否强制发布
1066
+ * 版本Id
1071
1067
  */
1072
- Force?: boolean
1068
+ VersionId?: string
1073
1069
  }
1074
1070
 
1075
1071
  /**
@@ -1644,33 +1640,77 @@ export interface ServicePortMapping {
1644
1640
  }
1645
1641
 
1646
1642
  /**
1647
- * CreateCosToken请求参数结构体
1643
+ * Ingress 配置
1648
1644
  */
1649
- export interface CreateCosTokenRequest {
1645
+ export interface IngressInfo {
1650
1646
  /**
1651
- * 应用ID
1647
+ * 环境ID
1648
+ 注意:此字段可能返回 null,表示取不到有效值。
1649
+ */
1650
+ EnvironmentId: string
1651
+
1652
+ /**
1653
+ * 环境namespace
1652
1654
  */
1653
- ApplicationId: string
1655
+ ClusterNamespace: string
1654
1656
 
1655
1657
  /**
1656
- * 包名
1658
+ * ip version
1657
1659
  */
1658
- PkgName: string
1660
+ AddressIPVersion: string
1659
1661
 
1660
1662
  /**
1661
- * optType 1上传 2查询
1663
+ * ingress name
1662
1664
  */
1663
- OptType: number
1665
+ IngressName: string
1664
1666
 
1665
1667
  /**
1666
- * 来源 channel
1668
+ * rules 配置
1667
1669
  */
1668
- SourceChannel?: number
1670
+ Rules: Array<IngressRule>
1669
1671
 
1670
1672
  /**
1671
- * 充当deployVersion入参
1673
+ * clb ID
1674
+ 注意:此字段可能返回 null,表示取不到有效值。
1675
+ */
1676
+ ClbId?: string
1677
+
1678
+ /**
1679
+ * tls 配置
1680
+ 注意:此字段可能返回 null,表示取不到有效值。
1681
+ */
1682
+ Tls?: Array<IngressTls>
1683
+
1684
+ /**
1685
+ * 环境集群ID
1686
+ 注意:此字段可能返回 null,表示取不到有效值。
1687
+ */
1688
+ ClusterId?: string
1689
+
1690
+ /**
1691
+ * clb ip
1692
+ 注意:此字段可能返回 null,表示取不到有效值。
1693
+ */
1694
+ Vip?: string
1695
+
1696
+ /**
1697
+ * 创建时间
1698
+ 注意:此字段可能返回 null,表示取不到有效值。
1699
+ */
1700
+ CreateTime?: string
1701
+
1702
+ /**
1703
+ * 是否混合 https,默认 false,可选值 true 代表有 https 协议监听
1672
1704
  */
1673
- TimeVersion?: string
1705
+ Mixed?: boolean
1706
+
1707
+ /**
1708
+ * 重定向模式,可选值:
1709
+ - AUTO(自动重定向http到https)
1710
+ - NONE(不使用重定向)
1711
+ 注意:此字段可能返回 null,表示取不到有效值。
1712
+ */
1713
+ RewriteType?: string
1674
1714
  }
1675
1715
 
1676
1716
  /**
@@ -1929,6 +1969,21 @@ export interface DescribeApplicationsStatusRequest {
1929
1969
  EnvironmentId?: string
1930
1970
  }
1931
1971
 
1972
+ /**
1973
+ * DescribeIngress返回参数结构体
1974
+ */
1975
+ export interface DescribeIngressResponse {
1976
+ /**
1977
+ * Ingress 规则配置
1978
+ */
1979
+ Result: IngressInfo
1980
+
1981
+ /**
1982
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1983
+ */
1984
+ RequestId?: string
1985
+ }
1986
+
1932
1987
  /**
1933
1988
  * 应用实例
1934
1989
  */
@@ -2702,6 +2757,26 @@ export interface CronHorizontalAutoscaler {
2702
2757
  Priority?: number
2703
2758
  }
2704
2759
 
2760
+ /**
2761
+ * DescribeApplicationServiceList请求参数结构体
2762
+ */
2763
+ export interface DescribeApplicationServiceListRequest {
2764
+ /**
2765
+ * namespace id
2766
+ */
2767
+ EnvironmentId: string
2768
+
2769
+ /**
2770
+ * 服务ID
2771
+ */
2772
+ ApplicationId: string
2773
+
2774
+ /**
2775
+ * xx
2776
+ */
2777
+ SourceChannel?: number
2778
+ }
2779
+
2705
2780
  /**
2706
2781
  * DescribeDeployApplicationDetail返回参数结构体
2707
2782
  */
@@ -2858,6 +2933,22 @@ export interface CreateApplicationAutoscalerRequest {
2858
2933
  Autoscaler?: Autoscaler
2859
2934
  }
2860
2935
 
2936
+ /**
2937
+ * DeleteApplicationService返回参数结构体
2938
+ */
2939
+ export interface DeleteApplicationServiceResponse {
2940
+ /**
2941
+ * 是否成功
2942
+ 注意:此字段可能返回 null,表示取不到有效值。
2943
+ */
2944
+ Result: boolean
2945
+
2946
+ /**
2947
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2948
+ */
2949
+ RequestId?: string
2950
+ }
2951
+
2861
2952
  /**
2862
2953
  * 配置
2863
2954
  */
@@ -2973,6 +3064,36 @@ export interface DescribeConfigDataListResponse {
2973
3064
  RequestId?: string
2974
3065
  }
2975
3066
 
3067
+ /**
3068
+ * ModifyApplicationService请求参数结构体
3069
+ */
3070
+ export interface ModifyApplicationServiceRequest {
3071
+ /**
3072
+ * 服务id
3073
+ */
3074
+ ApplicationId: string
3075
+
3076
+ /**
3077
+ * 环境ID
3078
+ */
3079
+ EnvironmentId: string
3080
+
3081
+ /**
3082
+ * 来源渠道
3083
+ */
3084
+ SourceChannel?: number
3085
+
3086
+ /**
3087
+ * 全量访问方式设置
3088
+ */
3089
+ Service?: EksService
3090
+
3091
+ /**
3092
+ * 单条访问方式设置
3093
+ */
3094
+ Data?: ServicePortMapping
3095
+ }
3096
+
2976
3097
  /**
2977
3098
  * DescribePagedLogConfigList返回参数结构体
2978
3099
  */
@@ -3696,6 +3817,31 @@ export interface DescribeRunPodPage {
3696
3817
  PodList: Array<RunVersionPod>
3697
3818
  }
3698
3819
 
3820
+ /**
3821
+ * CreateApplicationService请求参数结构体
3822
+ */
3823
+ export interface CreateApplicationServiceRequest {
3824
+ /**
3825
+ * 服务id
3826
+ */
3827
+ ApplicationId: string
3828
+
3829
+ /**
3830
+ * 环境ID
3831
+ */
3832
+ EnvironmentId: string
3833
+
3834
+ /**
3835
+ * 来源渠道
3836
+ */
3837
+ SourceChannel?: number
3838
+
3839
+ /**
3840
+ * 访问方式详情
3841
+ */
3842
+ Service?: ServicePortMapping
3843
+ }
3844
+
3699
3845
  /**
3700
3846
  * ModifyApplicationReplicas返回参数结构体
3701
3847
  */
@@ -3814,13 +3960,14 @@ export interface IngressRuleBackend {
3814
3960
  }
3815
3961
 
3816
3962
  /**
3817
- * DescribeIngress返回参数结构体
3963
+ * CreateApplicationService返回参数结构体
3818
3964
  */
3819
- export interface DescribeIngressResponse {
3965
+ export interface CreateApplicationServiceResponse {
3820
3966
  /**
3821
- * Ingress 规则配置
3822
- */
3823
- Result: IngressInfo
3967
+ * 是否成功
3968
+ 注意:此字段可能返回 null,表示取不到有效值。
3969
+ */
3970
+ Result: boolean
3824
3971
 
3825
3972
  /**
3826
3973
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -4016,6 +4163,22 @@ export interface HorizontalAutoscaler {
4016
4163
  Enabled?: boolean
4017
4164
  }
4018
4165
 
4166
+ /**
4167
+ * ModifyApplicationService返回参数结构体
4168
+ */
4169
+ export interface ModifyApplicationServiceResponse {
4170
+ /**
4171
+ * 是否成功
4172
+ 注意:此字段可能返回 null,表示取不到有效值。
4173
+ */
4174
+ Result: boolean
4175
+
4176
+ /**
4177
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4178
+ */
4179
+ RequestId?: string
4180
+ }
4181
+
4019
4182
  /**
4020
4183
  * 服务端口映射
4021
4184
  */