tencentcloud-sdk-nodejs-tem 4.0.388 → 4.0.432

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.
@@ -1,94 +1,132 @@
1
1
  /**
2
- * 挂载配置信息
2
+ * CreateResource请求参数结构体
3
3
  */
4
- export interface MountedSettingConf {
4
+ export interface CreateResourceRequest {
5
5
  /**
6
- * 配置名称
6
+ * 环境 Id
7
7
  */
8
- ConfigDataName: string;
8
+ EnvironmentId: string;
9
9
  /**
10
- * 挂载路径
10
+ * 资源类型,目前支持文件系统:CFS;日志服务:CLS;注册中心:TSE_SRE
11
11
  */
12
- MountedPath: string;
12
+ ResourceType: string;
13
13
  /**
14
- * 配置内容
14
+ * 资源 Id
15
15
  */
16
- Data?: Array<Pair>;
16
+ ResourceId: string;
17
17
  /**
18
- * 加密配置名称
18
+ * 来源渠道
19
19
  */
20
- SecretDataName?: string;
20
+ SourceChannel?: number;
21
+ /**
22
+ * 资源来源,目前支持:existing,已有资源;creating,自动创建
23
+ */
24
+ ResourceFrom?: string;
25
+ /**
26
+ * 设置 resource 的额外配置
27
+ */
28
+ ResourceConfig?: string;
21
29
  }
22
30
  /**
23
- * RestartApplicationPod返回参数结构体
31
+ * DescribeConfigData返回参数结构体
24
32
  */
25
- export interface RestartApplicationPodResponse {
33
+ export interface DescribeConfigDataResponse {
26
34
  /**
27
- * 返回结果
28
- 注意:此字段可能返回 null,表示取不到有效值。
29
- */
30
- Result: boolean;
35
+ * 配置
36
+ */
37
+ Result: ConfigData;
31
38
  /**
32
39
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
33
40
  */
34
41
  RequestId?: string;
35
42
  }
36
43
  /**
37
- * DeleteApplication请求参数结构体
44
+ * 命名空间分页
38
45
  */
39
- export interface DeleteApplicationRequest {
46
+ export interface NamespacePage {
40
47
  /**
41
- * 服务Id
48
+ * 分页内容
42
49
  */
43
- ApplicationId: string;
50
+ Records: Array<TemNamespaceInfo>;
44
51
  /**
45
- * 环境ID
52
+ * 总数
46
53
  */
47
- EnvironmentId: string;
54
+ Total: number;
48
55
  /**
49
- * 来源渠道
56
+ * 条目数
50
57
  */
51
- SourceChannel?: number;
58
+ Size: number;
52
59
  /**
53
- * 当服务没有任何运行版本时,是否删除此服务
60
+ * 页数
54
61
  */
55
- DeleteApplicationIfNoRunningVersion?: boolean;
62
+ Pages: number;
56
63
  }
57
64
  /**
58
- * CreateResource请求参数结构体
65
+ * DescribeApplicationInfo返回参数结构体
59
66
  */
60
- export interface CreateResourceRequest {
67
+ export interface DescribeApplicationInfoResponse {
61
68
  /**
62
- * 环境 Id
69
+ * 返回结果
70
+ */
71
+ Result: TemServiceVersionInfo;
72
+ /**
73
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
74
+ */
75
+ RequestId?: string;
76
+ }
77
+ /**
78
+ * ModifyIngress返回参数结构体
79
+ */
80
+ export interface ModifyIngressResponse {
81
+ /**
82
+ * 创建成功
83
+ 注意:此字段可能返回 null,表示取不到有效值。
84
+ */
85
+ Result: boolean;
86
+ /**
87
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
88
+ */
89
+ RequestId?: string;
90
+ }
91
+ /**
92
+ * RestartApplicationPod请求参数结构体
93
+ */
94
+ export interface RestartApplicationPodRequest {
95
+ /**
96
+ * 环境id
63
97
  */
64
98
  EnvironmentId: string;
65
99
  /**
66
- * 资源类型,目前支持文件系统:CFS;日志服务:CLS;注册中心:TSE_SRE
100
+ * 应用id
67
101
  */
68
- ResourceType: string;
102
+ ApplicationId: string;
69
103
  /**
70
- * 资源 Id
104
+ * 名字
71
105
  */
72
- ResourceId: string;
106
+ PodName: string;
73
107
  /**
74
- * 来源渠道
108
+ * 单页条数
75
109
  */
76
- SourceChannel?: number;
110
+ Limit?: number;
77
111
  /**
78
- * 资源来源,目前支持:existing,已有资源;creating,自动创建
112
+ * 分页下标
79
113
  */
80
- ResourceFrom?: string;
114
+ Offset?: number;
81
115
  /**
82
- * 设置 resource 的额外配置
116
+ * pod状态
83
117
  */
84
- ResourceConfig?: string;
118
+ Status?: string;
119
+ /**
120
+ * 来源渠道
121
+ */
122
+ SourceChannel?: number;
85
123
  }
86
124
  /**
87
- * ResumeDeployApplication返回参数结构体
125
+ * DestroyLogConfig返回参数结构体
88
126
  */
89
- export interface ResumeDeployApplicationResponse {
127
+ export interface DestroyLogConfigResponse {
90
128
  /**
91
- * 是否成功
129
+ * 返回结果
92
130
  */
93
131
  Result: boolean;
94
132
  /**
@@ -97,11 +135,11 @@ export interface ResumeDeployApplicationResponse {
97
135
  RequestId?: string;
98
136
  }
99
137
  /**
100
- * RestartApplication返回参数结构体
138
+ * ResumeDeployApplication返回参数结构体
101
139
  */
102
- export interface RestartApplicationResponse {
140
+ export interface ResumeDeployApplicationResponse {
103
141
  /**
104
- * 返回结果
142
+ * 是否成功
105
143
  */
106
144
  Result: boolean;
107
145
  /**
@@ -110,234 +148,265 @@ export interface RestartApplicationResponse {
110
148
  RequestId?: string;
111
149
  }
112
150
  /**
113
- * DescribeApplicationsStatus返回参数结构体
151
+ * 存储卷配置
114
152
  */
115
- export interface DescribeApplicationsStatusResponse {
153
+ export interface StorageConf {
116
154
  /**
117
- * 返回结果
155
+ * 存储卷名称
118
156
  */
119
- Result: Array<ServiceVersionBrief>;
157
+ StorageVolName: string;
120
158
  /**
121
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
159
+ * 存储卷路径
122
160
  */
123
- RequestId?: string;
161
+ StorageVolPath: string;
162
+ /**
163
+ * 存储卷IP
164
+ 注意:此字段可能返回 null,表示取不到有效值。
165
+ */
166
+ StorageVolIp?: string;
124
167
  }
125
168
  /**
126
- * 健康检查配置
169
+ * DescribeApplicationPods请求参数结构体
127
170
  */
128
- export interface HealthCheckConfig {
171
+ export interface DescribeApplicationPodsRequest {
129
172
  /**
130
- * 支持的健康检查类型,如 HttpGet,TcpSocket,Exec
173
+ * 环境id
131
174
  */
132
- Type: string;
175
+ EnvironmentId: string;
133
176
  /**
134
- * 仅当健康检查类型为 HttpGet 时有效,表示协议类型,如 HTTP,HTTPS
177
+ * 应用id
135
178
  */
136
- Protocol?: string;
179
+ ApplicationId: string;
137
180
  /**
138
- * 仅当健康检查类型为 HttpGet 时有效,表示请求路径
181
+ * 单页条数,默认值20
139
182
  */
140
- Path?: string;
183
+ Limit?: number;
141
184
  /**
142
- * 仅当健康检查类型为 Exec 时有效,表示执行的脚本内容
185
+ * 分页下标,默认值0
143
186
  */
144
- Exec?: string;
187
+ Offset?: number;
145
188
  /**
146
- * 仅当健康检查类型为 HttpGet\TcpSocket 时有效,表示请求路径
189
+ * 实例状态
190
+ - Running
191
+ - Pending
192
+ - Error
193
+ */
194
+ Status?: string;
195
+ /**
196
+ * 实例名字
147
197
  */
148
- Port?: number;
198
+ PodName?: string;
149
199
  /**
150
- * 检查延迟开始时间,单位为秒,默认为 0
200
+ * 来源渠道
151
201
  */
152
- InitialDelaySeconds?: number;
202
+ SourceChannel?: number;
203
+ }
204
+ /**
205
+ * ingress tls 配置
206
+ */
207
+ export interface IngressTls {
153
208
  /**
154
- * 超时时间,单位为秒,默认为 1
209
+ * host 数组, 空数组表示全部域名的默认证书
155
210
  */
156
- TimeoutSeconds?: number;
211
+ Hosts: Array<string>;
157
212
  /**
158
- * 间隔时间,单位为秒,默认为 10
213
+ * secret name,如使用证书,则填空字符串
159
214
  */
160
- PeriodSeconds?: number;
215
+ SecretName: string;
216
+ /**
217
+ * SSL Certificate Id
218
+ */
219
+ CertificateId?: string;
161
220
  }
162
221
  /**
163
- * 分批发布详情
222
+ * 分批发布单批次详情
164
223
  */
165
- export interface TemDeployApplicationDetailInfo {
166
- /**
167
- * 分批发布策略
168
- 注意:此字段可能返回 null,表示取不到有效值。
169
- */
170
- DeployStrategyConf: DeployStrategyConf;
224
+ export interface DeployServicePodDetail {
171
225
  /**
172
- * 开始时间
226
+ * pod Id
173
227
  注意:此字段可能返回 null,表示取不到有效值。
174
228
  */
175
- StartTime: string;
229
+ PodId?: string;
176
230
  /**
177
- * 结束时间
231
+ * pod状态
178
232
  注意:此字段可能返回 null,表示取不到有效值。
179
233
  */
180
- EndTime: string;
234
+ PodStatus?: Array<string>;
181
235
  /**
182
- * 当前状态
236
+ * pod版本
183
237
  注意:此字段可能返回 null,表示取不到有效值。
184
238
  */
185
- Status: string;
239
+ PodVersion?: string;
186
240
  /**
187
- * beta分批详情
241
+ * pod创建时间
188
242
  注意:此字段可能返回 null,表示取不到有效值。
189
243
  */
190
- BetaBatchDetail: DeployServiceBatchDetail;
244
+ CreateTime?: string;
191
245
  /**
192
- * 其他分批详情
246
+ * pod所在可用区
193
247
  注意:此字段可能返回 null,表示取不到有效值。
194
248
  */
195
- OtherBatchDetail: Array<DeployServiceBatchDetail>;
249
+ Zone?: string;
196
250
  /**
197
- * 老版本pod列表
251
+ * webshell地址
198
252
  注意:此字段可能返回 null,表示取不到有效值。
199
253
  */
200
- OldVersionPodList: DescribeRunPodPage;
254
+ Webshell?: string;
255
+ }
256
+ /**
257
+ * 日志输出配置
258
+ */
259
+ export interface LogOutputConf {
201
260
  /**
202
- * 当前批次id
203
- 注意:此字段可能返回 null,表示取不到有效值。
204
- */
205
- CurrentBatchIndex: number;
261
+ * 日志消费端类型
262
+ */
263
+ OutputType: string;
206
264
  /**
207
- * 错误原因
208
- 注意:此字段可能返回 null,表示取不到有效值。
209
- */
210
- ErrorMessage: string;
265
+ * cls日志集
266
+ */
267
+ ClsLogsetName?: string;
211
268
  /**
212
- * 当前批次状态
213
- 注意:此字段可能返回 null,表示取不到有效值。
214
- */
215
- CurrentBatchStatus: string;
269
+ * cls日志主题
270
+ */
271
+ ClsLogTopicId?: string;
216
272
  /**
217
- * 新版本version
218
- 注意:此字段可能返回 null,表示取不到有效值。
219
- */
220
- NewDeployVersion: string;
273
+ * cls日志集id
274
+ */
275
+ ClsLogsetId?: string;
221
276
  /**
222
- * 旧版本version
223
- 注意:此字段可能返回 null,表示取不到有效值。
224
- */
225
- OldDeployVersion: string;
277
+ * cls日志名称
278
+ */
279
+ ClsLogTopicName?: string;
280
+ }
281
+ /**
282
+ * DeleteIngress返回参数结构体
283
+ */
284
+ export interface DeleteIngressResponse {
226
285
  /**
227
- * 包名称
228
- 注意:此字段可能返回 null,表示取不到有效值。
229
- */
230
- NewVersionPackageInfo: string;
286
+ * 是否删除成功
287
+ */
288
+ Result: boolean;
231
289
  /**
232
- * 下一批次开始时间
233
- 注意:此字段可能返回 null,表示取不到有效值。
234
- */
235
- NextBatchStartTime: number;
290
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
291
+ */
292
+ RequestId?: string;
236
293
  }
237
294
  /**
238
- * DescribeDeployApplicationDetail请求参数结构体
295
+ * DeleteApplication返回参数结构体
239
296
  */
240
- export interface DescribeDeployApplicationDetailRequest {
297
+ export interface DeleteApplicationResponse {
241
298
  /**
242
- * 服务id
299
+ * 返回结果
243
300
  */
244
- ApplicationId?: string;
301
+ Result: boolean;
245
302
  /**
246
- * 环境id
303
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
247
304
  */
248
- EnvironmentId?: string;
305
+ RequestId?: string;
306
+ }
307
+ /**
308
+ * ModifyApplicationAutoscaler返回参数结构体
309
+ */
310
+ export interface ModifyApplicationAutoscalerResponse {
249
311
  /**
250
- * 版本部署id
312
+ * 是否成功
313
+ 注意:此字段可能返回 null,表示取不到有效值。
314
+ */
315
+ Result: boolean;
316
+ /**
317
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
251
318
  */
252
- VersionId?: string;
319
+ RequestId?: string;
253
320
  }
254
321
  /**
255
- * 弹性伸缩配置
322
+ * RollingUpdateApplicationByVersion请求参数结构体
256
323
  */
257
- export interface EsInfo {
324
+ export interface RollingUpdateApplicationByVersionRequest {
258
325
  /**
259
- * 最小实例数
326
+ * 应用ID
260
327
  */
261
- MinAliveInstances: number;
328
+ ApplicationId: string;
262
329
  /**
263
- * 最大实例数
330
+ * 环境ID
264
331
  */
265
- MaxAliveInstances: number;
332
+ EnvironmentId: string;
266
333
  /**
267
- * 弹性策略,1:cpu,2:内存
334
+ * 更新版本,IMAGE 部署为 tag 值;JAR/WAR 部署 为 Version
268
335
  */
269
- EsStrategy: number;
336
+ DeployVersion: string;
270
337
  /**
271
- * 弹性扩缩容条件值
338
+ * JAR/WAR 包名,仅 JAR/WAR 部署时必填
272
339
  */
273
- Threshold: number;
340
+ PackageName?: string;
274
341
  /**
275
- * 版本Id
342
+ * 请求来源平台,含 IntelliJ,Coding
276
343
  */
277
- VersionId?: string;
278
- }
279
- /**
280
- * 分批发布单批次详情
281
- */
282
- export interface DeployServiceBatchDetail {
344
+ From?: string;
283
345
  /**
284
- * 旧实例列表
285
- 注意:此字段可能返回 null,表示取不到有效值。
286
- */
287
- OldPodList?: DeployServicePodDetail;
346
+ * 部署策略,AUTO 为全自动;BETA 为小批量验证后自动;MANUAL 为全手动;
347
+ */
348
+ DeployStrategyType?: string;
288
349
  /**
289
- * 新实例列表
290
- 注意:此字段可能返回 null,表示取不到有效值。
291
- */
292
- NewPodList?: DeployServicePodDetail;
350
+ * 发布批次数
351
+ */
352
+ TotalBatchCount?: number;
293
353
  /**
294
- * 当前批次状态:"WaitForTimeExceed", "WaitForResume", "Deploying", "Finish", "NotStart"
295
- 注意:此字段可能返回 null,表示取不到有效值。
296
- */
297
- BatchStatus?: string;
354
+ * 批次间隔时间
355
+ */
356
+ BatchInterval?: number;
298
357
  /**
299
- * 该批次预计旧实例数量
300
- 注意:此字段可能返回 null,表示取不到有效值。
301
- */
302
- PodNum?: number;
358
+ * 小批量验证批次的实例数
359
+ */
360
+ BetaBatchNum?: number;
303
361
  /**
304
- * 批次id
305
- 注意:此字段可能返回 null,表示取不到有效值。
306
- */
307
- BatchIndex?: number;
362
+ * 发布过程中保障的最小可用实例数
363
+ */
364
+ MinAvailable?: number;
365
+ }
366
+ /**
367
+ * CreateCosToken返回参数结构体
368
+ */
369
+ export interface CreateCosTokenResponse {
308
370
  /**
309
- * 旧实例列表
371
+ * 成功时为CosToken对象,失败为null
310
372
  注意:此字段可能返回 null,表示取不到有效值。
311
373
  */
312
- OldPods?: Array<DeployServicePodDetail>;
374
+ Result: CosToken;
313
375
  /**
314
- * 新实例列表
315
- 注意:此字段可能返回 null,表示取不到有效值。
316
- */
317
- NewPods?: Array<DeployServicePodDetail>;
376
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
377
+ */
378
+ RequestId?: string;
379
+ }
380
+ /**
381
+ * ModifyLogConfig返回参数结构体
382
+ */
383
+ export interface ModifyLogConfigResponse {
318
384
  /**
319
- * =0:手动确认批次;>0:下一批次开始时间戳
320
- 注意:此字段可能返回 null,表示取不到有效值。
321
- */
322
- NextBatchStartTime?: number;
385
+ * 编辑是否成功
386
+ */
387
+ Result: boolean;
388
+ /**
389
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
390
+ */
391
+ RequestId?: string;
323
392
  }
324
393
  /**
325
- * DescribeApplicationPods返回参数结构体
394
+ * RollingUpdateApplicationByVersion返回参数结构体
326
395
  */
327
- export interface DescribeApplicationPodsResponse {
396
+ export interface RollingUpdateApplicationByVersionResponse {
328
397
  /**
329
- * 返回结果
398
+ * 版本ID
330
399
  */
331
- Result: DescribeRunPodPage;
400
+ Result: string;
332
401
  /**
333
402
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
334
403
  */
335
404
  RequestId?: string;
336
405
  }
337
406
  /**
338
- * RestartApplication请求参数结构体
407
+ * StopApplication请求参数结构体
339
408
  */
340
- export interface RestartApplicationRequest {
409
+ export interface StopApplicationRequest {
341
410
  /**
342
411
  * 服务id
343
412
  */
@@ -352,88 +421,73 @@ export interface RestartApplicationRequest {
352
421
  EnvironmentId?: string;
353
422
  }
354
423
  /**
355
- * DeleteIngress请求参数结构体
424
+ * ModifyApplicationInfo请求参数结构体
356
425
  */
357
- export interface DeleteIngressRequest {
358
- /**
359
- * 环境ID
360
- */
361
- EnvironmentId: string;
426
+ export interface ModifyApplicationInfoRequest {
362
427
  /**
363
- * 环境 namespace
428
+ * 应用ID
364
429
  */
365
- ClusterNamespace: string;
430
+ ApplicationId: string;
366
431
  /**
367
- * ingress 规则名
432
+ * 描述
368
433
  */
369
- IngressName: string;
434
+ Description: string;
370
435
  /**
371
436
  * 来源渠道
372
437
  */
373
438
  SourceChannel?: number;
439
+ /**
440
+ * 是否开启调用链,(此参数已弃用)
441
+ */
442
+ EnableTracing?: number;
374
443
  }
375
444
  /**
376
- * RestartApplicationPod请求参数结构体
445
+ * DestroyEnvironment请求参数结构体
377
446
  */
378
- export interface RestartApplicationPodRequest {
447
+ export interface DestroyEnvironmentRequest {
379
448
  /**
380
- * 环境id
449
+ * 命名空间ID
381
450
  */
382
451
  EnvironmentId: string;
383
452
  /**
384
- * 应用id
385
- */
386
- ApplicationId: string;
387
- /**
388
- * 名字
389
- */
390
- PodName: string;
391
- /**
392
- * 单页条数
393
- */
394
- Limit?: number;
395
- /**
396
- * 分页下标
397
- */
398
- Offset?: number;
399
- /**
400
- * pod状态
401
- */
402
- Status?: string;
403
- /**
404
- * 来源渠道
453
+ * Namespace
405
454
  */
406
455
  SourceChannel?: number;
407
456
  }
408
457
  /**
409
- * DescribeRelatedIngresses请求参数结构体
458
+ * CreateEnvironment返回参数结构体
410
459
  */
411
- export interface DescribeRelatedIngressesRequest {
460
+ export interface CreateEnvironmentResponse {
412
461
  /**
413
- * 环境 id
414
- */
415
- EnvironmentId?: string;
462
+ * 成功时为环境ID,失败为null
463
+ 注意:此字段可能返回 null,表示取不到有效值。
464
+ */
465
+ Result: string;
416
466
  /**
417
- * 环境 namespace
467
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
418
468
  */
419
- ClusterNamespace?: string;
469
+ RequestId?: string;
470
+ }
471
+ /**
472
+ * DescribeEnvironmentStatus请求参数结构体
473
+ */
474
+ export interface DescribeEnvironmentStatusRequest {
420
475
  /**
421
- * 来源渠道
476
+ * 命名空间id
422
477
  */
423
- SourceChannel?: number;
478
+ EnvironmentIds: Array<string>;
424
479
  /**
425
- * 应用 ID
480
+ * 来源Channel
426
481
  */
427
- ApplicationId?: string;
482
+ SourceChannel?: number;
428
483
  }
429
484
  /**
430
- * ModifyEnvironment返回参数结构体
485
+ * RevertDeployApplication返回参数结构体
431
486
  */
432
- export interface ModifyEnvironmentResponse {
487
+ export interface RevertDeployApplicationResponse {
433
488
  /**
434
- * 成功时为环境ID,失败为null
435
- 注意:此字段可能返回 null,表示取不到有效值。
436
- */
489
+ * 是否成功
490
+ */
437
491
  Result: boolean;
438
492
  /**
439
493
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -441,851 +495,2469 @@ export interface ModifyEnvironmentResponse {
441
495
  RequestId?: string;
442
496
  }
443
497
  /**
444
- * Cos token
498
+ * 弹性伸缩配置
445
499
  */
446
- export interface CosToken {
500
+ export interface EsInfo {
447
501
  /**
448
- * 唯一请求 ID
502
+ * 最小实例数
449
503
  */
450
- RequestId: string;
504
+ MinAliveInstances: number;
451
505
  /**
452
- * 存储桶桶名
506
+ * 最大实例数
453
507
  */
454
- Bucket: string;
508
+ MaxAliveInstances: number;
455
509
  /**
456
- * 存储桶所在区域
510
+ * 弹性策略,1:cpu,2:内存
457
511
  */
458
- Region: string;
512
+ EsStrategy: number;
459
513
  /**
460
- * 临时密钥的SecretId
514
+ * 弹性扩缩容条件值
461
515
  */
462
- TmpSecretId: string;
516
+ Threshold: number;
463
517
  /**
464
- * 临时密钥的SecretKey
518
+ * 版本Id
465
519
  */
466
- TmpSecretKey: string;
467
- /**
468
- * 临时密钥的 sessionToken
520
+ VersionId?: string;
521
+ }
522
+ /**
523
+ * DescribeApplications返回参数结构体
524
+ */
525
+ export interface DescribeApplicationsResponse {
526
+ /**
527
+ * 返回结果
528
+ */
529
+ Result: ServicePage;
530
+ /**
531
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
532
+ */
533
+ RequestId?: string;
534
+ }
535
+ /**
536
+ * Ingress 配置
537
+ */
538
+ export interface IngressInfo {
539
+ /**
540
+ * 环境ID
541
+ 注意:此字段可能返回 null,表示取不到有效值。
542
+ */
543
+ EnvironmentId: string;
544
+ /**
545
+ * 环境namespace
546
+ */
547
+ ClusterNamespace: string;
548
+ /**
549
+ * ip version
550
+ */
551
+ AddressIPVersion: string;
552
+ /**
553
+ * ingress name
554
+ */
555
+ IngressName: string;
556
+ /**
557
+ * rules 配置
558
+ */
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;
585
+ /**
586
+ * 是否混合 https,默认 false,可选值 true 代表有 https 协议监听
587
+ */
588
+ Mixed?: boolean;
589
+ /**
590
+ * 重定向模式,可选值:
591
+ - AUTO(自动重定向http到https)
592
+ - NONE(不使用重定向)
593
+ 注意:此字段可能返回 null,表示取不到有效值。
594
+ */
595
+ RewriteType?: string;
596
+ }
597
+ /**
598
+ * DescribeEnvironments请求参数结构体
599
+ */
600
+ export interface DescribeEnvironmentsRequest {
601
+ /**
602
+ * 分页limit
603
+ */
604
+ Limit?: number;
605
+ /**
606
+ * 分页下标
607
+ */
608
+ Offset?: number;
609
+ /**
610
+ * 来源source
611
+ */
612
+ SourceChannel?: number;
613
+ }
614
+ /**
615
+ * LogConfig 列表结果
616
+ */
617
+ export interface LogConfigListPage {
618
+ /**
619
+ * 记录
620
+ 注意:此字段可能返回 null,表示取不到有效值。
621
+ */
622
+ Records: Array<LogConfig>;
623
+ /**
624
+ * 翻页游标
625
+ 注意:此字段可能返回 null,表示取不到有效值。
626
+ */
627
+ ContinueToken: string;
628
+ }
629
+ /**
630
+ * 服务版本信息列表
631
+ */
632
+ export interface ServiceVersionBrief {
633
+ /**
634
+ * 版本名称
635
+ */
636
+ VersionName: string;
637
+ /**
638
+ * 状态
639
+ */
640
+ Status: string;
641
+ /**
642
+ * 是否启动弹性 -- 已废弃
643
+ */
644
+ EnableEs: number;
645
+ /**
646
+ * 当前实例
647
+ */
648
+ CurrentInstances: number;
649
+ /**
650
+ * version的id
651
+ */
652
+ VersionId: string;
653
+ /**
654
+ * 日志输出配置 -- 已废弃
655
+ 注意:此字段可能返回 null,表示取不到有效值。
656
+ */
657
+ LogOutputConf: LogOutputConf;
658
+ /**
659
+ * 期望实例
660
+ 注意:此字段可能返回 null,表示取不到有效值。
661
+ */
662
+ ExpectedInstances: number;
663
+ /**
664
+ * 部署方式
665
+ 注意:此字段可能返回 null,表示取不到有效值。
666
+ */
667
+ DeployMode: string;
668
+ /**
669
+ * 建构任务ID
670
+ 注意:此字段可能返回 null,表示取不到有效值。
671
+ */
672
+ BuildTaskId: string;
673
+ /**
674
+ * 环境ID
675
+ 注意:此字段可能返回 null,表示取不到有效值。
676
+ */
677
+ EnvironmentId: string;
678
+ /**
679
+ * 环境name
680
+ 注意:此字段可能返回 null,表示取不到有效值。
681
+ */
682
+ EnvironmentName: string;
683
+ /**
684
+ * 服务ID
685
+ 注意:此字段可能返回 null,表示取不到有效值。
686
+ */
687
+ ApplicationId: string;
688
+ /**
689
+ * 服务name
690
+ 注意:此字段可能返回 null,表示取不到有效值。
691
+ */
692
+ ApplicationName: string;
693
+ /**
694
+ * 是否正在发布中
695
+ 注意:此字段可能返回 null,表示取不到有效值。
696
+ */
697
+ UnderDeploying: boolean;
698
+ }
699
+ /**
700
+ * CreateEnvironment请求参数结构体
701
+ */
702
+ export interface CreateEnvironmentRequest {
703
+ /**
704
+ * 环境名称
705
+ */
706
+ EnvironmentName: string;
707
+ /**
708
+ * 私有网络名称
709
+ */
710
+ Vpc: string;
711
+ /**
712
+ * 子网列表
713
+ */
714
+ SubnetIds: Array<string>;
715
+ /**
716
+ * 环境描述
717
+ */
718
+ Description?: string;
719
+ /**
720
+ * K8s version
721
+ */
722
+ K8sVersion?: string;
723
+ /**
724
+ * 来源渠道
725
+ */
726
+ SourceChannel?: number;
727
+ /**
728
+ * 是否开启tsw服务
729
+ */
730
+ EnableTswTraceService?: boolean;
731
+ }
732
+ /**
733
+ * node信息
734
+ */
735
+ export interface NodeInfo {
736
+ /**
737
+ * node名字
738
+ */
739
+ Name: string;
740
+ /**
741
+ * node可用区
742
+ 注意:此字段可能返回 null,表示取不到有效值。
743
+ */
744
+ Zone: string;
745
+ /**
746
+ * node子网ID
747
+ 注意:此字段可能返回 null,表示取不到有效值。
748
+ */
749
+ SubnetId: string;
750
+ /**
751
+ * 可用IP数
752
+ 注意:此字段可能返回 null,表示取不到有效值。
753
+ */
754
+ AvailableIpCount: string;
755
+ /**
756
+ * cidr块
757
+ 注意:此字段可能返回 null,表示取不到有效值。
758
+ */
759
+ Cidr: string;
760
+ }
761
+ /**
762
+ * DescribeLogConfig请求参数结构体
763
+ */
764
+ export interface DescribeLogConfigRequest {
765
+ /**
766
+ * 环境 ID
767
+ */
768
+ EnvironmentId: string;
769
+ /**
770
+ * 配置名
771
+ */
772
+ Name: string;
773
+ /**
774
+ * 应用 ID
775
+ */
776
+ ApplicationId?: string;
777
+ }
778
+ /**
779
+ * 分批发布详情
780
+ */
781
+ export interface TemDeployApplicationDetailInfo {
782
+ /**
783
+ * 分批发布策略
784
+ 注意:此字段可能返回 null,表示取不到有效值。
785
+ */
786
+ DeployStrategyConf: DeployStrategyConf;
787
+ /**
788
+ * 开始时间
789
+ 注意:此字段可能返回 null,表示取不到有效值。
790
+ */
791
+ StartTime: string;
792
+ /**
793
+ * 结束时间
794
+ 注意:此字段可能返回 null,表示取不到有效值。
795
+ */
796
+ EndTime: string;
797
+ /**
798
+ * 当前状态
799
+ 注意:此字段可能返回 null,表示取不到有效值。
800
+ */
801
+ Status: string;
802
+ /**
803
+ * beta分批详情
804
+ 注意:此字段可能返回 null,表示取不到有效值。
805
+ */
806
+ BetaBatchDetail: DeployServiceBatchDetail;
807
+ /**
808
+ * 其他分批详情
809
+ 注意:此字段可能返回 null,表示取不到有效值。
810
+ */
811
+ OtherBatchDetail: Array<DeployServiceBatchDetail>;
812
+ /**
813
+ * 老版本pod列表
814
+ 注意:此字段可能返回 null,表示取不到有效值。
815
+ */
816
+ OldVersionPodList: DescribeRunPodPage;
817
+ /**
818
+ * 当前批次id
819
+ 注意:此字段可能返回 null,表示取不到有效值。
820
+ */
821
+ CurrentBatchIndex: number;
822
+ /**
823
+ * 错误原因
824
+ 注意:此字段可能返回 null,表示取不到有效值。
825
+ */
826
+ ErrorMessage: string;
827
+ /**
828
+ * 当前批次状态
829
+ 注意:此字段可能返回 null,表示取不到有效值。
830
+ */
831
+ CurrentBatchStatus: string;
832
+ /**
833
+ * 新版本version
834
+ 注意:此字段可能返回 null,表示取不到有效值。
835
+ */
836
+ NewDeployVersion: string;
837
+ /**
838
+ * 旧版本version
839
+ 注意:此字段可能返回 null,表示取不到有效值。
840
+ */
841
+ OldDeployVersion: string;
842
+ /**
843
+ * 包名称
844
+ 注意:此字段可能返回 null,表示取不到有效值。
845
+ */
846
+ NewVersionPackageInfo: string;
847
+ /**
848
+ * 下一批次开始时间
849
+ 注意:此字段可能返回 null,表示取不到有效值。
850
+ */
851
+ NextBatchStartTime: number;
852
+ }
853
+ /**
854
+ * DescribeEnvironmentStatus返回参数结构体
855
+ */
856
+ export interface DescribeEnvironmentStatusResponse {
857
+ /**
858
+ * 返回状态列表
859
+ */
860
+ Result: Array<NamespaceStatusInfo>;
861
+ /**
862
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
863
+ */
864
+ RequestId?: string;
865
+ }
866
+ /**
867
+ * 分批发布策略配置
868
+ */
869
+ export interface DeployStrategyConf {
870
+ /**
871
+ * 总分批数
872
+ */
873
+ TotalBatchCount?: number;
874
+ /**
875
+ * beta分批实例数
876
+ */
877
+ BetaBatchNum?: number;
878
+ /**
879
+ * 分批策略:0-全自动,1-全手动,2-beta分批,beta批一定是手动的,3-首次发布
880
+ */
881
+ DeployStrategyType?: number;
882
+ /**
883
+ * 每批暂停间隔
884
+ */
885
+ BatchInterval?: number;
886
+ /**
887
+ * 最小可用实例数
888
+ */
889
+ MinAvailable?: number;
890
+ /**
891
+ * 是否强制发布
892
+ */
893
+ Force?: boolean;
894
+ }
895
+ /**
896
+ * DescribeApplicationPods返回参数结构体
897
+ */
898
+ export interface DescribeApplicationPodsResponse {
899
+ /**
900
+ * 返回结果
901
+ */
902
+ Result: DescribeRunPodPage;
903
+ /**
904
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
905
+ */
906
+ RequestId?: string;
907
+ }
908
+ /**
909
+ * DescribeConfigDataList请求参数结构体
910
+ */
911
+ export interface DescribeConfigDataListRequest {
912
+ /**
913
+ * 环境 ID
914
+ */
915
+ EnvironmentId: string;
916
+ /**
917
+ * 来源渠道
918
+ */
919
+ SourceChannel?: number;
920
+ /**
921
+ * 查询游标
922
+ */
923
+ ContinueToken?: string;
924
+ /**
925
+ * 分页 limit
926
+ */
927
+ Limit?: number;
928
+ }
929
+ /**
930
+ * EnableApplicationAutoscaler返回参数结构体
931
+ */
932
+ export interface EnableApplicationAutoscalerResponse {
933
+ /**
934
+ * 是否成功
935
+ 注意:此字段可能返回 null,表示取不到有效值。
936
+ */
937
+ Result: boolean;
938
+ /**
939
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
940
+ */
941
+ RequestId?: string;
942
+ }
943
+ /**
944
+ * 服务分页
945
+ */
946
+ export interface ServicePage {
947
+ /**
948
+ * 条目
949
+ */
950
+ Records: Array<TemService>;
951
+ /**
952
+ * 总数
953
+ */
954
+ Total: number;
955
+ /**
956
+ * 条目
957
+ */
958
+ Size: number;
959
+ /**
960
+ * 页数
961
+ */
962
+ Pages: number;
963
+ }
964
+ /**
965
+ * 版本信息
966
+ */
967
+ export interface TemServiceVersionInfo {
968
+ /**
969
+ * 主键
970
+ */
971
+ VersionId: string;
972
+ /**
973
+ * 服务id
974
+ */
975
+ ApplicationId: string;
976
+ /**
977
+ * 部署方式
978
+ */
979
+ DeployMode: string;
980
+ /**
981
+ * jdk版本
982
+ */
983
+ JdkVersion: string;
984
+ /**
985
+ * 描述
986
+ */
987
+ Description: string;
988
+ /**
989
+ * 部署版本
990
+ */
991
+ DeployVersion: string;
992
+ /**
993
+ * 发布方式
994
+ */
995
+ PublishMode: string;
996
+ /**
997
+ * 启动参数
998
+ */
999
+ JvmOpts: string;
1000
+ /**
1001
+ * 初始实例
1002
+ */
1003
+ InitPodNum: number;
1004
+ /**
1005
+ * cpu规格
1006
+ */
1007
+ CpuSpec: number;
1008
+ /**
1009
+ * 内存规格
1010
+ */
1011
+ MemorySpec: number;
1012
+ /**
1013
+ * 镜像路径
1014
+ */
1015
+ ImgRepo: string;
1016
+ /**
1017
+ * 镜像名称
1018
+ */
1019
+ ImgName: string;
1020
+ /**
1021
+ * 镜像版本
1022
+ */
1023
+ ImgVersion: string;
1024
+ /**
1025
+ * 弹性配置
1026
+ 注意:此字段可能返回 null,表示取不到有效值。
1027
+ */
1028
+ EsInfo: EsInfo;
1029
+ /**
1030
+ * 环境配置
1031
+ */
1032
+ EnvConf: Array<Pair>;
1033
+ /**
1034
+ * 存储配置
1035
+ */
1036
+ StorageConfs: Array<StorageConf>;
1037
+ /**
1038
+ * 运行状态
1039
+ */
1040
+ Status: string;
1041
+ /**
1042
+ * 私有网络
1043
+ */
1044
+ Vpc: string;
1045
+ /**
1046
+ * 子网网络
1047
+ */
1048
+ SubnetId: string;
1049
+ /**
1050
+ * 创建时间
1051
+ */
1052
+ CreateDate: string;
1053
+ /**
1054
+ * 修改时间
1055
+ */
1056
+ ModifyDate: string;
1057
+ /**
1058
+ * 挂载配置
1059
+ 注意:此字段可能返回 null,表示取不到有效值。
1060
+ */
1061
+ StorageMountConfs: Array<StorageMountConf>;
1062
+ /**
1063
+ * 版本名称
1064
+ 注意:此字段可能返回 null,表示取不到有效值。
1065
+ */
1066
+ VersionName: string;
1067
+ /**
1068
+ * 日志输出配置
1069
+ 注意:此字段可能返回 null,表示取不到有效值。
1070
+ */
1071
+ LogOutputConf?: LogOutputConf;
1072
+ /**
1073
+ * 服务名称
1074
+ 注意:此字段可能返回 null,表示取不到有效值。
1075
+ */
1076
+ ApplicationName?: string;
1077
+ /**
1078
+ * 服务描述
1079
+ 注意:此字段可能返回 null,表示取不到有效值。
1080
+ */
1081
+ ApplicationDescription?: string;
1082
+ /**
1083
+ * 环境名称
1084
+ 注意:此字段可能返回 null,表示取不到有效值。
1085
+ */
1086
+ EnvironmentName?: string;
1087
+ /**
1088
+ * 环境ID
1089
+ 注意:此字段可能返回 null,表示取不到有效值。
1090
+ */
1091
+ EnvironmentId?: string;
1092
+ /**
1093
+ * 公网地址
1094
+ 注意:此字段可能返回 null,表示取不到有效值。
1095
+ */
1096
+ PublicDomain?: string;
1097
+ /**
1098
+ * 是否开通公网访问
1099
+ 注意:此字段可能返回 null,表示取不到有效值。
1100
+ */
1101
+ EnablePublicAccess?: boolean;
1102
+ /**
1103
+ * 现有的实例
1104
+ 注意:此字段可能返回 null,表示取不到有效值。
1105
+ */
1106
+ CurrentInstances?: number;
1107
+ /**
1108
+ * 期望的实例
1109
+ 注意:此字段可能返回 null,表示取不到有效值。
1110
+ */
1111
+ ExpectedInstances?: number;
1112
+ /**
1113
+ * 编程语言
1114
+ 注意:此字段可能返回 null,表示取不到有效值。
1115
+ */
1116
+ CodingLanguage?: string;
1117
+ /**
1118
+ * 程序包名
1119
+ 注意:此字段可能返回 null,表示取不到有效值。
1120
+ */
1121
+ PkgName?: string;
1122
+ /**
1123
+ * 是否启用弹性伸缩
1124
+ 注意:此字段可能返回 null,表示取不到有效值。
1125
+ */
1126
+ EsEnable?: number;
1127
+ /**
1128
+ * 弹性策略
1129
+ 注意:此字段可能返回 null,表示取不到有效值。
1130
+ */
1131
+ EsStrategy?: number;
1132
+ /**
1133
+ * 镜像tag
1134
+ 注意:此字段可能返回 null,表示取不到有效值。
1135
+ */
1136
+ ImageTag?: string;
1137
+ /**
1138
+ * 是否启用log
1139
+ 注意:此字段可能返回 null,表示取不到有效值。
1140
+ */
1141
+ LogEnable?: number;
1142
+ /**
1143
+ * 最小实例数
1144
+ 注意:此字段可能返回 null,表示取不到有效值。
1145
+ */
1146
+ MinAliveInstances?: string;
1147
+ /**
1148
+ * 安全组
1149
+ 注意:此字段可能返回 null,表示取不到有效值。
1150
+ */
1151
+ SecurityGroupIds?: Array<string>;
1152
+ /**
1153
+ * 镜像命令
1154
+ 注意:此字段可能返回 null,表示取不到有效值。
1155
+ */
1156
+ ImageCommand?: string;
1157
+ /**
1158
+ * 镜像命令参数
1159
+ 注意:此字段可能返回 null,表示取不到有效值。
1160
+ */
1161
+ ImageArgs?: Array<string>;
1162
+ /**
1163
+ * 是否使用默认注册中心配置
1164
+ 注意:此字段可能返回 null,表示取不到有效值。
1165
+ */
1166
+ UseRegistryDefaultConfig?: boolean;
1167
+ /**
1168
+ * eks 访问设置
1169
+ 注意:此字段可能返回 null,表示取不到有效值。
1170
+ */
1171
+ Service?: EksService;
1172
+ /**
1173
+ * 挂载配置信息
1174
+ 注意:此字段可能返回 null,表示取不到有效值。
1175
+ */
1176
+ SettingConfs?: Array<MountedSettingConf>;
1177
+ /**
1178
+ * log path数组信息
1179
+ 注意:此字段可能返回 null,表示取不到有效值。
1180
+ */
1181
+ LogConfs?: Array<string>;
1182
+ /**
1183
+ * 启动后立即执行的脚本
1184
+ 注意:此字段可能返回 null,表示取不到有效值。
1185
+ */
1186
+ PostStart?: string;
1187
+ /**
1188
+ * 停止前执行的脚本
1189
+ 注意:此字段可能返回 null,表示取不到有效值。
1190
+ */
1191
+ PreStop?: string;
1192
+ /**
1193
+ * 存活探针配置
1194
+ 注意:此字段可能返回 null,表示取不到有效值。
1195
+ */
1196
+ Liveness?: HealthCheckConfig;
1197
+ /**
1198
+ * 就绪探针配置
1199
+ 注意:此字段可能返回 null,表示取不到有效值。
1200
+ */
1201
+ Readiness?: HealthCheckConfig;
1202
+ /**
1203
+ * 弹性策略
1204
+ 注意:此字段可能返回 null,表示取不到有效值。
1205
+ */
1206
+ HorizontalAutoscaler?: Array<HorizontalAutoscaler>;
1207
+ /**
1208
+ * 定时弹性策略
1209
+ 注意:此字段可能返回 null,表示取不到有效值。
1210
+ */
1211
+ CronHorizontalAutoscaler?: Array<CronHorizontalAutoscaler>;
1212
+ /**
1213
+ * 应用实际可用区
1214
+ 注意:此字段可能返回 null,表示取不到有效值。
1215
+ */
1216
+ Zones?: Array<string>;
1217
+ /**
1218
+ * 最新部署时间
1219
+ 注意:此字段可能返回 null,表示取不到有效值。
1220
+ */
1221
+ LastDeployDate?: string;
1222
+ /**
1223
+ * 最新部署成功时间
1224
+ 注意:此字段可能返回 null,表示取不到有效值。
1225
+ */
1226
+ LastDeploySuccessDate?: string;
1227
+ /**
1228
+ * 应用所在node信息
1229
+ 注意:此字段可能返回 null,表示取不到有效值。
1230
+ */
1231
+ NodeInfos?: Array<NodeInfo>;
1232
+ /**
1233
+ * image类型 -0 为demo -1为正常image
1234
+ 注意:此字段可能返回 null,表示取不到有效值。
1235
+ */
1236
+ ImageType?: number;
1237
+ /**
1238
+ * 是否启用调用链组件
1239
+ 注意:此字段可能返回 null,表示取不到有效值。
1240
+ */
1241
+ EnableTracing?: number;
1242
+ /**
1243
+ * 是否开启调用链上报,只有 EnableTracing=1 时生效(参数已弃用)
1244
+ 注意:此字段可能返回 null,表示取不到有效值。
1245
+ */
1246
+ EnableTracingReport?: number;
1247
+ /**
1248
+ * 镜像类型:0-个人镜像、1-企业镜像、2-公有镜像
1249
+ 注意:此字段可能返回 null,表示取不到有效值。
1250
+ */
1251
+ RepoType?: number;
1252
+ /**
1253
+ * 分批发布子状态:batch_updating、batch_updating_waiting_confirm
1254
+ 注意:此字段可能返回 null,表示取不到有效值。
1255
+ */
1256
+ BatchDeployStatus?: string;
1257
+ /**
1258
+ * APM 资源 ID
1259
+ 注意:此字段可能返回 null,表示取不到有效值。
1260
+ */
1261
+ ApmInstanceId?: string;
1262
+ /**
1263
+ * 工作负载信息
1264
+ 注意:此字段可能返回 null,表示取不到有效值。
1265
+ */
1266
+ WorkloadInfo?: WorkloadInfo;
1267
+ /**
1268
+ * 是否启用应用加速
1269
+ 注意:此字段可能返回 null,表示取不到有效值。
1270
+ */
1271
+ SpeedUp?: boolean;
1272
+ /**
1273
+ * 启动检测探针配置
1274
+ 注意:此字段可能返回 null,表示取不到有效值。
1275
+ */
1276
+ StartupProbe?: HealthCheckConfig;
1277
+ /**
1278
+ * 操作系统版本,可选参数:
1279
+ - ALPINE
1280
+ - CENTOS
1281
+ 注意:此字段可能返回 null,表示取不到有效值。
1282
+ */
1283
+ OsFlavour?: string;
1284
+ /**
1285
+ * 镜像仓库server
1286
+ 注意:此字段可能返回 null,表示取不到有效值。
1287
+ */
1288
+ RepoServer?: string;
1289
+ /**
1290
+ * 是否正在发布中
1291
+ 注意:此字段可能返回 null,表示取不到有效值。
1292
+ */
1293
+ UnderDeploying?: boolean;
1294
+ /**
1295
+ * 监控业务指标监控
1296
+ 注意:此字段可能返回 null,表示取不到有效值。
1297
+ */
1298
+ EnablePrometheusConf?: EnablePrometheusConf;
1299
+ /**
1300
+ * 是否为手动停止
1301
+ 注意:此字段可能返回 null,表示取不到有效值。
1302
+ */
1303
+ StoppedManually?: boolean;
1304
+ /**
1305
+ * tcr实例ID
1306
+ 注意:此字段可能返回 null,表示取不到有效值。
1307
+ */
1308
+ TcrInstanceId?: string;
1309
+ /**
1310
+ * 1:开始自动metrics采集(open-telemetry);
1311
+ 0:关闭metrics采集;
1312
+ 注意:此字段可能返回 null,表示取不到有效值。
1313
+ */
1314
+ EnableMetrics?: number;
1315
+ }
1316
+ /**
1317
+ * 端口映射详细信息结构体
1318
+ */
1319
+ export interface ServicePortMapping {
1320
+ /**
1321
+ * 服务类型
1322
+ 注意:此字段可能返回 null,表示取不到有效值。
1323
+ */
1324
+ Type?: string;
1325
+ /**
1326
+ * 服务名称
1327
+ 注意:此字段可能返回 null,表示取不到有效值。
1328
+ */
1329
+ ServiceName?: string;
1330
+ /**
1331
+ * 集群内访问vip
1332
+ 注意:此字段可能返回 null,表示取不到有效值。
1333
+ */
1334
+ ClusterIp?: string;
1335
+ /**
1336
+ * 集群外方位vip
1337
+ 注意:此字段可能返回 null,表示取不到有效值。
1338
+ */
1339
+ ExternalIp?: string;
1340
+ /**
1341
+ * 子网id
1342
+ 注意:此字段可能返回 null,表示取不到有效值。
1343
+ */
1344
+ SubnetId?: string;
1345
+ /**
1346
+ * vpc id
1347
+ 注意:此字段可能返回 null,表示取不到有效值。
1348
+ */
1349
+ VpcId?: string;
1350
+ /**
1351
+ * LoadBalance Id
1352
+ 注意:此字段可能返回 null,表示取不到有效值。
1353
+ */
1354
+ LoadBalanceId?: string;
1355
+ /**
1356
+ * yaml 内容
1357
+ 注意:此字段可能返回 null,表示取不到有效值。
1358
+ */
1359
+ Yaml?: string;
1360
+ /**
1361
+ * 暴露端口列表
1362
+ 注意:此字段可能返回 null,表示取不到有效值。
1363
+ */
1364
+ Ports?: Array<number>;
1365
+ /**
1366
+ * 端口映射数组
1367
+ 注意:此字段可能返回 null,表示取不到有效值。
1368
+ */
1369
+ PortMappingItemList?: Array<ServicePortMappingItem>;
1370
+ }
1371
+ /**
1372
+ * CreateCosToken请求参数结构体
1373
+ */
1374
+ export interface CreateCosTokenRequest {
1375
+ /**
1376
+ * 应用ID
1377
+ */
1378
+ ApplicationId: string;
1379
+ /**
1380
+ * 包名
1381
+ */
1382
+ PkgName: string;
1383
+ /**
1384
+ * optType 1上传 2查询
1385
+ */
1386
+ OptType: number;
1387
+ /**
1388
+ * 来源 channel
1389
+ */
1390
+ SourceChannel?: number;
1391
+ /**
1392
+ * 充当deployVersion入参
1393
+ */
1394
+ TimeVersion?: string;
1395
+ }
1396
+ /**
1397
+ * ModifyApplicationAutoscaler请求参数结构体
1398
+ */
1399
+ export interface ModifyApplicationAutoscalerRequest {
1400
+ /**
1401
+ * 服务id
1402
+ */
1403
+ ApplicationId: string;
1404
+ /**
1405
+ * 环境ID
1406
+ */
1407
+ EnvironmentId: string;
1408
+ /**
1409
+ * 来源渠道
1410
+ */
1411
+ SourceChannel?: number;
1412
+ /**
1413
+ * 弹性伸缩策略ID
1414
+ */
1415
+ AutoscalerId?: string;
1416
+ /**
1417
+ * 弹性伸缩策略
1418
+ */
1419
+ Autoscaler?: Autoscaler;
1420
+ }
1421
+ /**
1422
+ * ModifyConfigData返回参数结构体
1423
+ */
1424
+ export interface ModifyConfigDataResponse {
1425
+ /**
1426
+ * 编辑是否成功
1427
+ */
1428
+ Result: boolean;
1429
+ /**
1430
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1431
+ */
1432
+ RequestId?: string;
1433
+ }
1434
+ /**
1435
+ * ModifyIngress请求参数结构体
1436
+ */
1437
+ export interface ModifyIngressRequest {
1438
+ /**
1439
+ * Ingress 规则配置
1440
+ */
1441
+ Ingress: IngressInfo;
1442
+ /**
1443
+ * 来源渠道
1444
+ */
1445
+ SourceChannel?: number;
1446
+ }
1447
+ /**
1448
+ * 开启prometheus监控配置
1449
+ */
1450
+ export interface EnablePrometheusConf {
1451
+ /**
1452
+ * 应用开放的监听端口
1453
+ */
1454
+ Port?: number;
1455
+ /**
1456
+ * 业务指标暴露的url path
1457
+ */
1458
+ Path?: string;
1459
+ }
1460
+ /**
1461
+ * DescribeIngresses请求参数结构体
1462
+ */
1463
+ export interface DescribeIngressesRequest {
1464
+ /**
1465
+ * 环境 id
1466
+ */
1467
+ EnvironmentId?: string;
1468
+ /**
1469
+ * 环境 namespace
1470
+ */
1471
+ ClusterNamespace?: string;
1472
+ /**
1473
+ * 来源渠道
1474
+ */
1475
+ SourceChannel?: number;
1476
+ /**
1477
+ * ingress 规则名列表
1478
+ */
1479
+ IngressNames?: Array<string>;
1480
+ }
1481
+ /**
1482
+ * 数据卷挂载信息
1483
+ */
1484
+ export interface StorageMountConf {
1485
+ /**
1486
+ * 数据卷名
1487
+ */
1488
+ VolumeName: string;
1489
+ /**
1490
+ * 数据卷绑定路径
1491
+ */
1492
+ MountPath: string;
1493
+ }
1494
+ /**
1495
+ * CreateLogConfig请求参数结构体
1496
+ */
1497
+ export interface CreateLogConfigRequest {
1498
+ /**
1499
+ * 环境 ID
1500
+ */
1501
+ EnvironmentId: string;
1502
+ /**
1503
+ * 配置名
1504
+ */
1505
+ Name: string;
1506
+ /**
1507
+ * 收集类型,container_stdout 为标准输出;container_file 为文件;
1508
+ */
1509
+ InputType: string;
1510
+ /**
1511
+ * 应用 ID
1512
+ */
1513
+ ApplicationId?: string;
1514
+ /**
1515
+ * 日志集 ID
1516
+ */
1517
+ LogsetId?: string;
1518
+ /**
1519
+ * 日志主题 ID
1520
+ */
1521
+ TopicId?: string;
1522
+ /**
1523
+ * 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文;
1524
+ */
1525
+ LogType?: string;
1526
+ /**
1527
+ * 首行正则表达式,当LogType=multiline_log 时生效
1528
+ */
1529
+ BeginningRegex?: string;
1530
+ /**
1531
+ * 收集文件目录,当 InputType=container_file 时生效
1532
+ */
1533
+ LogPath?: string;
1534
+ /**
1535
+ * 收集文件名模式,当 InputType=container_file 时生效
1536
+ */
1537
+ FilePattern?: string;
1538
+ }
1539
+ /**
1540
+ * RestartApplication返回参数结构体
1541
+ */
1542
+ export interface RestartApplicationResponse {
1543
+ /**
1544
+ * 返回结果
1545
+ */
1546
+ Result: boolean;
1547
+ /**
1548
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1549
+ */
1550
+ RequestId?: string;
1551
+ }
1552
+ /**
1553
+ * DescribeIngresses返回参数结构体
1554
+ */
1555
+ export interface DescribeIngressesResponse {
1556
+ /**
1557
+ * ingress 数组
1558
+ 注意:此字段可能返回 null,表示取不到有效值。
1559
+ */
1560
+ Result: Array<IngressInfo>;
1561
+ /**
1562
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1563
+ */
1564
+ RequestId?: string;
1565
+ }
1566
+ /**
1567
+ * ModifyConfigData请求参数结构体
1568
+ */
1569
+ export interface ModifyConfigDataRequest {
1570
+ /**
1571
+ * 环境 ID
1572
+ */
1573
+ EnvironmentId: string;
1574
+ /**
1575
+ * 配置名
1576
+ */
1577
+ Name: string;
1578
+ /**
1579
+ * 来源渠道
1580
+ */
1581
+ SourceChannel?: number;
1582
+ /**
1583
+ * 配置信息
1584
+ */
1585
+ Data?: Array<Pair>;
1586
+ }
1587
+ /**
1588
+ * CreateConfigData返回参数结构体
1589
+ */
1590
+ export interface CreateConfigDataResponse {
1591
+ /**
1592
+ * 创建是否成功
1593
+ */
1594
+ Result: boolean;
1595
+ /**
1596
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1597
+ */
1598
+ RequestId?: string;
1599
+ }
1600
+ /**
1601
+ * DescribeApplicationsStatus请求参数结构体
1602
+ */
1603
+ export interface DescribeApplicationsStatusRequest {
1604
+ /**
1605
+ * 来源渠道
1606
+ */
1607
+ SourceChannel?: number;
1608
+ /**
1609
+ * 环境ID
1610
+ */
1611
+ EnvironmentId?: string;
1612
+ }
1613
+ /**
1614
+ * 应用实例
1615
+ */
1616
+ export interface RunVersionPod {
1617
+ /**
1618
+ * shell地址
1619
+ */
1620
+ Webshell: string;
1621
+ /**
1622
+ * pod的id
1623
+ */
1624
+ PodId: string;
1625
+ /**
1626
+ * 状态
1627
+ */
1628
+ Status: string;
1629
+ /**
1630
+ * 创建时间
1631
+ */
1632
+ CreateTime: string;
1633
+ /**
1634
+ * 实例的ip
1635
+ */
1636
+ PodIp: string;
1637
+ /**
1638
+ * 可用区
1639
+ 注意:此字段可能返回 null,表示取不到有效值。
1640
+ */
1641
+ Zone: string;
1642
+ /**
1643
+ * 部署版本
1644
+ 注意:此字段可能返回 null,表示取不到有效值。
1645
+ */
1646
+ DeployVersion: string;
1647
+ /**
1648
+ * 重启次数
1649
+ 注意:此字段可能返回 null,表示取不到有效值。
1650
+ */
1651
+ RestartCount: number;
1652
+ /**
1653
+ * pod是否就绪
1654
+ 注意:此字段可能返回 null,表示取不到有效值。
1655
+ */
1656
+ Ready: boolean;
1657
+ /**
1658
+ * 容器状态
1659
+ 注意:此字段可能返回 null,表示取不到有效值。
1660
+ */
1661
+ ContainerState: string;
1662
+ }
1663
+ /**
1664
+ * CreateResource返回参数结构体
1665
+ */
1666
+ export interface CreateResourceResponse {
1667
+ /**
1668
+ * 成功与否
1669
+ 注意:此字段可能返回 null,表示取不到有效值。
1670
+ */
1671
+ Result: boolean;
1672
+ /**
1673
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1674
+ */
1675
+ RequestId?: string;
1676
+ }
1677
+ /**
1678
+ * ModifyApplicationInfo返回参数结构体
1679
+ */
1680
+ export interface ModifyApplicationInfoResponse {
1681
+ /**
1682
+ * 成功与否
1683
+ 注意:此字段可能返回 null,表示取不到有效值。
1684
+ */
1685
+ Result: boolean;
1686
+ /**
1687
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1688
+ */
1689
+ RequestId?: string;
1690
+ }
1691
+ /**
1692
+ * RestartApplication请求参数结构体
1693
+ */
1694
+ export interface RestartApplicationRequest {
1695
+ /**
1696
+ * 服务id
1697
+ */
1698
+ ApplicationId: string;
1699
+ /**
1700
+ * 来源渠道
1701
+ */
1702
+ SourceChannel?: number;
1703
+ /**
1704
+ * 环境ID
1705
+ */
1706
+ EnvironmentId?: string;
1707
+ }
1708
+ /**
1709
+ * DestroyEnvironment返回参数结构体
1710
+ */
1711
+ export interface DestroyEnvironmentResponse {
1712
+ /**
1713
+ * 返回结果
469
1714
  */
470
- SessionToken: string;
1715
+ Result: boolean;
471
1716
  /**
472
- * 临时密钥获取的开始时间
1717
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
473
1718
  */
474
- StartTime: string;
1719
+ RequestId?: string;
1720
+ }
1721
+ /**
1722
+ * DisableApplicationAutoscaler返回参数结构体
1723
+ */
1724
+ export interface DisableApplicationAutoscalerResponse {
475
1725
  /**
476
- * 临时密钥的 expiredTime
1726
+ * 是否成功
1727
+ 注意:此字段可能返回 null,表示取不到有效值。
1728
+ */
1729
+ Result: boolean;
1730
+ /**
1731
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
477
1732
  */
478
- ExpiredTime: string;
1733
+ RequestId?: string;
1734
+ }
1735
+ /**
1736
+ * DescribeIngress请求参数结构体
1737
+ */
1738
+ export interface DescribeIngressRequest {
479
1739
  /**
480
- * 包完整路径
1740
+ * 环境ID
481
1741
  */
482
- FullPath: string;
1742
+ EnvironmentId: string;
1743
+ /**
1744
+ * 环境namespace
1745
+ */
1746
+ ClusterNamespace: string;
1747
+ /**
1748
+ * ingress 规则名
1749
+ */
1750
+ IngressName: string;
1751
+ /**
1752
+ * 来源渠道
1753
+ */
1754
+ SourceChannel?: number;
483
1755
  }
484
1756
  /**
485
- * GenerateApplicationPackageDownloadUrl请求参数结构体
1757
+ * StopApplication返回参数结构体
486
1758
  */
487
- export interface GenerateApplicationPackageDownloadUrlRequest {
1759
+ export interface StopApplicationResponse {
488
1760
  /**
489
- * 应用ID
1761
+ * 返回结果
1762
+ */
1763
+ Result: boolean;
1764
+ /**
1765
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1766
+ */
1767
+ RequestId?: string;
1768
+ }
1769
+ /**
1770
+ * DeployApplication返回参数结构体
1771
+ */
1772
+ export interface DeployApplicationResponse {
1773
+ /**
1774
+ * 版本ID(前端可忽略)
1775
+ */
1776
+ Result: string;
1777
+ /**
1778
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1779
+ */
1780
+ RequestId?: string;
1781
+ }
1782
+ /**
1783
+ * RestartApplicationPod返回参数结构体
1784
+ */
1785
+ export interface RestartApplicationPodResponse {
1786
+ /**
1787
+ * 返回结果
1788
+ 注意:此字段可能返回 null,表示取不到有效值。
1789
+ */
1790
+ Result: boolean;
1791
+ /**
1792
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1793
+ */
1794
+ RequestId?: string;
1795
+ }
1796
+ /**
1797
+ * 环境停止进程(只统计由环境停止操作触发的应用数量)
1798
+ */
1799
+ export interface TemEnvironmentStoppingStatus {
1800
+ /**
1801
+ * 需要停止的应用数量
1802
+ 注意:此字段可能返回 null,表示取不到有效值。
1803
+ */
1804
+ ApplicationNumNeedToStop?: number;
1805
+ /**
1806
+ * 已经停止的应用数量
1807
+ 注意:此字段可能返回 null,表示取不到有效值。
1808
+ */
1809
+ StoppedApplicationNum?: number;
1810
+ }
1811
+ /**
1812
+ * DeleteApplication请求参数结构体
1813
+ */
1814
+ export interface DeleteApplicationRequest {
1815
+ /**
1816
+ * 服务Id
490
1817
  */
491
1818
  ApplicationId: string;
492
1819
  /**
493
- * 包名
1820
+ * 环境ID
494
1821
  */
495
- PkgName: string;
1822
+ EnvironmentId: string;
496
1823
  /**
497
- * 需要下载的包版本
1824
+ * 来源渠道
498
1825
  */
499
- DeployVersion: string;
1826
+ SourceChannel?: number;
500
1827
  /**
501
- * 来源 channel
1828
+ * 当服务没有任何运行版本时,是否删除此服务
1829
+ */
1830
+ DeleteApplicationIfNoRunningVersion?: boolean;
1831
+ }
1832
+ /**
1833
+ * CreateApplicationAutoscaler返回参数结构体
1834
+ */
1835
+ export interface CreateApplicationAutoscalerResponse {
1836
+ /**
1837
+ * 弹性伸缩策略组合ID
1838
+ 注意:此字段可能返回 null,表示取不到有效值。
1839
+ */
1840
+ Result: string;
1841
+ /**
1842
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1843
+ */
1844
+ RequestId?: string;
1845
+ }
1846
+ /**
1847
+ * DeleteApplicationAutoscaler请求参数结构体
1848
+ */
1849
+ export interface DeleteApplicationAutoscalerRequest {
1850
+ /**
1851
+ * 服务id
1852
+ */
1853
+ ApplicationId: string;
1854
+ /**
1855
+ * 环境ID
1856
+ */
1857
+ EnvironmentId: string;
1858
+ /**
1859
+ * 来源渠道
502
1860
  */
503
1861
  SourceChannel?: number;
1862
+ /**
1863
+ * 弹性伸缩策略ID
1864
+ */
1865
+ AutoscalerId?: string;
504
1866
  }
505
1867
  /**
506
- * DeployApplication请求参数结构体
1868
+ * DescribeApplicationAutoscalerList请求参数结构体
507
1869
  */
508
- export interface DeployApplicationRequest {
1870
+ export interface DescribeApplicationAutoscalerListRequest {
509
1871
  /**
510
- * 应用ID
1872
+ * 服务id
511
1873
  */
512
1874
  ApplicationId: string;
513
1875
  /**
514
- * 初始化 pod 数
1876
+ * 环境ID
515
1877
  */
516
- InitPodNum: number;
1878
+ EnvironmentId: string;
517
1879
  /**
518
- * cpu规格
1880
+ * 来源渠道
519
1881
  */
520
- CpuSpec: number;
1882
+ SourceChannel?: number;
1883
+ }
1884
+ /**
1885
+ * DescribeApplicationsStatus返回参数结构体
1886
+ */
1887
+ export interface DescribeApplicationsStatusResponse {
521
1888
  /**
522
- * 内存规格
1889
+ * 返回结果
523
1890
  */
524
- MemorySpec: number;
1891
+ Result: Array<ServiceVersionBrief>;
1892
+ /**
1893
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1894
+ */
1895
+ RequestId?: string;
1896
+ }
1897
+ /**
1898
+ * DescribeDeployApplicationDetail请求参数结构体
1899
+ */
1900
+ export interface DescribeDeployApplicationDetailRequest {
1901
+ /**
1902
+ * 服务id
1903
+ */
1904
+ ApplicationId?: string;
1905
+ /**
1906
+ * 环境id
1907
+ */
1908
+ EnvironmentId?: string;
1909
+ /**
1910
+ * 版本部署id
1911
+ */
1912
+ VersionId?: string;
1913
+ }
1914
+ /**
1915
+ * DeleteIngress请求参数结构体
1916
+ */
1917
+ export interface DeleteIngressRequest {
525
1918
  /**
526
1919
  * 环境ID
527
1920
  */
528
1921
  EnvironmentId: string;
529
1922
  /**
530
- * 镜像仓库
1923
+ * 环境 namespace
531
1924
  */
532
- ImgRepo?: string;
1925
+ ClusterNamespace: string;
533
1926
  /**
534
- * 版本描述信息
1927
+ * ingress 规则名
535
1928
  */
536
- VersionDesc?: string;
1929
+ IngressName: string;
537
1930
  /**
538
- * 启动参数
1931
+ * 来源渠道
539
1932
  */
540
- JvmOpts?: string;
1933
+ SourceChannel?: number;
1934
+ }
1935
+ /**
1936
+ * DisableApplicationAutoscaler请求参数结构体
1937
+ */
1938
+ export interface DisableApplicationAutoscalerRequest {
541
1939
  /**
542
- * 弹性伸缩配置(已废弃,请使用HorizontalAutoscaler设置弹性策略)
1940
+ * 服务id
543
1941
  */
544
- EsInfo?: EsInfo;
1942
+ ApplicationId: string;
545
1943
  /**
546
- * 环境变量配置
1944
+ * 环境ID
547
1945
  */
548
- EnvConf?: Array<Pair>;
1946
+ EnvironmentId: string;
549
1947
  /**
550
- * 日志配置
1948
+ * 来源渠道
551
1949
  */
552
- LogConfs?: Array<string>;
1950
+ SourceChannel?: number;
553
1951
  /**
554
- * 数据卷配置
1952
+ * 弹性伸缩策略ID
555
1953
  */
556
- StorageConfs?: Array<StorageConf>;
1954
+ AutoscalerId?: string;
1955
+ }
1956
+ /**
1957
+ * DescribeRelatedIngresses请求参数结构体
1958
+ */
1959
+ export interface DescribeRelatedIngressesRequest {
557
1960
  /**
558
- * 数据卷挂载配置
1961
+ * 环境 id
559
1962
  */
560
- StorageMountConfs?: Array<StorageMountConf>;
1963
+ EnvironmentId?: string;
561
1964
  /**
562
- * 部署类型。
563
- - JAR:通过 jar 包部署
564
- - WAR:通过 war 包部署
565
- - IMAGE:通过镜像部署
566
- */
567
- DeployMode?: string;
1965
+ * 环境 namespace
1966
+ */
1967
+ ClusterNamespace?: string;
568
1968
  /**
569
- * 部署类型为 IMAGE 时,该参数表示镜像 tag。
570
- 部署类型为 JAR/WAR 时,该参数表示包版本号。
571
- */
572
- DeployVersion?: string;
1969
+ * 来源渠道
1970
+ */
1971
+ SourceChannel?: number;
573
1972
  /**
574
- * 包名。使用 JAR 包或者 WAR 包部署的时候必填。
1973
+ * 应用 ID
575
1974
  */
576
- PkgName?: string;
1975
+ ApplicationId?: string;
1976
+ }
1977
+ /**
1978
+ * Cos token
1979
+ */
1980
+ export interface CosToken {
577
1981
  /**
578
- * JDK 版本。
579
- - KONA:8:使用 kona jdk 8。
580
- - OPEN:8:使用 open jdk 8。
581
- - KONA:11:使用 kona jdk 11。
582
- - OPEN:11:使用 open jdk 11。
583
- */
584
- JdkVersion?: string;
1982
+ * 唯一请求 ID
1983
+ */
1984
+ RequestId: string;
1985
+ /**
1986
+ * 存储桶桶名
1987
+ */
1988
+ Bucket: string;
585
1989
  /**
586
- * 安全组ID s
1990
+ * 存储桶所在区域
587
1991
  */
588
- SecurityGroupIds?: Array<string>;
1992
+ Region: string;
589
1993
  /**
590
- * 日志输出配置
1994
+ * 临时密钥的SecretId
591
1995
  */
592
- LogOutputConf?: LogOutputConf;
1996
+ TmpSecretId: string;
593
1997
  /**
594
- * 来源渠道
1998
+ * 临时密钥的SecretKey
595
1999
  */
596
- SourceChannel?: number;
2000
+ TmpSecretKey: string;
597
2001
  /**
598
- * 版本描述
2002
+ * 临时密钥的 sessionToken
599
2003
  */
600
- Description?: string;
2004
+ SessionToken: string;
601
2005
  /**
602
- * 镜像命令
2006
+ * 临时密钥获取的开始时间
603
2007
  */
604
- ImageCommand?: string;
2008
+ StartTime: string;
605
2009
  /**
606
- * 镜像命令参数
2010
+ * 临时密钥的 expiredTime
607
2011
  */
608
- ImageArgs?: Array<string>;
2012
+ ExpiredTime: string;
609
2013
  /**
610
- * 是否添加默认注册中心配置
2014
+ * 包完整路径
611
2015
  */
612
- UseRegistryDefaultConfig?: boolean;
2016
+ FullPath: string;
2017
+ }
2018
+ /**
2019
+ * GenerateApplicationPackageDownloadUrl请求参数结构体
2020
+ */
2021
+ export interface GenerateApplicationPackageDownloadUrlRequest {
613
2022
  /**
614
- * 挂载配置信息
2023
+ * 应用ID
615
2024
  */
616
- SettingConfs?: Array<MountedSettingConf>;
2025
+ ApplicationId: string;
617
2026
  /**
618
- * 应用访问设置
2027
+ * 包名
619
2028
  */
620
- Service?: EksService;
2029
+ PkgName: string;
621
2030
  /**
622
- * 要回滚到的历史版本id
2031
+ * 需要下载的包版本
623
2032
  */
624
- VersionId?: string;
2033
+ DeployVersion: string;
625
2034
  /**
626
- * 启动后执行的脚本
2035
+ * 来源 channel
627
2036
  */
628
- PostStart?: string;
2037
+ SourceChannel?: number;
2038
+ }
2039
+ /**
2040
+ * DescribeEnvironments返回参数结构体
2041
+ */
2042
+ export interface DescribeEnvironmentsResponse {
629
2043
  /**
630
- * 停止前执行的脚本
2044
+ * 返回结果
631
2045
  */
632
- PreStop?: string;
2046
+ Result: NamespacePage;
633
2047
  /**
634
- * 存活探针配置
2048
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
635
2049
  */
636
- Liveness?: HealthCheckConfig;
2050
+ RequestId?: string;
2051
+ }
2052
+ /**
2053
+ * DeleteApplicationAutoscaler返回参数结构体
2054
+ */
2055
+ export interface DeleteApplicationAutoscalerResponse {
637
2056
  /**
638
- * 就绪探针配置
2057
+ * 是否成功
2058
+ 注意:此字段可能返回 null,表示取不到有效值。
2059
+ */
2060
+ Result: boolean;
2061
+ /**
2062
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
639
2063
  */
640
- Readiness?: HealthCheckConfig;
2064
+ RequestId?: string;
2065
+ }
2066
+ /**
2067
+ * DescribeRelatedIngresses返回参数结构体
2068
+ */
2069
+ export interface DescribeRelatedIngressesResponse {
641
2070
  /**
642
- * 分批发布策略配置
2071
+ * ingress 数组
2072
+ 注意:此字段可能返回 null,表示取不到有效值。
2073
+ */
2074
+ Result: Array<IngressInfo>;
2075
+ /**
2076
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
643
2077
  */
644
- DeployStrategyConf?: DeployStrategyConf;
2078
+ RequestId?: string;
2079
+ }
2080
+ /**
2081
+ * DescribeEnvironment请求参数结构体
2082
+ */
2083
+ export interface DescribeEnvironmentRequest {
645
2084
  /**
646
- * 弹性策略(已弃用,请使用弹性伸缩策略组合相关接口)
2085
+ * 命名空间id
647
2086
  */
648
- HorizontalAutoscaler?: Array<HorizontalAutoscaler>;
2087
+ EnvironmentId: string;
649
2088
  /**
650
- * 定时弹性策略(已弃用,请使用弹性伸缩策略组合相关接口)
2089
+ * 来源Channel
651
2090
  */
652
- CronHorizontalAutoscaler?: Array<CronHorizontalAutoscaler>;
2091
+ SourceChannel?: number;
2092
+ }
2093
+ /**
2094
+ * DescribePagedLogConfigList请求参数结构体
2095
+ */
2096
+ export interface DescribePagedLogConfigListRequest {
653
2097
  /**
654
- * 是否启用log,1为启用,0为不启用
2098
+ * 环境 ID
655
2099
  */
656
- LogEnable?: number;
2100
+ EnvironmentId: string;
657
2101
  /**
658
- * (除开镜像配置)配置是否修改
2102
+ * 应用 ID
659
2103
  */
660
- ConfEdited?: boolean;
2104
+ ApplicationId?: string;
661
2105
  /**
662
- * 是否开启应用加速
2106
+ * 应用名
663
2107
  */
664
- SpeedUp?: boolean;
2108
+ ApplicationName?: string;
665
2109
  /**
666
- * 启动探针配置
2110
+ * 规则名
667
2111
  */
668
- StartupProbe?: HealthCheckConfig;
2112
+ Name?: string;
669
2113
  /**
670
- * 操作系统版本;
671
- 当选择openjdk时,可选参数:
672
- - ALPINE
673
- - CENTOS
674
- 当选择konajdk时,可选参数:
675
- - ALPINE
676
- - TENCENTOS
677
- */
678
- OsFlavour?: string;
2114
+ * 分页大小,默认 20
2115
+ */
2116
+ Limit?: number;
679
2117
  /**
680
- * 是否开启prometheus 业务指标监控
2118
+ * 翻页游标
681
2119
  */
682
- EnablePrometheusConf?: EnablePrometheusConf;
2120
+ ContinueToken?: string;
2121
+ }
2122
+ /**
2123
+ * 环境启动进程(只统计由环境启动操作触发的应用数量)
2124
+ */
2125
+ export interface TemEnvironmentStartingStatus {
683
2126
  /**
684
- * 1:开始apm采集(skywalking);
685
- 0:关闭apm采集;
2127
+ * 需要启动的应用数量
2128
+ 注意:此字段可能返回 null,表示取不到有效值。
686
2129
  */
687
- EnableTracing?: number;
2130
+ ApplicationNumNeedToStart?: number;
2131
+ /**
2132
+ * 已经启动的应用数量
2133
+ 注意:此字段可能返回 null,表示取不到有效值。
2134
+ */
2135
+ StartedApplicationNum?: number;
688
2136
  }
689
2137
  /**
690
- * Ingress 配置
2138
+ * 服务
691
2139
  */
692
- export interface IngressInfo {
2140
+ export interface TemService {
693
2141
  /**
694
- * 环境ID
2142
+ * 主键
2143
+ 注意:此字段可能返回 null,表示取不到有效值。
2144
+ */
2145
+ ApplicationId: string;
2146
+ /**
2147
+ * 服务名
2148
+ 注意:此字段可能返回 null,表示取不到有效值。
2149
+ */
2150
+ ApplicationName: string;
2151
+ /**
2152
+ * 描述
2153
+ 注意:此字段可能返回 null,表示取不到有效值。
2154
+ */
2155
+ Description: string;
2156
+ /**
2157
+ * 命名空间id
695
2158
  注意:此字段可能返回 null,表示取不到有效值。
696
2159
  */
697
2160
  EnvironmentId: string;
698
2161
  /**
699
- * 环境namespace
700
- */
701
- ClusterNamespace: string;
2162
+ * 创建时间
2163
+ 注意:此字段可能返回 null,表示取不到有效值。
2164
+ */
2165
+ CreateDate: string;
702
2166
  /**
703
- * ip version
704
- */
705
- AddressIPVersion: string;
2167
+ * 修改时间
2168
+ 注意:此字段可能返回 null,表示取不到有效值。
2169
+ */
2170
+ ModifyDate: string;
706
2171
  /**
707
- * ingress name
708
- */
709
- IngressName: string;
2172
+ * 修改人
2173
+ 注意:此字段可能返回 null,表示取不到有效值。
2174
+ */
2175
+ Modifier: string;
710
2176
  /**
711
- * rules 配置
712
- */
713
- Rules: Array<IngressRule>;
2177
+ * 创建者
2178
+ 注意:此字段可能返回 null,表示取不到有效值。
2179
+ */
2180
+ Creator: string;
714
2181
  /**
715
- * clb ID
2182
+ * tcr个人版or企业版
716
2183
  注意:此字段可能返回 null,表示取不到有效值。
717
2184
  */
718
- ClbId?: string;
2185
+ RepoType: number;
719
2186
  /**
720
- * tls 配置
2187
+ * 企业版实例id
721
2188
  注意:此字段可能返回 null,表示取不到有效值。
722
2189
  */
723
- Tls?: Array<IngressTls>;
2190
+ InstanceId: string;
724
2191
  /**
725
- * 环境集群ID
2192
+ * 镜像仓库名
726
2193
  注意:此字段可能返回 null,表示取不到有效值。
727
2194
  */
728
- ClusterId?: string;
2195
+ RepoName: string;
729
2196
  /**
730
- * clb ip
2197
+ * 编程语言
731
2198
  注意:此字段可能返回 null,表示取不到有效值。
732
2199
  */
733
- Vip?: string;
2200
+ CodingLanguage: string;
734
2201
  /**
735
- * 创建时间
2202
+ * 部署方式
736
2203
  注意:此字段可能返回 null,表示取不到有效值。
737
2204
  */
738
- CreateTime?: string;
2205
+ DeployMode: string;
739
2206
  /**
740
- * 是否混合 https,默认 false,可选值 true 代表有 https 协议监听
741
- */
742
- Mixed?: boolean;
2207
+ * 环境名称
2208
+ 注意:此字段可能返回 null,表示取不到有效值。
2209
+ */
2210
+ EnvironmentName: string;
743
2211
  /**
744
- * 重定向模式,可选值:
745
- - AUTO(自动重定向http到https)
746
- - NONE(不使用重定向)
2212
+ * 服务当前运行环境的实例信息
747
2213
  注意:此字段可能返回 null,表示取不到有效值。
748
2214
  */
749
- RewriteType?: string;
2215
+ ActiveVersions: Array<ServiceVersionBrief>;
2216
+ /**
2217
+ * 是否启用链路追踪
2218
+ 注意:此字段可能返回 null,表示取不到有效值。
2219
+ */
2220
+ EnableTracing: number;
750
2221
  }
751
2222
  /**
752
- * ModifyIngress返回参数结构体
2223
+ * ingress rule 配置
753
2224
  */
754
- export interface ModifyIngressResponse {
2225
+ export interface IngressRule {
755
2226
  /**
756
- * 创建成功
2227
+ * ingress rule value
2228
+ */
2229
+ Http: IngressRuleValue;
2230
+ /**
2231
+ * host 地址
757
2232
  注意:此字段可能返回 null,表示取不到有效值。
758
2233
  */
759
- Result: boolean;
2234
+ Host?: string;
2235
+ /**
2236
+ * 协议,选项为 http, https,默认为 http
2237
+ */
2238
+ Protocol?: string;
2239
+ }
2240
+ /**
2241
+ * 定时伸缩策略
2242
+ */
2243
+ export interface CronHorizontalAutoscaler {
2244
+ /**
2245
+ * 定时伸缩策略名称
2246
+ */
2247
+ Name?: string;
2248
+ /**
2249
+ * 策略周期
2250
+ * * *,三个范围,第一个是天,第二个是月,第三个是周,中间用空格隔开
2251
+ 例子:
2252
+ * * * (每天)
2253
+ * * 0-3 (每周日到周三)
2254
+ 1,11,21 * *(每个月1号,11号,21号)
2255
+ */
2256
+ Period?: string;
2257
+ /**
2258
+ * 定时伸缩策略明细
2259
+ */
2260
+ Schedules?: Array<CronHorizontalAutoscalerSchedule>;
2261
+ /**
2262
+ * 是否启用
2263
+ */
2264
+ Enabled?: boolean;
2265
+ /**
2266
+ * 策略优先级,值越大优先级越高,0为最小值
2267
+ */
2268
+ Priority?: number;
2269
+ }
2270
+ /**
2271
+ * DescribeDeployApplicationDetail返回参数结构体
2272
+ */
2273
+ export interface DescribeDeployApplicationDetailResponse {
2274
+ /**
2275
+ * 分批发布结果详情
2276
+ */
2277
+ Result: TemDeployApplicationDetailInfo;
760
2278
  /**
761
2279
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
762
2280
  */
763
2281
  RequestId?: string;
764
2282
  }
765
2283
  /**
766
- * DescribeEnvironments返回参数结构体
2284
+ * Ingress Rule Value 配置
767
2285
  */
768
- export interface DescribeEnvironmentsResponse {
769
- /**
770
- * 返回结果
771
- */
772
- Result: NamespacePage;
2286
+ export interface IngressRuleValue {
773
2287
  /**
774
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2288
+ * rule 整体配置
775
2289
  */
776
- RequestId?: string;
2290
+ Paths: Array<IngressRulePath>;
777
2291
  }
778
2292
  /**
779
- * ModifyIngress请求参数结构体
2293
+ * DescribeEnvironment返回参数结构体
780
2294
  */
781
- export interface ModifyIngressRequest {
2295
+ export interface DescribeEnvironmentResponse {
782
2296
  /**
783
- * Ingress 规则配置
2297
+ * 环境信息
784
2298
  */
785
- Ingress: IngressInfo;
2299
+ Result: NamespaceInfo;
786
2300
  /**
787
- * 来源渠道
2301
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
788
2302
  */
789
- SourceChannel?: number;
2303
+ RequestId?: string;
790
2304
  }
791
2305
  /**
792
- * DescribeApplicationPods请求参数结构体
2306
+ * 命名空间对象
793
2307
  */
794
- export interface DescribeApplicationPodsRequest {
2308
+ export interface TemNamespaceInfo {
795
2309
  /**
796
2310
  * 环境id
797
2311
  */
798
2312
  EnvironmentId: string;
799
2313
  /**
800
- * 应用id
2314
+ * 渠道
801
2315
  */
802
- ApplicationId: string;
2316
+ Channel: string;
803
2317
  /**
804
- * 单页条数,默认值20
2318
+ * 环境名称
805
2319
  */
806
- Limit?: number;
2320
+ EnvironmentName: string;
807
2321
  /**
808
- * 分页下标,默认值0
2322
+ * 区域名称
809
2323
  */
810
- Offset?: number;
2324
+ Region: string;
811
2325
  /**
812
- * 实例状态
813
- - Running
814
- - Pending
815
- - Error
2326
+ * 环境描述
2327
+ 注意:此字段可能返回 null,表示取不到有效值。
816
2328
  */
817
- Status?: string;
2329
+ Description: string;
818
2330
  /**
819
- * 实例名字
2331
+ * 状态,1:已销毁;0:正常
820
2332
  */
821
- PodName?: string;
2333
+ Status: number;
2334
+ /**
2335
+ * vpc网络
2336
+ */
2337
+ Vpc: string;
2338
+ /**
2339
+ * 创建时间
2340
+ */
2341
+ CreateDate: string;
2342
+ /**
2343
+ * 修改时间
2344
+ */
2345
+ ModifyDate: string;
2346
+ /**
2347
+ * 修改人
2348
+ */
2349
+ Modifier: string;
2350
+ /**
2351
+ * 创建人
2352
+ */
2353
+ Creator: string;
2354
+ /**
2355
+ * 应用数
2356
+ */
2357
+ ApplicationNum: number;
2358
+ /**
2359
+ * 运行实例数
2360
+ */
2361
+ RunInstancesNum: number;
2362
+ /**
2363
+ * 子网络
2364
+ */
2365
+ SubnetId: string;
2366
+ /**
2367
+ * 环境集群 status
2368
+ */
2369
+ ClusterStatus: string;
2370
+ /**
2371
+ * 是否开启tsw
2372
+ */
2373
+ EnableTswTraceService: boolean;
2374
+ /**
2375
+ * 环境锁,1为上锁,0则为上锁
2376
+ */
2377
+ Locked: number;
2378
+ }
2379
+ /**
2380
+ * CreateApplicationAutoscaler请求参数结构体
2381
+ */
2382
+ export interface CreateApplicationAutoscalerRequest {
2383
+ /**
2384
+ * 服务id
2385
+ */
2386
+ ApplicationId: string;
2387
+ /**
2388
+ * 环境ID
2389
+ */
2390
+ EnvironmentId: string;
822
2391
  /**
823
2392
  * 来源渠道
824
2393
  */
825
2394
  SourceChannel?: number;
2395
+ /**
2396
+ * 弹性伸缩策略
2397
+ */
2398
+ Autoscaler?: Autoscaler;
826
2399
  }
827
2400
  /**
828
- * CreateApplication请求参数结构体
2401
+ * 配置
829
2402
  */
830
- export interface CreateApplicationRequest {
2403
+ export interface ConfigData {
831
2404
  /**
832
- * 应用名
2405
+ * 配置名称
833
2406
  */
834
- ApplicationName: string;
2407
+ Name: string;
835
2408
  /**
836
- * 描述
2409
+ * 创建时间
837
2410
  */
838
- Description: string;
2411
+ CreateTime: string;
839
2412
  /**
840
- * 是否使用默认镜像服务 1-是,0-否
2413
+ * 关联的服务列表
841
2414
  */
842
- UseDefaultImageService?: number;
2415
+ RelatedApplications: Array<TemService>;
843
2416
  /**
844
- * 如果是绑定仓库,绑定的仓库类型,0-个人版,1-企业版
2417
+ * 配置条目
845
2418
  */
846
- RepoType?: number;
2419
+ Data: Array<Pair>;
2420
+ }
2421
+ /**
2422
+ * ResumeDeployApplication请求参数结构体
2423
+ */
2424
+ export interface ResumeDeployApplicationRequest {
847
2425
  /**
848
- * 企业版镜像服务的实例id
2426
+ * 需要开始下一批次的服务id
849
2427
  */
850
- InstanceId?: string;
2428
+ ApplicationId?: string;
851
2429
  /**
852
- * 绑定镜像服务器地址
2430
+ * 环境id
853
2431
  */
854
- RepoServer?: string;
2432
+ EnvironmentId?: string;
2433
+ }
2434
+ /**
2435
+ * DescribeConfigData请求参数结构体
2436
+ */
2437
+ export interface DescribeConfigDataRequest {
855
2438
  /**
856
- * 绑定镜像仓库名
2439
+ * 环境 ID
857
2440
  */
858
- RepoName?: string;
2441
+ EnvironmentId: string;
2442
+ /**
2443
+ * 配置名
2444
+ */
2445
+ Name: string;
859
2446
  /**
860
2447
  * 来源渠道
861
2448
  */
862
2449
  SourceChannel?: number;
2450
+ }
2451
+ /**
2452
+ * 挂载配置信息
2453
+ */
2454
+ export interface MountedSettingConf {
863
2455
  /**
864
- * 应用所在子网
2456
+ * 配置名称
865
2457
  */
866
- SubnetList?: Array<string>;
2458
+ ConfigDataName: string;
867
2459
  /**
868
- * 编程语言
869
- - JAVA
870
- - OTHER
871
- */
872
- CodingLanguage?: string;
2460
+ * 挂载路径
2461
+ */
2462
+ MountedPath: string;
873
2463
  /**
874
- * 部署方式
875
- - IMAGE
876
- - JAR
877
- - WAR
878
- */
879
- DeployMode?: string;
2464
+ * 配置内容
2465
+ */
2466
+ Data?: Array<Pair>;
880
2467
  /**
881
- * 是否开启 Java 应用的 APM 自动上报功能,1 表示启用;0 表示关闭
2468
+ * 加密配置名称
882
2469
  */
883
- EnableTracing?: number;
2470
+ SecretDataName?: string;
2471
+ }
2472
+ /**
2473
+ * CreateLogConfig返回参数结构体
2474
+ */
2475
+ export interface CreateLogConfigResponse {
884
2476
  /**
885
- * 使用默认镜像服务额外参数
2477
+ * 创建是否成功
886
2478
  */
887
- UseDefaultImageServiceParameters?: UseDefaultRepoParameters;
2479
+ Result: boolean;
2480
+ /**
2481
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2482
+ */
2483
+ RequestId?: string;
888
2484
  }
889
2485
  /**
890
- * 开启prometheus监控配置
2486
+ * DescribeConfigDataList返回参数结构体
891
2487
  */
892
- export interface EnablePrometheusConf {
2488
+ export interface DescribeConfigDataListResponse {
893
2489
  /**
894
- * 应用开放的监听端口
2490
+ * 配置列表
895
2491
  */
896
- Port?: number;
2492
+ Result: DescribeConfigDataListPage;
897
2493
  /**
898
- * 业务指标暴露的url path
2494
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
899
2495
  */
900
- Path?: string;
2496
+ RequestId?: string;
901
2497
  }
902
2498
  /**
903
- * DescribeRelatedIngresses返回参数结构体
2499
+ * DescribePagedLogConfigList返回参数结构体
904
2500
  */
905
- export interface DescribeRelatedIngressesResponse {
2501
+ export interface DescribePagedLogConfigListResponse {
906
2502
  /**
907
- * ingress 数组
908
- 注意:此字段可能返回 null,表示取不到有效值。
909
- */
910
- Result: Array<IngressInfo>;
2503
+ * 日志收集配置列表
2504
+ */
2505
+ Result: LogConfigListPage;
911
2506
  /**
912
2507
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
913
2508
  */
914
2509
  RequestId?: string;
915
2510
  }
916
2511
  /**
917
- * DescribeIngresses请求参数结构体
2512
+ * 健康检查配置
918
2513
  */
919
- export interface DescribeIngressesRequest {
2514
+ export interface HealthCheckConfig {
920
2515
  /**
921
- * 环境 id
2516
+ * 支持的健康检查类型,如 HttpGet,TcpSocket,Exec
922
2517
  */
923
- EnvironmentId?: string;
2518
+ Type: string;
924
2519
  /**
925
- * 环境 namespace
2520
+ * 仅当健康检查类型为 HttpGet 时有效,表示协议类型,如 HTTP,HTTPS
926
2521
  */
927
- ClusterNamespace?: string;
2522
+ Protocol?: string;
928
2523
  /**
929
- * 来源渠道
2524
+ * 仅当健康检查类型为 HttpGet 时有效,表示请求路径
930
2525
  */
931
- SourceChannel?: number;
2526
+ Path?: string;
932
2527
  /**
933
- * ingress 规则名列表
2528
+ * 仅当健康检查类型为 Exec 时有效,表示执行的脚本内容
934
2529
  */
935
- IngressNames?: Array<string>;
2530
+ Exec?: string;
2531
+ /**
2532
+ * 仅当健康检查类型为 HttpGet\TcpSocket 时有效,表示请求路径
2533
+ */
2534
+ Port?: number;
2535
+ /**
2536
+ * 检查延迟开始时间,单位为秒,默认为 0
2537
+ */
2538
+ InitialDelaySeconds?: number;
2539
+ /**
2540
+ * 超时时间,单位为秒,默认为 1
2541
+ */
2542
+ TimeoutSeconds?: number;
2543
+ /**
2544
+ * 间隔时间,单位为秒,默认为 10
2545
+ */
2546
+ PeriodSeconds?: number;
936
2547
  }
937
2548
  /**
938
- * 版本pod列表
2549
+ * 分批发布单批次详情
939
2550
  */
940
- export interface DescribeRunPodPage {
2551
+ export interface DeployServiceBatchDetail {
941
2552
  /**
942
- * 分页下标
943
- */
944
- Offset: number;
2553
+ * 旧实例列表
2554
+ 注意:此字段可能返回 null,表示取不到有效值。
2555
+ */
2556
+ OldPodList?: DeployServicePodDetail;
2557
+ /**
2558
+ * 新实例列表
2559
+ 注意:此字段可能返回 null,表示取不到有效值。
2560
+ */
2561
+ NewPodList?: DeployServicePodDetail;
2562
+ /**
2563
+ * 当前批次状态:"WaitForTimeExceed", "WaitForResume", "Deploying", "Finish", "NotStart"
2564
+ 注意:此字段可能返回 null,表示取不到有效值。
2565
+ */
2566
+ BatchStatus?: string;
2567
+ /**
2568
+ * 该批次预计旧实例数量
2569
+ 注意:此字段可能返回 null,表示取不到有效值。
2570
+ */
2571
+ PodNum?: number;
945
2572
  /**
946
- * 单页条数
947
- */
948
- Limit: number;
2573
+ * 批次id
2574
+ 注意:此字段可能返回 null,表示取不到有效值。
2575
+ */
2576
+ BatchIndex?: number;
949
2577
  /**
950
- * 总数
951
- */
952
- TotalCount: number;
2578
+ * 旧实例列表
2579
+ 注意:此字段可能返回 null,表示取不到有效值。
2580
+ */
2581
+ OldPods?: Array<DeployServicePodDetail>;
953
2582
  /**
954
- * 请求id
955
- */
956
- RequestId: string;
2583
+ * 新实例列表
2584
+ 注意:此字段可能返回 null,表示取不到有效值。
2585
+ */
2586
+ NewPods?: Array<DeployServicePodDetail>;
957
2587
  /**
958
- * 条目
959
- */
960
- PodList: Array<RunVersionPod>;
2588
+ * =0:手动确认批次;>0:下一批次开始时间戳
2589
+ 注意:此字段可能返回 null,表示取不到有效值。
2590
+ */
2591
+ NextBatchStartTime?: number;
961
2592
  }
962
2593
  /**
963
- * ingress tls 配置
2594
+ * 弹性伸缩策略组合
964
2595
  */
965
- export interface IngressTls {
2596
+ export interface Autoscaler {
966
2597
  /**
967
- * host 数组, 空数组表示全部域名的默认证书
2598
+ * 弹性伸缩最小实例数
968
2599
  */
969
- Hosts: Array<string>;
2600
+ MinReplicas: number;
970
2601
  /**
971
- * secret name,如使用证书,则填空字符串
2602
+ * 弹性伸缩最大实例数
972
2603
  */
973
- SecretName: string;
2604
+ MaxReplicas: number;
974
2605
  /**
975
- * SSL Certificate Id
976
- */
977
- CertificateId?: string;
978
- }
979
- /**
980
- * 分批发布单批次详情
981
- */
982
- export interface DeployServicePodDetail {
2606
+ * 指标弹性伸缩策略
2607
+ 注意:此字段可能返回 null,表示取不到有效值。
2608
+ */
2609
+ HorizontalAutoscaler?: Array<HorizontalAutoscaler>;
983
2610
  /**
984
- * pod Id
2611
+ * 定时弹性伸缩策略
985
2612
  注意:此字段可能返回 null,表示取不到有效值。
986
2613
  */
987
- PodId?: string;
2614
+ CronHorizontalAutoscaler?: Array<CronHorizontalAutoscaler>;
988
2615
  /**
989
- * pod状态
2616
+ * 弹性伸缩ID
990
2617
  注意:此字段可能返回 null,表示取不到有效值。
991
2618
  */
992
- PodStatus?: Array<string>;
2619
+ AutoscalerId?: string;
993
2620
  /**
994
- * pod版本
2621
+ * 弹性伸缩名称
995
2622
  注意:此字段可能返回 null,表示取不到有效值。
996
2623
  */
997
- PodVersion?: string;
2624
+ AutoscalerName?: string;
998
2625
  /**
999
- * pod创建时间
2626
+ * 弹性伸缩描述
1000
2627
  注意:此字段可能返回 null,表示取不到有效值。
1001
2628
  */
1002
- CreateTime?: string;
2629
+ Description?: string;
1003
2630
  /**
1004
- * pod所在可用区
2631
+ * 创建日期
1005
2632
  注意:此字段可能返回 null,表示取不到有效值。
1006
2633
  */
1007
- Zone?: string;
2634
+ CreateDate?: string;
1008
2635
  /**
1009
- * webshell地址
2636
+ * 修改时间
1010
2637
  注意:此字段可能返回 null,表示取不到有效值。
1011
2638
  */
1012
- Webshell?: string;
2639
+ ModifyDate?: string;
2640
+ /**
2641
+ * 启用时间
2642
+ 注意:此字段可能返回 null,表示取不到有效值。
2643
+ */
2644
+ EnableDate?: string;
2645
+ /**
2646
+ * 是否启用
2647
+ 注意:此字段可能返回 null,表示取不到有效值。
2648
+ */
2649
+ Enabled?: boolean;
1013
2650
  }
1014
2651
  /**
1015
- * ModifyApplicationReplicas返回参数结构体
2652
+ * CreateConfigData请求参数结构体
1016
2653
  */
1017
- export interface ModifyApplicationReplicasResponse {
2654
+ export interface CreateConfigDataRequest {
1018
2655
  /**
1019
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2656
+ * 环境 ID
1020
2657
  */
1021
- RequestId?: string;
2658
+ EnvironmentId: string;
2659
+ /**
2660
+ * 配置名
2661
+ */
2662
+ Name: string;
2663
+ /**
2664
+ * 来源渠道
2665
+ */
2666
+ SourceChannel?: number;
2667
+ /**
2668
+ * 配置信息
2669
+ */
2670
+ Data?: Array<Pair>;
1022
2671
  }
1023
2672
  /**
1024
- * ModifyApplicationReplicas请求参数结构体
2673
+ * 配置信息的分页列表
1025
2674
  */
1026
- export interface ModifyApplicationReplicasRequest {
2675
+ export interface DescribeConfigDataListPage {
1027
2676
  /**
1028
- * 服务id
2677
+ * 记录
2678
+ */
2679
+ Records: Array<ConfigData>;
2680
+ /**
2681
+ * 分页游标,用以查询下一页
2682
+ 注意:此字段可能返回 null,表示取不到有效值。
2683
+ */
2684
+ ContinueToken: string;
2685
+ /**
2686
+ * 剩余数目
2687
+ 注意:此字段可能返回 null,表示取不到有效值。
2688
+ */
2689
+ RemainingCount: number;
2690
+ }
2691
+ /**
2692
+ * DeployApplication请求参数结构体
2693
+ */
2694
+ export interface DeployApplicationRequest {
2695
+ /**
2696
+ * 应用ID
1029
2697
  */
1030
2698
  ApplicationId: string;
2699
+ /**
2700
+ * 初始化 pod 数
2701
+ */
2702
+ InitPodNum: number;
2703
+ /**
2704
+ * cpu规格
2705
+ */
2706
+ CpuSpec: number;
2707
+ /**
2708
+ * 内存规格
2709
+ */
2710
+ MemorySpec: number;
1031
2711
  /**
1032
2712
  * 环境ID
1033
2713
  */
1034
2714
  EnvironmentId: string;
1035
2715
  /**
1036
- * 实例数量
2716
+ * 镜像仓库
1037
2717
  */
1038
- Replicas: number;
2718
+ ImgRepo?: string;
1039
2719
  /**
1040
- * 来源渠道
2720
+ * 版本描述信息
1041
2721
  */
1042
- SourceChannel?: number;
1043
- }
1044
- /**
1045
- * 日志输出配置
1046
- */
1047
- export interface LogOutputConf {
2722
+ VersionDesc?: string;
1048
2723
  /**
1049
- * 日志消费端类型
2724
+ * 启动参数
1050
2725
  */
1051
- OutputType: string;
2726
+ JvmOpts?: string;
1052
2727
  /**
1053
- * cls日志集
2728
+ * 弹性伸缩配置(已废弃,请使用HorizontalAutoscaler设置弹性策略)
1054
2729
  */
1055
- ClsLogsetName?: string;
2730
+ EsInfo?: EsInfo;
1056
2731
  /**
1057
- * cls日志主题
2732
+ * 环境变量配置
1058
2733
  */
1059
- ClsLogTopicId?: string;
2734
+ EnvConf?: Array<Pair>;
1060
2735
  /**
1061
- * cls日志集id
2736
+ * 日志配置
1062
2737
  */
1063
- ClsLogsetId?: string;
2738
+ LogConfs?: Array<string>;
1064
2739
  /**
1065
- * cls日志名称
2740
+ * 数据卷配置
1066
2741
  */
1067
- ClsLogTopicName?: string;
1068
- }
1069
- /**
1070
- * DescribeIngresses返回参数结构体
1071
- */
1072
- export interface DescribeIngressesResponse {
2742
+ StorageConfs?: Array<StorageConf>;
1073
2743
  /**
1074
- * ingress 数组
1075
- 注意:此字段可能返回 null,表示取不到有效值。
2744
+ * 数据卷挂载配置
2745
+ */
2746
+ StorageMountConfs?: Array<StorageMountConf>;
2747
+ /**
2748
+ * 部署类型。
2749
+ - JAR:通过 jar 包部署
2750
+ - WAR:通过 war 包部署
2751
+ - IMAGE:通过镜像部署
1076
2752
  */
1077
- Result: Array<IngressInfo>;
2753
+ DeployMode?: string;
1078
2754
  /**
1079
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
1080
- */
1081
- RequestId?: string;
1082
- }
1083
- /**
1084
- * DeleteIngress返回参数结构体
1085
- */
1086
- export interface DeleteIngressResponse {
2755
+ * 部署类型为 IMAGE 时,该参数表示镜像 tag
2756
+ 部署类型为 JAR/WAR 时,该参数表示包版本号。
2757
+ */
2758
+ DeployVersion?: string;
1087
2759
  /**
1088
- * 是否删除成功
2760
+ * 包名。使用 JAR 包或者 WAR 包部署的时候必填。
1089
2761
  */
1090
- Result: boolean;
2762
+ PkgName?: string;
1091
2763
  /**
1092
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2764
+ * JDK 版本。
2765
+ - KONA:8:使用 kona jdk 8。
2766
+ - OPEN:8:使用 open jdk 8。
2767
+ - KONA:11:使用 kona jdk 11。
2768
+ - OPEN:11:使用 open jdk 11。
2769
+ */
2770
+ JdkVersion?: string;
2771
+ /**
2772
+ * 安全组ID s
1093
2773
  */
1094
- RequestId?: string;
1095
- }
1096
- /**
1097
- * DestroyEnvironment请求参数结构体
1098
- */
1099
- export interface DestroyEnvironmentRequest {
2774
+ SecurityGroupIds?: Array<string>;
1100
2775
  /**
1101
- * 命名空间ID
2776
+ * 日志输出配置
1102
2777
  */
1103
- EnvironmentId: string;
2778
+ LogOutputConf?: LogOutputConf;
1104
2779
  /**
1105
- * Namespace
2780
+ * 来源渠道
1106
2781
  */
1107
2782
  SourceChannel?: number;
1108
- }
1109
- /**
1110
- * 命名空间对象
1111
- */
1112
- export interface TemNamespaceInfo {
1113
2783
  /**
1114
- * 环境id
2784
+ * 版本描述
1115
2785
  */
1116
- EnvironmentId: string;
2786
+ Description?: string;
1117
2787
  /**
1118
- * 渠道
2788
+ * 镜像命令
1119
2789
  */
1120
- Channel: string;
2790
+ ImageCommand?: string;
1121
2791
  /**
1122
- * 环境名称
2792
+ * 镜像命令参数
1123
2793
  */
1124
- EnvironmentName: string;
2794
+ ImageArgs?: Array<string>;
1125
2795
  /**
1126
- * 区域名称
2796
+ * 是否添加默认注册中心配置
1127
2797
  */
1128
- Region: string;
2798
+ UseRegistryDefaultConfig?: boolean;
1129
2799
  /**
1130
- * 环境描述
1131
- 注意:此字段可能返回 null,表示取不到有效值。
1132
- */
1133
- Description: string;
2800
+ * 挂载配置信息
2801
+ */
2802
+ SettingConfs?: Array<MountedSettingConf>;
1134
2803
  /**
1135
- * 状态,1:已销毁;0:正常
2804
+ * 应用访问设置
1136
2805
  */
1137
- Status: number;
2806
+ Service?: EksService;
1138
2807
  /**
1139
- * vpc网络
2808
+ * 要回滚到的历史版本id
1140
2809
  */
1141
- Vpc: string;
2810
+ VersionId?: string;
1142
2811
  /**
1143
- * 创建时间
2812
+ * 启动后执行的脚本
1144
2813
  */
1145
- CreateDate: string;
2814
+ PostStart?: string;
1146
2815
  /**
1147
- * 修改时间
2816
+ * 停止前执行的脚本
1148
2817
  */
1149
- ModifyDate: string;
2818
+ PreStop?: string;
1150
2819
  /**
1151
- * 修改人
2820
+ * 存活探针配置
1152
2821
  */
1153
- Modifier: string;
2822
+ Liveness?: HealthCheckConfig;
2823
+ /**
2824
+ * 就绪探针配置
2825
+ */
2826
+ Readiness?: HealthCheckConfig;
2827
+ /**
2828
+ * 分批发布策略配置
2829
+ */
2830
+ DeployStrategyConf?: DeployStrategyConf;
1154
2831
  /**
1155
- * 创建人
2832
+ * 弹性策略(已弃用,请使用弹性伸缩策略组合相关接口)
1156
2833
  */
1157
- Creator: string;
2834
+ HorizontalAutoscaler?: Array<HorizontalAutoscaler>;
1158
2835
  /**
1159
- * 应用数
2836
+ * 定时弹性策略(已弃用,请使用弹性伸缩策略组合相关接口)
1160
2837
  */
1161
- ApplicationNum: number;
2838
+ CronHorizontalAutoscaler?: Array<CronHorizontalAutoscaler>;
1162
2839
  /**
1163
- * 运行实例数
2840
+ * 是否启用log,1为启用,0为不启用
1164
2841
  */
1165
- RunInstancesNum: number;
2842
+ LogEnable?: number;
1166
2843
  /**
1167
- * 子网络
2844
+ * (除开镜像配置)配置是否修改
1168
2845
  */
1169
- SubnetId: string;
2846
+ ConfEdited?: boolean;
1170
2847
  /**
1171
- * 环境集群 status
2848
+ * 是否开启应用加速
1172
2849
  */
1173
- ClusterStatus: string;
2850
+ SpeedUp?: boolean;
1174
2851
  /**
1175
- * 是否开启tsw
2852
+ * 启动探针配置
1176
2853
  */
1177
- EnableTswTraceService: boolean;
2854
+ StartupProbe?: HealthCheckConfig;
1178
2855
  /**
1179
- * 环境锁,1为上锁,0则为上锁
2856
+ * 操作系统版本;
2857
+ 当选择openjdk时,可选参数:
2858
+ - ALPINE
2859
+ - CENTOS
2860
+ 当选择konajdk时,可选参数:
2861
+ - ALPINE
2862
+ - TENCENTOS
2863
+ */
2864
+ OsFlavour?: string;
2865
+ /**
2866
+ * metrics业务指标监控配置
1180
2867
  */
1181
- Locked: number;
2868
+ EnablePrometheusConf?: EnablePrometheusConf;
2869
+ /**
2870
+ * 1:开始自动apm采集(skywalking);
2871
+ 0:关闭apm采集;
2872
+ */
2873
+ EnableTracing?: number;
2874
+ /**
2875
+ * 1:开始自动metrics采集(open-telemetry);
2876
+ 0:关闭metrics采集;
2877
+ */
2878
+ EnableMetrics?: number;
1182
2879
  }
1183
2880
  /**
1184
- * GenerateApplicationPackageDownloadUrl返回参数结构体
2881
+ * DescribeApplicationAutoscalerList返回参数结构体
1185
2882
  */
1186
- export interface GenerateApplicationPackageDownloadUrlResponse {
2883
+ export interface DescribeApplicationAutoscalerListResponse {
1187
2884
  /**
1188
- * 包下载临时链接
2885
+ * 弹性伸缩策略组合
1189
2886
  注意:此字段可能返回 null,表示取不到有效值。
1190
2887
  */
1191
- Result: string;
2888
+ Result: Array<Autoscaler>;
1192
2889
  /**
1193
2890
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1194
2891
  */
1195
2892
  RequestId?: string;
1196
2893
  }
1197
2894
  /**
1198
- * Ingress 规则 backend 配置
2895
+ * DestroyConfigData请求参数结构体
1199
2896
  */
1200
- export interface IngressRuleBackend {
1201
- /**
1202
- * eks service 名
1203
- */
1204
- ServiceName: string;
2897
+ export interface DestroyConfigDataRequest {
1205
2898
  /**
1206
- * eks service 端口
2899
+ * 环境 ID
1207
2900
  */
1208
- ServicePort: number;
1209
- }
1210
- /**
1211
- * DescribeIngress返回参数结构体
1212
- */
1213
- export interface DescribeIngressResponse {
2901
+ EnvironmentId: string;
1214
2902
  /**
1215
- * Ingress 规则配置
2903
+ * 配置名
1216
2904
  */
1217
- Result: IngressInfo;
2905
+ Name: string;
1218
2906
  /**
1219
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2907
+ * 来源渠道
1220
2908
  */
1221
- RequestId?: string;
2909
+ SourceChannel?: number;
1222
2910
  }
1223
2911
  /**
1224
- * CreateCosToken返回参数结构体
2912
+ * DestroyConfigData返回参数结构体
1225
2913
  */
1226
- export interface CreateCosTokenResponse {
2914
+ export interface DestroyConfigDataResponse {
1227
2915
  /**
1228
- * 成功时为CosToken对象,失败为null
1229
- 注意:此字段可能返回 null,表示取不到有效值。
1230
- */
1231
- Result: CosToken;
2916
+ * 返回结果
2917
+ */
2918
+ Result: boolean;
1232
2919
  /**
1233
2920
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1234
2921
  */
1235
2922
  RequestId?: string;
1236
2923
  }
1237
2924
  /**
1238
- * ingress rule 配置
2925
+ * DescribeApplications请求参数结构体
1239
2926
  */
1240
- export interface IngressRule {
2927
+ export interface DescribeApplicationsRequest {
1241
2928
  /**
1242
- * ingress rule value
2929
+ * 命名空间ID
1243
2930
  */
1244
- Http: IngressRuleValue;
1245
- /**
1246
- * host 地址
1247
- 注意:此字段可能返回 null,表示取不到有效值。
1248
- */
1249
- Host?: string;
2931
+ EnvironmentId?: string;
1250
2932
  /**
1251
- * 协议,选项为 http, https,默认为 http
2933
+ * 分页Limit
1252
2934
  */
1253
- Protocol?: string;
1254
- }
1255
- /**
1256
- * 定时伸缩策略
1257
- */
1258
- export interface CronHorizontalAutoscaler {
2935
+ Limit?: number;
1259
2936
  /**
1260
- * 定时伸缩策略名称
2937
+ * 分页offset
1261
2938
  */
1262
- Name?: string;
1263
- /**
1264
- * 策略周期
1265
- * * *,三个范围,第一个是天,第二个是月,第三个是周,中间用空格隔开
1266
- 例子:
1267
- * * * (每天)
1268
- * * 0-3 (每周日到周三)
1269
- 1,11,21 * *(每个月1号,11号,21号)
1270
- */
1271
- Period?: string;
2939
+ Offset?: number;
1272
2940
  /**
1273
- * 定时伸缩策略明细
2941
+ * 来源渠道
1274
2942
  */
1275
- Schedules?: Array<CronHorizontalAutoscalerSchedule>;
2943
+ SourceChannel?: number;
1276
2944
  /**
1277
- * 是否启用
2945
+ * 服务id
1278
2946
  */
1279
- Enabled?: boolean;
2947
+ ApplicationId?: string;
1280
2948
  /**
1281
- * 策略优先级,值越大优先级越高,0为最小值
2949
+ * 搜索关键字
1282
2950
  */
1283
- Priority?: number;
2951
+ Keyword?: string;
1284
2952
  }
1285
2953
  /**
1286
- * DescribeApplicationsStatus请求参数结构体
2954
+ * DescribeApplicationInfo请求参数结构体
1287
2955
  */
1288
- export interface DescribeApplicationsStatusRequest {
2956
+ export interface DescribeApplicationInfoRequest {
2957
+ /**
2958
+ * 服务版本ID
2959
+ */
2960
+ ApplicationId: string;
1289
2961
  /**
1290
2962
  * 来源渠道
1291
2963
  */
@@ -1296,196 +2968,251 @@ export interface DescribeApplicationsStatusRequest {
1296
2968
  EnvironmentId?: string;
1297
2969
  }
1298
2970
  /**
1299
- * RollingUpdateApplicationByVersion返回参数结构体
2971
+ * CreateApplication请求参数结构体
1300
2972
  */
1301
- export interface RollingUpdateApplicationByVersionResponse {
2973
+ export interface CreateApplicationRequest {
1302
2974
  /**
1303
- * 版本ID
2975
+ * 应用名
1304
2976
  */
1305
- Result: string;
2977
+ ApplicationName: string;
1306
2978
  /**
1307
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2979
+ * 描述
1308
2980
  */
1309
- RequestId?: string;
1310
- }
1311
- /**
1312
- * RollingUpdateApplicationByVersion请求参数结构体
1313
- */
1314
- export interface RollingUpdateApplicationByVersionRequest {
2981
+ Description: string;
1315
2982
  /**
1316
- * 应用ID
2983
+ * 是否使用默认镜像服务 1-是,0-否
1317
2984
  */
1318
- ApplicationId: string;
2985
+ UseDefaultImageService?: number;
1319
2986
  /**
1320
- * 环境ID
2987
+ * 如果是绑定仓库,绑定的仓库类型,0-个人版,1-企业版
1321
2988
  */
1322
- EnvironmentId: string;
2989
+ RepoType?: number;
1323
2990
  /**
1324
- * 更新版本,IMAGE 部署为 tag 值;JAR/WAR 部署 为 Version
2991
+ * 企业版镜像服务的实例id
1325
2992
  */
1326
- DeployVersion: string;
2993
+ InstanceId?: string;
1327
2994
  /**
1328
- * JAR/WAR 包名,仅 JAR/WAR 部署时必填
2995
+ * 绑定镜像服务器地址
1329
2996
  */
1330
- PackageName?: string;
2997
+ RepoServer?: string;
1331
2998
  /**
1332
- * 请求来源平台,含 IntelliJ,Coding
2999
+ * 绑定镜像仓库名
1333
3000
  */
1334
- From?: string;
3001
+ RepoName?: string;
1335
3002
  /**
1336
- * 部署策略,AUTO 为全自动;BETA 为小批量验证后自动;MANUAL 为全手动;
3003
+ * 来源渠道
1337
3004
  */
1338
- DeployStrategyType?: string;
3005
+ SourceChannel?: number;
1339
3006
  /**
1340
- * 发布批次数
3007
+ * 应用所在子网
1341
3008
  */
1342
- TotalBatchCount?: number;
3009
+ SubnetList?: Array<string>;
1343
3010
  /**
1344
- * 批次间隔时间
3011
+ * 编程语言
3012
+ - JAVA
3013
+ - OTHER
3014
+ */
3015
+ CodingLanguage?: string;
3016
+ /**
3017
+ * 部署方式
3018
+ - IMAGE
3019
+ - JAR
3020
+ - WAR
3021
+ */
3022
+ DeployMode?: string;
3023
+ /**
3024
+ * 是否开启 Java 应用的 APM 自动上报功能,1 表示启用;0 表示关闭
1345
3025
  */
1346
- BatchInterval?: number;
3026
+ EnableTracing?: number;
1347
3027
  /**
1348
- * 小批量验证批次的实例数
3028
+ * 使用默认镜像服务额外参数
1349
3029
  */
1350
- BetaBatchNum?: number;
3030
+ UseDefaultImageServiceParameters?: UseDefaultRepoParameters;
3031
+ }
3032
+ /**
3033
+ * 命名空间状态
3034
+ */
3035
+ export interface NamespaceStatusInfo {
1351
3036
  /**
1352
- * 发布过程中保障的最小可用实例数
3037
+ * 命名空间id
1353
3038
  */
1354
- MinAvailable?: number;
3039
+ EnvironmentId: string;
3040
+ /**
3041
+ * 命名空间名称
3042
+ */
3043
+ EnvironmentName: string;
3044
+ /**
3045
+ * TCB envId | EKS clusterId
3046
+ */
3047
+ ClusterId?: string;
3048
+ /**
3049
+ * 环境状态
3050
+ */
3051
+ ClusterStatus?: string;
3052
+ /**
3053
+ * 环境启动状态(不在启动中为null)
3054
+ 注意:此字段可能返回 null,表示取不到有效值。
3055
+ */
3056
+ EnvironmentStartingStatus?: TemEnvironmentStartingStatus;
3057
+ /**
3058
+ * 环境停止状态(不在停止中为null)
3059
+ 注意:此字段可能返回 null,表示取不到有效值。
3060
+ */
3061
+ EnvironmentStoppingStatus?: TemEnvironmentStoppingStatus;
1355
3062
  }
1356
3063
  /**
1357
- * 应用实例
3064
+ * 版本pod列表
1358
3065
  */
1359
- export interface RunVersionPod {
3066
+ export interface DescribeRunPodPage {
1360
3067
  /**
1361
- * shell地址
3068
+ * 分页下标
1362
3069
  */
1363
- Webshell: string;
3070
+ Offset: number;
1364
3071
  /**
1365
- * pod的id
3072
+ * 单页条数
1366
3073
  */
1367
- PodId: string;
3074
+ Limit: number;
1368
3075
  /**
1369
- * 状态
3076
+ * 总数
1370
3077
  */
1371
- Status: string;
3078
+ TotalCount: number;
1372
3079
  /**
1373
- * 创建时间
3080
+ * 请求id
1374
3081
  */
1375
- CreateTime: string;
3082
+ RequestId: string;
1376
3083
  /**
1377
- * 实例的ip
3084
+ * 条目
1378
3085
  */
1379
- PodIp: string;
3086
+ PodList: Array<RunVersionPod>;
3087
+ }
3088
+ /**
3089
+ * ModifyApplicationReplicas返回参数结构体
3090
+ */
3091
+ export interface ModifyApplicationReplicasResponse {
1380
3092
  /**
1381
- * 可用区
3093
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3094
+ */
3095
+ RequestId?: string;
3096
+ }
3097
+ /**
3098
+ * 创建应用,创建仓库参数
3099
+ */
3100
+ export interface UseDefaultRepoParameters {
3101
+ /**
3102
+ * 企业版实例名
1382
3103
  注意:此字段可能返回 null,表示取不到有效值。
1383
3104
  */
1384
- Zone: string;
3105
+ EnterpriseInstanceName: string;
1385
3106
  /**
1386
- * 部署版本
3107
+ * 企业版收费类型 0 按量收费 1 包年包月
1387
3108
  注意:此字段可能返回 null,表示取不到有效值。
1388
3109
  */
1389
- DeployVersion: string;
3110
+ EnterpriseInstanceChargeType: number;
1390
3111
  /**
1391
- * 重启次数
3112
+ * 企业版规格:basic-基础班 ,standard-标准版,premium-高级版
1392
3113
  注意:此字段可能返回 null,表示取不到有效值。
1393
3114
  */
1394
- RestartCount: number;
3115
+ EnterpriseInstanceType: string;
3116
+ }
3117
+ /**
3118
+ * 定时伸缩策略明细
3119
+ */
3120
+ export interface CronHorizontalAutoscalerSchedule {
1395
3121
  /**
1396
- * pod是否就绪
1397
- 注意:此字段可能返回 null,表示取不到有效值。
3122
+ * 触发事件,小时分钟,用:分割
3123
+ 例如
3124
+ 00:00(零点零分触发)
1398
3125
  */
1399
- Ready: boolean;
3126
+ StartAt: string;
1400
3127
  /**
1401
- * 容器状态
3128
+ * 目标实例数(不大于50)
1402
3129
  注意:此字段可能返回 null,表示取不到有效值。
1403
3130
  */
1404
- ContainerState: string;
3131
+ TargetReplicas?: number;
1405
3132
  }
1406
3133
  /**
1407
- * DescribeDeployApplicationDetail返回参数结构体
3134
+ * ModifyEnvironment请求参数结构体
1408
3135
  */
1409
- export interface DescribeDeployApplicationDetailResponse {
3136
+ export interface ModifyEnvironmentRequest {
1410
3137
  /**
1411
- * 分批发布结果详情
3138
+ * 环境id
1412
3139
  */
1413
- Result: TemDeployApplicationDetailInfo;
3140
+ EnvironmentId: string;
1414
3141
  /**
1415
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3142
+ * 环境名称
1416
3143
  */
1417
- RequestId?: string;
1418
- }
1419
- /**
1420
- * Ingress Rule Value 配置
1421
- */
1422
- export interface IngressRuleValue {
3144
+ EnvironmentName?: string;
1423
3145
  /**
1424
- * rule 整体配置
3146
+ * 环境描述
1425
3147
  */
1426
- Paths: Array<IngressRulePath>;
3148
+ Description?: string;
3149
+ /**
3150
+ * 私有网络名称
3151
+ */
3152
+ Vpc?: string;
3153
+ /**
3154
+ * 子网网络
3155
+ */
3156
+ SubnetIds?: Array<string>;
3157
+ /**
3158
+ * 来源渠道
3159
+ */
3160
+ SourceChannel?: number;
1427
3161
  }
1428
3162
  /**
1429
- * CreateResource返回参数结构体
3163
+ * GenerateApplicationPackageDownloadUrl返回参数结构体
1430
3164
  */
1431
- export interface CreateResourceResponse {
3165
+ export interface GenerateApplicationPackageDownloadUrlResponse {
1432
3166
  /**
1433
- * 成功与否
3167
+ * 包下载临时链接
1434
3168
  注意:此字段可能返回 null,表示取不到有效值。
1435
3169
  */
1436
- Result: boolean;
3170
+ Result: string;
1437
3171
  /**
1438
3172
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1439
3173
  */
1440
3174
  RequestId?: string;
1441
3175
  }
1442
3176
  /**
1443
- * ModifyApplicationInfo请求参数结构体
3177
+ * Ingress 规则 backend 配置
1444
3178
  */
1445
- export interface ModifyApplicationInfoRequest {
1446
- /**
1447
- * 应用ID
1448
- */
1449
- ApplicationId: string;
1450
- /**
1451
- * 描述
1452
- */
1453
- Description: string;
3179
+ export interface IngressRuleBackend {
1454
3180
  /**
1455
- * 来源渠道
3181
+ * eks service 名
1456
3182
  */
1457
- SourceChannel?: number;
3183
+ ServiceName: string;
1458
3184
  /**
1459
- * 是否开启调用链,(此参数已弃用)
3185
+ * eks service 端口
1460
3186
  */
1461
- EnableTracing?: number;
3187
+ ServicePort: number;
1462
3188
  }
1463
3189
  /**
1464
- * ModifyApplicationInfo返回参数结构体
3190
+ * DescribeIngress返回参数结构体
1465
3191
  */
1466
- export interface ModifyApplicationInfoResponse {
3192
+ export interface DescribeIngressResponse {
1467
3193
  /**
1468
- * 成功与否
1469
- 注意:此字段可能返回 null,表示取不到有效值。
1470
- */
1471
- Result: boolean;
3194
+ * Ingress 规则配置
3195
+ */
3196
+ Result: IngressInfo;
1472
3197
  /**
1473
3198
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1474
3199
  */
1475
3200
  RequestId?: string;
1476
3201
  }
1477
3202
  /**
1478
- * DeleteApplication返回参数结构体
3203
+ * 工作负载详情
1479
3204
  */
1480
- export interface DeleteApplicationResponse {
3205
+ export interface WorkloadInfo {
1481
3206
  /**
1482
- * 返回结果
1483
- */
1484
- Result: boolean;
3207
+ * 资源 ID
3208
+ 注意:此字段可能返回 null,表示取不到有效值。
3209
+ */
3210
+ ClusterId: string;
1485
3211
  /**
1486
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1487
- */
1488
- RequestId?: string;
3212
+ * 应用名
3213
+ 注意:此字段可能返回 null,表示取不到有效值。
3214
+ */
3215
+ ApplicationName: string;
1489
3216
  }
1490
3217
  /**
1491
3218
  * Ingress Rule Path 配置
@@ -1501,90 +3228,85 @@ export interface IngressRulePath {
1501
3228
  Backend: IngressRuleBackend;
1502
3229
  }
1503
3230
  /**
1504
- * CreateEnvironment返回参数结构体
3231
+ * Namespace 基础信息
1505
3232
  */
1506
- export interface CreateEnvironmentResponse {
1507
- /**
1508
- * 成功时为环境ID,失败为null
1509
- 注意:此字段可能返回 null,表示取不到有效值。
1510
- */
1511
- Result: string;
3233
+ export interface NamespaceInfo {
1512
3234
  /**
1513
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3235
+ * ID 信息
1514
3236
  */
1515
- RequestId?: string;
1516
- }
1517
- /**
1518
- * 命名空间分页
1519
- */
1520
- export interface NamespacePage {
3237
+ EnvironmentId: string;
1521
3238
  /**
1522
- * 分页内容
3239
+ * 名字(已弃用)
1523
3240
  */
1524
- Records: Array<TemNamespaceInfo>;
3241
+ NamespaceName: string;
1525
3242
  /**
1526
- * 总数
3243
+ * 地域
1527
3244
  */
1528
- Total: number;
3245
+ Region: string;
1529
3246
  /**
1530
- * 条目数
3247
+ * vpc id
1531
3248
  */
1532
- Size: number;
3249
+ VpcId: string;
1533
3250
  /**
1534
- * 页数
3251
+ * subnet id 数组
1535
3252
  */
1536
- Pages: number;
1537
- }
1538
- /**
1539
- * DestroyEnvironment返回参数结构体
1540
- */
1541
- export interface DestroyEnvironmentResponse {
3253
+ SubnetIds: Array<string>;
1542
3254
  /**
1543
- * 返回结果
3255
+ * 描述
1544
3256
  */
1545
- Result: boolean;
3257
+ Description: string;
1546
3258
  /**
1547
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3259
+ * 创建时间
1548
3260
  */
1549
- RequestId?: string;
3261
+ CreatedDate: string;
3262
+ /**
3263
+ * 环境名称
3264
+ 注意:此字段可能返回 null,表示取不到有效值。
3265
+ */
3266
+ EnvironmentName: string;
3267
+ /**
3268
+ * APM 资源 ID
3269
+ 注意:此字段可能返回 null,表示取不到有效值。
3270
+ */
3271
+ ApmInstanceId: string;
3272
+ /**
3273
+ * 环境是否上锁,1为上锁,0则未上锁
3274
+ 注意:此字段可能返回 null,表示取不到有效值。
3275
+ */
3276
+ Locked: number;
1550
3277
  }
1551
3278
  /**
1552
- * CreateApplication返回参数结构体
3279
+ * DescribeLogConfig返回参数结构体
1553
3280
  */
1554
- export interface CreateApplicationResponse {
3281
+ export interface DescribeLogConfigResponse {
1555
3282
  /**
1556
- * 服务code
3283
+ * 配置
1557
3284
  */
1558
- Result: string;
3285
+ Result: LogConfig;
1559
3286
  /**
1560
3287
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1561
3288
  */
1562
3289
  RequestId?: string;
1563
3290
  }
1564
3291
  /**
1565
- * 弹性伸缩策略
3292
+ * 服务端口映射条目
1566
3293
  */
1567
- export interface HorizontalAutoscaler {
1568
- /**
1569
- * 最小实例数(可以不传)
1570
- */
1571
- MinReplicas?: number;
1572
- /**
1573
- * 最大实例数(可以不传)
1574
- */
1575
- MaxReplicas?: number;
3294
+ export interface ServicePortMappingItem {
1576
3295
  /**
1577
- * 指标度量(CPU or MEMORY)
1578
- */
1579
- Metrics?: string;
3296
+ * 应用访问端口
3297
+ 注意:此字段可能返回 null,表示取不到有效值。
3298
+ */
3299
+ Port?: number;
1580
3300
  /**
1581
- * 阈值(百分比)
1582
- */
1583
- Threshold?: number;
3301
+ * 应用监听端口
3302
+ 注意:此字段可能返回 null,表示取不到有效值。
3303
+ */
3304
+ TargetPort?: number;
1584
3305
  /**
1585
- * 是否启用
1586
- */
1587
- Enabled?: boolean;
3306
+ * 协议类型
3307
+ 注意:此字段可能返回 null,表示取不到有效值。
3308
+ */
3309
+ Protocol?: string;
1588
3310
  }
1589
3311
  /**
1590
3312
  * RevertDeployApplication请求参数结构体
@@ -1600,46 +3322,42 @@ export interface RevertDeployApplicationRequest {
1600
3322
  EnvironmentId?: string;
1601
3323
  }
1602
3324
  /**
1603
- * 数据卷挂载信息
3325
+ * CreateApplication返回参数结构体
1604
3326
  */
1605
- export interface StorageMountConf {
3327
+ export interface CreateApplicationResponse {
1606
3328
  /**
1607
- * 数据卷名
3329
+ * 服务code
1608
3330
  */
1609
- VolumeName: string;
3331
+ Result: string;
1610
3332
  /**
1611
- * 数据卷绑定路径
3333
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1612
3334
  */
1613
- MountPath: string;
3335
+ RequestId?: string;
1614
3336
  }
1615
3337
  /**
1616
- * ModifyEnvironment请求参数结构体
3338
+ * 弹性伸缩策略
1617
3339
  */
1618
- export interface ModifyEnvironmentRequest {
1619
- /**
1620
- * 环境id
1621
- */
1622
- EnvironmentId: string;
3340
+ export interface HorizontalAutoscaler {
1623
3341
  /**
1624
- * 环境名称
3342
+ * 最小实例数(可以不传)
1625
3343
  */
1626
- EnvironmentName?: string;
3344
+ MinReplicas?: number;
1627
3345
  /**
1628
- * 环境描述
3346
+ * 最大实例数(可以不传)
1629
3347
  */
1630
- Description?: string;
3348
+ MaxReplicas?: number;
1631
3349
  /**
1632
- * 私有网络名称
3350
+ * 指标度量(CPU or MEMORY)
1633
3351
  */
1634
- Vpc?: string;
3352
+ Metrics?: string;
1635
3353
  /**
1636
- * 子网网络
3354
+ * 阈值(百分比)
1637
3355
  */
1638
- SubnetIds?: Array<string>;
3356
+ Threshold?: number;
1639
3357
  /**
1640
- * 来源渠道
3358
+ * 是否启用
1641
3359
  */
1642
- SourceChannel?: number;
3360
+ Enabled?: boolean;
1643
3361
  }
1644
3362
  /**
1645
3363
  * 服务端口映射
@@ -1663,32 +3381,75 @@ export interface PortMapping {
1663
3381
  ServiceName?: string;
1664
3382
  }
1665
3383
  /**
1666
- * 创建应用,创建仓库参数
3384
+ * 日志收集配置
1667
3385
  */
1668
- export interface UseDefaultRepoParameters {
3386
+ export interface LogConfig {
1669
3387
  /**
1670
- * 企业版实例名
3388
+ * 名称
3389
+ */
3390
+ Name: string;
3391
+ /**
3392
+ * 收集类型,container_stdout 为标准输出;container_file 为文件;
3393
+ */
3394
+ InputType: string;
3395
+ /**
3396
+ * 日志集 ID
1671
3397
  注意:此字段可能返回 null,表示取不到有效值。
1672
3398
  */
1673
- EnterpriseInstanceName: string;
3399
+ LogsetId: string;
1674
3400
  /**
1675
- * 企业版收费类型 0 按量收费 1 包年包月
3401
+ * 日志主题 ID
1676
3402
  注意:此字段可能返回 null,表示取不到有效值。
1677
3403
  */
1678
- EnterpriseInstanceChargeType: number;
3404
+ TopicId: string;
3405
+ /**
3406
+ * 日志提取模式,minimalist_log 为单行全文;multiline_log 为多行全文;
3407
+ */
3408
+ LogType: string;
3409
+ /**
3410
+ * 首行正则表达式,当LogType=multiline_log 时生效
3411
+ 注意:此字段可能返回 null,表示取不到有效值。
3412
+ */
3413
+ BeginningRegex: string;
3414
+ /**
3415
+ * 收集文件目录,当 InputType=container_file 时生效
3416
+ 注意:此字段可能返回 null,表示取不到有效值。
3417
+ */
3418
+ LogPath: string;
3419
+ /**
3420
+ * 收集文件名模式,当 InputType=container_file 时生效
3421
+ 注意:此字段可能返回 null,表示取不到有效值。
3422
+ */
3423
+ FilePattern: string;
3424
+ /**
3425
+ * 创建时间
3426
+ 注意:此字段可能返回 null,表示取不到有效值。
3427
+ */
3428
+ CreateDate: string;
3429
+ /**
3430
+ * 更新时间
3431
+ 注意:此字段可能返回 null,表示取不到有效值。
3432
+ */
3433
+ ModifyDate: string;
3434
+ /**
3435
+ * 应用 ID
3436
+ 注意:此字段可能返回 null,表示取不到有效值。
3437
+ */
3438
+ ApplicationId: string;
1679
3439
  /**
1680
- * 企业版规格:basic-基础班 ,standard-标准版,premium-高级版
3440
+ * 应用名
1681
3441
  注意:此字段可能返回 null,表示取不到有效值。
1682
3442
  */
1683
- EnterpriseInstanceType: string;
3443
+ ApplicationName: string;
1684
3444
  }
1685
3445
  /**
1686
- * RevertDeployApplication返回参数结构体
3446
+ * ModifyEnvironment返回参数结构体
1687
3447
  */
1688
- export interface RevertDeployApplicationResponse {
3448
+ export interface ModifyEnvironmentResponse {
1689
3449
  /**
1690
- * 是否成功
1691
- */
3450
+ * 成功时为环境ID,失败为null
3451
+ 注意:此字段可能返回 null,表示取不到有效值。
3452
+ */
1692
3453
  Result: boolean;
1693
3454
  /**
1694
3455
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -1696,126 +3457,84 @@ export interface RevertDeployApplicationResponse {
1696
3457
  RequestId?: string;
1697
3458
  }
1698
3459
  /**
1699
- * 分批发布策略配置
3460
+ * ModifyApplicationReplicas请求参数结构体
1700
3461
  */
1701
- export interface DeployStrategyConf {
1702
- /**
1703
- * 总分批数
1704
- */
1705
- TotalBatchCount?: number;
1706
- /**
1707
- * beta分批实例数
1708
- */
1709
- BetaBatchNum?: number;
1710
- /**
1711
- * 分批策略:0-全自动,1-全手动,2-beta分批,beta批一定是手动的,3-首次发布
1712
- */
1713
- DeployStrategyType?: number;
1714
- /**
1715
- * 每批暂停间隔
1716
- */
1717
- BatchInterval?: number;
3462
+ export interface ModifyApplicationReplicasRequest {
1718
3463
  /**
1719
- * 最小可用实例数
3464
+ * 服务id
1720
3465
  */
1721
- MinAvailable?: number;
3466
+ ApplicationId: string;
1722
3467
  /**
1723
- * 是否强制发布
3468
+ * 环境ID
1724
3469
  */
1725
- Force?: boolean;
1726
- }
1727
- /**
1728
- * StopApplication请求参数结构体
1729
- */
1730
- export interface StopApplicationRequest {
3470
+ EnvironmentId: string;
1731
3471
  /**
1732
- * 服务id
3472
+ * 实例数量
1733
3473
  */
1734
- ApplicationId: string;
3474
+ Replicas: number;
1735
3475
  /**
1736
3476
  * 来源渠道
1737
3477
  */
1738
3478
  SourceChannel?: number;
1739
- /**
1740
- * 环境ID
1741
- */
1742
- EnvironmentId?: string;
1743
3479
  }
1744
3480
  /**
1745
- * DescribeIngress请求参数结构体
3481
+ * ModifyLogConfig请求参数结构体
1746
3482
  */
1747
- export interface DescribeIngressRequest {
3483
+ export interface ModifyLogConfigRequest {
1748
3484
  /**
1749
- * 环境ID
3485
+ * 环境 ID
1750
3486
  */
1751
3487
  EnvironmentId: string;
1752
3488
  /**
1753
- * 环境namespace
3489
+ * 配置名
1754
3490
  */
1755
- ClusterNamespace: string;
3491
+ Name: string;
1756
3492
  /**
1757
- * ingress 规则名
3493
+ * 日志收集配置信息
1758
3494
  */
1759
- IngressName: string;
3495
+ Data?: LogConfig;
1760
3496
  /**
1761
- * 来源渠道
3497
+ * 应用 ID
1762
3498
  */
1763
- SourceChannel?: number;
3499
+ ApplicationId?: string;
1764
3500
  }
1765
3501
  /**
1766
- * CreateCosToken请求参数结构体
3502
+ * DestroyLogConfig请求参数结构体
1767
3503
  */
1768
- export interface CreateCosTokenRequest {
1769
- /**
1770
- * 应用ID
1771
- */
1772
- ApplicationId: string;
1773
- /**
1774
- * 包名
1775
- */
1776
- PkgName: string;
3504
+ export interface DestroyLogConfigRequest {
1777
3505
  /**
1778
- * optType 1上传 2查询
3506
+ * 环境 ID
1779
3507
  */
1780
- OptType: number;
3508
+ EnvironmentId: string;
1781
3509
  /**
1782
- * 来源 channel
3510
+ * 配置名
1783
3511
  */
1784
- SourceChannel?: number;
3512
+ Name: string;
1785
3513
  /**
1786
- * 充当deployVersion入参
3514
+ * 应用 ID
1787
3515
  */
1788
- TimeVersion?: string;
3516
+ ApplicationId?: string;
1789
3517
  }
1790
3518
  /**
1791
- * DescribeEnvironments请求参数结构体
3519
+ * EnableApplicationAutoscaler请求参数结构体
1792
3520
  */
1793
- export interface DescribeEnvironmentsRequest {
3521
+ export interface EnableApplicationAutoscalerRequest {
1794
3522
  /**
1795
- * 分页limit
3523
+ * 服务id
1796
3524
  */
1797
- Limit?: number;
3525
+ ApplicationId: string;
1798
3526
  /**
1799
- * 分页下标
3527
+ * 环境ID
1800
3528
  */
1801
- Offset?: number;
3529
+ EnvironmentId: string;
1802
3530
  /**
1803
- * 来源source
3531
+ * 来源渠道
1804
3532
  */
1805
3533
  SourceChannel?: number;
1806
- }
1807
- /**
1808
- * StopApplication返回参数结构体
1809
- */
1810
- export interface StopApplicationResponse {
1811
- /**
1812
- * 返回结果
1813
- */
1814
- Result: boolean;
1815
3534
  /**
1816
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3535
+ * 弹性伸缩策略ID
1817
3536
  */
1818
- RequestId?: string;
3537
+ AutoscalerId?: string;
1819
3538
  }
1820
3539
  /**
1821
3540
  * eks service info
@@ -1876,169 +3595,31 @@ export interface EksService {
1876
3595
  注意:此字段可能返回 null,表示取不到有效值。
1877
3596
  */
1878
3597
  PortMappings?: Array<PortMapping>;
1879
- }
1880
- /**
1881
- * 定时伸缩策略明细
1882
- */
1883
- export interface CronHorizontalAutoscalerSchedule {
1884
- /**
1885
- * 触发事件,小时分钟,用:分割
1886
- 例如
1887
- 00:00(零点零分触发)
1888
- */
1889
- StartAt: string;
1890
- /**
1891
- * 目标实例数(不大于50)
1892
- 注意:此字段可能返回 null,表示取不到有效值。
1893
- */
1894
- TargetReplicas?: number;
1895
- }
1896
- /**
1897
- * ResumeDeployApplication请求参数结构体
1898
- */
1899
- export interface ResumeDeployApplicationRequest {
1900
3598
  /**
1901
- * 需要开始下一批次的服务id
1902
- */
1903
- ApplicationId?: string;
1904
- /**
1905
- * 环境id
1906
- */
1907
- EnvironmentId?: string;
1908
- }
1909
- /**
1910
- * DeployApplication返回参数结构体
1911
- */
1912
- export interface DeployApplicationResponse {
1913
- /**
1914
- * 版本ID(前端可忽略)
1915
- */
1916
- Result: string;
1917
- /**
1918
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1919
- */
1920
- RequestId?: string;
1921
- }
1922
- /**
1923
- * 存储卷配置
1924
- */
1925
- export interface StorageConf {
1926
- /**
1927
- * 存储卷名称
1928
- */
1929
- StorageVolName: string;
1930
- /**
1931
- * 存储卷路径
1932
- */
1933
- StorageVolPath: string;
1934
- /**
1935
- * 存储卷IP
1936
- 注意:此字段可能返回 null,表示取不到有效值。
1937
- */
1938
- StorageVolIp?: string;
1939
- }
1940
- /**
1941
- * 服务版本信息列表
1942
- */
1943
- export interface ServiceVersionBrief {
1944
- /**
1945
- * 版本名称
1946
- */
1947
- VersionName: string;
1948
- /**
1949
- * 状态
1950
- */
1951
- Status: string;
1952
- /**
1953
- * 是否启动弹性 -- 已废弃
1954
- */
1955
- EnableEs: number;
1956
- /**
1957
- * 当前实例
1958
- */
1959
- CurrentInstances: number;
1960
- /**
1961
- * version的id
1962
- */
1963
- VersionId: string;
1964
- /**
1965
- * 日志输出配置 -- 已废弃
1966
- 注意:此字段可能返回 null,表示取不到有效值。
1967
- */
1968
- LogOutputConf: LogOutputConf;
1969
- /**
1970
- * 期望实例
1971
- 注意:此字段可能返回 null,表示取不到有效值。
1972
- */
1973
- ExpectedInstances: number;
1974
- /**
1975
- * 部署方式
1976
- 注意:此字段可能返回 null,表示取不到有效值。
1977
- */
1978
- DeployMode: string;
1979
- /**
1980
- * 建构任务ID
3599
+ * 每种类型访问配置详情
1981
3600
  注意:此字段可能返回 null,表示取不到有效值。
1982
3601
  */
1983
- BuildTaskId: string;
1984
- /**
1985
- * 环境ID
1986
- 注意:此字段可能返回 null,表示取不到有效值。
1987
- */
1988
- EnvironmentId: string;
3602
+ ServicePortMappingList?: Array<ServicePortMapping>;
1989
3603
  /**
1990
- * 环境name
3604
+ * 刷新复写所有类型
1991
3605
  注意:此字段可能返回 null,表示取不到有效值。
1992
3606
  */
1993
- EnvironmentName: string;
3607
+ FlushAll?: boolean;
1994
3608
  /**
1995
- * 服务ID
3609
+ * 1: 下次部署自动注入注册中心信息;0:不注入
1996
3610
  注意:此字段可能返回 null,表示取不到有效值。
1997
3611
  */
1998
- ApplicationId: string;
3612
+ EnableRegistryNextDeploy?: number;
1999
3613
  /**
2000
- * 服务name
3614
+ * 返回应用id
2001
3615
  注意:此字段可能返回 null,表示取不到有效值。
2002
3616
  */
2003
- ApplicationName: string;
3617
+ ApplicationId?: string;
2004
3618
  /**
2005
- * 是否正在发布中
3619
+ * 所有服务IP是否已经ready
2006
3620
  注意:此字段可能返回 null,表示取不到有效值。
2007
3621
  */
2008
- UnderDeploying: boolean;
2009
- }
2010
- /**
2011
- * CreateEnvironment请求参数结构体
2012
- */
2013
- export interface CreateEnvironmentRequest {
2014
- /**
2015
- * 环境名称
2016
- */
2017
- EnvironmentName: string;
2018
- /**
2019
- * 私有网络名称
2020
- */
2021
- Vpc: string;
2022
- /**
2023
- * 子网列表
2024
- */
2025
- SubnetIds: Array<string>;
2026
- /**
2027
- * 环境描述
2028
- */
2029
- Description?: string;
2030
- /**
2031
- * K8s version
2032
- */
2033
- K8sVersion?: string;
2034
- /**
2035
- * 来源渠道
2036
- */
2037
- SourceChannel?: number;
2038
- /**
2039
- * 是否开启tsw服务
2040
- */
2041
- EnableTswTraceService?: boolean;
3622
+ AllIpDone?: boolean;
2042
3623
  }
2043
3624
  /**
2044
3625
  * 键值对