tencentcloud-sdk-nodejs-tem 4.0.389 → 4.0.397

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.
@@ -15,72 +15,6 @@
15
15
  * under the License.
16
16
  */
17
17
 
18
- /**
19
- * 挂载配置信息
20
- */
21
- export interface MountedSettingConf {
22
- /**
23
- * 配置名称
24
- */
25
- ConfigDataName: string
26
-
27
- /**
28
- * 挂载路径
29
- */
30
- MountedPath: string
31
-
32
- /**
33
- * 配置内容
34
- */
35
- Data?: Array<Pair>
36
-
37
- /**
38
- * 加密配置名称
39
- */
40
- SecretDataName?: string
41
- }
42
-
43
- /**
44
- * RestartApplicationPod返回参数结构体
45
- */
46
- export interface RestartApplicationPodResponse {
47
- /**
48
- * 返回结果
49
- 注意:此字段可能返回 null,表示取不到有效值。
50
- */
51
- Result: boolean
52
-
53
- /**
54
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
55
- */
56
- RequestId?: string
57
- }
58
-
59
- /**
60
- * DeleteApplication请求参数结构体
61
- */
62
- export interface DeleteApplicationRequest {
63
- /**
64
- * 服务Id
65
- */
66
- ApplicationId: string
67
-
68
- /**
69
- * 环境ID
70
- */
71
- EnvironmentId: string
72
-
73
- /**
74
- * 来源渠道
75
- */
76
- SourceChannel?: number
77
-
78
- /**
79
- * 当服务没有任何运行版本时,是否删除此服务
80
- */
81
- DeleteApplicationIfNoRunningVersion?: boolean
82
- }
83
-
84
18
  /**
85
19
  * CreateResource请求参数结构体
86
20
  */
@@ -117,43 +51,38 @@ export interface CreateResourceRequest {
117
51
  }
118
52
 
119
53
  /**
120
- * ResumeDeployApplication返回参数结构体
54
+ * 命名空间分页
121
55
  */
122
- export interface ResumeDeployApplicationResponse {
56
+ export interface NamespacePage {
123
57
  /**
124
- * 是否成功
58
+ * 分页内容
125
59
  */
126
- Result: boolean
60
+ Records: Array<TemNamespaceInfo>
127
61
 
128
62
  /**
129
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
63
+ * 总数
130
64
  */
131
- RequestId?: string
132
- }
65
+ Total: number
133
66
 
134
- /**
135
- * RestartApplication返回参数结构体
136
- */
137
- export interface RestartApplicationResponse {
138
67
  /**
139
- * 返回结果
68
+ * 条目数
140
69
  */
141
- Result: boolean
70
+ Size: number
142
71
 
143
72
  /**
144
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
73
+ * 页数
145
74
  */
146
- RequestId?: string
75
+ Pages: number
147
76
  }
148
77
 
149
78
  /**
150
- * DescribeApplicationsStatus返回参数结构体
79
+ * DescribeApplicationPods返回参数结构体
151
80
  */
152
- export interface DescribeApplicationsStatusResponse {
81
+ export interface DescribeApplicationPodsResponse {
153
82
  /**
154
83
  * 返回结果
155
84
  */
156
- Result: Array<ServiceVersionBrief>
85
+ Result: DescribeRunPodPage
157
86
 
158
87
  /**
159
88
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -162,250 +91,236 @@ export interface DescribeApplicationsStatusResponse {
162
91
  }
163
92
 
164
93
  /**
165
- * 健康检查配置
94
+ * ResumeDeployApplication返回参数结构体
166
95
  */
167
- export interface HealthCheckConfig {
168
- /**
169
- * 支持的健康检查类型,如 HttpGet,TcpSocket,Exec
170
- */
171
- Type: string
172
-
173
- /**
174
- * 仅当健康检查类型为 HttpGet 时有效,表示协议类型,如 HTTP,HTTPS
175
- */
176
- Protocol?: string
177
-
178
- /**
179
- * 仅当健康检查类型为 HttpGet 时有效,表示请求路径
180
- */
181
- Path?: string
182
-
183
- /**
184
- * 仅当健康检查类型为 Exec 时有效,表示执行的脚本内容
185
- */
186
- Exec?: string
187
-
188
- /**
189
- * 仅当健康检查类型为 HttpGet\TcpSocket 时有效,表示请求路径
190
- */
191
- Port?: number
192
-
193
- /**
194
- * 检查延迟开始时间,单位为秒,默认为 0
195
- */
196
- InitialDelaySeconds?: number
197
-
96
+ export interface ResumeDeployApplicationResponse {
198
97
  /**
199
- * 超时时间,单位为秒,默认为 1
98
+ * 是否成功
200
99
  */
201
- TimeoutSeconds?: number
100
+ Result: boolean
202
101
 
203
102
  /**
204
- * 间隔时间,单位为秒,默认为 10
103
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
205
104
  */
206
- PeriodSeconds?: number
105
+ RequestId?: string
207
106
  }
208
107
 
209
108
  /**
210
- * 分批发布详情
109
+ * 存储卷配置
211
110
  */
212
- export interface TemDeployApplicationDetailInfo {
111
+ export interface StorageConf {
213
112
  /**
214
- * 分批发布策略
215
- 注意:此字段可能返回 null,表示取不到有效值。
216
- */
217
- DeployStrategyConf: DeployStrategyConf
113
+ * 存储卷名称
114
+ */
115
+ StorageVolName: string
218
116
 
219
117
  /**
220
- * 开始时间
221
- 注意:此字段可能返回 null,表示取不到有效值。
222
- */
223
- StartTime: string
118
+ * 存储卷路径
119
+ */
120
+ StorageVolPath: string
224
121
 
225
122
  /**
226
- * 结束时间
123
+ * 存储卷IP
227
124
  注意:此字段可能返回 null,表示取不到有效值。
228
125
  */
229
- EndTime: string
126
+ StorageVolIp?: string
127
+ }
230
128
 
129
+ /**
130
+ * 分批发布单批次详情
131
+ */
132
+ export interface DeployServicePodDetail {
231
133
  /**
232
- * 当前状态
134
+ * pod Id
233
135
  注意:此字段可能返回 null,表示取不到有效值。
234
136
  */
235
- Status: string
137
+ PodId?: string
236
138
 
237
139
  /**
238
- * beta分批详情
140
+ * pod状态
239
141
  注意:此字段可能返回 null,表示取不到有效值。
240
142
  */
241
- BetaBatchDetail: DeployServiceBatchDetail
143
+ PodStatus?: Array<string>
242
144
 
243
145
  /**
244
- * 其他分批详情
146
+ * pod版本
245
147
  注意:此字段可能返回 null,表示取不到有效值。
246
148
  */
247
- OtherBatchDetail: Array<DeployServiceBatchDetail>
149
+ PodVersion?: string
248
150
 
249
151
  /**
250
- * 老版本pod列表
152
+ * pod创建时间
251
153
  注意:此字段可能返回 null,表示取不到有效值。
252
154
  */
253
- OldVersionPodList: DescribeRunPodPage
155
+ CreateTime?: string
254
156
 
255
157
  /**
256
- * 当前批次id
158
+ * pod所在可用区
257
159
  注意:此字段可能返回 null,表示取不到有效值。
258
160
  */
259
- CurrentBatchIndex: number
161
+ Zone?: string
260
162
 
261
163
  /**
262
- * 错误原因
164
+ * webshell地址
263
165
  注意:此字段可能返回 null,表示取不到有效值。
264
166
  */
265
- ErrorMessage: string
167
+ Webshell?: string
168
+ }
266
169
 
170
+ /**
171
+ * 日志输出配置
172
+ */
173
+ export interface LogOutputConf {
267
174
  /**
268
- * 当前批次状态
269
- 注意:此字段可能返回 null,表示取不到有效值。
270
- */
271
- CurrentBatchStatus: string
175
+ * 日志消费端类型
176
+ */
177
+ OutputType: string
272
178
 
273
179
  /**
274
- * 新版本version
275
- 注意:此字段可能返回 null,表示取不到有效值。
276
- */
277
- NewDeployVersion: string
180
+ * cls日志集
181
+ */
182
+ ClsLogsetName?: string
278
183
 
279
184
  /**
280
- * 旧版本version
281
- 注意:此字段可能返回 null,表示取不到有效值。
282
- */
283
- OldDeployVersion: string
185
+ * cls日志主题
186
+ */
187
+ ClsLogTopicId?: string
284
188
 
285
189
  /**
286
- * 包名称
287
- 注意:此字段可能返回 null,表示取不到有效值。
288
- */
289
- NewVersionPackageInfo: string
190
+ * cls日志集id
191
+ */
192
+ ClsLogsetId?: string
290
193
 
291
194
  /**
292
- * 下一批次开始时间
293
- 注意:此字段可能返回 null,表示取不到有效值。
294
- */
295
- NextBatchStartTime: number
195
+ * cls日志名称
196
+ */
197
+ ClsLogTopicName?: string
296
198
  }
297
199
 
298
200
  /**
299
- * DescribeDeployApplicationDetail请求参数结构体
201
+ * DeleteIngress返回参数结构体
300
202
  */
301
- export interface DescribeDeployApplicationDetailRequest {
302
- /**
303
- * 服务id
304
- */
305
- ApplicationId?: string
306
-
203
+ export interface DeleteIngressResponse {
307
204
  /**
308
- * 环境id
205
+ * 是否删除成功
309
206
  */
310
- EnvironmentId?: string
207
+ Result: boolean
311
208
 
312
209
  /**
313
- * 版本部署id
210
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
314
211
  */
315
- VersionId?: string
212
+ RequestId?: string
316
213
  }
317
214
 
318
215
  /**
319
- * 弹性伸缩配置
216
+ * DeleteApplication返回参数结构体
320
217
  */
321
- export interface EsInfo {
218
+ export interface DeleteApplicationResponse {
322
219
  /**
323
- * 最小实例数
220
+ * 返回结果
324
221
  */
325
- MinAliveInstances: number
222
+ Result: boolean
326
223
 
327
224
  /**
328
- * 最大实例数
225
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
329
226
  */
330
- MaxAliveInstances: number
227
+ RequestId?: string
228
+ }
331
229
 
230
+ /**
231
+ * RollingUpdateApplicationByVersion请求参数结构体
232
+ */
233
+ export interface RollingUpdateApplicationByVersionRequest {
332
234
  /**
333
- * 弹性策略,1:cpu,2:内存
235
+ * 应用ID
334
236
  */
335
- EsStrategy: number
237
+ ApplicationId: string
336
238
 
337
239
  /**
338
- * 弹性扩缩容条件值
240
+ * 环境ID
339
241
  */
340
- Threshold: number
242
+ EnvironmentId: string
341
243
 
342
244
  /**
343
- * 版本Id
245
+ * 更新版本,IMAGE 部署为 tag 值;JAR/WAR 部署 为 Version
344
246
  */
345
- VersionId?: string
346
- }
247
+ DeployVersion: string
347
248
 
348
- /**
349
- * 分批发布单批次详情
350
- */
351
- export interface DeployServiceBatchDetail {
352
249
  /**
353
- * 旧实例列表
354
- 注意:此字段可能返回 null,表示取不到有效值。
355
- */
356
- OldPodList?: DeployServicePodDetail
250
+ * JAR/WAR 包名,仅 JAR/WAR 部署时必填
251
+ */
252
+ PackageName?: string
357
253
 
358
254
  /**
359
- * 新实例列表
360
- 注意:此字段可能返回 null,表示取不到有效值。
361
- */
362
- NewPodList?: DeployServicePodDetail
255
+ * 请求来源平台,含 IntelliJ,Coding
256
+ */
257
+ From?: string
363
258
 
364
259
  /**
365
- * 当前批次状态:"WaitForTimeExceed", "WaitForResume", "Deploying", "Finish", "NotStart"
366
- 注意:此字段可能返回 null,表示取不到有效值。
367
- */
368
- BatchStatus?: string
260
+ * 部署策略,AUTO 为全自动;BETA 为小批量验证后自动;MANUAL 为全手动;
261
+ */
262
+ DeployStrategyType?: string
369
263
 
370
264
  /**
371
- * 该批次预计旧实例数量
372
- 注意:此字段可能返回 null,表示取不到有效值。
373
- */
374
- PodNum?: number
265
+ * 发布批次数
266
+ */
267
+ TotalBatchCount?: number
375
268
 
376
269
  /**
377
- * 批次id
378
- 注意:此字段可能返回 null,表示取不到有效值。
379
- */
380
- BatchIndex?: number
270
+ * 批次间隔时间
271
+ */
272
+ BatchInterval?: number
381
273
 
382
274
  /**
383
- * 旧实例列表
384
- 注意:此字段可能返回 null,表示取不到有效值。
385
- */
386
- OldPods?: Array<DeployServicePodDetail>
275
+ * 小批量验证批次的实例数
276
+ */
277
+ BetaBatchNum?: number
387
278
 
388
279
  /**
389
- * 新实例列表
390
- 注意:此字段可能返回 null,表示取不到有效值。
391
- */
392
- NewPods?: Array<DeployServicePodDetail>
280
+ * 发布过程中保障的最小可用实例数
281
+ */
282
+ MinAvailable?: number
283
+ }
393
284
 
285
+ /**
286
+ * CreateCosToken返回参数结构体
287
+ */
288
+ export interface CreateCosTokenResponse {
394
289
  /**
395
- * =0:手动确认批次;>0:下一批次开始时间戳
290
+ * 成功时为CosToken对象,失败为null
396
291
  注意:此字段可能返回 null,表示取不到有效值。
397
292
  */
398
- NextBatchStartTime?: number
293
+ Result: CosToken
294
+
295
+ /**
296
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
297
+ */
298
+ RequestId?: string
399
299
  }
400
300
 
401
301
  /**
402
- * DescribeApplicationPods返回参数结构体
302
+ * RevertDeployApplication请求参数结构体
403
303
  */
404
- export interface DescribeApplicationPodsResponse {
304
+ export interface RevertDeployApplicationRequest {
405
305
  /**
406
- * 返回结果
306
+ * 需要回滚的服务id
407
307
  */
408
- Result: DescribeRunPodPage
308
+ ApplicationId?: string
309
+
310
+ /**
311
+ * 需要回滚的服务所在环境id
312
+ */
313
+ EnvironmentId?: string
314
+ }
315
+
316
+ /**
317
+ * RollingUpdateApplicationByVersion返回参数结构体
318
+ */
319
+ export interface RollingUpdateApplicationByVersionResponse {
320
+ /**
321
+ * 版本ID
322
+ */
323
+ Result: string
409
324
 
410
325
  /**
411
326
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -414,9 +329,9 @@ export interface DescribeApplicationPodsResponse {
414
329
  }
415
330
 
416
331
  /**
417
- * RestartApplication请求参数结构体
332
+ * StopApplication请求参数结构体
418
333
  */
419
- export interface RestartApplicationRequest {
334
+ export interface StopApplicationRequest {
420
335
  /**
421
336
  * 服务id
422
337
  */
@@ -434,104 +349,129 @@ export interface RestartApplicationRequest {
434
349
  }
435
350
 
436
351
  /**
437
- * DeleteIngress请求参数结构体
352
+ * ModifyApplicationInfo请求参数结构体
438
353
  */
439
- export interface DeleteIngressRequest {
354
+ export interface ModifyApplicationInfoRequest {
440
355
  /**
441
- * 环境ID
356
+ * 应用ID
442
357
  */
443
- EnvironmentId: string
358
+ ApplicationId: string
444
359
 
445
360
  /**
446
- * 环境 namespace
361
+ * 描述
447
362
  */
448
- ClusterNamespace: string
363
+ Description: string
449
364
 
450
365
  /**
451
- * ingress 规则名
366
+ * 来源渠道
452
367
  */
453
- IngressName: string
368
+ SourceChannel?: number
454
369
 
455
370
  /**
456
- * 来源渠道
371
+ * 是否开启调用链,(此参数已弃用)
457
372
  */
458
- SourceChannel?: number
373
+ EnableTracing?: number
459
374
  }
460
375
 
461
376
  /**
462
- * RestartApplicationPod请求参数结构体
377
+ * DestroyEnvironment请求参数结构体
463
378
  */
464
- export interface RestartApplicationPodRequest {
379
+ export interface DestroyEnvironmentRequest {
465
380
  /**
466
- * 环境id
381
+ * 命名空间ID
467
382
  */
468
383
  EnvironmentId: string
469
384
 
470
385
  /**
471
- * 应用id
386
+ * Namespace
472
387
  */
473
- ApplicationId: string
388
+ SourceChannel?: number
389
+ }
474
390
 
391
+ /**
392
+ * CreateEnvironment返回参数结构体
393
+ */
394
+ export interface CreateEnvironmentResponse {
475
395
  /**
476
- * 名字
396
+ * 成功时为环境ID,失败为null
397
+ 注意:此字段可能返回 null,表示取不到有效值。
398
+ */
399
+ Result: string
400
+
401
+ /**
402
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
477
403
  */
478
- PodName: string
404
+ RequestId?: string
405
+ }
479
406
 
407
+ /**
408
+ * DescribeEnvironmentStatus请求参数结构体
409
+ */
410
+ export interface DescribeEnvironmentStatusRequest {
480
411
  /**
481
- * 单页条数
412
+ * 命名空间id
482
413
  */
483
- Limit?: number
414
+ EnvironmentIds: Array<string>
484
415
 
485
416
  /**
486
- * 分页下标
417
+ * 来源Channel
487
418
  */
488
- Offset?: number
419
+ SourceChannel?: number
420
+ }
489
421
 
422
+ /**
423
+ * RevertDeployApplication返回参数结构体
424
+ */
425
+ export interface RevertDeployApplicationResponse {
490
426
  /**
491
- * pod状态
427
+ * 是否成功
492
428
  */
493
- Status?: string
429
+ Result: boolean
494
430
 
495
431
  /**
496
- * 来源渠道
432
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
497
433
  */
498
- SourceChannel?: number
434
+ RequestId?: string
499
435
  }
500
436
 
501
437
  /**
502
- * DescribeRelatedIngresses请求参数结构体
438
+ * 弹性伸缩配置
503
439
  */
504
- export interface DescribeRelatedIngressesRequest {
440
+ export interface EsInfo {
505
441
  /**
506
- * 环境 id
442
+ * 最小实例数
507
443
  */
508
- EnvironmentId?: string
444
+ MinAliveInstances: number
509
445
 
510
446
  /**
511
- * 环境 namespace
447
+ * 最大实例数
512
448
  */
513
- ClusterNamespace?: string
449
+ MaxAliveInstances: number
514
450
 
515
451
  /**
516
- * 来源渠道
452
+ * 弹性策略,1:cpu,2:内存
517
453
  */
518
- SourceChannel?: number
454
+ EsStrategy: number
519
455
 
520
456
  /**
521
- * 应用 ID
457
+ * 弹性扩缩容条件值
522
458
  */
523
- ApplicationId?: string
459
+ Threshold: number
460
+
461
+ /**
462
+ * 版本Id
463
+ */
464
+ VersionId?: string
524
465
  }
525
466
 
526
467
  /**
527
- * ModifyEnvironment返回参数结构体
468
+ * DescribeApplications返回参数结构体
528
469
  */
529
- export interface ModifyEnvironmentResponse {
470
+ export interface DescribeApplicationsResponse {
530
471
  /**
531
- * 成功时为环境ID,失败为null
532
- 注意:此字段可能返回 null,表示取不到有效值。
533
- */
534
- Result: boolean
472
+ * 返回结果
473
+ */
474
+ Result: ServicePage
535
475
 
536
476
  /**
537
477
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -540,387 +480,430 @@ export interface ModifyEnvironmentResponse {
540
480
  }
541
481
 
542
482
  /**
543
- * Cos token
483
+ * Ingress 配置
544
484
  */
545
- export interface CosToken {
485
+ export interface IngressInfo {
546
486
  /**
547
- * 唯一请求 ID
548
- */
549
- RequestId: string
487
+ * 环境ID
488
+ 注意:此字段可能返回 null,表示取不到有效值。
489
+ */
490
+ EnvironmentId: string
550
491
 
551
492
  /**
552
- * 存储桶桶名
493
+ * 环境namespace
553
494
  */
554
- Bucket: string
495
+ ClusterNamespace: string
555
496
 
556
497
  /**
557
- * 存储桶所在区域
498
+ * ip version
558
499
  */
559
- Region: string
500
+ AddressIPVersion: string
560
501
 
561
502
  /**
562
- * 临时密钥的SecretId
503
+ * ingress name
563
504
  */
564
- TmpSecretId: string
505
+ IngressName: string
565
506
 
566
507
  /**
567
- * 临时密钥的SecretKey
508
+ * rules 配置
568
509
  */
569
- TmpSecretKey: string
510
+ Rules: Array<IngressRule>
570
511
 
571
512
  /**
572
- * 临时密钥的 sessionToken
573
- */
574
- SessionToken: string
513
+ * clb ID
514
+ 注意:此字段可能返回 null,表示取不到有效值。
515
+ */
516
+ ClbId?: string
575
517
 
576
518
  /**
577
- * 临时密钥获取的开始时间
578
- */
579
- StartTime: string
519
+ * tls 配置
520
+ 注意:此字段可能返回 null,表示取不到有效值。
521
+ */
522
+ Tls?: Array<IngressTls>
580
523
 
581
524
  /**
582
- * 临时密钥的 expiredTime
583
- */
584
- ExpiredTime: string
525
+ * 环境集群ID
526
+ 注意:此字段可能返回 null,表示取不到有效值。
527
+ */
528
+ ClusterId?: string
585
529
 
586
530
  /**
587
- * 包完整路径
531
+ * clb ip
532
+ 注意:此字段可能返回 null,表示取不到有效值。
533
+ */
534
+ Vip?: string
535
+
536
+ /**
537
+ * 创建时间
538
+ 注意:此字段可能返回 null,表示取不到有效值。
539
+ */
540
+ CreateTime?: string
541
+
542
+ /**
543
+ * 是否混合 https,默认 false,可选值 true 代表有 https 协议监听
588
544
  */
589
- FullPath: string
545
+ Mixed?: boolean
546
+
547
+ /**
548
+ * 重定向模式,可选值:
549
+ - AUTO(自动重定向http到https)
550
+ - NONE(不使用重定向)
551
+ 注意:此字段可能返回 null,表示取不到有效值。
552
+ */
553
+ RewriteType?: string
590
554
  }
591
555
 
592
556
  /**
593
- * GenerateApplicationPackageDownloadUrl请求参数结构体
557
+ * DescribeEnvironments请求参数结构体
594
558
  */
595
- export interface GenerateApplicationPackageDownloadUrlRequest {
596
- /**
597
- * 应用ID
598
- */
599
- ApplicationId: string
600
-
559
+ export interface DescribeEnvironmentsRequest {
601
560
  /**
602
- * 包名
561
+ * 分页limit
603
562
  */
604
- PkgName: string
563
+ Limit?: number
605
564
 
606
565
  /**
607
- * 需要下载的包版本
566
+ * 分页下标
608
567
  */
609
- DeployVersion: string
568
+ Offset?: number
610
569
 
611
570
  /**
612
- * 来源 channel
571
+ * 来源source
613
572
  */
614
573
  SourceChannel?: number
615
574
  }
616
575
 
617
576
  /**
618
- * DeployApplication请求参数结构体
577
+ * ModifyEnvironment请求参数结构体
619
578
  */
620
- export interface DeployApplicationRequest {
579
+ export interface ModifyEnvironmentRequest {
621
580
  /**
622
- * 应用ID
581
+ * 环境id
623
582
  */
624
- ApplicationId: string
583
+ EnvironmentId: string
625
584
 
626
585
  /**
627
- * 初始化 pod 数
586
+ * 环境名称
628
587
  */
629
- InitPodNum: number
588
+ EnvironmentName?: string
630
589
 
631
590
  /**
632
- * cpu规格
591
+ * 环境描述
633
592
  */
634
- CpuSpec: number
593
+ Description?: string
635
594
 
636
595
  /**
637
- * 内存规格
596
+ * 私有网络名称
638
597
  */
639
- MemorySpec: number
598
+ Vpc?: string
640
599
 
641
600
  /**
642
- * 环境ID
601
+ * 子网网络
643
602
  */
644
- EnvironmentId: string
603
+ SubnetIds?: Array<string>
645
604
 
646
605
  /**
647
- * 镜像仓库
606
+ * 来源渠道
648
607
  */
649
- ImgRepo?: string
608
+ SourceChannel?: number
609
+ }
650
610
 
611
+ /**
612
+ * CreateEnvironment请求参数结构体
613
+ */
614
+ export interface CreateEnvironmentRequest {
651
615
  /**
652
- * 版本描述信息
616
+ * 环境名称
653
617
  */
654
- VersionDesc?: string
618
+ EnvironmentName: string
655
619
 
656
620
  /**
657
- * 启动参数
621
+ * 私有网络名称
658
622
  */
659
- JvmOpts?: string
623
+ Vpc: string
660
624
 
661
625
  /**
662
- * 弹性伸缩配置(已废弃,请使用HorizontalAutoscaler设置弹性策略)
626
+ * 子网列表
663
627
  */
664
- EsInfo?: EsInfo
628
+ SubnetIds: Array<string>
665
629
 
666
630
  /**
667
- * 环境变量配置
631
+ * 环境描述
668
632
  */
669
- EnvConf?: Array<Pair>
633
+ Description?: string
670
634
 
671
635
  /**
672
- * 日志配置
636
+ * K8s version
673
637
  */
674
- LogConfs?: Array<string>
638
+ K8sVersion?: string
675
639
 
676
640
  /**
677
- * 数据卷配置
641
+ * 来源渠道
678
642
  */
679
- StorageConfs?: Array<StorageConf>
643
+ SourceChannel?: number
680
644
 
681
645
  /**
682
- * 数据卷挂载配置
646
+ * 是否开启tsw服务
683
647
  */
684
- StorageMountConfs?: Array<StorageMountConf>
648
+ EnableTswTraceService?: boolean
649
+ }
685
650
 
651
+ /**
652
+ * 分批发布详情
653
+ */
654
+ export interface TemDeployApplicationDetailInfo {
686
655
  /**
687
- * 部署类型。
688
- - JAR:通过 jar 包部署
689
- - WAR:通过 war 包部署
690
- - IMAGE:通过镜像部署
656
+ * 分批发布策略
657
+ 注意:此字段可能返回 null,表示取不到有效值。
691
658
  */
692
- DeployMode?: string
659
+ DeployStrategyConf: DeployStrategyConf
693
660
 
694
661
  /**
695
- * 部署类型为 IMAGE 时,该参数表示镜像 tag。
696
- 部署类型为 JAR/WAR 时,该参数表示包版本号。
662
+ * 开始时间
663
+ 注意:此字段可能返回 null,表示取不到有效值。
697
664
  */
698
- DeployVersion?: string
665
+ StartTime: string
699
666
 
700
667
  /**
701
- * 包名。使用 JAR 包或者 WAR 包部署的时候必填。
702
- */
703
- PkgName?: string
668
+ * 结束时间
669
+ 注意:此字段可能返回 null,表示取不到有效值。
670
+ */
671
+ EndTime: string
704
672
 
705
673
  /**
706
- * JDK 版本。
707
- - KONA:8:使用 kona jdk 8。
708
- - OPEN:8:使用 open jdk 8。
709
- - KONA:11:使用 kona jdk 11。
710
- - OPEN:11:使用 open jdk 11。
674
+ * 当前状态
675
+ 注意:此字段可能返回 null,表示取不到有效值。
711
676
  */
712
- JdkVersion?: string
677
+ Status: string
713
678
 
714
679
  /**
715
- * 安全组ID s
716
- */
717
- SecurityGroupIds?: Array<string>
680
+ * beta分批详情
681
+ 注意:此字段可能返回 null,表示取不到有效值。
682
+ */
683
+ BetaBatchDetail: DeployServiceBatchDetail
718
684
 
719
685
  /**
720
- * 日志输出配置
721
- */
722
- LogOutputConf?: LogOutputConf
686
+ * 其他分批详情
687
+ 注意:此字段可能返回 null,表示取不到有效值。
688
+ */
689
+ OtherBatchDetail: Array<DeployServiceBatchDetail>
723
690
 
724
691
  /**
725
- * 来源渠道
726
- */
727
- SourceChannel?: number
692
+ * 老版本pod列表
693
+ 注意:此字段可能返回 null,表示取不到有效值。
694
+ */
695
+ OldVersionPodList: DescribeRunPodPage
728
696
 
729
697
  /**
730
- * 版本描述
731
- */
732
- Description?: string
698
+ * 当前批次id
699
+ 注意:此字段可能返回 null,表示取不到有效值。
700
+ */
701
+ CurrentBatchIndex: number
733
702
 
734
703
  /**
735
- * 镜像命令
736
- */
737
- ImageCommand?: string
704
+ * 错误原因
705
+ 注意:此字段可能返回 null,表示取不到有效值。
706
+ */
707
+ ErrorMessage: string
738
708
 
739
709
  /**
740
- * 镜像命令参数
741
- */
742
- ImageArgs?: Array<string>
710
+ * 当前批次状态
711
+ 注意:此字段可能返回 null,表示取不到有效值。
712
+ */
713
+ CurrentBatchStatus: string
743
714
 
744
715
  /**
745
- * 是否添加默认注册中心配置
746
- */
747
- UseRegistryDefaultConfig?: boolean
716
+ * 新版本version
717
+ 注意:此字段可能返回 null,表示取不到有效值。
718
+ */
719
+ NewDeployVersion: string
748
720
 
749
721
  /**
750
- * 挂载配置信息
751
- */
752
- SettingConfs?: Array<MountedSettingConf>
722
+ * 旧版本version
723
+ 注意:此字段可能返回 null,表示取不到有效值。
724
+ */
725
+ OldDeployVersion: string
753
726
 
754
727
  /**
755
- * 应用访问设置
756
- */
757
- Service?: EksService
728
+ * 包名称
729
+ 注意:此字段可能返回 null,表示取不到有效值。
730
+ */
731
+ NewVersionPackageInfo: string
758
732
 
759
733
  /**
760
- * 要回滚到的历史版本id
761
- */
762
- VersionId?: string
734
+ * 下一批次开始时间
735
+ 注意:此字段可能返回 null,表示取不到有效值。
736
+ */
737
+ NextBatchStartTime: number
738
+ }
763
739
 
740
+ /**
741
+ * DescribeEnvironmentStatus返回参数结构体
742
+ */
743
+ export interface DescribeEnvironmentStatusResponse {
764
744
  /**
765
- * 启动后执行的脚本
745
+ * 返回状态列表
766
746
  */
767
- PostStart?: string
747
+ Result: Array<NamespaceStatusInfo>
768
748
 
769
749
  /**
770
- * 停止前执行的脚本
750
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
771
751
  */
772
- PreStop?: string
752
+ RequestId?: string
753
+ }
773
754
 
755
+ /**
756
+ * ingress tls 配置
757
+ */
758
+ export interface IngressTls {
774
759
  /**
775
- * 存活探针配置
760
+ * host 数组, 空数组表示全部域名的默认证书
776
761
  */
777
- Liveness?: HealthCheckConfig
762
+ Hosts: Array<string>
778
763
 
779
764
  /**
780
- * 就绪探针配置
765
+ * secret name,如使用证书,则填空字符串
781
766
  */
782
- Readiness?: HealthCheckConfig
767
+ SecretName: string
783
768
 
784
769
  /**
785
- * 分批发布策略配置
770
+ * SSL Certificate Id
786
771
  */
787
- DeployStrategyConf?: DeployStrategyConf
772
+ CertificateId?: string
773
+ }
788
774
 
775
+ /**
776
+ * 服务分页
777
+ */
778
+ export interface ServicePage {
789
779
  /**
790
- * 弹性策略(已弃用,请使用弹性伸缩策略组合相关接口)
780
+ * 条目
791
781
  */
792
- HorizontalAutoscaler?: Array<HorizontalAutoscaler>
782
+ Records: Array<TemService>
793
783
 
794
784
  /**
795
- * 定时弹性策略(已弃用,请使用弹性伸缩策略组合相关接口)
785
+ * 总数
796
786
  */
797
- CronHorizontalAutoscaler?: Array<CronHorizontalAutoscaler>
787
+ Total: number
798
788
 
799
789
  /**
800
- * 是否启用log,1为启用,0为不启用
790
+ * 条目
801
791
  */
802
- LogEnable?: number
792
+ Size: number
803
793
 
804
794
  /**
805
- * (除开镜像配置)配置是否修改
795
+ * 页数
806
796
  */
807
- ConfEdited?: boolean
797
+ Pages: number
798
+ }
808
799
 
800
+ /**
801
+ * CreateCosToken请求参数结构体
802
+ */
803
+ export interface CreateCosTokenRequest {
809
804
  /**
810
- * 是否开启应用加速
805
+ * 应用ID
811
806
  */
812
- SpeedUp?: boolean
807
+ ApplicationId: string
813
808
 
814
809
  /**
815
- * 启动探针配置
810
+ * 包名
816
811
  */
817
- StartupProbe?: HealthCheckConfig
812
+ PkgName: string
818
813
 
819
814
  /**
820
- * 操作系统版本;
821
- 当选择openjdk时,可选参数:
822
- - ALPINE
823
- - CENTOS
824
- 当选择konajdk时,可选参数:
825
- - ALPINE
826
- - TENCENTOS
827
- */
828
- OsFlavour?: string
815
+ * optType 1上传 2查询
816
+ */
817
+ OptType: number
829
818
 
830
819
  /**
831
- * 是否开启prometheus 业务指标监控
820
+ * 来源 channel
832
821
  */
833
- EnablePrometheusConf?: EnablePrometheusConf
822
+ SourceChannel?: number
834
823
 
835
824
  /**
836
- * 1:开始apm采集(skywalking);
837
- 0:关闭apm采集;
838
- */
839
- EnableTracing?: number
825
+ * 充当deployVersion入参
826
+ */
827
+ TimeVersion?: string
840
828
  }
841
829
 
842
830
  /**
843
- * Ingress 配置
831
+ * ModifyIngress请求参数结构体
844
832
  */
845
- export interface IngressInfo {
846
- /**
847
- * 环境ID
848
- 注意:此字段可能返回 null,表示取不到有效值。
849
- */
850
- EnvironmentId: string
851
-
833
+ export interface ModifyIngressRequest {
852
834
  /**
853
- * 环境namespace
835
+ * Ingress 规则配置
854
836
  */
855
- ClusterNamespace: string
837
+ Ingress: IngressInfo
856
838
 
857
839
  /**
858
- * ip version
840
+ * 来源渠道
859
841
  */
860
- AddressIPVersion: string
842
+ SourceChannel?: number
843
+ }
861
844
 
845
+ /**
846
+ * 开启prometheus监控配置
847
+ */
848
+ export interface EnablePrometheusConf {
862
849
  /**
863
- * ingress name
850
+ * 应用开放的监听端口
864
851
  */
865
- IngressName: string
852
+ Port?: number
866
853
 
867
854
  /**
868
- * rules 配置
855
+ * 业务指标暴露的url path
869
856
  */
870
- Rules: Array<IngressRule>
871
-
872
- /**
873
- * clb ID
874
- 注意:此字段可能返回 null,表示取不到有效值。
875
- */
876
- ClbId?: string
857
+ Path?: string
858
+ }
877
859
 
860
+ /**
861
+ * DescribeIngresses请求参数结构体
862
+ */
863
+ export interface DescribeIngressesRequest {
878
864
  /**
879
- * tls 配置
880
- 注意:此字段可能返回 null,表示取不到有效值。
881
- */
882
- Tls?: Array<IngressTls>
865
+ * 环境 id
866
+ */
867
+ EnvironmentId?: string
883
868
 
884
869
  /**
885
- * 环境集群ID
886
- 注意:此字段可能返回 null,表示取不到有效值。
887
- */
888
- ClusterId?: string
870
+ * 环境 namespace
871
+ */
872
+ ClusterNamespace?: string
889
873
 
890
874
  /**
891
- * clb ip
892
- 注意:此字段可能返回 null,表示取不到有效值。
893
- */
894
- Vip?: string
875
+ * 来源渠道
876
+ */
877
+ SourceChannel?: number
895
878
 
896
879
  /**
897
- * 创建时间
898
- 注意:此字段可能返回 null,表示取不到有效值。
899
- */
900
- CreateTime?: string
880
+ * ingress 规则名列表
881
+ */
882
+ IngressNames?: Array<string>
883
+ }
901
884
 
885
+ /**
886
+ * 数据卷挂载信息
887
+ */
888
+ export interface StorageMountConf {
902
889
  /**
903
- * 是否混合 https,默认 false,可选值 true 代表有 https 协议监听
890
+ * 数据卷名
904
891
  */
905
- Mixed?: boolean
892
+ VolumeName: string
906
893
 
907
894
  /**
908
- * 重定向模式,可选值:
909
- - AUTO(自动重定向http到https)
910
- - NONE(不使用重定向)
911
- 注意:此字段可能返回 null,表示取不到有效值。
912
- */
913
- RewriteType?: string
895
+ * 数据卷绑定路径
896
+ */
897
+ MountPath: string
914
898
  }
915
899
 
916
900
  /**
917
- * ModifyIngress返回参数结构体
901
+ * RestartApplication返回参数结构体
918
902
  */
919
- export interface ModifyIngressResponse {
903
+ export interface RestartApplicationResponse {
920
904
  /**
921
- * 创建成功
922
- 注意:此字段可能返回 null,表示取不到有效值。
923
- */
905
+ * 返回结果
906
+ */
924
907
  Result: boolean
925
908
 
926
909
  /**
@@ -930,13 +913,14 @@ export interface ModifyIngressResponse {
930
913
  }
931
914
 
932
915
  /**
933
- * DescribeEnvironments返回参数结构体
916
+ * DescribeIngresses返回参数结构体
934
917
  */
935
- export interface DescribeEnvironmentsResponse {
918
+ export interface DescribeIngressesResponse {
936
919
  /**
937
- * 返回结果
938
- */
939
- Result: NamespacePage
920
+ * ingress 数组
921
+ 注意:此字段可能返回 null,表示取不到有效值。
922
+ */
923
+ Result: Array<IngressInfo>
940
924
 
941
925
  /**
942
926
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -945,162 +929,195 @@ export interface DescribeEnvironmentsResponse {
945
929
  }
946
930
 
947
931
  /**
948
- * ModifyIngress请求参数结构体
932
+ * DescribeApplicationsStatus请求参数结构体
949
933
  */
950
- export interface ModifyIngressRequest {
934
+ export interface DescribeApplicationsStatusRequest {
951
935
  /**
952
- * Ingress 规则配置
936
+ * 来源渠道
953
937
  */
954
- Ingress: IngressInfo
938
+ SourceChannel?: number
955
939
 
956
940
  /**
957
- * 来源渠道
941
+ * 环境ID
958
942
  */
959
- SourceChannel?: number
943
+ EnvironmentId?: string
960
944
  }
961
945
 
962
946
  /**
963
- * DescribeApplicationPods请求参数结构体
947
+ * 应用实例
964
948
  */
965
- export interface DescribeApplicationPodsRequest {
949
+ export interface RunVersionPod {
966
950
  /**
967
- * 环境id
951
+ * shell地址
968
952
  */
969
- EnvironmentId: string
953
+ Webshell: string
970
954
 
971
955
  /**
972
- * 应用id
956
+ * pod的id
973
957
  */
974
- ApplicationId: string
958
+ PodId: string
975
959
 
976
960
  /**
977
- * 单页条数,默认值20
961
+ * 状态
978
962
  */
979
- Limit?: number
963
+ Status: string
980
964
 
981
965
  /**
982
- * 分页下标,默认值0
966
+ * 创建时间
983
967
  */
984
- Offset?: number
968
+ CreateTime: string
985
969
 
986
970
  /**
987
- * 实例状态
988
- - Running
989
- - Pending
990
- - Error
971
+ * 实例的ip
972
+ */
973
+ PodIp: string
974
+
975
+ /**
976
+ * 可用区
977
+ 注意:此字段可能返回 null,表示取不到有效值。
991
978
  */
992
- Status?: string
979
+ Zone: string
993
980
 
994
981
  /**
995
- * 实例名字
996
- */
997
- PodName?: string
982
+ * 部署版本
983
+ 注意:此字段可能返回 null,表示取不到有效值。
984
+ */
985
+ DeployVersion: string
998
986
 
999
987
  /**
1000
- * 来源渠道
1001
- */
1002
- SourceChannel?: number
988
+ * 重启次数
989
+ 注意:此字段可能返回 null,表示取不到有效值。
990
+ */
991
+ RestartCount: number
992
+
993
+ /**
994
+ * pod是否就绪
995
+ 注意:此字段可能返回 null,表示取不到有效值。
996
+ */
997
+ Ready: boolean
998
+
999
+ /**
1000
+ * 容器状态
1001
+ 注意:此字段可能返回 null,表示取不到有效值。
1002
+ */
1003
+ ContainerState: string
1003
1004
  }
1004
1005
 
1005
1006
  /**
1006
- * CreateApplication请求参数结构体
1007
+ * CreateResource返回参数结构体
1007
1008
  */
1008
- export interface CreateApplicationRequest {
1009
+ export interface CreateResourceResponse {
1009
1010
  /**
1010
- * 应用名
1011
- */
1012
- ApplicationName: string
1011
+ * 成功与否
1012
+ 注意:此字段可能返回 null,表示取不到有效值。
1013
+ */
1014
+ Result: boolean
1013
1015
 
1014
1016
  /**
1015
- * 描述
1017
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1016
1018
  */
1017
- Description: string
1019
+ RequestId?: string
1020
+ }
1018
1021
 
1022
+ /**
1023
+ * ModifyApplicationInfo返回参数结构体
1024
+ */
1025
+ export interface ModifyApplicationInfoResponse {
1019
1026
  /**
1020
- * 是否使用默认镜像服务 1-是,0-否
1021
- */
1022
- UseDefaultImageService?: number
1027
+ * 成功与否
1028
+ 注意:此字段可能返回 null,表示取不到有效值。
1029
+ */
1030
+ Result: boolean
1023
1031
 
1024
1032
  /**
1025
- * 如果是绑定仓库,绑定的仓库类型,0-个人版,1-企业版
1033
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1026
1034
  */
1027
- RepoType?: number
1035
+ RequestId?: string
1036
+ }
1028
1037
 
1038
+ /**
1039
+ * RestartApplication请求参数结构体
1040
+ */
1041
+ export interface RestartApplicationRequest {
1029
1042
  /**
1030
- * 企业版镜像服务的实例id
1043
+ * 服务id
1031
1044
  */
1032
- InstanceId?: string
1045
+ ApplicationId: string
1033
1046
 
1034
1047
  /**
1035
- * 绑定镜像服务器地址
1048
+ * 来源渠道
1036
1049
  */
1037
- RepoServer?: string
1050
+ SourceChannel?: number
1038
1051
 
1039
1052
  /**
1040
- * 绑定镜像仓库名
1053
+ * 环境ID
1041
1054
  */
1042
- RepoName?: string
1055
+ EnvironmentId?: string
1056
+ }
1043
1057
 
1058
+ /**
1059
+ * DestroyEnvironment返回参数结构体
1060
+ */
1061
+ export interface DestroyEnvironmentResponse {
1044
1062
  /**
1045
- * 来源渠道
1063
+ * 返回结果
1046
1064
  */
1047
- SourceChannel?: number
1065
+ Result: boolean
1048
1066
 
1049
1067
  /**
1050
- * 应用所在子网
1068
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1051
1069
  */
1052
- SubnetList?: Array<string>
1070
+ RequestId?: string
1071
+ }
1053
1072
 
1073
+ /**
1074
+ * DescribeIngress请求参数结构体
1075
+ */
1076
+ export interface DescribeIngressRequest {
1054
1077
  /**
1055
- * 编程语言
1056
- - JAVA
1057
- - OTHER
1058
- */
1059
- CodingLanguage?: string
1078
+ * 环境ID
1079
+ */
1080
+ EnvironmentId: string
1060
1081
 
1061
1082
  /**
1062
- * 部署方式
1063
- - IMAGE
1064
- - JAR
1065
- - WAR
1066
- */
1067
- DeployMode?: string
1083
+ * 环境namespace
1084
+ */
1085
+ ClusterNamespace: string
1068
1086
 
1069
1087
  /**
1070
- * 是否开启 Java 应用的 APM 自动上报功能,1 表示启用;0 表示关闭
1088
+ * ingress 规则名
1071
1089
  */
1072
- EnableTracing?: number
1090
+ IngressName: string
1073
1091
 
1074
1092
  /**
1075
- * 使用默认镜像服务额外参数
1093
+ * 来源渠道
1076
1094
  */
1077
- UseDefaultImageServiceParameters?: UseDefaultRepoParameters
1095
+ SourceChannel?: number
1078
1096
  }
1079
1097
 
1080
1098
  /**
1081
- * 开启prometheus监控配置
1099
+ * StopApplication返回参数结构体
1082
1100
  */
1083
- export interface EnablePrometheusConf {
1101
+ export interface StopApplicationResponse {
1084
1102
  /**
1085
- * 应用开放的监听端口
1103
+ * 返回结果
1086
1104
  */
1087
- Port?: number
1105
+ Result: boolean
1088
1106
 
1089
1107
  /**
1090
- * 业务指标暴露的url path
1108
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1091
1109
  */
1092
- Path?: string
1110
+ RequestId?: string
1093
1111
  }
1094
1112
 
1095
1113
  /**
1096
- * DescribeRelatedIngresses返回参数结构体
1114
+ * DeployApplication返回参数结构体
1097
1115
  */
1098
- export interface DescribeRelatedIngressesResponse {
1116
+ export interface DeployApplicationResponse {
1099
1117
  /**
1100
- * ingress 数组
1101
- 注意:此字段可能返回 null,表示取不到有效值。
1102
- */
1103
- Result: Array<IngressInfo>
1118
+ * 版本ID(前端可忽略)
1119
+ */
1120
+ Result: string
1104
1121
 
1105
1122
  /**
1106
1123
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -1109,210 +1126,231 @@ export interface DescribeRelatedIngressesResponse {
1109
1126
  }
1110
1127
 
1111
1128
  /**
1112
- * DescribeIngresses请求参数结构体
1129
+ * RestartApplicationPod返回参数结构体
1113
1130
  */
1114
- export interface DescribeIngressesRequest {
1131
+ export interface RestartApplicationPodResponse {
1115
1132
  /**
1116
- * 环境 id
1117
- */
1118
- EnvironmentId?: string
1133
+ * 返回结果
1134
+ 注意:此字段可能返回 null,表示取不到有效值。
1135
+ */
1136
+ Result: boolean
1119
1137
 
1120
1138
  /**
1121
- * 环境 namespace
1139
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1122
1140
  */
1123
- ClusterNamespace?: string
1141
+ RequestId?: string
1142
+ }
1124
1143
 
1144
+ /**
1145
+ * 环境停止进程(只统计由环境停止操作触发的应用数量)
1146
+ */
1147
+ export interface TemEnvironmentStoppingStatus {
1125
1148
  /**
1126
- * 来源渠道
1127
- */
1128
- SourceChannel?: number
1149
+ * 需要停止的应用数量
1150
+ 注意:此字段可能返回 null,表示取不到有效值。
1151
+ */
1152
+ ApplicationNumNeedToStop?: number
1129
1153
 
1130
1154
  /**
1131
- * ingress 规则名列表
1132
- */
1133
- IngressNames?: Array<string>
1155
+ * 已经停止的应用数量
1156
+ 注意:此字段可能返回 null,表示取不到有效值。
1157
+ */
1158
+ StoppedApplicationNum?: number
1134
1159
  }
1135
1160
 
1136
1161
  /**
1137
- * 版本pod列表
1162
+ * DeleteApplication请求参数结构体
1138
1163
  */
1139
- export interface DescribeRunPodPage {
1140
- /**
1141
- * 分页下标
1142
- */
1143
- Offset: number
1144
-
1164
+ export interface DeleteApplicationRequest {
1145
1165
  /**
1146
- * 单页条数
1166
+ * 服务Id
1147
1167
  */
1148
- Limit: number
1168
+ ApplicationId: string
1149
1169
 
1150
1170
  /**
1151
- * 总数
1171
+ * 环境ID
1152
1172
  */
1153
- TotalCount: number
1173
+ EnvironmentId: string
1154
1174
 
1155
1175
  /**
1156
- * 请求id
1176
+ * 来源渠道
1157
1177
  */
1158
- RequestId: string
1178
+ SourceChannel?: number
1159
1179
 
1160
1180
  /**
1161
- * 条目
1181
+ * 当服务没有任何运行版本时,是否删除此服务
1162
1182
  */
1163
- PodList: Array<RunVersionPod>
1183
+ DeleteApplicationIfNoRunningVersion?: boolean
1164
1184
  }
1165
1185
 
1166
1186
  /**
1167
- * ingress tls 配置
1187
+ * DescribeApplicationsStatus返回参数结构体
1168
1188
  */
1169
- export interface IngressTls {
1170
- /**
1171
- * host 数组, 空数组表示全部域名的默认证书
1172
- */
1173
- Hosts: Array<string>
1174
-
1189
+ export interface DescribeApplicationsStatusResponse {
1175
1190
  /**
1176
- * secret name,如使用证书,则填空字符串
1191
+ * 返回结果
1177
1192
  */
1178
- SecretName: string
1193
+ Result: Array<ServiceVersionBrief>
1179
1194
 
1180
1195
  /**
1181
- * SSL Certificate Id
1196
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1182
1197
  */
1183
- CertificateId?: string
1198
+ RequestId?: string
1184
1199
  }
1185
1200
 
1186
1201
  /**
1187
- * 分批发布单批次详情
1202
+ * DescribeDeployApplicationDetail请求参数结构体
1188
1203
  */
1189
- export interface DeployServicePodDetail {
1204
+ export interface DescribeDeployApplicationDetailRequest {
1190
1205
  /**
1191
- * pod Id
1192
- 注意:此字段可能返回 null,表示取不到有效值。
1193
- */
1194
- PodId?: string
1206
+ * 服务id
1207
+ */
1208
+ ApplicationId?: string
1195
1209
 
1196
1210
  /**
1197
- * pod状态
1198
- 注意:此字段可能返回 null,表示取不到有效值。
1199
- */
1200
- PodStatus?: Array<string>
1211
+ * 环境id
1212
+ */
1213
+ EnvironmentId?: string
1201
1214
 
1202
1215
  /**
1203
- * pod版本
1204
- 注意:此字段可能返回 null,表示取不到有效值。
1205
- */
1206
- PodVersion?: string
1216
+ * 版本部署id
1217
+ */
1218
+ VersionId?: string
1219
+ }
1207
1220
 
1221
+ /**
1222
+ * DeleteIngress请求参数结构体
1223
+ */
1224
+ export interface DeleteIngressRequest {
1208
1225
  /**
1209
- * pod创建时间
1210
- 注意:此字段可能返回 null,表示取不到有效值。
1211
- */
1212
- CreateTime?: string
1226
+ * 环境ID
1227
+ */
1228
+ EnvironmentId: string
1213
1229
 
1214
1230
  /**
1215
- * pod所在可用区
1216
- 注意:此字段可能返回 null,表示取不到有效值。
1217
- */
1218
- Zone?: string
1231
+ * 环境 namespace
1232
+ */
1233
+ ClusterNamespace: string
1219
1234
 
1220
1235
  /**
1221
- * webshell地址
1222
- 注意:此字段可能返回 null,表示取不到有效值。
1223
- */
1224
- Webshell?: string
1225
- }
1236
+ * ingress 规则名
1237
+ */
1238
+ IngressName: string
1226
1239
 
1227
- /**
1228
- * ModifyApplicationReplicas返回参数结构体
1229
- */
1230
- export interface ModifyApplicationReplicasResponse {
1231
1240
  /**
1232
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1241
+ * 来源渠道
1233
1242
  */
1234
- RequestId?: string
1243
+ SourceChannel?: number
1235
1244
  }
1236
1245
 
1237
1246
  /**
1238
- * ModifyApplicationReplicas请求参数结构体
1247
+ * DescribeRelatedIngresses请求参数结构体
1239
1248
  */
1240
- export interface ModifyApplicationReplicasRequest {
1249
+ export interface DescribeRelatedIngressesRequest {
1241
1250
  /**
1242
- * 服务id
1251
+ * 环境 id
1243
1252
  */
1244
- ApplicationId: string
1253
+ EnvironmentId?: string
1245
1254
 
1246
1255
  /**
1247
- * 环境ID
1256
+ * 环境 namespace
1248
1257
  */
1249
- EnvironmentId: string
1258
+ ClusterNamespace?: string
1250
1259
 
1251
1260
  /**
1252
- * 实例数量
1261
+ * 来源渠道
1253
1262
  */
1254
- Replicas: number
1263
+ SourceChannel?: number
1255
1264
 
1256
1265
  /**
1257
- * 来源渠道
1266
+ * 应用 ID
1258
1267
  */
1259
- SourceChannel?: number
1268
+ ApplicationId?: string
1260
1269
  }
1261
1270
 
1262
1271
  /**
1263
- * 日志输出配置
1272
+ * Cos token
1264
1273
  */
1265
- export interface LogOutputConf {
1274
+ export interface CosToken {
1266
1275
  /**
1267
- * 日志消费端类型
1276
+ * 唯一请求 ID
1268
1277
  */
1269
- OutputType: string
1278
+ RequestId: string
1270
1279
 
1271
1280
  /**
1272
- * cls日志集
1281
+ * 存储桶桶名
1273
1282
  */
1274
- ClsLogsetName?: string
1283
+ Bucket: string
1275
1284
 
1276
1285
  /**
1277
- * cls日志主题
1286
+ * 存储桶所在区域
1278
1287
  */
1279
- ClsLogTopicId?: string
1288
+ Region: string
1280
1289
 
1281
1290
  /**
1282
- * cls日志集id
1291
+ * 临时密钥的SecretId
1283
1292
  */
1284
- ClsLogsetId?: string
1293
+ TmpSecretId: string
1285
1294
 
1286
1295
  /**
1287
- * cls日志名称
1296
+ * 临时密钥的SecretKey
1288
1297
  */
1289
- ClsLogTopicName?: string
1290
- }
1298
+ TmpSecretKey: string
1291
1299
 
1292
- /**
1293
- * DescribeIngresses返回参数结构体
1294
- */
1295
- export interface DescribeIngressesResponse {
1296
1300
  /**
1297
- * ingress 数组
1298
- 注意:此字段可能返回 null,表示取不到有效值。
1299
- */
1300
- Result: Array<IngressInfo>
1301
+ * 临时密钥的 sessionToken
1302
+ */
1303
+ SessionToken: string
1301
1304
 
1302
1305
  /**
1303
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1306
+ * 临时密钥获取的开始时间
1304
1307
  */
1305
- RequestId?: string
1308
+ StartTime: string
1309
+
1310
+ /**
1311
+ * 临时密钥的 expiredTime
1312
+ */
1313
+ ExpiredTime: string
1314
+
1315
+ /**
1316
+ * 包完整路径
1317
+ */
1318
+ FullPath: string
1306
1319
  }
1307
1320
 
1308
1321
  /**
1309
- * DeleteIngress返回参数结构体
1322
+ * GenerateApplicationPackageDownloadUrl请求参数结构体
1310
1323
  */
1311
- export interface DeleteIngressResponse {
1324
+ export interface GenerateApplicationPackageDownloadUrlRequest {
1312
1325
  /**
1313
- * 是否删除成功
1326
+ * 应用ID
1314
1327
  */
1315
- Result: boolean
1328
+ ApplicationId: string
1329
+
1330
+ /**
1331
+ * 包名
1332
+ */
1333
+ PkgName: string
1334
+
1335
+ /**
1336
+ * 需要下载的包版本
1337
+ */
1338
+ DeployVersion: string
1339
+
1340
+ /**
1341
+ * 来源 channel
1342
+ */
1343
+ SourceChannel?: number
1344
+ }
1345
+
1346
+ /**
1347
+ * DescribeEnvironments返回参数结构体
1348
+ */
1349
+ export interface DescribeEnvironmentsResponse {
1350
+ /**
1351
+ * 返回结果
1352
+ */
1353
+ Result: NamespacePage
1316
1354
 
1317
1355
  /**
1318
1356
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -1321,18 +1359,19 @@ export interface DeleteIngressResponse {
1321
1359
  }
1322
1360
 
1323
1361
  /**
1324
- * DestroyEnvironment请求参数结构体
1362
+ * DescribeRelatedIngresses返回参数结构体
1325
1363
  */
1326
- export interface DestroyEnvironmentRequest {
1364
+ export interface DescribeRelatedIngressesResponse {
1327
1365
  /**
1328
- * 命名空间ID
1329
- */
1330
- EnvironmentId: string
1366
+ * ingress 数组
1367
+ 注意:此字段可能返回 null,表示取不到有效值。
1368
+ */
1369
+ Result: Array<IngressInfo>
1331
1370
 
1332
1371
  /**
1333
- * Namespace
1372
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1334
1373
  */
1335
- SourceChannel?: number
1374
+ RequestId?: string
1336
1375
  }
1337
1376
 
1338
1377
  /**
@@ -1427,65 +1466,121 @@ export interface TemNamespaceInfo {
1427
1466
  }
1428
1467
 
1429
1468
  /**
1430
- * GenerateApplicationPackageDownloadUrl返回参数结构体
1469
+ * 环境启动进程(只统计由环境启动操作触发的应用数量)
1431
1470
  */
1432
- export interface GenerateApplicationPackageDownloadUrlResponse {
1471
+ export interface TemEnvironmentStartingStatus {
1433
1472
  /**
1434
- * 包下载临时链接
1473
+ * 需要启动的应用数量
1435
1474
  注意:此字段可能返回 null,表示取不到有效值。
1436
1475
  */
1437
- Result: string
1476
+ ApplicationNumNeedToStart?: number
1438
1477
 
1439
1478
  /**
1440
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1441
- */
1442
- RequestId?: string
1479
+ * 已经启动的应用数量
1480
+ 注意:此字段可能返回 null,表示取不到有效值。
1481
+ */
1482
+ StartedApplicationNum?: number
1443
1483
  }
1444
1484
 
1445
1485
  /**
1446
- * Ingress 规则 backend 配置
1486
+ * 服务
1447
1487
  */
1448
- export interface IngressRuleBackend {
1488
+ export interface TemService {
1449
1489
  /**
1450
- * eks service 名
1451
- */
1452
- ServiceName: string
1490
+ * 主键
1491
+ 注意:此字段可能返回 null,表示取不到有效值。
1492
+ */
1493
+ ApplicationId: string
1453
1494
 
1454
1495
  /**
1455
- * eks service 端口
1456
- */
1457
- ServicePort: number
1458
- }
1496
+ * 服务名
1497
+ 注意:此字段可能返回 null,表示取不到有效值。
1498
+ */
1499
+ ApplicationName: string
1459
1500
 
1460
- /**
1461
- * DescribeIngress返回参数结构体
1462
- */
1463
- export interface DescribeIngressResponse {
1464
1501
  /**
1465
- * Ingress 规则配置
1466
- */
1467
- Result: IngressInfo
1502
+ * 描述
1503
+ 注意:此字段可能返回 null,表示取不到有效值。
1504
+ */
1505
+ Description: string
1468
1506
 
1469
1507
  /**
1470
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1471
- */
1472
- RequestId?: string
1473
- }
1508
+ * 命名空间id
1509
+ 注意:此字段可能返回 null,表示取不到有效值。
1510
+ */
1511
+ EnvironmentId: string
1474
1512
 
1475
- /**
1476
- * CreateCosToken返回参数结构体
1477
- */
1478
- export interface CreateCosTokenResponse {
1479
1513
  /**
1480
- * 成功时为CosToken对象,失败为null
1514
+ * 创建时间
1481
1515
  注意:此字段可能返回 null,表示取不到有效值。
1482
1516
  */
1483
- Result: CosToken
1517
+ CreateDate: string
1484
1518
 
1485
1519
  /**
1486
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1487
- */
1488
- RequestId?: string
1520
+ * 修改时间
1521
+ 注意:此字段可能返回 null,表示取不到有效值。
1522
+ */
1523
+ ModifyDate: string
1524
+
1525
+ /**
1526
+ * 修改人
1527
+ 注意:此字段可能返回 null,表示取不到有效值。
1528
+ */
1529
+ Modifier: string
1530
+
1531
+ /**
1532
+ * 创建者
1533
+ 注意:此字段可能返回 null,表示取不到有效值。
1534
+ */
1535
+ Creator: string
1536
+
1537
+ /**
1538
+ * tcr个人版or企业版
1539
+ 注意:此字段可能返回 null,表示取不到有效值。
1540
+ */
1541
+ RepoType: number
1542
+
1543
+ /**
1544
+ * 企业版实例id
1545
+ 注意:此字段可能返回 null,表示取不到有效值。
1546
+ */
1547
+ InstanceId: string
1548
+
1549
+ /**
1550
+ * 镜像仓库名
1551
+ 注意:此字段可能返回 null,表示取不到有效值。
1552
+ */
1553
+ RepoName: string
1554
+
1555
+ /**
1556
+ * 编程语言
1557
+ 注意:此字段可能返回 null,表示取不到有效值。
1558
+ */
1559
+ CodingLanguage: string
1560
+
1561
+ /**
1562
+ * 部署方式
1563
+ 注意:此字段可能返回 null,表示取不到有效值。
1564
+ */
1565
+ DeployMode: string
1566
+
1567
+ /**
1568
+ * 环境名称
1569
+ 注意:此字段可能返回 null,表示取不到有效值。
1570
+ */
1571
+ EnvironmentName: string
1572
+
1573
+ /**
1574
+ * 服务当前运行环境的实例信息
1575
+ 注意:此字段可能返回 null,表示取不到有效值。
1576
+ */
1577
+ ActiveVersions: Array<ServiceVersionBrief>
1578
+
1579
+ /**
1580
+ * 是否启用链路追踪
1581
+ 注意:此字段可能返回 null,表示取不到有效值。
1582
+ */
1583
+ EnableTracing: number
1489
1584
  }
1490
1585
 
1491
1586
  /**
@@ -1510,216 +1605,439 @@ export interface IngressRule {
1510
1605
  }
1511
1606
 
1512
1607
  /**
1513
- * 定时伸缩策略
1608
+ * RestartApplicationPod请求参数结构体
1514
1609
  */
1515
- export interface CronHorizontalAutoscaler {
1610
+ export interface RestartApplicationPodRequest {
1516
1611
  /**
1517
- * 定时伸缩策略名称
1612
+ * 环境id
1518
1613
  */
1519
- Name?: string
1614
+ EnvironmentId: string
1520
1615
 
1521
1616
  /**
1522
- * 策略周期
1523
- * * *,三个范围,第一个是天,第二个是月,第三个是周,中间用空格隔开
1524
- 例子:
1525
- * * * (每天)
1526
- * * 0-3 (每周日到周三)
1527
- 1,11,21 * *(每个月1号,11号,21号)
1528
- */
1529
- Period?: string
1617
+ * 应用id
1618
+ */
1619
+ ApplicationId: string
1530
1620
 
1531
1621
  /**
1532
- * 定时伸缩策略明细
1622
+ * 名字
1533
1623
  */
1534
- Schedules?: Array<CronHorizontalAutoscalerSchedule>
1624
+ PodName: string
1535
1625
 
1536
1626
  /**
1537
- * 是否启用
1627
+ * 单页条数
1538
1628
  */
1539
- Enabled?: boolean
1629
+ Limit?: number
1540
1630
 
1541
1631
  /**
1542
- * 策略优先级,值越大优先级越高,0为最小值
1632
+ * 分页下标
1543
1633
  */
1544
- Priority?: number
1634
+ Offset?: number
1635
+
1636
+ /**
1637
+ * pod状态
1638
+ */
1639
+ Status?: string
1640
+
1641
+ /**
1642
+ * 来源渠道
1643
+ */
1644
+ SourceChannel?: number
1545
1645
  }
1546
1646
 
1547
1647
  /**
1548
- * DescribeApplicationsStatus请求参数结构体
1648
+ * DescribeDeployApplicationDetail返回参数结构体
1549
1649
  */
1550
- export interface DescribeApplicationsStatusRequest {
1650
+ export interface DescribeDeployApplicationDetailResponse {
1551
1651
  /**
1552
- * 来源渠道
1652
+ * 分批发布结果详情
1553
1653
  */
1554
- SourceChannel?: number
1654
+ Result: TemDeployApplicationDetailInfo
1555
1655
 
1556
1656
  /**
1557
- * 环境ID
1657
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1658
+ */
1659
+ RequestId?: string
1660
+ }
1661
+
1662
+ /**
1663
+ * Ingress Rule Value 配置
1664
+ */
1665
+ export interface IngressRuleValue {
1666
+ /**
1667
+ * rule 整体配置
1668
+ */
1669
+ Paths: Array<IngressRulePath>
1670
+ }
1671
+
1672
+ /**
1673
+ * ResumeDeployApplication请求参数结构体
1674
+ */
1675
+ export interface ResumeDeployApplicationRequest {
1676
+ /**
1677
+ * 需要开始下一批次的服务id
1678
+ */
1679
+ ApplicationId?: string
1680
+
1681
+ /**
1682
+ * 环境id
1558
1683
  */
1559
1684
  EnvironmentId?: string
1560
1685
  }
1561
1686
 
1562
1687
  /**
1563
- * RollingUpdateApplicationByVersion返回参数结构体
1688
+ * 挂载配置信息
1564
1689
  */
1565
- export interface RollingUpdateApplicationByVersionResponse {
1690
+ export interface MountedSettingConf {
1566
1691
  /**
1567
- * 版本ID
1692
+ * 配置名称
1568
1693
  */
1569
- Result: string
1694
+ ConfigDataName: string
1570
1695
 
1571
1696
  /**
1572
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1697
+ * 挂载路径
1573
1698
  */
1574
- RequestId?: string
1699
+ MountedPath: string
1700
+
1701
+ /**
1702
+ * 配置内容
1703
+ */
1704
+ Data?: Array<Pair>
1705
+
1706
+ /**
1707
+ * 加密配置名称
1708
+ */
1709
+ SecretDataName?: string
1575
1710
  }
1576
1711
 
1577
1712
  /**
1578
- * RollingUpdateApplicationByVersion请求参数结构体
1713
+ * 健康检查配置
1579
1714
  */
1580
- export interface RollingUpdateApplicationByVersionRequest {
1715
+ export interface HealthCheckConfig {
1716
+ /**
1717
+ * 支持的健康检查类型,如 HttpGet,TcpSocket,Exec
1718
+ */
1719
+ Type: string
1720
+
1721
+ /**
1722
+ * 仅当健康检查类型为 HttpGet 时有效,表示协议类型,如 HTTP,HTTPS
1723
+ */
1724
+ Protocol?: string
1725
+
1726
+ /**
1727
+ * 仅当健康检查类型为 HttpGet 时有效,表示请求路径
1728
+ */
1729
+ Path?: string
1730
+
1731
+ /**
1732
+ * 仅当健康检查类型为 Exec 时有效,表示执行的脚本内容
1733
+ */
1734
+ Exec?: string
1735
+
1736
+ /**
1737
+ * 仅当健康检查类型为 HttpGet\TcpSocket 时有效,表示请求路径
1738
+ */
1739
+ Port?: number
1740
+
1741
+ /**
1742
+ * 检查延迟开始时间,单位为秒,默认为 0
1743
+ */
1744
+ InitialDelaySeconds?: number
1745
+
1746
+ /**
1747
+ * 超时时间,单位为秒,默认为 1
1748
+ */
1749
+ TimeoutSeconds?: number
1750
+
1751
+ /**
1752
+ * 间隔时间,单位为秒,默认为 10
1753
+ */
1754
+ PeriodSeconds?: number
1755
+ }
1756
+
1757
+ /**
1758
+ * 分批发布单批次详情
1759
+ */
1760
+ export interface DeployServiceBatchDetail {
1761
+ /**
1762
+ * 旧实例列表
1763
+ 注意:此字段可能返回 null,表示取不到有效值。
1764
+ */
1765
+ OldPodList?: DeployServicePodDetail
1766
+
1767
+ /**
1768
+ * 新实例列表
1769
+ 注意:此字段可能返回 null,表示取不到有效值。
1770
+ */
1771
+ NewPodList?: DeployServicePodDetail
1772
+
1773
+ /**
1774
+ * 当前批次状态:"WaitForTimeExceed", "WaitForResume", "Deploying", "Finish", "NotStart"
1775
+ 注意:此字段可能返回 null,表示取不到有效值。
1776
+ */
1777
+ BatchStatus?: string
1778
+
1779
+ /**
1780
+ * 该批次预计旧实例数量
1781
+ 注意:此字段可能返回 null,表示取不到有效值。
1782
+ */
1783
+ PodNum?: number
1784
+
1785
+ /**
1786
+ * 批次id
1787
+ 注意:此字段可能返回 null,表示取不到有效值。
1788
+ */
1789
+ BatchIndex?: number
1790
+
1791
+ /**
1792
+ * 旧实例列表
1793
+ 注意:此字段可能返回 null,表示取不到有效值。
1794
+ */
1795
+ OldPods?: Array<DeployServicePodDetail>
1796
+
1797
+ /**
1798
+ * 新实例列表
1799
+ 注意:此字段可能返回 null,表示取不到有效值。
1800
+ */
1801
+ NewPods?: Array<DeployServicePodDetail>
1802
+
1803
+ /**
1804
+ * =0:手动确认批次;>0:下一批次开始时间戳
1805
+ 注意:此字段可能返回 null,表示取不到有效值。
1806
+ */
1807
+ NextBatchStartTime?: number
1808
+ }
1809
+
1810
+ /**
1811
+ * DeployApplication请求参数结构体
1812
+ */
1813
+ export interface DeployApplicationRequest {
1581
1814
  /**
1582
1815
  * 应用ID
1583
1816
  */
1584
1817
  ApplicationId: string
1585
1818
 
1819
+ /**
1820
+ * 初始化 pod 数
1821
+ */
1822
+ InitPodNum: number
1823
+
1824
+ /**
1825
+ * cpu规格
1826
+ */
1827
+ CpuSpec: number
1828
+
1829
+ /**
1830
+ * 内存规格
1831
+ */
1832
+ MemorySpec: number
1833
+
1586
1834
  /**
1587
1835
  * 环境ID
1588
1836
  */
1589
1837
  EnvironmentId: string
1590
1838
 
1591
1839
  /**
1592
- * 更新版本,IMAGE 部署为 tag 值;JAR/WAR 部署 为 Version
1840
+ * 镜像仓库
1593
1841
  */
1594
- DeployVersion: string
1842
+ ImgRepo?: string
1595
1843
 
1596
1844
  /**
1597
- * JAR/WAR 包名,仅 JAR/WAR 部署时必填
1845
+ * 版本描述信息
1598
1846
  */
1599
- PackageName?: string
1847
+ VersionDesc?: string
1600
1848
 
1601
1849
  /**
1602
- * 请求来源平台,含 IntelliJ,Coding
1850
+ * 启动参数
1851
+ */
1852
+ JvmOpts?: string
1853
+
1854
+ /**
1855
+ * 弹性伸缩配置(已废弃,请使用HorizontalAutoscaler设置弹性策略)
1856
+ */
1857
+ EsInfo?: EsInfo
1858
+
1859
+ /**
1860
+ * 环境变量配置
1861
+ */
1862
+ EnvConf?: Array<Pair>
1863
+
1864
+ /**
1865
+ * 日志配置
1866
+ */
1867
+ LogConfs?: Array<string>
1868
+
1869
+ /**
1870
+ * 数据卷配置
1871
+ */
1872
+ StorageConfs?: Array<StorageConf>
1873
+
1874
+ /**
1875
+ * 数据卷挂载配置
1876
+ */
1877
+ StorageMountConfs?: Array<StorageMountConf>
1878
+
1879
+ /**
1880
+ * 部署类型。
1881
+ - JAR:通过 jar 包部署
1882
+ - WAR:通过 war 包部署
1883
+ - IMAGE:通过镜像部署
1884
+ */
1885
+ DeployMode?: string
1886
+
1887
+ /**
1888
+ * 部署类型为 IMAGE 时,该参数表示镜像 tag。
1889
+ 部署类型为 JAR/WAR 时,该参数表示包版本号。
1890
+ */
1891
+ DeployVersion?: string
1892
+
1893
+ /**
1894
+ * 包名。使用 JAR 包或者 WAR 包部署的时候必填。
1895
+ */
1896
+ PkgName?: string
1897
+
1898
+ /**
1899
+ * JDK 版本。
1900
+ - KONA:8:使用 kona jdk 8。
1901
+ - OPEN:8:使用 open jdk 8。
1902
+ - KONA:11:使用 kona jdk 11。
1903
+ - OPEN:11:使用 open jdk 11。
1904
+ */
1905
+ JdkVersion?: string
1906
+
1907
+ /**
1908
+ * 安全组ID s
1909
+ */
1910
+ SecurityGroupIds?: Array<string>
1911
+
1912
+ /**
1913
+ * 日志输出配置
1914
+ */
1915
+ LogOutputConf?: LogOutputConf
1916
+
1917
+ /**
1918
+ * 来源渠道
1919
+ */
1920
+ SourceChannel?: number
1921
+
1922
+ /**
1923
+ * 版本描述
1924
+ */
1925
+ Description?: string
1926
+
1927
+ /**
1928
+ * 镜像命令
1929
+ */
1930
+ ImageCommand?: string
1931
+
1932
+ /**
1933
+ * 镜像命令参数
1934
+ */
1935
+ ImageArgs?: Array<string>
1936
+
1937
+ /**
1938
+ * 是否添加默认注册中心配置
1603
1939
  */
1604
- From?: string
1940
+ UseRegistryDefaultConfig?: boolean
1605
1941
 
1606
1942
  /**
1607
- * 部署策略,AUTO 为全自动;BETA 为小批量验证后自动;MANUAL 为全手动;
1943
+ * 挂载配置信息
1608
1944
  */
1609
- DeployStrategyType?: string
1945
+ SettingConfs?: Array<MountedSettingConf>
1610
1946
 
1611
1947
  /**
1612
- * 发布批次数
1948
+ * 应用访问设置
1613
1949
  */
1614
- TotalBatchCount?: number
1950
+ Service?: EksService
1615
1951
 
1616
1952
  /**
1617
- * 批次间隔时间
1953
+ * 要回滚到的历史版本id
1618
1954
  */
1619
- BatchInterval?: number
1955
+ VersionId?: string
1620
1956
 
1621
1957
  /**
1622
- * 小批量验证批次的实例数
1958
+ * 启动后执行的脚本
1623
1959
  */
1624
- BetaBatchNum?: number
1960
+ PostStart?: string
1625
1961
 
1626
1962
  /**
1627
- * 发布过程中保障的最小可用实例数
1963
+ * 停止前执行的脚本
1628
1964
  */
1629
- MinAvailable?: number
1630
- }
1965
+ PreStop?: string
1631
1966
 
1632
- /**
1633
- * 应用实例
1634
- */
1635
- export interface RunVersionPod {
1636
1967
  /**
1637
- * shell地址
1968
+ * 存活探针配置
1638
1969
  */
1639
- Webshell: string
1970
+ Liveness?: HealthCheckConfig
1640
1971
 
1641
1972
  /**
1642
- * pod的id
1973
+ * 就绪探针配置
1643
1974
  */
1644
- PodId: string
1975
+ Readiness?: HealthCheckConfig
1645
1976
 
1646
1977
  /**
1647
- * 状态
1978
+ * 分批发布策略配置
1648
1979
  */
1649
- Status: string
1980
+ DeployStrategyConf?: DeployStrategyConf
1650
1981
 
1651
1982
  /**
1652
- * 创建时间
1983
+ * 弹性策略(已弃用,请使用弹性伸缩策略组合相关接口)
1653
1984
  */
1654
- CreateTime: string
1985
+ HorizontalAutoscaler?: Array<HorizontalAutoscaler>
1655
1986
 
1656
1987
  /**
1657
- * 实例的ip
1988
+ * 定时弹性策略(已弃用,请使用弹性伸缩策略组合相关接口)
1658
1989
  */
1659
- PodIp: string
1990
+ CronHorizontalAutoscaler?: Array<CronHorizontalAutoscaler>
1660
1991
 
1661
1992
  /**
1662
- * 可用区
1663
- 注意:此字段可能返回 null,表示取不到有效值。
1664
- */
1665
- Zone: string
1993
+ * 是否启用log,1为启用,0为不启用
1994
+ */
1995
+ LogEnable?: number
1666
1996
 
1667
1997
  /**
1668
- * 部署版本
1669
- 注意:此字段可能返回 null,表示取不到有效值。
1670
- */
1671
- DeployVersion: string
1998
+ * (除开镜像配置)配置是否修改
1999
+ */
2000
+ ConfEdited?: boolean
1672
2001
 
1673
2002
  /**
1674
- * 重启次数
1675
- 注意:此字段可能返回 null,表示取不到有效值。
1676
- */
1677
- RestartCount: number
2003
+ * 是否开启应用加速
2004
+ */
2005
+ SpeedUp?: boolean
1678
2006
 
1679
2007
  /**
1680
- * pod是否就绪
1681
- 注意:此字段可能返回 null,表示取不到有效值。
1682
- */
1683
- Ready: boolean
2008
+ * 启动探针配置
2009
+ */
2010
+ StartupProbe?: HealthCheckConfig
1684
2011
 
1685
2012
  /**
1686
- * 容器状态
1687
- 注意:此字段可能返回 null,表示取不到有效值。
2013
+ * 操作系统版本;
2014
+ 当选择openjdk时,可选参数:
2015
+ - ALPINE
2016
+ - CENTOS
2017
+ 当选择konajdk时,可选参数:
2018
+ - ALPINE
2019
+ - TENCENTOS
1688
2020
  */
1689
- ContainerState: string
1690
- }
1691
-
1692
- /**
1693
- * DescribeDeployApplicationDetail返回参数结构体
1694
- */
1695
- export interface DescribeDeployApplicationDetailResponse {
1696
- /**
1697
- * 分批发布结果详情
1698
- */
1699
- Result: TemDeployApplicationDetailInfo
2021
+ OsFlavour?: string
1700
2022
 
1701
2023
  /**
1702
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2024
+ * 是否开启prometheus 业务指标监控
1703
2025
  */
1704
- RequestId?: string
1705
- }
2026
+ EnablePrometheusConf?: EnablePrometheusConf
1706
2027
 
1707
- /**
1708
- * Ingress Rule Value 配置
1709
- */
1710
- export interface IngressRuleValue {
1711
2028
  /**
1712
- * rule 整体配置
1713
- */
1714
- Paths: Array<IngressRulePath>
2029
+ * 1:开始apm采集(skywalking);
2030
+ 0:关闭apm采集;
2031
+ */
2032
+ EnableTracing?: number
1715
2033
  }
1716
2034
 
1717
2035
  /**
1718
- * CreateResource返回参数结构体
2036
+ * ModifyIngress返回参数结构体
1719
2037
  */
1720
- export interface CreateResourceResponse {
2038
+ export interface ModifyIngressResponse {
1721
2039
  /**
1722
- * 成功与否
2040
+ * 创建成功
1723
2041
  注意:此字段可能返回 null,表示取不到有效值。
1724
2042
  */
1725
2043
  Result: boolean
@@ -1731,265 +2049,233 @@ export interface CreateResourceResponse {
1731
2049
  }
1732
2050
 
1733
2051
  /**
1734
- * ModifyApplicationInfo请求参数结构体
2052
+ * DescribeApplications请求参数结构体
1735
2053
  */
1736
- export interface ModifyApplicationInfoRequest {
2054
+ export interface DescribeApplicationsRequest {
1737
2055
  /**
1738
- * 应用ID
1739
- */
1740
- ApplicationId: string
1741
-
1742
- /**
1743
- * 描述
2056
+ * 命名空间ID
1744
2057
  */
1745
- Description: string
2058
+ EnvironmentId?: string
1746
2059
 
1747
2060
  /**
1748
- * 来源渠道
2061
+ * 分页Limit
1749
2062
  */
1750
- SourceChannel?: number
2063
+ Limit?: number
1751
2064
 
1752
2065
  /**
1753
- * 是否开启调用链,(此参数已弃用)
2066
+ * 分页offset
1754
2067
  */
1755
- EnableTracing?: number
1756
- }
1757
-
1758
- /**
1759
- * ModifyApplicationInfo返回参数结构体
1760
- */
1761
- export interface ModifyApplicationInfoResponse {
1762
- /**
1763
- * 成功与否
1764
- 注意:此字段可能返回 null,表示取不到有效值。
1765
- */
1766
- Result: boolean
2068
+ Offset?: number
1767
2069
 
1768
2070
  /**
1769
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2071
+ * 来源渠道
1770
2072
  */
1771
- RequestId?: string
1772
- }
2073
+ SourceChannel?: number
1773
2074
 
1774
- /**
1775
- * DeleteApplication返回参数结构体
1776
- */
1777
- export interface DeleteApplicationResponse {
1778
2075
  /**
1779
- * 返回结果
2076
+ * 服务id
1780
2077
  */
1781
- Result: boolean
2078
+ ApplicationId?: string
1782
2079
 
1783
2080
  /**
1784
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2081
+ * 搜索关键字
1785
2082
  */
1786
- RequestId?: string
2083
+ Keyword?: string
1787
2084
  }
1788
2085
 
1789
2086
  /**
1790
- * Ingress Rule Path 配置
2087
+ * DescribeApplicationPods请求参数结构体
1791
2088
  */
1792
- export interface IngressRulePath {
2089
+ export interface DescribeApplicationPodsRequest {
1793
2090
  /**
1794
- * path 信息
2091
+ * 环境id
1795
2092
  */
1796
- Path: string
2093
+ EnvironmentId: string
1797
2094
 
1798
2095
  /**
1799
- * backend 配置
2096
+ * 应用id
1800
2097
  */
1801
- Backend: IngressRuleBackend
1802
- }
1803
-
1804
- /**
1805
- * CreateEnvironment返回参数结构体
1806
- */
1807
- export interface CreateEnvironmentResponse {
1808
- /**
1809
- * 成功时为环境ID,失败为null
1810
- 注意:此字段可能返回 null,表示取不到有效值。
1811
- */
1812
- Result: string
2098
+ ApplicationId: string
1813
2099
 
1814
2100
  /**
1815
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2101
+ * 单页条数,默认值20
1816
2102
  */
1817
- RequestId?: string
1818
- }
2103
+ Limit?: number
1819
2104
 
1820
- /**
1821
- * 命名空间分页
1822
- */
1823
- export interface NamespacePage {
1824
2105
  /**
1825
- * 分页内容
2106
+ * 分页下标,默认值0
1826
2107
  */
1827
- Records: Array<TemNamespaceInfo>
2108
+ Offset?: number
1828
2109
 
1829
2110
  /**
1830
- * 总数
1831
- */
1832
- Total: number
2111
+ * 实例状态
2112
+ - Running
2113
+ - Pending
2114
+ - Error
2115
+ */
2116
+ Status?: string
1833
2117
 
1834
2118
  /**
1835
- * 条目数
2119
+ * 实例名字
1836
2120
  */
1837
- Size: number
2121
+ PodName?: string
1838
2122
 
1839
2123
  /**
1840
- * 页数
2124
+ * 来源渠道
1841
2125
  */
1842
- Pages: number
2126
+ SourceChannel?: number
1843
2127
  }
1844
2128
 
1845
2129
  /**
1846
- * DestroyEnvironment返回参数结构体
2130
+ * CreateApplication请求参数结构体
1847
2131
  */
1848
- export interface DestroyEnvironmentResponse {
2132
+ export interface CreateApplicationRequest {
1849
2133
  /**
1850
- * 返回结果
2134
+ * 应用名
1851
2135
  */
1852
- Result: boolean
2136
+ ApplicationName: string
1853
2137
 
1854
2138
  /**
1855
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2139
+ * 描述
1856
2140
  */
1857
- RequestId?: string
1858
- }
2141
+ Description: string
1859
2142
 
1860
- /**
1861
- * CreateApplication返回参数结构体
1862
- */
1863
- export interface CreateApplicationResponse {
1864
2143
  /**
1865
- * 服务code
2144
+ * 是否使用默认镜像服务 1-是,0-否
1866
2145
  */
1867
- Result: string
2146
+ UseDefaultImageService?: number
1868
2147
 
1869
2148
  /**
1870
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2149
+ * 如果是绑定仓库,绑定的仓库类型,0-个人版,1-企业版
1871
2150
  */
1872
- RequestId?: string
1873
- }
2151
+ RepoType?: number
1874
2152
 
1875
- /**
1876
- * 弹性伸缩策略
1877
- */
1878
- export interface HorizontalAutoscaler {
1879
2153
  /**
1880
- * 最小实例数(可以不传)
2154
+ * 企业版镜像服务的实例id
1881
2155
  */
1882
- MinReplicas?: number
2156
+ InstanceId?: string
1883
2157
 
1884
2158
  /**
1885
- * 最大实例数(可以不传)
2159
+ * 绑定镜像服务器地址
1886
2160
  */
1887
- MaxReplicas?: number
2161
+ RepoServer?: string
1888
2162
 
1889
2163
  /**
1890
- * 指标度量(CPU or MEMORY)
2164
+ * 绑定镜像仓库名
1891
2165
  */
1892
- Metrics?: string
2166
+ RepoName?: string
1893
2167
 
1894
2168
  /**
1895
- * 阈值(百分比)
2169
+ * 来源渠道
1896
2170
  */
1897
- Threshold?: number
2171
+ SourceChannel?: number
1898
2172
 
1899
2173
  /**
1900
- * 是否启用
2174
+ * 应用所在子网
1901
2175
  */
1902
- Enabled?: boolean
1903
- }
2176
+ SubnetList?: Array<string>
1904
2177
 
1905
- /**
1906
- * RevertDeployApplication请求参数结构体
1907
- */
1908
- export interface RevertDeployApplicationRequest {
1909
2178
  /**
1910
- * 需要回滚的服务id
1911
- */
1912
- ApplicationId?: string
2179
+ * 编程语言
2180
+ - JAVA
2181
+ - OTHER
2182
+ */
2183
+ CodingLanguage?: string
1913
2184
 
1914
2185
  /**
1915
- * 需要回滚的服务所在环境id
1916
- */
1917
- EnvironmentId?: string
1918
- }
2186
+ * 部署方式
2187
+ - IMAGE
2188
+ - JAR
2189
+ - WAR
2190
+ */
2191
+ DeployMode?: string
1919
2192
 
1920
- /**
1921
- * 数据卷挂载信息
1922
- */
1923
- export interface StorageMountConf {
1924
2193
  /**
1925
- * 数据卷名
2194
+ * 是否开启 Java 应用的 APM 自动上报功能,1 表示启用;0 表示关闭
1926
2195
  */
1927
- VolumeName: string
2196
+ EnableTracing?: number
1928
2197
 
1929
2198
  /**
1930
- * 数据卷绑定路径
2199
+ * 使用默认镜像服务额外参数
1931
2200
  */
1932
- MountPath: string
2201
+ UseDefaultImageServiceParameters?: UseDefaultRepoParameters
1933
2202
  }
1934
2203
 
1935
2204
  /**
1936
- * ModifyEnvironment请求参数结构体
2205
+ * 命名空间状态
1937
2206
  */
1938
- export interface ModifyEnvironmentRequest {
2207
+ export interface NamespaceStatusInfo {
1939
2208
  /**
1940
- * 环境id
2209
+ * 命名空间id
1941
2210
  */
1942
2211
  EnvironmentId: string
1943
2212
 
1944
2213
  /**
1945
- * 环境名称
2214
+ * 命名空间名称
1946
2215
  */
1947
- EnvironmentName?: string
2216
+ EnvironmentName: string
1948
2217
 
1949
2218
  /**
1950
- * 环境描述
2219
+ * TCB envId | EKS clusterId
1951
2220
  */
1952
- Description?: string
2221
+ ClusterId?: string
1953
2222
 
1954
2223
  /**
1955
- * 私有网络名称
2224
+ * 环境状态
1956
2225
  */
1957
- Vpc?: string
2226
+ ClusterStatus?: string
1958
2227
 
1959
2228
  /**
1960
- * 子网网络
1961
- */
1962
- SubnetIds?: Array<string>
2229
+ * 环境启动状态(不在启动中为null)
2230
+ 注意:此字段可能返回 null,表示取不到有效值。
2231
+ */
2232
+ EnvironmentStartingStatus?: TemEnvironmentStartingStatus
1963
2233
 
1964
2234
  /**
1965
- * 来源渠道
1966
- */
1967
- SourceChannel?: number
2235
+ * 环境停止状态(不在停止中为null)
2236
+ 注意:此字段可能返回 null,表示取不到有效值。
2237
+ */
2238
+ EnvironmentStoppingStatus?: TemEnvironmentStoppingStatus
1968
2239
  }
1969
2240
 
1970
2241
  /**
1971
- * 服务端口映射
2242
+ * 版本pod列表
1972
2243
  */
1973
- export interface PortMapping {
2244
+ export interface DescribeRunPodPage {
1974
2245
  /**
1975
- * 端口
2246
+ * 分页下标
1976
2247
  */
1977
- Port: number
2248
+ Offset: number
1978
2249
 
1979
2250
  /**
1980
- * 映射端口
2251
+ * 单页条数
1981
2252
  */
1982
- TargetPort: number
2253
+ Limit: number
1983
2254
 
1984
2255
  /**
1985
- * 协议栈 TCP/UDP
2256
+ * 总数
1986
2257
  */
1987
- Protocol: string
2258
+ TotalCount: number
1988
2259
 
1989
2260
  /**
1990
- * k8s service名称
2261
+ * 请求id
1991
2262
  */
1992
- ServiceName?: string
2263
+ RequestId: string
2264
+
2265
+ /**
2266
+ * 条目
2267
+ */
2268
+ PodList: Array<RunVersionPod>
2269
+ }
2270
+
2271
+ /**
2272
+ * ModifyApplicationReplicas返回参数结构体
2273
+ */
2274
+ export interface ModifyApplicationReplicasResponse {
2275
+ /**
2276
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2277
+ */
2278
+ RequestId?: string
1993
2279
  }
1994
2280
 
1995
2281
  /**
@@ -2016,13 +2302,14 @@ export interface UseDefaultRepoParameters {
2016
2302
  }
2017
2303
 
2018
2304
  /**
2019
- * RevertDeployApplication返回参数结构体
2305
+ * GenerateApplicationPackageDownloadUrl返回参数结构体
2020
2306
  */
2021
- export interface RevertDeployApplicationResponse {
2307
+ export interface GenerateApplicationPackageDownloadUrlResponse {
2022
2308
  /**
2023
- * 是否成功
2024
- */
2025
- Result: boolean
2309
+ * 包下载临时链接
2310
+ 注意:此字段可能返回 null,表示取不到有效值。
2311
+ */
2312
+ Result: string
2026
2313
 
2027
2314
  /**
2028
2315
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2030,6 +2317,21 @@ export interface RevertDeployApplicationResponse {
2030
2317
  RequestId?: string
2031
2318
  }
2032
2319
 
2320
+ /**
2321
+ * Ingress 规则 backend 配置
2322
+ */
2323
+ export interface IngressRuleBackend {
2324
+ /**
2325
+ * eks service 名
2326
+ */
2327
+ ServiceName: string
2328
+
2329
+ /**
2330
+ * eks service 端口
2331
+ */
2332
+ ServicePort: number
2333
+ }
2334
+
2033
2335
  /**
2034
2336
  * 分批发布策略配置
2035
2337
  */
@@ -2066,113 +2368,233 @@ export interface DeployStrategyConf {
2066
2368
  }
2067
2369
 
2068
2370
  /**
2069
- * StopApplication请求参数结构体
2371
+ * DescribeIngress返回参数结构体
2070
2372
  */
2071
- export interface StopApplicationRequest {
2373
+ export interface DescribeIngressResponse {
2072
2374
  /**
2073
- * 服务id
2375
+ * Ingress 规则配置
2074
2376
  */
2075
- ApplicationId: string
2377
+ Result: IngressInfo
2076
2378
 
2077
2379
  /**
2078
- * 来源渠道
2380
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2079
2381
  */
2080
- SourceChannel?: number
2382
+ RequestId?: string
2383
+ }
2081
2384
 
2385
+ /**
2386
+ * Ingress Rule Path 配置
2387
+ */
2388
+ export interface IngressRulePath {
2082
2389
  /**
2083
- * 环境ID
2390
+ * path 信息
2084
2391
  */
2085
- EnvironmentId?: string
2392
+ Path: string
2393
+
2394
+ /**
2395
+ * backend 配置
2396
+ */
2397
+ Backend: IngressRuleBackend
2086
2398
  }
2087
2399
 
2088
2400
  /**
2089
- * DescribeIngress请求参数结构体
2401
+ * 服务版本信息列表
2090
2402
  */
2091
- export interface DescribeIngressRequest {
2403
+ export interface ServiceVersionBrief {
2092
2404
  /**
2093
- * 环境ID
2405
+ * 版本名称
2406
+ */
2407
+ VersionName: string
2408
+
2409
+ /**
2410
+ * 状态
2411
+ */
2412
+ Status: string
2413
+
2414
+ /**
2415
+ * 是否启动弹性 -- 已废弃
2416
+ */
2417
+ EnableEs: number
2418
+
2419
+ /**
2420
+ * 当前实例
2421
+ */
2422
+ CurrentInstances: number
2423
+
2424
+ /**
2425
+ * version的id
2094
2426
  */
2427
+ VersionId: string
2428
+
2429
+ /**
2430
+ * 日志输出配置 -- 已废弃
2431
+ 注意:此字段可能返回 null,表示取不到有效值。
2432
+ */
2433
+ LogOutputConf: LogOutputConf
2434
+
2435
+ /**
2436
+ * 期望实例
2437
+ 注意:此字段可能返回 null,表示取不到有效值。
2438
+ */
2439
+ ExpectedInstances: number
2440
+
2441
+ /**
2442
+ * 部署方式
2443
+ 注意:此字段可能返回 null,表示取不到有效值。
2444
+ */
2445
+ DeployMode: string
2446
+
2447
+ /**
2448
+ * 建构任务ID
2449
+ 注意:此字段可能返回 null,表示取不到有效值。
2450
+ */
2451
+ BuildTaskId: string
2452
+
2453
+ /**
2454
+ * 环境ID
2455
+ 注意:此字段可能返回 null,表示取不到有效值。
2456
+ */
2095
2457
  EnvironmentId: string
2096
2458
 
2097
2459
  /**
2098
- * 环境namespace
2460
+ * 环境name
2461
+ 注意:此字段可能返回 null,表示取不到有效值。
2462
+ */
2463
+ EnvironmentName: string
2464
+
2465
+ /**
2466
+ * 服务ID
2467
+ 注意:此字段可能返回 null,表示取不到有效值。
2468
+ */
2469
+ ApplicationId: string
2470
+
2471
+ /**
2472
+ * 服务name
2473
+ 注意:此字段可能返回 null,表示取不到有效值。
2474
+ */
2475
+ ApplicationName: string
2476
+
2477
+ /**
2478
+ * 是否正在发布中
2479
+ 注意:此字段可能返回 null,表示取不到有效值。
2480
+ */
2481
+ UnderDeploying: boolean
2482
+ }
2483
+
2484
+ /**
2485
+ * CreateApplication返回参数结构体
2486
+ */
2487
+ export interface CreateApplicationResponse {
2488
+ /**
2489
+ * 服务code
2490
+ */
2491
+ Result: string
2492
+
2493
+ /**
2494
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2495
+ */
2496
+ RequestId?: string
2497
+ }
2498
+
2499
+ /**
2500
+ * 定时伸缩策略
2501
+ */
2502
+ export interface CronHorizontalAutoscaler {
2503
+ /**
2504
+ * 定时伸缩策略名称
2505
+ */
2506
+ Name?: string
2507
+
2508
+ /**
2509
+ * 策略周期
2510
+ * * *,三个范围,第一个是天,第二个是月,第三个是周,中间用空格隔开
2511
+ 例子:
2512
+ * * * (每天)
2513
+ * * 0-3 (每周日到周三)
2514
+ 1,11,21 * *(每个月1号,11号,21号)
2515
+ */
2516
+ Period?: string
2517
+
2518
+ /**
2519
+ * 定时伸缩策略明细
2099
2520
  */
2100
- ClusterNamespace: string
2521
+ Schedules?: Array<CronHorizontalAutoscalerSchedule>
2101
2522
 
2102
2523
  /**
2103
- * ingress 规则名
2524
+ * 是否启用
2104
2525
  */
2105
- IngressName: string
2526
+ Enabled?: boolean
2106
2527
 
2107
2528
  /**
2108
- * 来源渠道
2529
+ * 策略优先级,值越大优先级越高,0为最小值
2109
2530
  */
2110
- SourceChannel?: number
2531
+ Priority?: number
2111
2532
  }
2112
2533
 
2113
2534
  /**
2114
- * CreateCosToken请求参数结构体
2535
+ * 服务端口映射
2115
2536
  */
2116
- export interface CreateCosTokenRequest {
2117
- /**
2118
- * 应用ID
2119
- */
2120
- ApplicationId: string
2121
-
2537
+ export interface PortMapping {
2122
2538
  /**
2123
- * 包名
2539
+ * 端口
2124
2540
  */
2125
- PkgName: string
2541
+ Port: number
2126
2542
 
2127
2543
  /**
2128
- * optType 1上传 2查询
2544
+ * 映射端口
2129
2545
  */
2130
- OptType: number
2546
+ TargetPort: number
2131
2547
 
2132
2548
  /**
2133
- * 来源 channel
2549
+ * 协议栈 TCP/UDP
2134
2550
  */
2135
- SourceChannel?: number
2551
+ Protocol: string
2136
2552
 
2137
2553
  /**
2138
- * 充当deployVersion入参
2554
+ * k8s service名称
2139
2555
  */
2140
- TimeVersion?: string
2556
+ ServiceName?: string
2141
2557
  }
2142
2558
 
2143
2559
  /**
2144
- * DescribeEnvironments请求参数结构体
2560
+ * ModifyEnvironment返回参数结构体
2145
2561
  */
2146
- export interface DescribeEnvironmentsRequest {
2562
+ export interface ModifyEnvironmentResponse {
2147
2563
  /**
2148
- * 分页limit
2564
+ * 成功时为环境ID,失败为null
2565
+ 注意:此字段可能返回 null,表示取不到有效值。
2566
+ */
2567
+ Result: boolean
2568
+
2569
+ /**
2570
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2149
2571
  */
2150
- Limit?: number
2572
+ RequestId?: string
2573
+ }
2151
2574
 
2575
+ /**
2576
+ * ModifyApplicationReplicas请求参数结构体
2577
+ */
2578
+ export interface ModifyApplicationReplicasRequest {
2152
2579
  /**
2153
- * 分页下标
2580
+ * 服务id
2154
2581
  */
2155
- Offset?: number
2582
+ ApplicationId: string
2156
2583
 
2157
2584
  /**
2158
- * 来源source
2585
+ * 环境ID
2159
2586
  */
2160
- SourceChannel?: number
2161
- }
2587
+ EnvironmentId: string
2162
2588
 
2163
- /**
2164
- * StopApplication返回参数结构体
2165
- */
2166
- export interface StopApplicationResponse {
2167
2589
  /**
2168
- * 返回结果
2590
+ * 实例数量
2169
2591
  */
2170
- Result: boolean
2592
+ Replicas: number
2171
2593
 
2172
2594
  /**
2173
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2595
+ * 来源渠道
2174
2596
  */
2175
- RequestId?: string
2597
+ SourceChannel?: number
2176
2598
  }
2177
2599
 
2178
2600
  /**
@@ -2265,178 +2687,33 @@ export interface CronHorizontalAutoscalerSchedule {
2265
2687
  }
2266
2688
 
2267
2689
  /**
2268
- * ResumeDeployApplication请求参数结构体
2269
- */
2270
- export interface ResumeDeployApplicationRequest {
2271
- /**
2272
- * 需要开始下一批次的服务id
2273
- */
2274
- ApplicationId?: string
2275
-
2276
- /**
2277
- * 环境id
2278
- */
2279
- EnvironmentId?: string
2280
- }
2281
-
2282
- /**
2283
- * DeployApplication返回参数结构体
2284
- */
2285
- export interface DeployApplicationResponse {
2286
- /**
2287
- * 版本ID(前端可忽略)
2288
- */
2289
- Result: string
2290
-
2291
- /**
2292
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2293
- */
2294
- RequestId?: string
2295
- }
2296
-
2297
- /**
2298
- * 存储卷配置
2299
- */
2300
- export interface StorageConf {
2301
- /**
2302
- * 存储卷名称
2303
- */
2304
- StorageVolName: string
2305
-
2306
- /**
2307
- * 存储卷路径
2308
- */
2309
- StorageVolPath: string
2310
-
2311
- /**
2312
- * 存储卷IP
2313
- 注意:此字段可能返回 null,表示取不到有效值。
2314
- */
2315
- StorageVolIp?: string
2316
- }
2317
-
2318
- /**
2319
- * 服务版本信息列表
2320
- */
2321
- export interface ServiceVersionBrief {
2322
- /**
2323
- * 版本名称
2324
- */
2325
- VersionName: string
2326
-
2327
- /**
2328
- * 状态
2329
- */
2330
- Status: string
2331
-
2332
- /**
2333
- * 是否启动弹性 -- 已废弃
2334
- */
2335
- EnableEs: number
2336
-
2337
- /**
2338
- * 当前实例
2339
- */
2340
- CurrentInstances: number
2341
-
2342
- /**
2343
- * version的id
2344
- */
2345
- VersionId: string
2346
-
2347
- /**
2348
- * 日志输出配置 -- 已废弃
2349
- 注意:此字段可能返回 null,表示取不到有效值。
2350
- */
2351
- LogOutputConf: LogOutputConf
2352
-
2353
- /**
2354
- * 期望实例
2355
- 注意:此字段可能返回 null,表示取不到有效值。
2356
- */
2357
- ExpectedInstances: number
2358
-
2359
- /**
2360
- * 部署方式
2361
- 注意:此字段可能返回 null,表示取不到有效值。
2362
- */
2363
- DeployMode: string
2364
-
2365
- /**
2366
- * 建构任务ID
2367
- 注意:此字段可能返回 null,表示取不到有效值。
2368
- */
2369
- BuildTaskId: string
2370
-
2371
- /**
2372
- * 环境ID
2373
- 注意:此字段可能返回 null,表示取不到有效值。
2374
- */
2375
- EnvironmentId: string
2376
-
2377
- /**
2378
- * 环境name
2379
- 注意:此字段可能返回 null,表示取不到有效值。
2380
- */
2381
- EnvironmentName: string
2382
-
2383
- /**
2384
- * 服务ID
2385
- 注意:此字段可能返回 null,表示取不到有效值。
2386
- */
2387
- ApplicationId: string
2388
-
2389
- /**
2390
- * 服务name
2391
- 注意:此字段可能返回 null,表示取不到有效值。
2392
- */
2393
- ApplicationName: string
2394
-
2395
- /**
2396
- * 是否正在发布中
2397
- 注意:此字段可能返回 null,表示取不到有效值。
2398
- */
2399
- UnderDeploying: boolean
2400
- }
2401
-
2402
- /**
2403
- * CreateEnvironment请求参数结构体
2690
+ * 弹性伸缩策略
2404
2691
  */
2405
- export interface CreateEnvironmentRequest {
2406
- /**
2407
- * 环境名称
2408
- */
2409
- EnvironmentName: string
2410
-
2411
- /**
2412
- * 私有网络名称
2413
- */
2414
- Vpc: string
2415
-
2692
+ export interface HorizontalAutoscaler {
2416
2693
  /**
2417
- * 子网列表
2694
+ * 最小实例数(可以不传)
2418
2695
  */
2419
- SubnetIds: Array<string>
2696
+ MinReplicas?: number
2420
2697
 
2421
2698
  /**
2422
- * 环境描述
2699
+ * 最大实例数(可以不传)
2423
2700
  */
2424
- Description?: string
2701
+ MaxReplicas?: number
2425
2702
 
2426
2703
  /**
2427
- * K8s version
2704
+ * 指标度量(CPU or MEMORY)
2428
2705
  */
2429
- K8sVersion?: string
2706
+ Metrics?: string
2430
2707
 
2431
2708
  /**
2432
- * 来源渠道
2709
+ * 阈值(百分比)
2433
2710
  */
2434
- SourceChannel?: number
2711
+ Threshold?: number
2435
2712
 
2436
2713
  /**
2437
- * 是否开启tsw服务
2714
+ * 是否启用
2438
2715
  */
2439
- EnableTswTraceService?: boolean
2716
+ Enabled?: boolean
2440
2717
  }
2441
2718
 
2442
2719
  /**