tencentcloud-sdk-nodejs-tem 4.1.25 → 4.1.54
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.
|
@@ -57,6 +57,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
57
57
|
async ModifyApplicationService(req, cb) {
|
|
58
58
|
return this.request("ModifyApplicationService", req, cb);
|
|
59
59
|
}
|
|
60
|
+
async ModifyGatewayIngress(req, cb) {
|
|
61
|
+
return this.request("ModifyGatewayIngress", req, cb);
|
|
62
|
+
}
|
|
60
63
|
async ModifyEnvironment(req, cb) {
|
|
61
64
|
return this.request("ModifyEnvironment", req, cb);
|
|
62
65
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { CreateResourceRequest, DescribeConfigDataResponse, DescribeApplicationInfoResponse,
|
|
2
|
+
import { CreateResourceRequest, DescribeConfigDataResponse, DescribeApplicationInfoResponse, ModifyGatewayIngressRequest, DeleteApplicationServiceRequest, RestartApplicationPodRequest, DestroyLogConfigResponse, ResumeDeployApplicationResponse, DescribeApplicationPodsRequest, DeleteIngressResponse, DeleteApplicationResponse, ModifyApplicationAutoscalerResponse, RollingUpdateApplicationByVersionRequest, CreateCosTokenResponse, ModifyLogConfigResponse, RollingUpdateApplicationByVersionResponse, StopApplicationRequest, ModifyApplicationInfoRequest, DestroyEnvironmentRequest, CreateEnvironmentResponse, DescribeEnvironmentStatusRequest, RevertDeployApplicationResponse, DescribeApplicationsResponse, CreateCosTokenRequest, DescribeEnvironmentsRequest, CreateEnvironmentRequest, DescribeApplicationServiceListResponse, DescribeLogConfigRequest, DescribeEnvironmentStatusResponse, DescribeApplicationPodsResponse, DescribeConfigDataListRequest, EnableApplicationAutoscalerResponse, ModifyApplicationAutoscalerRequest, ModifyConfigDataResponse, ModifyIngressRequest, DescribeIngressesRequest, CreateLogConfigRequest, RestartApplicationResponse, DescribeIngressesResponse, ModifyConfigDataRequest, CreateConfigDataResponse, DescribeApplicationsStatusRequest, DescribeIngressResponse, CreateResourceResponse, ModifyApplicationInfoResponse, RestartApplicationRequest, DestroyEnvironmentResponse, DisableApplicationAutoscalerResponse, DescribeIngressRequest, StopApplicationResponse, DeployApplicationResponse, RestartApplicationPodResponse, DeleteApplicationRequest, CreateApplicationAutoscalerResponse, DeleteApplicationAutoscalerRequest, DescribeApplicationAutoscalerListRequest, DescribeApplicationsStatusResponse, DescribeDeployApplicationDetailRequest, DeleteIngressRequest, DisableApplicationAutoscalerRequest, DescribeRelatedIngressesRequest, GenerateApplicationPackageDownloadUrlRequest, DescribeEnvironmentsResponse, DeleteApplicationAutoscalerResponse, DescribeRelatedIngressesResponse, DescribeEnvironmentRequest, DescribePagedLogConfigListRequest, DescribeApplicationServiceListRequest, DescribeDeployApplicationDetailResponse, DescribeEnvironmentResponse, CreateApplicationAutoscalerRequest, DeleteApplicationServiceResponse, ResumeDeployApplicationRequest, DescribeConfigDataRequest, CreateLogConfigResponse, DescribeConfigDataListResponse, ModifyGatewayIngressResponse, ModifyApplicationServiceRequest, DescribePagedLogConfigListResponse, CreateConfigDataRequest, DeployApplicationRequest, DescribeApplicationAutoscalerListResponse, DestroyConfigDataRequest, DestroyConfigDataResponse, DescribeApplicationsRequest, DescribeApplicationInfoRequest, CreateApplicationRequest, CreateApplicationServiceRequest, ModifyApplicationReplicasResponse, ModifyEnvironmentRequest, GenerateApplicationPackageDownloadUrlResponse, CreateApplicationServiceResponse, DescribeLogConfigResponse, RevertDeployApplicationRequest, CreateApplicationResponse, ModifyApplicationServiceResponse, ModifyEnvironmentResponse, ModifyApplicationReplicasRequest, ModifyLogConfigRequest, ModifyIngressResponse, DestroyLogConfigRequest, EnableApplicationAutoscalerRequest } from "./tem_models";
|
|
3
3
|
/**
|
|
4
4
|
* tem client
|
|
5
5
|
* @class
|
|
@@ -83,6 +83,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
83
83
|
* 修改服务访问方式列表
|
|
84
84
|
*/
|
|
85
85
|
ModifyApplicationService(req: ModifyApplicationServiceRequest, cb?: (error: string, rep: ModifyApplicationServiceResponse) => void): Promise<ModifyApplicationServiceResponse>;
|
|
86
|
+
/**
|
|
87
|
+
* 修改网关的转发配置
|
|
88
|
+
*/
|
|
89
|
+
ModifyGatewayIngress(req: ModifyGatewayIngressRequest, cb?: (error: string, rep: ModifyGatewayIngressResponse) => void): Promise<ModifyGatewayIngressResponse>;
|
|
86
90
|
/**
|
|
87
91
|
* 编辑环境
|
|
88
92
|
*/
|
|
@@ -141,6 +141,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
141
141
|
async ModifyApplicationService(req, cb) {
|
|
142
142
|
return this.request("ModifyApplicationService", req, cb);
|
|
143
143
|
}
|
|
144
|
+
/**
|
|
145
|
+
* 修改网关的转发配置
|
|
146
|
+
*/
|
|
147
|
+
async ModifyGatewayIngress(req, cb) {
|
|
148
|
+
return this.request("ModifyGatewayIngress", req, cb);
|
|
149
|
+
}
|
|
144
150
|
/**
|
|
145
151
|
* 编辑环境
|
|
146
152
|
*/
|
|
@@ -79,18 +79,43 @@ export interface DescribeApplicationInfoResponse {
|
|
|
79
79
|
RequestId?: string;
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
82
|
+
* ModifyGatewayIngress请求参数结构体
|
|
83
83
|
*/
|
|
84
|
-
export interface
|
|
84
|
+
export interface ModifyGatewayIngressRequest {
|
|
85
85
|
/**
|
|
86
|
-
*
|
|
87
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
86
|
+
* 环境 ID
|
|
88
87
|
*/
|
|
89
|
-
|
|
88
|
+
EnvironmentId?: string;
|
|
90
89
|
/**
|
|
91
|
-
*
|
|
90
|
+
* 网关名称
|
|
92
91
|
*/
|
|
93
|
-
|
|
92
|
+
GatewayName?: string;
|
|
93
|
+
/**
|
|
94
|
+
* 网关类型,如 clb
|
|
95
|
+
*/
|
|
96
|
+
GatewayType?: string;
|
|
97
|
+
/**
|
|
98
|
+
* 转发配置名称
|
|
99
|
+
*/
|
|
100
|
+
Name?: string;
|
|
101
|
+
/**
|
|
102
|
+
* rules 配置
|
|
103
|
+
*/
|
|
104
|
+
Rules?: Array<IngressRule>;
|
|
105
|
+
/**
|
|
106
|
+
* 是否混合 https,默认 false,可选值 true 代表有 https 协议监听
|
|
107
|
+
*/
|
|
108
|
+
Mixed?: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* tls 配置
|
|
111
|
+
*/
|
|
112
|
+
Tls?: Array<IngressTls>;
|
|
113
|
+
/**
|
|
114
|
+
* 重定向模式,可选值:
|
|
115
|
+
- AUTO(自动重定向http到https)
|
|
116
|
+
- NONE(不使用重定向)
|
|
117
|
+
*/
|
|
118
|
+
RewriteType?: string;
|
|
94
119
|
}
|
|
95
120
|
/**
|
|
96
121
|
* DeleteApplicationService请求参数结构体
|
|
@@ -2758,6 +2783,20 @@ export interface DescribeConfigDataListResponse {
|
|
|
2758
2783
|
*/
|
|
2759
2784
|
RequestId?: string;
|
|
2760
2785
|
}
|
|
2786
|
+
/**
|
|
2787
|
+
* ModifyGatewayIngress返回参数结构体
|
|
2788
|
+
*/
|
|
2789
|
+
export interface ModifyGatewayIngressResponse {
|
|
2790
|
+
/**
|
|
2791
|
+
* 是否成功
|
|
2792
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2793
|
+
*/
|
|
2794
|
+
Result: boolean;
|
|
2795
|
+
/**
|
|
2796
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2797
|
+
*/
|
|
2798
|
+
RequestId?: string;
|
|
2799
|
+
}
|
|
2761
2800
|
/**
|
|
2762
2801
|
* ModifyApplicationService请求参数结构体
|
|
2763
2802
|
*/
|
|
@@ -3896,6 +3935,20 @@ export interface ModifyLogConfigRequest {
|
|
|
3896
3935
|
*/
|
|
3897
3936
|
ApplicationId: string;
|
|
3898
3937
|
}
|
|
3938
|
+
/**
|
|
3939
|
+
* ModifyIngress返回参数结构体
|
|
3940
|
+
*/
|
|
3941
|
+
export interface ModifyIngressResponse {
|
|
3942
|
+
/**
|
|
3943
|
+
* 创建成功
|
|
3944
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3945
|
+
*/
|
|
3946
|
+
Result: boolean;
|
|
3947
|
+
/**
|
|
3948
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3949
|
+
*/
|
|
3950
|
+
RequestId?: string;
|
|
3951
|
+
}
|
|
3899
3952
|
/**
|
|
3900
3953
|
* DestroyLogConfig请求参数结构体
|
|
3901
3954
|
*/
|