tencentcloud-sdk-nodejs-tem 4.0.1052 → 4.1.23
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.
- package/README.md +27 -5
- package/es/index.js +1 -0
- package/es/services/index.js +1 -0
- package/es/services/tem/index.js +6 -0
- package/es/services/tem/v20201221/index.js +6 -0
- package/es/services/tem/v20201221/tem_client.js +57 -0
- package/es/services/tem/v20201221/tem_models.js +0 -0
- package/es/services/tem/v20210701/index.js +6 -0
- package/es/services/tem/v20210701/tem_client.js +156 -0
- package/es/services/tem/v20210701/tem_models.js +0 -0
- package/package.json +26 -8
- package/tencentcloud/services/tem/v20201221/index.js +2 -1
- package/tencentcloud/services/tem/v20201221/tem_client.js +2 -1
- package/tencentcloud/services/tem/v20210701/index.js +2 -1
- package/tencentcloud/services/tem/v20210701/tem_client.js +2 -1
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +57 -306
- package/index.d.ts +0 -2
- package/index.js +0 -6
- package/prettier.config.js +0 -38
- package/src/index.ts +0 -1
- package/src/services/index.ts +0 -1
- package/src/services/tem/index.ts +0 -7
- package/src/services/tem/v20201221/index.ts +0 -6
- package/src/services/tem/v20201221/tem_client.ts +0 -255
- package/src/services/tem/v20201221/tem_models.ts +0 -1430
- package/src/services/tem/v20210701/index.ts +0 -6
- package/src/services/tem/v20210701/tem_client.ts +0 -685
- package/src/services/tem/v20210701/tem_models.ts +0 -4453
- package/tsconfig.json +0 -33
- package/typings/index.d.ts +0 -2
|
@@ -1,685 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing,
|
|
12
|
-
* software distributed under the License is distributed on an
|
|
13
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
-
* KIND, either express or implied. See the License for the
|
|
15
|
-
* specific language governing permissions and limitations
|
|
16
|
-
* under the License.
|
|
17
|
-
*/
|
|
18
|
-
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
19
|
-
import {
|
|
20
|
-
CreateResourceRequest,
|
|
21
|
-
DescribeConfigDataResponse,
|
|
22
|
-
NamespacePage,
|
|
23
|
-
DescribeApplicationInfoResponse,
|
|
24
|
-
ModifyIngressResponse,
|
|
25
|
-
DeleteApplicationServiceRequest,
|
|
26
|
-
RestartApplicationPodRequest,
|
|
27
|
-
DestroyLogConfigResponse,
|
|
28
|
-
QueryFilter,
|
|
29
|
-
ResumeDeployApplicationResponse,
|
|
30
|
-
StorageConf,
|
|
31
|
-
DescribeApplicationPodsRequest,
|
|
32
|
-
IngressTls,
|
|
33
|
-
DeployServicePodDetail,
|
|
34
|
-
LogOutputConf,
|
|
35
|
-
DeleteIngressResponse,
|
|
36
|
-
DeleteApplicationResponse,
|
|
37
|
-
ModifyApplicationAutoscalerResponse,
|
|
38
|
-
RollingUpdateApplicationByVersionRequest,
|
|
39
|
-
CreateCosTokenResponse,
|
|
40
|
-
ModifyLogConfigResponse,
|
|
41
|
-
RollingUpdateApplicationByVersionResponse,
|
|
42
|
-
StopApplicationRequest,
|
|
43
|
-
ModifyApplicationInfoRequest,
|
|
44
|
-
DestroyEnvironmentRequest,
|
|
45
|
-
CreateEnvironmentResponse,
|
|
46
|
-
DescribeEnvironmentStatusRequest,
|
|
47
|
-
RevertDeployApplicationResponse,
|
|
48
|
-
DeployStrategyConf,
|
|
49
|
-
DescribeApplicationsResponse,
|
|
50
|
-
CreateCosTokenRequest,
|
|
51
|
-
DescribeEnvironmentsRequest,
|
|
52
|
-
LogConfigListPage,
|
|
53
|
-
ServiceVersionBrief,
|
|
54
|
-
LogConfigExtractRule,
|
|
55
|
-
CreateEnvironmentRequest,
|
|
56
|
-
NodeInfo,
|
|
57
|
-
DescribeApplicationServiceListResponse,
|
|
58
|
-
DescribeLogConfigRequest,
|
|
59
|
-
TemDeployApplicationDetailInfo,
|
|
60
|
-
DescribeEnvironmentStatusResponse,
|
|
61
|
-
EsInfo,
|
|
62
|
-
DescribeApplicationPodsResponse,
|
|
63
|
-
DescribeConfigDataListRequest,
|
|
64
|
-
EnableApplicationAutoscalerResponse,
|
|
65
|
-
ServicePage,
|
|
66
|
-
TemServiceVersionInfo,
|
|
67
|
-
ServicePortMapping,
|
|
68
|
-
IngressInfo,
|
|
69
|
-
ModifyApplicationAutoscalerRequest,
|
|
70
|
-
ModifyConfigDataResponse,
|
|
71
|
-
ModifyIngressRequest,
|
|
72
|
-
Tag,
|
|
73
|
-
EnablePrometheusConf,
|
|
74
|
-
DescribeIngressesRequest,
|
|
75
|
-
StorageMountConf,
|
|
76
|
-
CreateLogConfigRequest,
|
|
77
|
-
RestartApplicationResponse,
|
|
78
|
-
DescribeIngressesResponse,
|
|
79
|
-
ModifyConfigDataRequest,
|
|
80
|
-
CreateConfigDataResponse,
|
|
81
|
-
DescribeApplicationsStatusRequest,
|
|
82
|
-
DescribeIngressResponse,
|
|
83
|
-
RunVersionPod,
|
|
84
|
-
CreateResourceResponse,
|
|
85
|
-
ModifyApplicationInfoResponse,
|
|
86
|
-
RestartApplicationRequest,
|
|
87
|
-
DestroyEnvironmentResponse,
|
|
88
|
-
DisableApplicationAutoscalerResponse,
|
|
89
|
-
DescribeIngressRequest,
|
|
90
|
-
StopApplicationResponse,
|
|
91
|
-
DeployApplicationResponse,
|
|
92
|
-
RestartApplicationPodResponse,
|
|
93
|
-
TemEnvironmentStoppingStatus,
|
|
94
|
-
DeleteApplicationRequest,
|
|
95
|
-
CreateApplicationAutoscalerResponse,
|
|
96
|
-
DeleteApplicationAutoscalerRequest,
|
|
97
|
-
DescribeApplicationAutoscalerListRequest,
|
|
98
|
-
DescribeApplicationsStatusResponse,
|
|
99
|
-
DescribeDeployApplicationDetailRequest,
|
|
100
|
-
DeleteIngressRequest,
|
|
101
|
-
DisableApplicationAutoscalerRequest,
|
|
102
|
-
DescribeRelatedIngressesRequest,
|
|
103
|
-
CosToken,
|
|
104
|
-
GenerateApplicationPackageDownloadUrlRequest,
|
|
105
|
-
DescribeEnvironmentsResponse,
|
|
106
|
-
DeleteApplicationAutoscalerResponse,
|
|
107
|
-
DescribeRelatedIngressesResponse,
|
|
108
|
-
DescribeEnvironmentRequest,
|
|
109
|
-
DescribePagedLogConfigListRequest,
|
|
110
|
-
TemEnvironmentStartingStatus,
|
|
111
|
-
TemService,
|
|
112
|
-
IngressRule,
|
|
113
|
-
CronHorizontalAutoscaler,
|
|
114
|
-
DescribeApplicationServiceListRequest,
|
|
115
|
-
DescribeDeployApplicationDetailResponse,
|
|
116
|
-
IngressRuleValue,
|
|
117
|
-
DescribeEnvironmentResponse,
|
|
118
|
-
TemNamespaceInfo,
|
|
119
|
-
CreateApplicationAutoscalerRequest,
|
|
120
|
-
DeleteApplicationServiceResponse,
|
|
121
|
-
ConfigData,
|
|
122
|
-
ResumeDeployApplicationRequest,
|
|
123
|
-
DescribeConfigDataRequest,
|
|
124
|
-
MountedSettingConf,
|
|
125
|
-
CreateLogConfigResponse,
|
|
126
|
-
DescribeConfigDataListResponse,
|
|
127
|
-
ModifyApplicationServiceRequest,
|
|
128
|
-
DescribePagedLogConfigListResponse,
|
|
129
|
-
HealthCheckConfig,
|
|
130
|
-
DeployServiceBatchDetail,
|
|
131
|
-
Autoscaler,
|
|
132
|
-
CreateConfigDataRequest,
|
|
133
|
-
DescribeConfigDataListPage,
|
|
134
|
-
DeployApplicationRequest,
|
|
135
|
-
DescribeApplicationAutoscalerListResponse,
|
|
136
|
-
DestroyConfigDataRequest,
|
|
137
|
-
DestroyConfigDataResponse,
|
|
138
|
-
DescribeApplicationsRequest,
|
|
139
|
-
DescribeApplicationInfoRequest,
|
|
140
|
-
CreateApplicationRequest,
|
|
141
|
-
NamespaceStatusInfo,
|
|
142
|
-
DescribeRunPodPage,
|
|
143
|
-
CreateApplicationServiceRequest,
|
|
144
|
-
ModifyApplicationReplicasResponse,
|
|
145
|
-
UseDefaultRepoParameters,
|
|
146
|
-
CronHorizontalAutoscalerSchedule,
|
|
147
|
-
ModifyEnvironmentRequest,
|
|
148
|
-
GenerateApplicationPackageDownloadUrlResponse,
|
|
149
|
-
IngressRuleBackend,
|
|
150
|
-
CreateApplicationServiceResponse,
|
|
151
|
-
WorkloadInfo,
|
|
152
|
-
IngressRulePath,
|
|
153
|
-
NamespaceInfo,
|
|
154
|
-
DescribeLogConfigResponse,
|
|
155
|
-
ServicePortMappingItem,
|
|
156
|
-
RevertDeployApplicationRequest,
|
|
157
|
-
SortType,
|
|
158
|
-
CreateApplicationResponse,
|
|
159
|
-
HorizontalAutoscaler,
|
|
160
|
-
ModifyApplicationServiceResponse,
|
|
161
|
-
PortMapping,
|
|
162
|
-
LogConfig,
|
|
163
|
-
ModifyEnvironmentResponse,
|
|
164
|
-
ModifyApplicationReplicasRequest,
|
|
165
|
-
ModifyLogConfigRequest,
|
|
166
|
-
DestroyLogConfigRequest,
|
|
167
|
-
EnableApplicationAutoscalerRequest,
|
|
168
|
-
EksService,
|
|
169
|
-
Pair,
|
|
170
|
-
} from "./tem_models"
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* tem client
|
|
174
|
-
* @class
|
|
175
|
-
*/
|
|
176
|
-
export class Client extends TencentCloudCommon.AbstractClient {
|
|
177
|
-
constructor(clientConfig: TencentCloudCommon.ClientConfig) {
|
|
178
|
-
super("tem.tencentcloudapi.com", "2021-07-01", clientConfig)
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* 编辑配置
|
|
183
|
-
*/
|
|
184
|
-
async ModifyConfigData(
|
|
185
|
-
req: ModifyConfigDataRequest,
|
|
186
|
-
cb?: (error: string, rep: ModifyConfigDataResponse) => void
|
|
187
|
-
): Promise<ModifyConfigDataResponse> {
|
|
188
|
-
return this.request("ModifyConfigData", req, cb)
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* 单环境下所有应用状态查看
|
|
193
|
-
*/
|
|
194
|
-
async DescribeApplicationsStatus(
|
|
195
|
-
req: DescribeApplicationsStatusRequest,
|
|
196
|
-
cb?: (error: string, rep: DescribeApplicationsStatusResponse) => void
|
|
197
|
-
): Promise<DescribeApplicationsStatusResponse> {
|
|
198
|
-
return this.request("DescribeApplicationsStatus", req, cb)
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* 查询应用访问方式列表
|
|
203
|
-
*/
|
|
204
|
-
async DescribeApplicationServiceList(
|
|
205
|
-
req: DescribeApplicationServiceListRequest,
|
|
206
|
-
cb?: (error: string, rep: DescribeApplicationServiceListResponse) => void
|
|
207
|
-
): Promise<DescribeApplicationServiceListResponse> {
|
|
208
|
-
return this.request("DescribeApplicationServiceList", req, cb)
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* 查询分页的日志收集配置列表
|
|
213
|
-
*/
|
|
214
|
-
async DescribePagedLogConfigList(
|
|
215
|
-
req: DescribePagedLogConfigListRequest,
|
|
216
|
-
cb?: (error: string, rep: DescribePagedLogConfigListResponse) => void
|
|
217
|
-
): Promise<DescribePagedLogConfigListResponse> {
|
|
218
|
-
return this.request("DescribePagedLogConfigList", req, cb)
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* 此接口没有被使用了
|
|
223
|
-
|
|
224
|
-
创建或者更新 Ingress 规则
|
|
225
|
-
*/
|
|
226
|
-
async ModifyIngress(
|
|
227
|
-
req: ModifyIngressRequest,
|
|
228
|
-
cb?: (error: string, rep: ModifyIngressResponse) => void
|
|
229
|
-
): Promise<ModifyIngressResponse> {
|
|
230
|
-
return this.request("ModifyIngress", req, cb)
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* 启用应用弹性策略组合
|
|
235
|
-
*/
|
|
236
|
-
async EnableApplicationAutoscaler(
|
|
237
|
-
req: EnableApplicationAutoscalerRequest,
|
|
238
|
-
cb?: (error: string, rep: EnableApplicationAutoscalerResponse) => void
|
|
239
|
-
): Promise<EnableApplicationAutoscalerResponse> {
|
|
240
|
-
return this.request("EnableApplicationAutoscaler", req, cb)
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
* 修改应用实例数量
|
|
245
|
-
*/
|
|
246
|
-
async ModifyApplicationReplicas(
|
|
247
|
-
req: ModifyApplicationReplicasRequest,
|
|
248
|
-
cb?: (error: string, rep: ModifyApplicationReplicasResponse) => void
|
|
249
|
-
): Promise<ModifyApplicationReplicasResponse> {
|
|
250
|
-
return this.request("ModifyApplicationReplicas", req, cb)
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* 创建弹性伸缩策略组合
|
|
255
|
-
*/
|
|
256
|
-
async CreateApplicationAutoscaler(
|
|
257
|
-
req: CreateApplicationAutoscalerRequest,
|
|
258
|
-
cb?: (error: string, rep: CreateApplicationAutoscalerResponse) => void
|
|
259
|
-
): Promise<CreateApplicationAutoscalerResponse> {
|
|
260
|
-
return this.request("CreateApplicationAutoscaler", req, cb)
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* 重启应用实例
|
|
265
|
-
*/
|
|
266
|
-
async RestartApplicationPod(
|
|
267
|
-
req: RestartApplicationPodRequest,
|
|
268
|
-
cb?: (error: string, rep: RestartApplicationPodResponse) => void
|
|
269
|
-
): Promise<RestartApplicationPodResponse> {
|
|
270
|
-
return this.request("RestartApplicationPod", req, cb)
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* 编辑日志收集配置
|
|
275
|
-
*/
|
|
276
|
-
async ModifyLogConfig(
|
|
277
|
-
req: ModifyLogConfigRequest,
|
|
278
|
-
cb?: (error: string, rep: ModifyLogConfigResponse) => void
|
|
279
|
-
): Promise<ModifyLogConfigResponse> {
|
|
280
|
-
return this.request("ModifyLogConfig", req, cb)
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* 服务删除
|
|
285
|
-
- 停止当前运行服务
|
|
286
|
-
- 删除服务相关资源
|
|
287
|
-
- 删除服务
|
|
288
|
-
*/
|
|
289
|
-
async DeleteApplication(
|
|
290
|
-
req: DeleteApplicationRequest,
|
|
291
|
-
cb?: (error: string, rep: DeleteApplicationResponse) => void
|
|
292
|
-
): Promise<DeleteApplicationResponse> {
|
|
293
|
-
return this.request("DeleteApplication", req, cb)
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
/**
|
|
297
|
-
* 获取环境状态
|
|
298
|
-
*/
|
|
299
|
-
async DescribeEnvironmentStatus(
|
|
300
|
-
req: DescribeEnvironmentStatusRequest,
|
|
301
|
-
cb?: (error: string, rep: DescribeEnvironmentStatusResponse) => void
|
|
302
|
-
): Promise<DescribeEnvironmentStatusResponse> {
|
|
303
|
-
return this.request("DescribeEnvironmentStatus", req, cb)
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* 开始下一批次发布
|
|
308
|
-
*/
|
|
309
|
-
async ResumeDeployApplication(
|
|
310
|
-
req: ResumeDeployApplicationRequest,
|
|
311
|
-
cb?: (error: string, rep: ResumeDeployApplicationResponse) => void
|
|
312
|
-
): Promise<ResumeDeployApplicationResponse> {
|
|
313
|
-
return this.request("ResumeDeployApplication", req, cb)
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* 删除 Ingress 规则
|
|
318
|
-
*/
|
|
319
|
-
async DeleteIngress(
|
|
320
|
-
req: DeleteIngressRequest,
|
|
321
|
-
cb?: (error: string, rep: DeleteIngressResponse) => void
|
|
322
|
-
): Promise<DeleteIngressResponse> {
|
|
323
|
-
return this.request("DeleteIngress", req, cb)
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
/**
|
|
327
|
-
* 应用部署
|
|
328
|
-
*/
|
|
329
|
-
async DeployApplication(
|
|
330
|
-
req: DeployApplicationRequest,
|
|
331
|
-
cb?: (error: string, rep: DeployApplicationResponse) => void
|
|
332
|
-
): Promise<DeployApplicationResponse> {
|
|
333
|
-
return this.request("DeployApplication", req, cb)
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
/**
|
|
337
|
-
* 修改弹性伸缩策略组合
|
|
338
|
-
*/
|
|
339
|
-
async ModifyApplicationAutoscaler(
|
|
340
|
-
req: ModifyApplicationAutoscalerRequest,
|
|
341
|
-
cb?: (error: string, rep: ModifyApplicationAutoscalerResponse) => void
|
|
342
|
-
): Promise<ModifyApplicationAutoscalerResponse> {
|
|
343
|
-
return this.request("ModifyApplicationAutoscaler", req, cb)
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* 获取分批发布详情
|
|
348
|
-
*/
|
|
349
|
-
async DescribeDeployApplicationDetail(
|
|
350
|
-
req: DescribeDeployApplicationDetailRequest,
|
|
351
|
-
cb?: (error: string, rep: DescribeDeployApplicationDetailResponse) => void
|
|
352
|
-
): Promise<DescribeDeployApplicationDetailResponse> {
|
|
353
|
-
return this.request("DescribeDeployApplicationDetail", req, cb)
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* 修改服务访问方式列表
|
|
358
|
-
*/
|
|
359
|
-
async ModifyApplicationService(
|
|
360
|
-
req: ModifyApplicationServiceRequest,
|
|
361
|
-
cb?: (error: string, rep: ModifyApplicationServiceResponse) => void
|
|
362
|
-
): Promise<ModifyApplicationServiceResponse> {
|
|
363
|
-
return this.request("ModifyApplicationService", req, cb)
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
/**
|
|
367
|
-
* 编辑环境
|
|
368
|
-
*/
|
|
369
|
-
async ModifyEnvironment(
|
|
370
|
-
req: ModifyEnvironmentRequest,
|
|
371
|
-
cb?: (error: string, rep: ModifyEnvironmentResponse) => void
|
|
372
|
-
): Promise<ModifyEnvironmentResponse> {
|
|
373
|
-
return this.request("ModifyEnvironment", req, cb)
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
/**
|
|
377
|
-
* 获取环境基础信息
|
|
378
|
-
*/
|
|
379
|
-
async DescribeEnvironment(
|
|
380
|
-
req: DescribeEnvironmentRequest,
|
|
381
|
-
cb?: (error: string, rep: DescribeEnvironmentResponse) => void
|
|
382
|
-
): Promise<DescribeEnvironmentResponse> {
|
|
383
|
-
return this.request("DescribeEnvironment", req, cb)
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
/**
|
|
387
|
-
* 查询日志收集配置详情
|
|
388
|
-
*/
|
|
389
|
-
async DescribeLogConfig(
|
|
390
|
-
req: DescribeLogConfigRequest,
|
|
391
|
-
cb?: (error: string, rep: DescribeLogConfigResponse) => void
|
|
392
|
-
): Promise<DescribeLogConfigResponse> {
|
|
393
|
-
return this.request("DescribeLogConfig", req, cb)
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
/**
|
|
397
|
-
* 服务停止
|
|
398
|
-
*/
|
|
399
|
-
async StopApplication(
|
|
400
|
-
req: StopApplicationRequest,
|
|
401
|
-
cb?: (error: string, rep: StopApplicationResponse) => void
|
|
402
|
-
): Promise<StopApplicationResponse> {
|
|
403
|
-
return this.request("StopApplication", req, cb)
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
* 创建日志收集配置
|
|
408
|
-
*/
|
|
409
|
-
async CreateLogConfig(
|
|
410
|
-
req: CreateLogConfigRequest,
|
|
411
|
-
cb?: (error: string, rep: CreateLogConfigResponse) => void
|
|
412
|
-
): Promise<CreateLogConfigResponse> {
|
|
413
|
-
return this.request("CreateLogConfig", req, cb)
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
/**
|
|
417
|
-
* 新增访问方式
|
|
418
|
-
*/
|
|
419
|
-
async CreateApplicationService(
|
|
420
|
-
req: CreateApplicationServiceRequest,
|
|
421
|
-
cb?: (error: string, rep: CreateApplicationServiceResponse) => void
|
|
422
|
-
): Promise<CreateApplicationServiceResponse> {
|
|
423
|
-
return this.request("CreateApplicationService", req, cb)
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
/**
|
|
427
|
-
* 服务基本信息查看
|
|
428
|
-
*/
|
|
429
|
-
async DescribeApplicationInfo(
|
|
430
|
-
req: DescribeApplicationInfoRequest,
|
|
431
|
-
cb?: (error: string, rep: DescribeApplicationInfoResponse) => void
|
|
432
|
-
): Promise<DescribeApplicationInfoResponse> {
|
|
433
|
-
return this.request("DescribeApplicationInfo", req, cb)
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* 创建配置
|
|
438
|
-
*/
|
|
439
|
-
async CreateConfigData(
|
|
440
|
-
req: CreateConfigDataRequest,
|
|
441
|
-
cb?: (error: string, rep: CreateConfigDataResponse) => void
|
|
442
|
-
): Promise<CreateConfigDataResponse> {
|
|
443
|
-
return this.request("CreateConfigData", req, cb)
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
/**
|
|
447
|
-
* 获取应用实例列表
|
|
448
|
-
*/
|
|
449
|
-
async DescribeApplicationPods(
|
|
450
|
-
req: DescribeApplicationPodsRequest,
|
|
451
|
-
cb?: (error: string, rep: DescribeApplicationPodsResponse) => void
|
|
452
|
-
): Promise<DescribeApplicationPodsResponse> {
|
|
453
|
-
return this.request("DescribeApplicationPods", req, cb)
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
/**
|
|
457
|
-
* 删除应用弹性策略组合
|
|
458
|
-
*/
|
|
459
|
-
async DeleteApplicationAutoscaler(
|
|
460
|
-
req: DeleteApplicationAutoscalerRequest,
|
|
461
|
-
cb?: (error: string, rep: DeleteApplicationAutoscalerResponse) => void
|
|
462
|
-
): Promise<DeleteApplicationAutoscalerResponse> {
|
|
463
|
-
return this.request("DeleteApplicationAutoscaler", req, cb)
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
/**
|
|
467
|
-
* 修改应用基本信息
|
|
468
|
-
*/
|
|
469
|
-
async ModifyApplicationInfo(
|
|
470
|
-
req: ModifyApplicationInfoRequest,
|
|
471
|
-
cb?: (error: string, rep: ModifyApplicationInfoResponse) => void
|
|
472
|
-
): Promise<ModifyApplicationInfoResponse> {
|
|
473
|
-
return this.request("ModifyApplicationInfo", req, cb)
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
/**
|
|
477
|
-
* 销毁配置
|
|
478
|
-
*/
|
|
479
|
-
async DestroyConfigData(
|
|
480
|
-
req: DestroyConfigDataRequest,
|
|
481
|
-
cb?: (error: string, rep: DestroyConfigDataResponse) => void
|
|
482
|
-
): Promise<DestroyConfigDataResponse> {
|
|
483
|
-
return this.request("DestroyConfigData", req, cb)
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
/**
|
|
487
|
-
* 获取环境列表
|
|
488
|
-
*/
|
|
489
|
-
async DescribeEnvironments(
|
|
490
|
-
req: DescribeEnvironmentsRequest,
|
|
491
|
-
cb?: (error: string, rep: DescribeEnvironmentsResponse) => void
|
|
492
|
-
): Promise<DescribeEnvironmentsResponse> {
|
|
493
|
-
return this.request("DescribeEnvironments", req, cb)
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
/**
|
|
497
|
-
* 生成Cos临时密钥
|
|
498
|
-
*/
|
|
499
|
-
async CreateCosToken(
|
|
500
|
-
req: CreateCosTokenRequest,
|
|
501
|
-
cb?: (error: string, rep: CreateCosTokenResponse) => void
|
|
502
|
-
): Promise<CreateCosTokenResponse> {
|
|
503
|
-
return this.request("CreateCosToken", req, cb)
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
/**
|
|
507
|
-
* 查询 Ingress 规则
|
|
508
|
-
*/
|
|
509
|
-
async DescribeIngress(
|
|
510
|
-
req: DescribeIngressRequest,
|
|
511
|
-
cb?: (error: string, rep: DescribeIngressResponse) => void
|
|
512
|
-
): Promise<DescribeIngressResponse> {
|
|
513
|
-
return this.request("DescribeIngress", req, cb)
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
/**
|
|
517
|
-
* 删除一条访问方式
|
|
518
|
-
*/
|
|
519
|
-
async DeleteApplicationService(
|
|
520
|
-
req: DeleteApplicationServiceRequest,
|
|
521
|
-
cb?: (error: string, rep: DeleteApplicationServiceResponse) => void
|
|
522
|
-
): Promise<DeleteApplicationServiceResponse> {
|
|
523
|
-
return this.request("DeleteApplicationService", req, cb)
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
/**
|
|
527
|
-
* 生成应用程序包预签名下载链接
|
|
528
|
-
*/
|
|
529
|
-
async GenerateApplicationPackageDownloadUrl(
|
|
530
|
-
req: GenerateApplicationPackageDownloadUrlRequest,
|
|
531
|
-
cb?: (error: string, rep: GenerateApplicationPackageDownloadUrlResponse) => void
|
|
532
|
-
): Promise<GenerateApplicationPackageDownloadUrlResponse> {
|
|
533
|
-
return this.request("GenerateApplicationPackageDownloadUrl", req, cb)
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
/**
|
|
537
|
-
* 创建环境
|
|
538
|
-
*/
|
|
539
|
-
async CreateEnvironment(
|
|
540
|
-
req: CreateEnvironmentRequest,
|
|
541
|
-
cb?: (error: string, rep: CreateEnvironmentResponse) => void
|
|
542
|
-
): Promise<CreateEnvironmentResponse> {
|
|
543
|
-
return this.request("CreateEnvironment", req, cb)
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
/**
|
|
547
|
-
* 关闭应用弹性策略组合
|
|
548
|
-
*/
|
|
549
|
-
async DisableApplicationAutoscaler(
|
|
550
|
-
req: DisableApplicationAutoscalerRequest,
|
|
551
|
-
cb?: (error: string, rep: DisableApplicationAutoscalerResponse) => void
|
|
552
|
-
): Promise<DisableApplicationAutoscalerResponse> {
|
|
553
|
-
return this.request("DisableApplicationAutoscaler", req, cb)
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
/**
|
|
557
|
-
* 查询 Ingress 规则列表
|
|
558
|
-
*/
|
|
559
|
-
async DescribeIngresses(
|
|
560
|
-
req: DescribeIngressesRequest,
|
|
561
|
-
cb?: (error: string, rep: DescribeIngressesResponse) => void
|
|
562
|
-
): Promise<DescribeIngressesResponse> {
|
|
563
|
-
return this.request("DescribeIngresses", req, cb)
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
/**
|
|
567
|
-
* 创建应用
|
|
568
|
-
*/
|
|
569
|
-
async CreateApplication(
|
|
570
|
-
req: CreateApplicationRequest,
|
|
571
|
-
cb?: (error: string, rep: CreateApplicationResponse) => void
|
|
572
|
-
): Promise<CreateApplicationResponse> {
|
|
573
|
-
return this.request("CreateApplication", req, cb)
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
/**
|
|
577
|
-
* 服务重启
|
|
578
|
-
*/
|
|
579
|
-
async RestartApplication(
|
|
580
|
-
req: RestartApplicationRequest,
|
|
581
|
-
cb?: (error: string, rep: RestartApplicationResponse) => void
|
|
582
|
-
): Promise<RestartApplicationResponse> {
|
|
583
|
-
return this.request("RestartApplication", req, cb)
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
/**
|
|
587
|
-
* 更新应用部署版本
|
|
588
|
-
*/
|
|
589
|
-
async RollingUpdateApplicationByVersion(
|
|
590
|
-
req: RollingUpdateApplicationByVersionRequest,
|
|
591
|
-
cb?: (error: string, rep: RollingUpdateApplicationByVersionResponse) => void
|
|
592
|
-
): Promise<RollingUpdateApplicationByVersionResponse> {
|
|
593
|
-
return this.request("RollingUpdateApplicationByVersion", req, cb)
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
/**
|
|
597
|
-
* 获取运行服务列表
|
|
598
|
-
*/
|
|
599
|
-
async DescribeApplications(
|
|
600
|
-
req: DescribeApplicationsRequest,
|
|
601
|
-
cb?: (error: string, rep: DescribeApplicationsResponse) => void
|
|
602
|
-
): Promise<DescribeApplicationsResponse> {
|
|
603
|
-
return this.request("DescribeApplications", req, cb)
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
/**
|
|
607
|
-
* 回滚分批发布
|
|
608
|
-
*/
|
|
609
|
-
async RevertDeployApplication(
|
|
610
|
-
req: RevertDeployApplicationRequest,
|
|
611
|
-
cb?: (error: string, rep: RevertDeployApplicationResponse) => void
|
|
612
|
-
): Promise<RevertDeployApplicationResponse> {
|
|
613
|
-
return this.request("RevertDeployApplication", req, cb)
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
/**
|
|
617
|
-
* 销毁日志收集配置
|
|
618
|
-
*/
|
|
619
|
-
async DestroyLogConfig(
|
|
620
|
-
req: DestroyLogConfigRequest,
|
|
621
|
-
cb?: (error: string, rep: DestroyLogConfigResponse) => void
|
|
622
|
-
): Promise<DestroyLogConfigResponse> {
|
|
623
|
-
return this.request("DestroyLogConfig", req, cb)
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
/**
|
|
627
|
-
* 查询应用关联的 Ingress 规则列表
|
|
628
|
-
*/
|
|
629
|
-
async DescribeRelatedIngresses(
|
|
630
|
-
req: DescribeRelatedIngressesRequest,
|
|
631
|
-
cb?: (error: string, rep: DescribeRelatedIngressesResponse) => void
|
|
632
|
-
): Promise<DescribeRelatedIngressesResponse> {
|
|
633
|
-
return this.request("DescribeRelatedIngresses", req, cb)
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
/**
|
|
637
|
-
* 查询配置详情
|
|
638
|
-
*/
|
|
639
|
-
async DescribeConfigData(
|
|
640
|
-
req: DescribeConfigDataRequest,
|
|
641
|
-
cb?: (error: string, rep: DescribeConfigDataResponse) => void
|
|
642
|
-
): Promise<DescribeConfigDataResponse> {
|
|
643
|
-
return this.request("DescribeConfigData", req, cb)
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
/**
|
|
647
|
-
* 绑定云资源
|
|
648
|
-
*/
|
|
649
|
-
async CreateResource(
|
|
650
|
-
req: CreateResourceRequest,
|
|
651
|
-
cb?: (error: string, rep: CreateResourceResponse) => void
|
|
652
|
-
): Promise<CreateResourceResponse> {
|
|
653
|
-
return this.request("CreateResource", req, cb)
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
/**
|
|
657
|
-
* 获取应用弹性策略组合
|
|
658
|
-
*/
|
|
659
|
-
async DescribeApplicationAutoscalerList(
|
|
660
|
-
req: DescribeApplicationAutoscalerListRequest,
|
|
661
|
-
cb?: (error: string, rep: DescribeApplicationAutoscalerListResponse) => void
|
|
662
|
-
): Promise<DescribeApplicationAutoscalerListResponse> {
|
|
663
|
-
return this.request("DescribeApplicationAutoscalerList", req, cb)
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
/**
|
|
667
|
-
* 销毁环境
|
|
668
|
-
*/
|
|
669
|
-
async DestroyEnvironment(
|
|
670
|
-
req: DestroyEnvironmentRequest,
|
|
671
|
-
cb?: (error: string, rep: DestroyEnvironmentResponse) => void
|
|
672
|
-
): Promise<DestroyEnvironmentResponse> {
|
|
673
|
-
return this.request("DestroyEnvironment", req, cb)
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
/**
|
|
677
|
-
* 查询配置列表
|
|
678
|
-
*/
|
|
679
|
-
async DescribeConfigDataList(
|
|
680
|
-
req: DescribeConfigDataListRequest,
|
|
681
|
-
cb?: (error: string, rep: DescribeConfigDataListResponse) => void
|
|
682
|
-
): Promise<DescribeConfigDataListResponse> {
|
|
683
|
-
return this.request("DescribeConfigDataList", req, cb)
|
|
684
|
-
}
|
|
685
|
-
}
|