tencentcloud-sdk-nodejs-tem 4.0.1050 → 4.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -5
- package/es/index.js +1 -0
- package/es/services/index.js +1 -0
- package/es/services/tem/index.js +6 -0
- package/es/services/tem/v20201221/index.js +6 -0
- package/es/services/tem/v20201221/tem_client.js +57 -0
- package/es/services/tem/v20201221/tem_models.js +0 -0
- package/es/services/tem/v20210701/index.js +6 -0
- package/es/services/tem/v20210701/tem_client.js +156 -0
- package/es/services/tem/v20210701/tem_models.js +0 -0
- package/package.json +18 -5
- package/tencentcloud/services/tem/index.d.ts +4 -4
- package/tencentcloud/services/tem/index.js +2 -2
- package/tencentcloud/services/tem/v20201221/index.js +2 -1
- package/tencentcloud/services/tem/v20201221/tem_client.js +2 -1
- package/tencentcloud/services/tem/v20210701/index.js +2 -1
- package/tencentcloud/services/tem/v20210701/tem_client.js +2 -1
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +57 -306
- package/index.d.ts +0 -2
- package/index.js +0 -6
- package/prettier.config.js +0 -38
- package/src/index.ts +0 -1
- package/src/services/index.ts +0 -1
- package/src/services/tem/index.ts +0 -7
- package/src/services/tem/v20201221/index.ts +0 -6
- package/src/services/tem/v20201221/tem_client.ts +0 -255
- package/src/services/tem/v20201221/tem_models.ts +0 -1430
- package/src/services/tem/v20210701/index.ts +0 -6
- package/src/services/tem/v20210701/tem_client.ts +0 -685
- package/src/services/tem/v20210701/tem_models.ts +0 -4453
- package/tsconfig.json +0 -33
- package/typings/index.d.ts +0 -2
|
@@ -1,1430 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing,
|
|
11
|
-
* software distributed under the License is distributed on an
|
|
12
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
-
* KIND, either express or implied. See the License for the
|
|
14
|
-
* specific language governing permissions and limitations
|
|
15
|
-
* under the License.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* 挂载配置信息
|
|
20
|
-
*/
|
|
21
|
-
export interface MountedSettingConf {
|
|
22
|
-
/**
|
|
23
|
-
* 配置名称
|
|
24
|
-
*/
|
|
25
|
-
ConfigDataName: string
|
|
26
|
-
/**
|
|
27
|
-
* 挂载路径
|
|
28
|
-
*/
|
|
29
|
-
MountedPath: string
|
|
30
|
-
/**
|
|
31
|
-
* 配置内容
|
|
32
|
-
*/
|
|
33
|
-
Data?: Array<Pair>
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* ModifyServiceInfo返回参数结构体
|
|
38
|
-
*/
|
|
39
|
-
export interface ModifyServiceInfoResponse {
|
|
40
|
-
/**
|
|
41
|
-
* 成功与否
|
|
42
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
43
|
-
*/
|
|
44
|
-
Result: boolean
|
|
45
|
-
/**
|
|
46
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
47
|
-
*/
|
|
48
|
-
RequestId?: string
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* 数据卷挂载信息
|
|
53
|
-
*/
|
|
54
|
-
export interface StorageMountConf {
|
|
55
|
-
/**
|
|
56
|
-
* 数据卷名
|
|
57
|
-
*/
|
|
58
|
-
VolumeName: string
|
|
59
|
-
/**
|
|
60
|
-
* 数据卷绑定路径
|
|
61
|
-
*/
|
|
62
|
-
MountPath: string
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* CreateResource请求参数结构体
|
|
67
|
-
*/
|
|
68
|
-
export interface CreateResourceRequest {
|
|
69
|
-
/**
|
|
70
|
-
* 命名空间 Id
|
|
71
|
-
*/
|
|
72
|
-
NamespaceId: string
|
|
73
|
-
/**
|
|
74
|
-
* 资源类型,目前支持文件系统:CFS;日志服务:CLS;注册中心:TSE_SRE
|
|
75
|
-
*/
|
|
76
|
-
ResourceType: string
|
|
77
|
-
/**
|
|
78
|
-
* 资源 Id
|
|
79
|
-
*/
|
|
80
|
-
ResourceId: string
|
|
81
|
-
/**
|
|
82
|
-
* 来源渠道
|
|
83
|
-
*/
|
|
84
|
-
SourceChannel?: number
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* CreateServiceV2返回参数结构体
|
|
89
|
-
*/
|
|
90
|
-
export interface CreateServiceV2Response {
|
|
91
|
-
/**
|
|
92
|
-
* 服务code
|
|
93
|
-
*/
|
|
94
|
-
Result: string
|
|
95
|
-
/**
|
|
96
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
97
|
-
*/
|
|
98
|
-
RequestId?: string
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* CreateCosTokenV2请求参数结构体
|
|
103
|
-
*/
|
|
104
|
-
export interface CreateCosTokenV2Request {
|
|
105
|
-
/**
|
|
106
|
-
* 服务ID
|
|
107
|
-
*/
|
|
108
|
-
ServiceId: string
|
|
109
|
-
/**
|
|
110
|
-
* 包名
|
|
111
|
-
*/
|
|
112
|
-
PkgName: string
|
|
113
|
-
/**
|
|
114
|
-
* optType 1上传 2查询
|
|
115
|
-
*/
|
|
116
|
-
OptType: number
|
|
117
|
-
/**
|
|
118
|
-
* 来源 channel
|
|
119
|
-
*/
|
|
120
|
-
SourceChannel?: number
|
|
121
|
-
/**
|
|
122
|
-
* 充当deployVersion入参
|
|
123
|
-
*/
|
|
124
|
-
TimeVersion?: string
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* DeployServiceV2返回参数结构体
|
|
129
|
-
*/
|
|
130
|
-
export interface DeployServiceV2Response {
|
|
131
|
-
/**
|
|
132
|
-
* 版本ID(前端可忽略)
|
|
133
|
-
*/
|
|
134
|
-
Result: string
|
|
135
|
-
/**
|
|
136
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
137
|
-
*/
|
|
138
|
-
RequestId?: string
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* 弹性伸缩配置
|
|
143
|
-
*/
|
|
144
|
-
export interface EsInfo {
|
|
145
|
-
/**
|
|
146
|
-
* 最小实例数
|
|
147
|
-
*/
|
|
148
|
-
MinAliveInstances: number
|
|
149
|
-
/**
|
|
150
|
-
* 最大实例数
|
|
151
|
-
*/
|
|
152
|
-
MaxAliveInstances: number
|
|
153
|
-
/**
|
|
154
|
-
* 弹性策略,1:cpu,2:内存
|
|
155
|
-
*/
|
|
156
|
-
EsStrategy: number
|
|
157
|
-
/**
|
|
158
|
-
* 弹性扩缩容条件值
|
|
159
|
-
*/
|
|
160
|
-
Threshold: number
|
|
161
|
-
/**
|
|
162
|
-
* 版本Id
|
|
163
|
-
*/
|
|
164
|
-
VersionId?: string
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* DescribeNamespaces返回参数结构体
|
|
169
|
-
*/
|
|
170
|
-
export interface DescribeNamespacesResponse {
|
|
171
|
-
/**
|
|
172
|
-
* 返回结果
|
|
173
|
-
*/
|
|
174
|
-
Result: NamespacePage
|
|
175
|
-
/**
|
|
176
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
177
|
-
*/
|
|
178
|
-
RequestId?: string
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* 服务端口映射
|
|
183
|
-
*/
|
|
184
|
-
export interface PortMapping {
|
|
185
|
-
/**
|
|
186
|
-
* 端口
|
|
187
|
-
*/
|
|
188
|
-
Port: number
|
|
189
|
-
/**
|
|
190
|
-
* 映射端口
|
|
191
|
-
*/
|
|
192
|
-
TargetPort: number
|
|
193
|
-
/**
|
|
194
|
-
* 协议栈 TCP/UDP
|
|
195
|
-
*/
|
|
196
|
-
Protocol: string
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* RestartServiceRunPod请求参数结构体
|
|
201
|
-
*/
|
|
202
|
-
export interface RestartServiceRunPodRequest {
|
|
203
|
-
/**
|
|
204
|
-
* 环境id
|
|
205
|
-
*/
|
|
206
|
-
NamespaceId: string
|
|
207
|
-
/**
|
|
208
|
-
* 服务名id
|
|
209
|
-
*/
|
|
210
|
-
ServiceId: string
|
|
211
|
-
/**
|
|
212
|
-
* 名字
|
|
213
|
-
*/
|
|
214
|
-
PodName: string
|
|
215
|
-
/**
|
|
216
|
-
* 单页条数
|
|
217
|
-
*/
|
|
218
|
-
Limit?: number
|
|
219
|
-
/**
|
|
220
|
-
* 分页下标
|
|
221
|
-
*/
|
|
222
|
-
Offset?: number
|
|
223
|
-
/**
|
|
224
|
-
* pod状态
|
|
225
|
-
*/
|
|
226
|
-
Status?: string
|
|
227
|
-
/**
|
|
228
|
-
* 来源渠道
|
|
229
|
-
*/
|
|
230
|
-
SourceChannel?: number
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* ModifyIngress返回参数结构体
|
|
235
|
-
*/
|
|
236
|
-
export interface ModifyIngressResponse {
|
|
237
|
-
/**
|
|
238
|
-
* 创建成功
|
|
239
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
240
|
-
*/
|
|
241
|
-
Result: boolean
|
|
242
|
-
/**
|
|
243
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
244
|
-
*/
|
|
245
|
-
RequestId?: string
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* DeleteIngress请求参数结构体
|
|
250
|
-
*/
|
|
251
|
-
export interface DeleteIngressRequest {
|
|
252
|
-
/**
|
|
253
|
-
* tem NamespaceId
|
|
254
|
-
*/
|
|
255
|
-
NamespaceId: string
|
|
256
|
-
/**
|
|
257
|
-
* eks namespace 名
|
|
258
|
-
*/
|
|
259
|
-
EksNamespace: string
|
|
260
|
-
/**
|
|
261
|
-
* ingress 规则名
|
|
262
|
-
*/
|
|
263
|
-
Name: string
|
|
264
|
-
/**
|
|
265
|
-
* 来源渠道
|
|
266
|
-
*/
|
|
267
|
-
SourceChannel?: number
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* ModifyServiceInfo请求参数结构体
|
|
272
|
-
*/
|
|
273
|
-
export interface ModifyServiceInfoRequest {
|
|
274
|
-
/**
|
|
275
|
-
* 服务ID
|
|
276
|
-
*/
|
|
277
|
-
ServiceId: string
|
|
278
|
-
/**
|
|
279
|
-
* 描述
|
|
280
|
-
*/
|
|
281
|
-
Description: string
|
|
282
|
-
/**
|
|
283
|
-
* 来源渠道
|
|
284
|
-
*/
|
|
285
|
-
SourceChannel?: number
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* CreateNamespace返回参数结构体
|
|
290
|
-
*/
|
|
291
|
-
export interface CreateNamespaceResponse {
|
|
292
|
-
/**
|
|
293
|
-
* 成功时为命名空间ID,失败为null
|
|
294
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
295
|
-
*/
|
|
296
|
-
Result: string
|
|
297
|
-
/**
|
|
298
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
299
|
-
*/
|
|
300
|
-
RequestId?: string
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
/**
|
|
304
|
-
* DescribeRelatedIngresses请求参数结构体
|
|
305
|
-
*/
|
|
306
|
-
export interface DescribeRelatedIngressesRequest {
|
|
307
|
-
/**
|
|
308
|
-
* 环境 id
|
|
309
|
-
*/
|
|
310
|
-
NamespaceId?: string
|
|
311
|
-
/**
|
|
312
|
-
* EKS namespace
|
|
313
|
-
*/
|
|
314
|
-
EksNamespace?: string
|
|
315
|
-
/**
|
|
316
|
-
* 来源渠道
|
|
317
|
-
*/
|
|
318
|
-
SourceChannel?: number
|
|
319
|
-
/**
|
|
320
|
-
* 服务 ID
|
|
321
|
-
*/
|
|
322
|
-
ServiceId?: string
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* Cos token
|
|
327
|
-
*/
|
|
328
|
-
export interface CosToken {
|
|
329
|
-
/**
|
|
330
|
-
* 唯一请求 ID
|
|
331
|
-
*/
|
|
332
|
-
RequestId: string
|
|
333
|
-
/**
|
|
334
|
-
* 存储桶桶名
|
|
335
|
-
*/
|
|
336
|
-
Bucket: string
|
|
337
|
-
/**
|
|
338
|
-
* 存储桶所在区域
|
|
339
|
-
*/
|
|
340
|
-
Region: string
|
|
341
|
-
/**
|
|
342
|
-
* 临时密钥的SecretId
|
|
343
|
-
*/
|
|
344
|
-
TmpSecretId: string
|
|
345
|
-
/**
|
|
346
|
-
* 临时密钥的SecretKey
|
|
347
|
-
*/
|
|
348
|
-
TmpSecretKey: string
|
|
349
|
-
/**
|
|
350
|
-
* 临时密钥的 sessionToken
|
|
351
|
-
*/
|
|
352
|
-
SessionToken: string
|
|
353
|
-
/**
|
|
354
|
-
* 临时密钥获取的开始时间
|
|
355
|
-
*/
|
|
356
|
-
StartTime: string
|
|
357
|
-
/**
|
|
358
|
-
* 临时密钥的 expiredTime
|
|
359
|
-
*/
|
|
360
|
-
ExpiredTime: string
|
|
361
|
-
/**
|
|
362
|
-
* 包完整路径
|
|
363
|
-
*/
|
|
364
|
-
FullPath: string
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
/**
|
|
368
|
-
* DescribeNamespaces请求参数结构体
|
|
369
|
-
*/
|
|
370
|
-
export interface DescribeNamespacesRequest {
|
|
371
|
-
/**
|
|
372
|
-
* 分页limit
|
|
373
|
-
*/
|
|
374
|
-
Limit?: number
|
|
375
|
-
/**
|
|
376
|
-
* 分页下标
|
|
377
|
-
*/
|
|
378
|
-
Offset?: number
|
|
379
|
-
/**
|
|
380
|
-
* 来源source
|
|
381
|
-
*/
|
|
382
|
-
SourceChannel?: number
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* CreateCosToken请求参数结构体
|
|
387
|
-
*/
|
|
388
|
-
export interface CreateCosTokenRequest {
|
|
389
|
-
/**
|
|
390
|
-
* 服务ID
|
|
391
|
-
*/
|
|
392
|
-
ServiceId: string
|
|
393
|
-
/**
|
|
394
|
-
* 服务版本ID
|
|
395
|
-
*/
|
|
396
|
-
VersionId: string
|
|
397
|
-
/**
|
|
398
|
-
* 包名
|
|
399
|
-
*/
|
|
400
|
-
PkgName: string
|
|
401
|
-
/**
|
|
402
|
-
* optType 1上传 2查询
|
|
403
|
-
*/
|
|
404
|
-
OptType: number
|
|
405
|
-
/**
|
|
406
|
-
* 来源 channel
|
|
407
|
-
*/
|
|
408
|
-
SourceChannel?: number
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
* DeployServiceV2请求参数结构体
|
|
413
|
-
*/
|
|
414
|
-
export interface DeployServiceV2Request {
|
|
415
|
-
/**
|
|
416
|
-
* 服务ID
|
|
417
|
-
*/
|
|
418
|
-
ServiceId: string
|
|
419
|
-
/**
|
|
420
|
-
* 容器端口
|
|
421
|
-
*/
|
|
422
|
-
ContainerPort: number
|
|
423
|
-
/**
|
|
424
|
-
* 初始化 pod 数
|
|
425
|
-
*/
|
|
426
|
-
InitPodNum: number
|
|
427
|
-
/**
|
|
428
|
-
* cpu规格
|
|
429
|
-
*/
|
|
430
|
-
CpuSpec: number
|
|
431
|
-
/**
|
|
432
|
-
* 内存规格
|
|
433
|
-
*/
|
|
434
|
-
MemorySpec: number
|
|
435
|
-
/**
|
|
436
|
-
* 环境ID
|
|
437
|
-
*/
|
|
438
|
-
NamespaceId: string
|
|
439
|
-
/**
|
|
440
|
-
* 镜像仓库
|
|
441
|
-
*/
|
|
442
|
-
ImgRepo?: string
|
|
443
|
-
/**
|
|
444
|
-
* 版本描述信息
|
|
445
|
-
*/
|
|
446
|
-
VersionDesc?: string
|
|
447
|
-
/**
|
|
448
|
-
* 启动参数
|
|
449
|
-
*/
|
|
450
|
-
JvmOpts?: string
|
|
451
|
-
/**
|
|
452
|
-
* 弹性伸缩配置,不传默认不启用弹性伸缩配置
|
|
453
|
-
*/
|
|
454
|
-
EsInfo?: EsInfo
|
|
455
|
-
/**
|
|
456
|
-
* 环境变量配置
|
|
457
|
-
*/
|
|
458
|
-
EnvConf?: Array<Pair>
|
|
459
|
-
/**
|
|
460
|
-
* 日志配置
|
|
461
|
-
*/
|
|
462
|
-
LogConfs?: Array<string>
|
|
463
|
-
/**
|
|
464
|
-
* 数据卷配置
|
|
465
|
-
*/
|
|
466
|
-
StorageConfs?: Array<StorageConf>
|
|
467
|
-
/**
|
|
468
|
-
* 数据卷挂载配置
|
|
469
|
-
*/
|
|
470
|
-
StorageMountConfs?: Array<StorageMountConf>
|
|
471
|
-
/**
|
|
472
|
-
* 部署类型。
|
|
473
|
-
- JAR:通过 jar 包部署
|
|
474
|
-
- WAR:通过 war 包部署
|
|
475
|
-
- IMAGE:通过镜像部署
|
|
476
|
-
*/
|
|
477
|
-
DeployMode?: string
|
|
478
|
-
/**
|
|
479
|
-
* 部署类型为 IMAGE 时,该参数表示镜像 tag。
|
|
480
|
-
部署类型为 JAR/WAR 时,该参数表示包版本号。
|
|
481
|
-
*/
|
|
482
|
-
DeployVersion?: string
|
|
483
|
-
/**
|
|
484
|
-
* 包名。使用 JAR 包或者 WAR 包部署的时候必填。
|
|
485
|
-
*/
|
|
486
|
-
PkgName?: string
|
|
487
|
-
/**
|
|
488
|
-
* JDK 版本。
|
|
489
|
-
- KONA:使用 kona jdk。
|
|
490
|
-
- OPEN:使用 open jdk。
|
|
491
|
-
*/
|
|
492
|
-
JdkVersion?: string
|
|
493
|
-
/**
|
|
494
|
-
* 安全组ID s
|
|
495
|
-
*/
|
|
496
|
-
SecurityGroupIds?: Array<string>
|
|
497
|
-
/**
|
|
498
|
-
* 日志输出配置
|
|
499
|
-
*/
|
|
500
|
-
LogOutputConf?: LogOutputConf
|
|
501
|
-
/**
|
|
502
|
-
* 来源渠道
|
|
503
|
-
*/
|
|
504
|
-
SourceChannel?: number
|
|
505
|
-
/**
|
|
506
|
-
* 版本描述
|
|
507
|
-
*/
|
|
508
|
-
Description?: string
|
|
509
|
-
/**
|
|
510
|
-
* 镜像命令
|
|
511
|
-
*/
|
|
512
|
-
ImageCommand?: string
|
|
513
|
-
/**
|
|
514
|
-
* 镜像命令参数
|
|
515
|
-
*/
|
|
516
|
-
ImageArgs?: Array<string>
|
|
517
|
-
/**
|
|
518
|
-
* 服务端口映射
|
|
519
|
-
*/
|
|
520
|
-
PortMappings?: Array<PortMapping>
|
|
521
|
-
/**
|
|
522
|
-
* 是否添加默认注册中心配置
|
|
523
|
-
*/
|
|
524
|
-
UseRegistryDefaultConfig?: boolean
|
|
525
|
-
/**
|
|
526
|
-
* 挂载配置信息
|
|
527
|
-
*/
|
|
528
|
-
SettingConfs?: Array<MountedSettingConf>
|
|
529
|
-
/**
|
|
530
|
-
* eks 访问设置
|
|
531
|
-
*/
|
|
532
|
-
EksService?: EksService
|
|
533
|
-
/**
|
|
534
|
-
* 要回滚到的历史版本id
|
|
535
|
-
*/
|
|
536
|
-
VersionId?: string
|
|
537
|
-
/**
|
|
538
|
-
* 启动后执行的脚本
|
|
539
|
-
*/
|
|
540
|
-
PostStart?: string
|
|
541
|
-
/**
|
|
542
|
-
* 停止前执行的脚本
|
|
543
|
-
*/
|
|
544
|
-
PreStop?: string
|
|
545
|
-
/**
|
|
546
|
-
* 分批发布策略配置
|
|
547
|
-
*/
|
|
548
|
-
DeployStrategyConf?: DeployStrategyConf
|
|
549
|
-
/**
|
|
550
|
-
* 存活探针配置
|
|
551
|
-
*/
|
|
552
|
-
Liveness?: HealthCheckConfig
|
|
553
|
-
/**
|
|
554
|
-
* 就绪探针配置
|
|
555
|
-
*/
|
|
556
|
-
Readiness?: HealthCheckConfig
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
/**
|
|
560
|
-
* ModifyIngress请求参数结构体
|
|
561
|
-
*/
|
|
562
|
-
export interface ModifyIngressRequest {
|
|
563
|
-
/**
|
|
564
|
-
* Ingress 规则配置
|
|
565
|
-
*/
|
|
566
|
-
Ingress: IngressInfo
|
|
567
|
-
/**
|
|
568
|
-
* 来源渠道
|
|
569
|
-
*/
|
|
570
|
-
SourceChannel?: number
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
/**
|
|
574
|
-
* GenerateDownloadUrl返回参数结构体
|
|
575
|
-
*/
|
|
576
|
-
export interface GenerateDownloadUrlResponse {
|
|
577
|
-
/**
|
|
578
|
-
* 包下载临时链接
|
|
579
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
580
|
-
*/
|
|
581
|
-
Result: string
|
|
582
|
-
/**
|
|
583
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
584
|
-
*/
|
|
585
|
-
RequestId?: string
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
/**
|
|
589
|
-
* DescribeRelatedIngresses返回参数结构体
|
|
590
|
-
*/
|
|
591
|
-
export interface DescribeRelatedIngressesResponse {
|
|
592
|
-
/**
|
|
593
|
-
* ingress 数组
|
|
594
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
595
|
-
*/
|
|
596
|
-
Result: Array<IngressInfo>
|
|
597
|
-
/**
|
|
598
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
599
|
-
*/
|
|
600
|
-
RequestId?: string
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
/**
|
|
604
|
-
* CreateNamespace请求参数结构体
|
|
605
|
-
*/
|
|
606
|
-
export interface CreateNamespaceRequest {
|
|
607
|
-
/**
|
|
608
|
-
* 命名空间名称
|
|
609
|
-
*/
|
|
610
|
-
NamespaceName: string
|
|
611
|
-
/**
|
|
612
|
-
* 私有网络名称
|
|
613
|
-
*/
|
|
614
|
-
Vpc: string
|
|
615
|
-
/**
|
|
616
|
-
* 子网列表
|
|
617
|
-
*/
|
|
618
|
-
SubnetIds: Array<string>
|
|
619
|
-
/**
|
|
620
|
-
* 命名空间描述
|
|
621
|
-
*/
|
|
622
|
-
Description?: string
|
|
623
|
-
/**
|
|
624
|
-
* K8s version
|
|
625
|
-
*/
|
|
626
|
-
K8sVersion?: string
|
|
627
|
-
/**
|
|
628
|
-
* 来源渠道
|
|
629
|
-
*/
|
|
630
|
-
SourceChannel?: number
|
|
631
|
-
/**
|
|
632
|
-
* 是否开启tsw服务
|
|
633
|
-
*/
|
|
634
|
-
EnableTswTraceService?: boolean
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
/**
|
|
638
|
-
* DescribeIngresses请求参数结构体
|
|
639
|
-
*/
|
|
640
|
-
export interface DescribeIngressesRequest {
|
|
641
|
-
/**
|
|
642
|
-
* namespace id
|
|
643
|
-
*/
|
|
644
|
-
NamespaceId?: string
|
|
645
|
-
/**
|
|
646
|
-
* namespace
|
|
647
|
-
*/
|
|
648
|
-
EksNamespace?: string
|
|
649
|
-
/**
|
|
650
|
-
* 来源渠道
|
|
651
|
-
*/
|
|
652
|
-
SourceChannel?: number
|
|
653
|
-
/**
|
|
654
|
-
* ingress 规则名列表
|
|
655
|
-
*/
|
|
656
|
-
Names?: Array<string>
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
/**
|
|
660
|
-
* 版本pod列表
|
|
661
|
-
*/
|
|
662
|
-
export interface DescribeRunPodPage {
|
|
663
|
-
/**
|
|
664
|
-
* 分页下标
|
|
665
|
-
*/
|
|
666
|
-
Offset: number
|
|
667
|
-
/**
|
|
668
|
-
* 单页条数
|
|
669
|
-
*/
|
|
670
|
-
Limit: number
|
|
671
|
-
/**
|
|
672
|
-
* 总数
|
|
673
|
-
*/
|
|
674
|
-
TotalCount: number
|
|
675
|
-
/**
|
|
676
|
-
* 请求id
|
|
677
|
-
*/
|
|
678
|
-
RequestId: string
|
|
679
|
-
/**
|
|
680
|
-
* 条目
|
|
681
|
-
*/
|
|
682
|
-
PodList: Array<RunVersionPod>
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
/**
|
|
686
|
-
* DescribeServiceRunPodListV2请求参数结构体
|
|
687
|
-
*/
|
|
688
|
-
export interface DescribeServiceRunPodListV2Request {
|
|
689
|
-
/**
|
|
690
|
-
* 环境id
|
|
691
|
-
*/
|
|
692
|
-
NamespaceId: string
|
|
693
|
-
/**
|
|
694
|
-
* 服务名id
|
|
695
|
-
*/
|
|
696
|
-
ServiceId: string
|
|
697
|
-
/**
|
|
698
|
-
* 单页条数,默认值20
|
|
699
|
-
*/
|
|
700
|
-
Limit?: number
|
|
701
|
-
/**
|
|
702
|
-
* 分页下标,默认值0
|
|
703
|
-
*/
|
|
704
|
-
Offset?: number
|
|
705
|
-
/**
|
|
706
|
-
* 实例状态
|
|
707
|
-
- Running
|
|
708
|
-
- Pending
|
|
709
|
-
- Error
|
|
710
|
-
*/
|
|
711
|
-
Status?: string
|
|
712
|
-
/**
|
|
713
|
-
* 实例名字
|
|
714
|
-
*/
|
|
715
|
-
PodName?: string
|
|
716
|
-
/**
|
|
717
|
-
* 来源渠道
|
|
718
|
-
*/
|
|
719
|
-
SourceChannel?: number
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
/**
|
|
723
|
-
* 日志输出配置
|
|
724
|
-
*/
|
|
725
|
-
export interface LogOutputConf {
|
|
726
|
-
/**
|
|
727
|
-
* 日志消费端类型
|
|
728
|
-
*/
|
|
729
|
-
OutputType: string
|
|
730
|
-
/**
|
|
731
|
-
* cls日志集
|
|
732
|
-
*/
|
|
733
|
-
ClsLogsetName?: string
|
|
734
|
-
/**
|
|
735
|
-
* cls日志主题
|
|
736
|
-
*/
|
|
737
|
-
ClsLogTopicId?: string
|
|
738
|
-
/**
|
|
739
|
-
* cls日志集id
|
|
740
|
-
*/
|
|
741
|
-
ClsLogsetId?: string
|
|
742
|
-
/**
|
|
743
|
-
* cls日志名称
|
|
744
|
-
*/
|
|
745
|
-
ClsLogTopicName?: string
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
/**
|
|
749
|
-
* DescribeIngresses返回参数结构体
|
|
750
|
-
*/
|
|
751
|
-
export interface DescribeIngressesResponse {
|
|
752
|
-
/**
|
|
753
|
-
* ingress 数组
|
|
754
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
755
|
-
*/
|
|
756
|
-
Result: Array<IngressInfo>
|
|
757
|
-
/**
|
|
758
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
759
|
-
*/
|
|
760
|
-
RequestId?: string
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
/**
|
|
764
|
-
* Ingress 配置
|
|
765
|
-
*/
|
|
766
|
-
export interface IngressInfo {
|
|
767
|
-
/**
|
|
768
|
-
* tem namespaceId
|
|
769
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
770
|
-
*/
|
|
771
|
-
NamespaceId: string
|
|
772
|
-
/**
|
|
773
|
-
* eks namespace
|
|
774
|
-
*/
|
|
775
|
-
EksNamespace: string
|
|
776
|
-
/**
|
|
777
|
-
* ip version
|
|
778
|
-
*/
|
|
779
|
-
AddressIPVersion: string
|
|
780
|
-
/**
|
|
781
|
-
* ingress name
|
|
782
|
-
*/
|
|
783
|
-
Name: string
|
|
784
|
-
/**
|
|
785
|
-
* rules 配置
|
|
786
|
-
*/
|
|
787
|
-
Rules: Array<IngressRule>
|
|
788
|
-
/**
|
|
789
|
-
* clb ID
|
|
790
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
791
|
-
*/
|
|
792
|
-
ClbId?: string
|
|
793
|
-
/**
|
|
794
|
-
* tls 配置
|
|
795
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
796
|
-
*/
|
|
797
|
-
Tls?: Array<IngressTls>
|
|
798
|
-
/**
|
|
799
|
-
* eks clusterId
|
|
800
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
801
|
-
*/
|
|
802
|
-
ClusterId?: string
|
|
803
|
-
/**
|
|
804
|
-
* clb ip
|
|
805
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
806
|
-
*/
|
|
807
|
-
Vip?: string
|
|
808
|
-
/**
|
|
809
|
-
* 创建时间
|
|
810
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
811
|
-
*/
|
|
812
|
-
CreateTime?: string
|
|
813
|
-
/**
|
|
814
|
-
* 是否混合 https,默认 false,可选值 true 代表有 https 协议监听
|
|
815
|
-
*/
|
|
816
|
-
Mixed?: boolean
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
/**
|
|
820
|
-
* DeleteIngress返回参数结构体
|
|
821
|
-
*/
|
|
822
|
-
export interface DeleteIngressResponse {
|
|
823
|
-
/**
|
|
824
|
-
* 是否删除成功
|
|
825
|
-
*/
|
|
826
|
-
Result: boolean
|
|
827
|
-
/**
|
|
828
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
829
|
-
*/
|
|
830
|
-
RequestId?: string
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
/**
|
|
834
|
-
* RestartServiceRunPod返回参数结构体
|
|
835
|
-
*/
|
|
836
|
-
export interface RestartServiceRunPodResponse {
|
|
837
|
-
/**
|
|
838
|
-
* 返回结果
|
|
839
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
840
|
-
*/
|
|
841
|
-
Result: boolean
|
|
842
|
-
/**
|
|
843
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
844
|
-
*/
|
|
845
|
-
RequestId?: string
|
|
846
|
-
}
|
|
847
|
-
|
|
848
|
-
/**
|
|
849
|
-
* ModifyNamespace请求参数结构体
|
|
850
|
-
*/
|
|
851
|
-
export interface ModifyNamespaceRequest {
|
|
852
|
-
/**
|
|
853
|
-
* 环境id
|
|
854
|
-
*/
|
|
855
|
-
NamespaceId: string
|
|
856
|
-
/**
|
|
857
|
-
* 命名空间名称
|
|
858
|
-
*/
|
|
859
|
-
NamespaceName?: string
|
|
860
|
-
/**
|
|
861
|
-
* 命名空间描述
|
|
862
|
-
*/
|
|
863
|
-
Description?: string
|
|
864
|
-
/**
|
|
865
|
-
* 私有网络名称
|
|
866
|
-
*/
|
|
867
|
-
Vpc?: string
|
|
868
|
-
/**
|
|
869
|
-
* 子网网络
|
|
870
|
-
*/
|
|
871
|
-
SubnetIds?: Array<string>
|
|
872
|
-
/**
|
|
873
|
-
* 来源渠道
|
|
874
|
-
*/
|
|
875
|
-
SourceChannel?: number
|
|
876
|
-
}
|
|
877
|
-
|
|
878
|
-
/**
|
|
879
|
-
* Ingress 规则 backend 配置
|
|
880
|
-
*/
|
|
881
|
-
export interface IngressRuleBackend {
|
|
882
|
-
/**
|
|
883
|
-
* eks service 名
|
|
884
|
-
*/
|
|
885
|
-
ServiceName: string
|
|
886
|
-
/**
|
|
887
|
-
* eks service 端口
|
|
888
|
-
*/
|
|
889
|
-
ServicePort: number
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
/**
|
|
893
|
-
* DescribeIngress返回参数结构体
|
|
894
|
-
*/
|
|
895
|
-
export interface DescribeIngressResponse {
|
|
896
|
-
/**
|
|
897
|
-
* Ingress 规则配置
|
|
898
|
-
*/
|
|
899
|
-
Result: IngressInfo
|
|
900
|
-
/**
|
|
901
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
902
|
-
*/
|
|
903
|
-
RequestId?: string
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
/**
|
|
907
|
-
* CreateCosToken返回参数结构体
|
|
908
|
-
*/
|
|
909
|
-
export interface CreateCosTokenResponse {
|
|
910
|
-
/**
|
|
911
|
-
* 成功时为CosToken对象,失败为null
|
|
912
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
913
|
-
*/
|
|
914
|
-
Result: CosToken
|
|
915
|
-
/**
|
|
916
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
917
|
-
*/
|
|
918
|
-
RequestId?: string
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
/**
|
|
922
|
-
* ingress rule 配置
|
|
923
|
-
*/
|
|
924
|
-
export interface IngressRule {
|
|
925
|
-
/**
|
|
926
|
-
* ingress rule value
|
|
927
|
-
*/
|
|
928
|
-
Http: IngressRuleValue
|
|
929
|
-
/**
|
|
930
|
-
* host 地址
|
|
931
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
932
|
-
*/
|
|
933
|
-
Host?: string
|
|
934
|
-
/**
|
|
935
|
-
* 协议,选项为 http, https,默认为 http
|
|
936
|
-
*/
|
|
937
|
-
Protocol?: string
|
|
938
|
-
}
|
|
939
|
-
|
|
940
|
-
/**
|
|
941
|
-
* Ingress Rule Path 配置
|
|
942
|
-
*/
|
|
943
|
-
export interface IngressRulePath {
|
|
944
|
-
/**
|
|
945
|
-
* path 信息
|
|
946
|
-
*/
|
|
947
|
-
Path: string
|
|
948
|
-
/**
|
|
949
|
-
* backend 配置
|
|
950
|
-
*/
|
|
951
|
-
Backend: IngressRuleBackend
|
|
952
|
-
}
|
|
953
|
-
|
|
954
|
-
/**
|
|
955
|
-
* 存储卷配置
|
|
956
|
-
*/
|
|
957
|
-
export interface StorageConf {
|
|
958
|
-
/**
|
|
959
|
-
* 存储卷名称
|
|
960
|
-
*/
|
|
961
|
-
StorageVolName: string
|
|
962
|
-
/**
|
|
963
|
-
* 存储卷路径
|
|
964
|
-
*/
|
|
965
|
-
StorageVolPath: string
|
|
966
|
-
/**
|
|
967
|
-
* 存储卷IP
|
|
968
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
969
|
-
*/
|
|
970
|
-
StorageVolIp?: string
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
/**
|
|
974
|
-
* ModifyNamespace返回参数结构体
|
|
975
|
-
*/
|
|
976
|
-
export interface ModifyNamespaceResponse {
|
|
977
|
-
/**
|
|
978
|
-
* 成功时为命名空间ID,失败为null
|
|
979
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
980
|
-
*/
|
|
981
|
-
Result: boolean
|
|
982
|
-
/**
|
|
983
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
984
|
-
*/
|
|
985
|
-
RequestId?: string
|
|
986
|
-
}
|
|
987
|
-
|
|
988
|
-
/**
|
|
989
|
-
* 版本pod
|
|
990
|
-
*/
|
|
991
|
-
export interface RunVersionPod {
|
|
992
|
-
/**
|
|
993
|
-
* shell地址
|
|
994
|
-
*/
|
|
995
|
-
Webshell: string
|
|
996
|
-
/**
|
|
997
|
-
* pod的id
|
|
998
|
-
*/
|
|
999
|
-
PodId: string
|
|
1000
|
-
/**
|
|
1001
|
-
* 状态
|
|
1002
|
-
*/
|
|
1003
|
-
Status: string
|
|
1004
|
-
/**
|
|
1005
|
-
* 创建时间
|
|
1006
|
-
*/
|
|
1007
|
-
CreateTime: string
|
|
1008
|
-
/**
|
|
1009
|
-
* 实例的ip
|
|
1010
|
-
*/
|
|
1011
|
-
PodIp: string
|
|
1012
|
-
/**
|
|
1013
|
-
* 可用区
|
|
1014
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1015
|
-
*/
|
|
1016
|
-
Zone: string
|
|
1017
|
-
/**
|
|
1018
|
-
* 部署版本
|
|
1019
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1020
|
-
*/
|
|
1021
|
-
DeployVersion: string
|
|
1022
|
-
/**
|
|
1023
|
-
* 重启次数
|
|
1024
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1025
|
-
*/
|
|
1026
|
-
RestartCount: number
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
|
-
/**
|
|
1030
|
-
* Ingress Rule Value 配置
|
|
1031
|
-
*/
|
|
1032
|
-
export interface IngressRuleValue {
|
|
1033
|
-
/**
|
|
1034
|
-
* rule 整体配置
|
|
1035
|
-
*/
|
|
1036
|
-
Paths: Array<IngressRulePath>
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1039
|
-
/**
|
|
1040
|
-
* CreateResource返回参数结构体
|
|
1041
|
-
*/
|
|
1042
|
-
export interface CreateResourceResponse {
|
|
1043
|
-
/**
|
|
1044
|
-
* 成功与否
|
|
1045
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1046
|
-
*/
|
|
1047
|
-
Result: boolean
|
|
1048
|
-
/**
|
|
1049
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1050
|
-
*/
|
|
1051
|
-
RequestId?: string
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
/**
|
|
1055
|
-
* DescribeServiceRunPodListV2返回参数结构体
|
|
1056
|
-
*/
|
|
1057
|
-
export interface DescribeServiceRunPodListV2Response {
|
|
1058
|
-
/**
|
|
1059
|
-
* 返回结果
|
|
1060
|
-
*/
|
|
1061
|
-
Result: DescribeRunPodPage
|
|
1062
|
-
/**
|
|
1063
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1064
|
-
*/
|
|
1065
|
-
RequestId?: string
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
|
-
/**
|
|
1069
|
-
* 命名空间对象
|
|
1070
|
-
*/
|
|
1071
|
-
export interface TemNamespaceInfo {
|
|
1072
|
-
/**
|
|
1073
|
-
* 命名空间id
|
|
1074
|
-
*/
|
|
1075
|
-
NamespaceId: string
|
|
1076
|
-
/**
|
|
1077
|
-
* 渠道
|
|
1078
|
-
*/
|
|
1079
|
-
Channel: string
|
|
1080
|
-
/**
|
|
1081
|
-
* 命名空间名称
|
|
1082
|
-
*/
|
|
1083
|
-
NamespaceName: string
|
|
1084
|
-
/**
|
|
1085
|
-
* 区域名称
|
|
1086
|
-
*/
|
|
1087
|
-
Region: string
|
|
1088
|
-
/**
|
|
1089
|
-
* 命名空间描述
|
|
1090
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1091
|
-
*/
|
|
1092
|
-
Description: string
|
|
1093
|
-
/**
|
|
1094
|
-
* 状态,1:已销毁;0:正常
|
|
1095
|
-
*/
|
|
1096
|
-
Status: number
|
|
1097
|
-
/**
|
|
1098
|
-
* vpc网络
|
|
1099
|
-
*/
|
|
1100
|
-
Vpc: string
|
|
1101
|
-
/**
|
|
1102
|
-
* 创建时间
|
|
1103
|
-
*/
|
|
1104
|
-
CreateDate: string
|
|
1105
|
-
/**
|
|
1106
|
-
* 修改时间
|
|
1107
|
-
*/
|
|
1108
|
-
ModifyDate: string
|
|
1109
|
-
/**
|
|
1110
|
-
* 修改人
|
|
1111
|
-
*/
|
|
1112
|
-
Modifier: string
|
|
1113
|
-
/**
|
|
1114
|
-
* 创建人
|
|
1115
|
-
*/
|
|
1116
|
-
Creator: string
|
|
1117
|
-
/**
|
|
1118
|
-
* 服务数
|
|
1119
|
-
*/
|
|
1120
|
-
ServiceNum: number
|
|
1121
|
-
/**
|
|
1122
|
-
* 运行实例数
|
|
1123
|
-
*/
|
|
1124
|
-
RunInstancesNum: number
|
|
1125
|
-
/**
|
|
1126
|
-
* 子网络
|
|
1127
|
-
*/
|
|
1128
|
-
SubnetId: string
|
|
1129
|
-
/**
|
|
1130
|
-
* tcb环境状态
|
|
1131
|
-
*/
|
|
1132
|
-
TcbEnvStatus: string
|
|
1133
|
-
/**
|
|
1134
|
-
* eks cluster status
|
|
1135
|
-
*/
|
|
1136
|
-
ClusterStatus: string
|
|
1137
|
-
/**
|
|
1138
|
-
* 是否开启tsw
|
|
1139
|
-
*/
|
|
1140
|
-
EnableTswTraceService: boolean
|
|
1141
|
-
}
|
|
1142
|
-
|
|
1143
|
-
/**
|
|
1144
|
-
* 命名空间分页
|
|
1145
|
-
*/
|
|
1146
|
-
export interface NamespacePage {
|
|
1147
|
-
/**
|
|
1148
|
-
* 分页内容
|
|
1149
|
-
*/
|
|
1150
|
-
Records: Array<TemNamespaceInfo>
|
|
1151
|
-
/**
|
|
1152
|
-
* 总数
|
|
1153
|
-
*/
|
|
1154
|
-
Total: number
|
|
1155
|
-
/**
|
|
1156
|
-
* 条目数
|
|
1157
|
-
*/
|
|
1158
|
-
Size: number
|
|
1159
|
-
/**
|
|
1160
|
-
* 页数
|
|
1161
|
-
*/
|
|
1162
|
-
Pages: number
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1165
|
-
/**
|
|
1166
|
-
* 健康检查配置
|
|
1167
|
-
*/
|
|
1168
|
-
export interface HealthCheckConfig {
|
|
1169
|
-
/**
|
|
1170
|
-
* 支持的健康检查类型,如 HttpGet,TcpSocket,Exec
|
|
1171
|
-
*/
|
|
1172
|
-
Type: string
|
|
1173
|
-
/**
|
|
1174
|
-
* 仅当健康检查类型为 HttpGet 时有效,表示协议类型,如 HTTP,HTTPS
|
|
1175
|
-
*/
|
|
1176
|
-
Protocol?: string
|
|
1177
|
-
/**
|
|
1178
|
-
* 仅当健康检查类型为 HttpGet 时有效,表示请求路径
|
|
1179
|
-
*/
|
|
1180
|
-
Path?: string
|
|
1181
|
-
/**
|
|
1182
|
-
* 仅当健康检查类型为 Exec 时有效,表示执行的脚本内容
|
|
1183
|
-
*/
|
|
1184
|
-
Exec?: string
|
|
1185
|
-
/**
|
|
1186
|
-
* 仅当健康检查类型为 HttpGet\TcpSocket 时有效,表示请求路径
|
|
1187
|
-
*/
|
|
1188
|
-
Port?: number
|
|
1189
|
-
/**
|
|
1190
|
-
* 检查延迟开始时间,单位为秒,默认为 0
|
|
1191
|
-
*/
|
|
1192
|
-
InitialDelaySeconds?: number
|
|
1193
|
-
/**
|
|
1194
|
-
* 超时时间,单位为秒,默认为 1
|
|
1195
|
-
*/
|
|
1196
|
-
TimeoutSeconds?: number
|
|
1197
|
-
/**
|
|
1198
|
-
* 间隔时间,单位为秒,默认为 10
|
|
1199
|
-
*/
|
|
1200
|
-
PeriodSeconds?: number
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
/**
|
|
1204
|
-
* CreateCosTokenV2返回参数结构体
|
|
1205
|
-
*/
|
|
1206
|
-
export interface CreateCosTokenV2Response {
|
|
1207
|
-
/**
|
|
1208
|
-
* 成功时为CosToken对象,失败为null
|
|
1209
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1210
|
-
*/
|
|
1211
|
-
Result: CosToken
|
|
1212
|
-
/**
|
|
1213
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1214
|
-
*/
|
|
1215
|
-
RequestId?: string
|
|
1216
|
-
}
|
|
1217
|
-
|
|
1218
|
-
/**
|
|
1219
|
-
* ingress tls 配置
|
|
1220
|
-
*/
|
|
1221
|
-
export interface IngressTls {
|
|
1222
|
-
/**
|
|
1223
|
-
* host 数组, 空数组表示全部域名的默认证书
|
|
1224
|
-
*/
|
|
1225
|
-
Hosts: Array<string>
|
|
1226
|
-
/**
|
|
1227
|
-
* secret name,如使用证书,则填空字符串
|
|
1228
|
-
*/
|
|
1229
|
-
SecretName: string
|
|
1230
|
-
/**
|
|
1231
|
-
* SSL Certificate Id
|
|
1232
|
-
*/
|
|
1233
|
-
CertificateId?: string
|
|
1234
|
-
}
|
|
1235
|
-
|
|
1236
|
-
/**
|
|
1237
|
-
* GenerateDownloadUrl请求参数结构体
|
|
1238
|
-
*/
|
|
1239
|
-
export interface GenerateDownloadUrlRequest {
|
|
1240
|
-
/**
|
|
1241
|
-
* 服务ID
|
|
1242
|
-
*/
|
|
1243
|
-
ServiceId: string
|
|
1244
|
-
/**
|
|
1245
|
-
* 包名
|
|
1246
|
-
*/
|
|
1247
|
-
PkgName: string
|
|
1248
|
-
/**
|
|
1249
|
-
* 需要下载的包版本
|
|
1250
|
-
*/
|
|
1251
|
-
DeployVersion: string
|
|
1252
|
-
/**
|
|
1253
|
-
* 来源 channel
|
|
1254
|
-
*/
|
|
1255
|
-
SourceChannel?: number
|
|
1256
|
-
}
|
|
1257
|
-
|
|
1258
|
-
/**
|
|
1259
|
-
* 分批发布策略配置
|
|
1260
|
-
*/
|
|
1261
|
-
export interface DeployStrategyConf {
|
|
1262
|
-
/**
|
|
1263
|
-
* 总分批数
|
|
1264
|
-
*/
|
|
1265
|
-
TotalBatchCount?: number
|
|
1266
|
-
/**
|
|
1267
|
-
* beta分批实例数
|
|
1268
|
-
*/
|
|
1269
|
-
BetaBatchNum?: number
|
|
1270
|
-
/**
|
|
1271
|
-
* 分批策略:0-全自动,1-全手动,beta分批一定是手动的,这里的策略指定的是剩余批次
|
|
1272
|
-
*/
|
|
1273
|
-
DeployStrategyType?: number
|
|
1274
|
-
/**
|
|
1275
|
-
* 每批暂停间隔
|
|
1276
|
-
*/
|
|
1277
|
-
BatchInterval?: number
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
|
-
/**
|
|
1281
|
-
* DescribeIngress请求参数结构体
|
|
1282
|
-
*/
|
|
1283
|
-
export interface DescribeIngressRequest {
|
|
1284
|
-
/**
|
|
1285
|
-
* tem namespaceId
|
|
1286
|
-
*/
|
|
1287
|
-
NamespaceId: string
|
|
1288
|
-
/**
|
|
1289
|
-
* eks namespace 名
|
|
1290
|
-
*/
|
|
1291
|
-
EksNamespace: string
|
|
1292
|
-
/**
|
|
1293
|
-
* ingress 规则名
|
|
1294
|
-
*/
|
|
1295
|
-
Name: string
|
|
1296
|
-
/**
|
|
1297
|
-
* 来源渠道
|
|
1298
|
-
*/
|
|
1299
|
-
SourceChannel?: number
|
|
1300
|
-
}
|
|
1301
|
-
|
|
1302
|
-
/**
|
|
1303
|
-
* CreateServiceV2请求参数结构体
|
|
1304
|
-
*/
|
|
1305
|
-
export interface CreateServiceV2Request {
|
|
1306
|
-
/**
|
|
1307
|
-
* 服务名
|
|
1308
|
-
*/
|
|
1309
|
-
ServiceName: string
|
|
1310
|
-
/**
|
|
1311
|
-
* 描述
|
|
1312
|
-
*/
|
|
1313
|
-
Description: string
|
|
1314
|
-
/**
|
|
1315
|
-
* 是否使用默认镜像服务 1-是,0-否
|
|
1316
|
-
*/
|
|
1317
|
-
UseDefaultImageService?: number
|
|
1318
|
-
/**
|
|
1319
|
-
* 如果是绑定仓库,绑定的仓库类型,0-个人版,1-企业版
|
|
1320
|
-
*/
|
|
1321
|
-
RepoType?: number
|
|
1322
|
-
/**
|
|
1323
|
-
* 企业版镜像服务的实例id
|
|
1324
|
-
*/
|
|
1325
|
-
InstanceId?: string
|
|
1326
|
-
/**
|
|
1327
|
-
* 绑定镜像服务器地址
|
|
1328
|
-
*/
|
|
1329
|
-
RepoServer?: string
|
|
1330
|
-
/**
|
|
1331
|
-
* 绑定镜像仓库名
|
|
1332
|
-
*/
|
|
1333
|
-
RepoName?: string
|
|
1334
|
-
/**
|
|
1335
|
-
* 来源渠道
|
|
1336
|
-
*/
|
|
1337
|
-
SourceChannel?: number
|
|
1338
|
-
/**
|
|
1339
|
-
* 服务所在子网
|
|
1340
|
-
*/
|
|
1341
|
-
SubnetList?: Array<string>
|
|
1342
|
-
/**
|
|
1343
|
-
* 编程语言
|
|
1344
|
-
- JAVA
|
|
1345
|
-
- OTHER
|
|
1346
|
-
*/
|
|
1347
|
-
CodingLanguage?: string
|
|
1348
|
-
/**
|
|
1349
|
-
* 部署方式
|
|
1350
|
-
- IMAGE
|
|
1351
|
-
- JAR
|
|
1352
|
-
- WAR
|
|
1353
|
-
*/
|
|
1354
|
-
DeployMode?: string
|
|
1355
|
-
}
|
|
1356
|
-
|
|
1357
|
-
/**
|
|
1358
|
-
* eks service info
|
|
1359
|
-
*/
|
|
1360
|
-
export interface EksService {
|
|
1361
|
-
/**
|
|
1362
|
-
* service name
|
|
1363
|
-
*/
|
|
1364
|
-
Name?: string
|
|
1365
|
-
/**
|
|
1366
|
-
* 可用端口
|
|
1367
|
-
*/
|
|
1368
|
-
Ports?: Array<number | bigint>
|
|
1369
|
-
/**
|
|
1370
|
-
* yaml 内容
|
|
1371
|
-
*/
|
|
1372
|
-
Yaml?: string
|
|
1373
|
-
/**
|
|
1374
|
-
* 服务名
|
|
1375
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1376
|
-
*/
|
|
1377
|
-
ServiceName?: string
|
|
1378
|
-
/**
|
|
1379
|
-
* 版本名
|
|
1380
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1381
|
-
*/
|
|
1382
|
-
VersionName?: string
|
|
1383
|
-
/**
|
|
1384
|
-
* 内网ip
|
|
1385
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1386
|
-
*/
|
|
1387
|
-
ClusterIp?: Array<string>
|
|
1388
|
-
/**
|
|
1389
|
-
* 外网ip
|
|
1390
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1391
|
-
*/
|
|
1392
|
-
ExternalIp?: string
|
|
1393
|
-
/**
|
|
1394
|
-
* 访问类型,可选值:
|
|
1395
|
-
- EXTERNAL(公网访问)
|
|
1396
|
-
- VPC(vpc内访问)
|
|
1397
|
-
- CLUSTER(集群内访问)
|
|
1398
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1399
|
-
*/
|
|
1400
|
-
Type?: string
|
|
1401
|
-
/**
|
|
1402
|
-
* 子网ID,只在类型为vpc访问时才有值
|
|
1403
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1404
|
-
*/
|
|
1405
|
-
SubnetId?: string
|
|
1406
|
-
/**
|
|
1407
|
-
* 负载均衡ID,只在外网访问和vpc内访问才有值,默认自动创建
|
|
1408
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1409
|
-
*/
|
|
1410
|
-
LoadBalanceId?: string
|
|
1411
|
-
/**
|
|
1412
|
-
* 端口映射
|
|
1413
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1414
|
-
*/
|
|
1415
|
-
PortMappings?: Array<PortMapping>
|
|
1416
|
-
}
|
|
1417
|
-
|
|
1418
|
-
/**
|
|
1419
|
-
* 键值对
|
|
1420
|
-
*/
|
|
1421
|
-
export interface Pair {
|
|
1422
|
-
/**
|
|
1423
|
-
* 建
|
|
1424
|
-
*/
|
|
1425
|
-
Key: string
|
|
1426
|
-
/**
|
|
1427
|
-
* 值
|
|
1428
|
-
*/
|
|
1429
|
-
Value: string
|
|
1430
|
-
}
|