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