tencentcloud-sdk-nodejs-tse 4.0.357 → 4.0.358
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 +143 -0
- package/SERVICE_CHANGELOG.md +199 -209
- package/package.json +1 -1
- package/products.md +9 -9
- package/src/services/tse/v20201207/tse_client.ts +31 -4
- package/src/services/tse/v20201207/tse_models.ts +310 -74
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +9 -1
- package/tencentcloud/services/tse/v20201207/tse_client.js +12 -0
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +280 -74
package/products.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|-|-|-|
|
|
3
3
|
| aa | [活动防刷](https://cloud.tencent.com/document/product/1189) | 2022-04-04 06:03:06 |
|
|
4
4
|
| aai | [](https://cloud.tencent.com/document/product) | 2019-08-08 23:15:13 |
|
|
5
|
-
| acp | [应用合规平台](https://cloud.tencent.com/document/product/1553) | 2022-06-
|
|
5
|
+
| acp | [应用合规平台](https://cloud.tencent.com/document/product/1553) | 2022-06-09 15:33:06 |
|
|
6
6
|
| advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2022-06-08 06:03:05 |
|
|
7
7
|
| af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2022-05-23 06:01:54 |
|
|
8
8
|
| afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-05-23 06:01:56 |
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2022-05-25 06:05:44 |
|
|
54
54
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2022-04-04 06:21:17 |
|
|
55
55
|
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-06-08 06:06:22 |
|
|
56
|
-
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-
|
|
56
|
+
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-06-10 06:04:57 |
|
|
57
57
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2022-04-04 06:23:04 |
|
|
58
58
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
59
59
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-06-07 06:04:05 |
|
|
60
60
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
61
61
|
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-06-03 06:05:18 |
|
|
62
|
-
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-
|
|
62
|
+
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-06-10 06:05:46 |
|
|
63
63
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
64
64
|
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-05-27 06:07:33 |
|
|
65
65
|
| dasb | [堡垒机](https://cloud.tencent.com/document/product/1025) | 2022-06-01 20:56:43 |
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
| eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2022-04-04 06:42:05 |
|
|
84
84
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-06-09 06:11:36 |
|
|
85
85
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-06-08 06:09:29 |
|
|
86
|
-
| ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-06-
|
|
86
|
+
| ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-06-10 06:08:07 |
|
|
87
87
|
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-06-02 06:08:13 |
|
|
88
88
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-04-04 06:42:42 |
|
|
89
89
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-06-02 06:08:18 |
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
| market | [云市场](https://cloud.tencent.com/document/product/306) | 2022-04-04 06:57:43 |
|
|
120
120
|
| memcached | [云数据库 Memcached](https://cloud.tencent.com/document/product/241) | 2022-04-04 06:57:44 |
|
|
121
121
|
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-04-04 06:57:46 |
|
|
122
|
-
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2022-06-
|
|
122
|
+
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2022-06-09 15:33:09 |
|
|
123
123
|
| mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-04-04 06:57:51 |
|
|
124
124
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-06-07 06:10:21 |
|
|
125
125
|
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-05-26 06:14:37 |
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
133
133
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-06-08 06:13:07 |
|
|
134
134
|
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-06-09 06:15:14 |
|
|
135
|
-
| organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2022-
|
|
135
|
+
| organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2022-06-10 06:11:43 |
|
|
136
136
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-04-04 07:01:49 |
|
|
137
137
|
| pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-04-04 07:02:02 |
|
|
138
138
|
| postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2022-05-09 06:11:56 |
|
|
@@ -190,15 +190,15 @@
|
|
|
190
190
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-05-19 06:19:37 |
|
|
191
191
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2022-06-07 16:18:00 |
|
|
192
192
|
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-06-08 06:17:24 |
|
|
193
|
-
| tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2022-06-
|
|
193
|
+
| tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2022-06-10 06:15:33 |
|
|
194
194
|
| tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-05-20 06:20:03 |
|
|
195
195
|
| tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-04-04 07:22:40 |
|
|
196
196
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2022-06-07 06:15:49 |
|
|
197
197
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
|
|
198
198
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-06-09 06:19:53 |
|
|
199
199
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
|
|
200
|
-
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-06-
|
|
201
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-06-
|
|
200
|
+
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-06-10 06:16:08 |
|
|
201
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-06-10 06:16:31 |
|
|
202
202
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-05-12 06:19:46 |
|
|
203
203
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-04-04 07:39:05 |
|
|
204
204
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
@@ -17,18 +17,25 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
19
19
|
import {
|
|
20
|
+
Filter,
|
|
20
21
|
DescribeSREInstancesRequest,
|
|
21
22
|
SREInstance,
|
|
22
|
-
|
|
23
|
+
ApolloEnvParam,
|
|
23
24
|
DescribeSREInstancesResponse,
|
|
25
|
+
DescribeSREInstanceAccessAddressResponse,
|
|
24
26
|
KVPair,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
+
DeleteEngineResponse,
|
|
28
|
+
CreateEngineResponse,
|
|
29
|
+
EngineAdmin,
|
|
27
30
|
EnvAddressInfo,
|
|
28
|
-
|
|
31
|
+
CreateEngineRequest,
|
|
32
|
+
InstanceTagInfo,
|
|
33
|
+
DeleteEngineRequest,
|
|
29
34
|
BoundK8SInfo,
|
|
30
35
|
DescribeSREInstanceAccessAddressRequest,
|
|
31
36
|
ServiceGovernanceInfo,
|
|
37
|
+
VpcInfo,
|
|
38
|
+
EnvInfo,
|
|
32
39
|
} from "./tse_models"
|
|
33
40
|
|
|
34
41
|
/**
|
|
@@ -40,6 +47,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
40
47
|
super("tse.tencentcloudapi.com", "2020-12-07", clientConfig)
|
|
41
48
|
}
|
|
42
49
|
|
|
50
|
+
/**
|
|
51
|
+
* 删除引擎实例
|
|
52
|
+
*/
|
|
53
|
+
async DeleteEngine(
|
|
54
|
+
req: DeleteEngineRequest,
|
|
55
|
+
cb?: (error: string, rep: DeleteEngineResponse) => void
|
|
56
|
+
): Promise<DeleteEngineResponse> {
|
|
57
|
+
return this.request("DeleteEngine", req, cb)
|
|
58
|
+
}
|
|
59
|
+
|
|
43
60
|
/**
|
|
44
61
|
* 查询引擎实例访问地址
|
|
45
62
|
*/
|
|
@@ -50,6 +67,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
50
67
|
return this.request("DescribeSREInstanceAccessAddress", req, cb)
|
|
51
68
|
}
|
|
52
69
|
|
|
70
|
+
/**
|
|
71
|
+
* 创建引擎实例
|
|
72
|
+
*/
|
|
73
|
+
async CreateEngine(
|
|
74
|
+
req: CreateEngineRequest,
|
|
75
|
+
cb?: (error: string, rep: CreateEngineResponse) => void
|
|
76
|
+
): Promise<CreateEngineResponse> {
|
|
77
|
+
return this.request("CreateEngine", req, cb)
|
|
78
|
+
}
|
|
79
|
+
|
|
53
80
|
/**
|
|
54
81
|
* 用于查询引擎实例列表
|
|
55
82
|
*/
|
|
@@ -15,6 +15,21 @@
|
|
|
15
15
|
* under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
+
/**
|
|
19
|
+
* 查询过滤通用对象
|
|
20
|
+
*/
|
|
21
|
+
export interface Filter {
|
|
22
|
+
/**
|
|
23
|
+
* 过滤参数名
|
|
24
|
+
*/
|
|
25
|
+
Name: string
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* 过滤参数值
|
|
29
|
+
*/
|
|
30
|
+
Values: Array<string>
|
|
31
|
+
}
|
|
32
|
+
|
|
18
33
|
/**
|
|
19
34
|
* DescribeSREInstances请求参数结构体
|
|
20
35
|
*/
|
|
@@ -216,6 +231,61 @@ export interface SREInstance {
|
|
|
216
231
|
IsolateTime: string
|
|
217
232
|
}
|
|
218
233
|
|
|
234
|
+
/**
|
|
235
|
+
* Apollo 环境配置参数
|
|
236
|
+
*/
|
|
237
|
+
export interface ApolloEnvParam {
|
|
238
|
+
/**
|
|
239
|
+
* 环境名称
|
|
240
|
+
*/
|
|
241
|
+
Name: string
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* 环境内引擎的节点规格 ID
|
|
245
|
+
*/
|
|
246
|
+
EngineResourceSpec: string
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* 环境内引擎的节点数量
|
|
250
|
+
*/
|
|
251
|
+
EngineNodeNum: number
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* 配置存储空间大小,以GB为单位
|
|
255
|
+
*/
|
|
256
|
+
StorageCapacity: number
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* VPC ID。在 VPC 的子网内分配一个 IP 作为 ConfigServer 的访问地址
|
|
260
|
+
*/
|
|
261
|
+
VpcId: string
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* 子网 ID。在 VPC 的子网内分配一个 IP 作为 ConfigServer 的访问地址
|
|
265
|
+
*/
|
|
266
|
+
SubnetId: string
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* DescribeSREInstances返回参数结构体
|
|
271
|
+
*/
|
|
272
|
+
export interface DescribeSREInstancesResponse {
|
|
273
|
+
/**
|
|
274
|
+
* 总数量
|
|
275
|
+
*/
|
|
276
|
+
TotalCount: number
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* 实例记录
|
|
280
|
+
*/
|
|
281
|
+
Content: Array<SREInstance>
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
285
|
+
*/
|
|
286
|
+
RequestId?: string
|
|
287
|
+
}
|
|
288
|
+
|
|
219
289
|
/**
|
|
220
290
|
* DescribeSREInstanceAccessAddress返回参数结构体
|
|
221
291
|
*/
|
|
@@ -266,19 +336,24 @@ export interface DescribeSREInstanceAccessAddressResponse {
|
|
|
266
336
|
}
|
|
267
337
|
|
|
268
338
|
/**
|
|
269
|
-
*
|
|
339
|
+
* 键值对
|
|
270
340
|
*/
|
|
271
|
-
export interface
|
|
341
|
+
export interface KVPair {
|
|
272
342
|
/**
|
|
273
|
-
*
|
|
343
|
+
* 键
|
|
274
344
|
*/
|
|
275
|
-
|
|
345
|
+
Key: string
|
|
276
346
|
|
|
277
347
|
/**
|
|
278
|
-
*
|
|
348
|
+
* 值
|
|
279
349
|
*/
|
|
280
|
-
|
|
350
|
+
Value: string
|
|
351
|
+
}
|
|
281
352
|
|
|
353
|
+
/**
|
|
354
|
+
* DeleteEngine返回参数结构体
|
|
355
|
+
*/
|
|
356
|
+
export interface DeleteEngineResponse {
|
|
282
357
|
/**
|
|
283
358
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
284
359
|
*/
|
|
@@ -286,139 +361,214 @@ export interface DescribeSREInstancesResponse {
|
|
|
286
361
|
}
|
|
287
362
|
|
|
288
363
|
/**
|
|
289
|
-
*
|
|
364
|
+
* CreateEngine返回参数结构体
|
|
290
365
|
*/
|
|
291
|
-
export interface
|
|
366
|
+
export interface CreateEngineResponse {
|
|
292
367
|
/**
|
|
293
|
-
*
|
|
368
|
+
* 引擎实例 ID
|
|
294
369
|
*/
|
|
295
|
-
|
|
370
|
+
InstanceId: string
|
|
296
371
|
|
|
297
372
|
/**
|
|
298
|
-
*
|
|
373
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
299
374
|
*/
|
|
300
|
-
|
|
375
|
+
RequestId?: string
|
|
301
376
|
}
|
|
302
377
|
|
|
303
378
|
/**
|
|
304
|
-
*
|
|
379
|
+
* 引擎的初始管理帐号
|
|
305
380
|
*/
|
|
306
|
-
export interface
|
|
381
|
+
export interface EngineAdmin {
|
|
307
382
|
/**
|
|
308
|
-
*
|
|
383
|
+
* 控制台初始用户名
|
|
309
384
|
*/
|
|
310
|
-
|
|
385
|
+
Name?: string
|
|
311
386
|
|
|
312
387
|
/**
|
|
313
|
-
*
|
|
388
|
+
* 控制台初始密码
|
|
314
389
|
*/
|
|
315
|
-
|
|
390
|
+
Password?: string
|
|
316
391
|
|
|
317
392
|
/**
|
|
318
|
-
*
|
|
393
|
+
* 引擎接口的管理员 Token
|
|
319
394
|
*/
|
|
320
|
-
|
|
395
|
+
Token?: string
|
|
396
|
+
}
|
|
321
397
|
|
|
398
|
+
/**
|
|
399
|
+
* 多环境网络信息
|
|
400
|
+
*/
|
|
401
|
+
export interface EnvAddressInfo {
|
|
322
402
|
/**
|
|
323
|
-
*
|
|
403
|
+
* 环境名
|
|
324
404
|
*/
|
|
325
|
-
|
|
405
|
+
EnvName: string
|
|
326
406
|
|
|
327
407
|
/**
|
|
328
|
-
*
|
|
408
|
+
* 是否开启config公网
|
|
329
409
|
*/
|
|
330
|
-
|
|
410
|
+
EnableConfigInternet: boolean
|
|
331
411
|
|
|
332
412
|
/**
|
|
333
|
-
*
|
|
413
|
+
* config公网ip
|
|
334
414
|
*/
|
|
335
|
-
|
|
415
|
+
ConfigInternetServiceIp: string
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* CreateEngine请求参数结构体
|
|
420
|
+
*/
|
|
421
|
+
export interface CreateEngineRequest {
|
|
422
|
+
/**
|
|
423
|
+
* 引擎类型。参考值:
|
|
424
|
+
- zookeeper
|
|
425
|
+
- nacos
|
|
426
|
+
- consul
|
|
427
|
+
- apollo
|
|
428
|
+
- eureka
|
|
429
|
+
- polaris
|
|
430
|
+
*/
|
|
431
|
+
EngineType: string
|
|
336
432
|
|
|
337
433
|
/**
|
|
338
|
-
*
|
|
434
|
+
* 引擎的开源版本。每种引擎支持的开源版本不同,请参考产品文档或者控制台购买页
|
|
339
435
|
*/
|
|
340
|
-
|
|
436
|
+
EngineVersion: string
|
|
341
437
|
|
|
342
438
|
/**
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
439
|
+
* 引擎的产品版本。参考值:
|
|
440
|
+
- STANDARD: 标准版
|
|
441
|
+
|
|
442
|
+
引擎各版本及可选择的规格、节点数说明:
|
|
443
|
+
apollo - STANDARD版本
|
|
444
|
+
规格列表:spec-qcr53kf1t(1C2G),spec-qdr53kf2w(2C4G)
|
|
445
|
+
节点数:1,2,3,4,5
|
|
446
|
+
|
|
447
|
+
eureka - STANDARD版本
|
|
448
|
+
规格列表:spec-qvj6k7t4q(1C2G),spec-qcr53kfjt(2C4G),spec-qvj6k7t4m(4G8G),spec-qcr54kfjt(8C16G),spec-qcr55kfjt(16C32G)
|
|
449
|
+
节点数:3,4,5
|
|
450
|
+
*/
|
|
451
|
+
EngineProductVersion: string
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* 引擎所在地域。参考值说明:
|
|
455
|
+
中国区 参考值:
|
|
456
|
+
- ap-guangzhou:广州
|
|
457
|
+
- ap-beijing:北京
|
|
458
|
+
- ap-chengdu:成都
|
|
459
|
+
- ap-chongqing:重庆
|
|
460
|
+
- ap-nanjing:南京
|
|
461
|
+
- ap-shanghai:上海
|
|
462
|
+
- ap-hongkong:香港
|
|
463
|
+
- ap-taipei:台北
|
|
464
|
+
亚太区 参考值:
|
|
465
|
+
- ap-jakarta:雅加达
|
|
466
|
+
- ap-singapore:新加坡
|
|
467
|
+
北美区 参考值
|
|
468
|
+
- na-toronto:多伦多
|
|
469
|
+
金融专区 参考值
|
|
470
|
+
- ap-beijing-fsi:北京金融
|
|
471
|
+
- ap-shanghai-fsi:上海金融
|
|
472
|
+
- ap-shenzhen-fsi:深圳金融
|
|
473
|
+
*/
|
|
474
|
+
EngineRegion: string
|
|
346
475
|
|
|
347
476
|
/**
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
477
|
+
* 引擎名称。参考值:
|
|
478
|
+
- eurek-test
|
|
479
|
+
*/
|
|
480
|
+
EngineName: string
|
|
351
481
|
|
|
352
482
|
/**
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
483
|
+
* 付费类型。参考值:
|
|
484
|
+
- 0:后付费
|
|
485
|
+
- 1:预付费
|
|
486
|
+
*/
|
|
487
|
+
TradeType: number
|
|
356
488
|
|
|
357
489
|
/**
|
|
358
|
-
*
|
|
490
|
+
* 引擎的节点规格 ID。参见EngineProductVersion字段说明
|
|
359
491
|
*/
|
|
360
|
-
|
|
492
|
+
EngineResourceSpec?: string
|
|
361
493
|
|
|
362
494
|
/**
|
|
363
|
-
*
|
|
495
|
+
* 引擎的节点数量。参见EngineProductVersion字段说明
|
|
364
496
|
*/
|
|
365
|
-
|
|
366
|
-
}
|
|
497
|
+
EngineNodeNum?: number
|
|
367
498
|
|
|
368
|
-
/**
|
|
369
|
-
* 查询过滤通用对象
|
|
370
|
-
*/
|
|
371
|
-
export interface Filter {
|
|
372
499
|
/**
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
500
|
+
* VPC ID。在 VPC 的子网内分配一个 IP 作为引擎的访问地址。参考值:
|
|
501
|
+
- vpc-conz6aix
|
|
502
|
+
*/
|
|
503
|
+
VpcId?: string
|
|
376
504
|
|
|
377
505
|
/**
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
506
|
+
* 子网 ID。在 VPC 的子网内分配一个 IP 作为引擎的访问地址。参考值:
|
|
507
|
+
- subnet-ahde9me9
|
|
508
|
+
*/
|
|
509
|
+
SubnetId?: string
|
|
382
510
|
|
|
383
|
-
/**
|
|
384
|
-
* 多环境网络信息
|
|
385
|
-
*/
|
|
386
|
-
export interface EnvAddressInfo {
|
|
387
511
|
/**
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
512
|
+
* Apollo 环境配置参数列表。参数说明:
|
|
513
|
+
如果创建Apollo类型,此参数为必填的环境信息列表,最多可选4个环境。环境信息参数说明:
|
|
514
|
+
- Name:环境名。参考值:prod, dev, fat, uat
|
|
515
|
+
- EngineResourceSpec:环境内引擎的节点规格ID。参见EngineProductVersion参数说明
|
|
516
|
+
- EngineNodeNum:环境内引擎的节点数量。参见EngineProductVersion参数说明,其中prod环境支持的节点数为2,3,4,5
|
|
517
|
+
- StorageCapacity:配置存储空间大小,以GB为单位,步长为5.参考值:35
|
|
518
|
+
- VpcId:VPC ID。参考值:vpc-conz6aix
|
|
519
|
+
- SubnetId:子网 ID。参考值:subnet-ahde9me9
|
|
520
|
+
*/
|
|
521
|
+
ApolloEnvParams?: Array<ApolloEnvParam>
|
|
391
522
|
|
|
392
523
|
/**
|
|
393
|
-
*
|
|
524
|
+
* 引擎的标签列表。用户自定义的key/value形式,无参考值
|
|
394
525
|
*/
|
|
395
|
-
|
|
526
|
+
EngineTags?: Array<InstanceTagInfo>
|
|
396
527
|
|
|
397
528
|
/**
|
|
398
|
-
|
|
529
|
+
* 引擎的初始帐号信息。可设置参数:
|
|
530
|
+
- Name:控制台初始用户名
|
|
531
|
+
- Password:控制台初始密码
|
|
532
|
+
- Token:引擎接口的管理员 Token
|
|
533
|
+
*/
|
|
534
|
+
EngineAdmin?: EngineAdmin
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* 预付费时长,以月为单位
|
|
399
538
|
*/
|
|
400
|
-
|
|
539
|
+
PrepaidPeriod?: number
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* 自动续费标记,仅预付费使用。参考值:
|
|
543
|
+
- 0:不自动续费
|
|
544
|
+
- 1:自动续费
|
|
545
|
+
*/
|
|
546
|
+
PrepaidRenewFlag?: number
|
|
401
547
|
}
|
|
402
548
|
|
|
403
549
|
/**
|
|
404
|
-
*
|
|
550
|
+
* 引擎实例的标签信息
|
|
405
551
|
*/
|
|
406
|
-
export interface
|
|
552
|
+
export interface InstanceTagInfo {
|
|
407
553
|
/**
|
|
408
|
-
*
|
|
554
|
+
* 标签键
|
|
409
555
|
*/
|
|
410
|
-
|
|
556
|
+
TagKey?: string
|
|
411
557
|
|
|
412
558
|
/**
|
|
413
|
-
*
|
|
559
|
+
* 标签值
|
|
414
560
|
*/
|
|
415
|
-
|
|
561
|
+
TagValue?: string
|
|
562
|
+
}
|
|
416
563
|
|
|
564
|
+
/**
|
|
565
|
+
* DeleteEngine请求参数结构体
|
|
566
|
+
*/
|
|
567
|
+
export interface DeleteEngineRequest {
|
|
417
568
|
/**
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
IntranetAddress?: string
|
|
569
|
+
* 引擎实例 ID
|
|
570
|
+
*/
|
|
571
|
+
InstanceId: string
|
|
422
572
|
}
|
|
423
573
|
|
|
424
574
|
/**
|
|
@@ -497,3 +647,89 @@ export interface ServiceGovernanceInfo {
|
|
|
497
647
|
*/
|
|
498
648
|
MainPassword?: string
|
|
499
649
|
}
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* 私有网络信息
|
|
653
|
+
*/
|
|
654
|
+
export interface VpcInfo {
|
|
655
|
+
/**
|
|
656
|
+
* Vpc Id
|
|
657
|
+
*/
|
|
658
|
+
VpcId: string
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* 子网ID
|
|
662
|
+
*/
|
|
663
|
+
SubnetId: string
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* 内网访问地址
|
|
667
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
668
|
+
*/
|
|
669
|
+
IntranetAddress?: string
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* 环境具体信息
|
|
674
|
+
*/
|
|
675
|
+
export interface EnvInfo {
|
|
676
|
+
/**
|
|
677
|
+
* 环境名称
|
|
678
|
+
*/
|
|
679
|
+
EnvName: string
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* 环境对应的网络信息
|
|
683
|
+
*/
|
|
684
|
+
VpcInfos: Array<VpcInfo>
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* 云硬盘容量
|
|
688
|
+
*/
|
|
689
|
+
StorageCapacity: number
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* 运行状态
|
|
693
|
+
*/
|
|
694
|
+
Status?: string
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* Admin service 访问地址
|
|
698
|
+
*/
|
|
699
|
+
AdminServiceIp?: string
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* Config service访问地址
|
|
703
|
+
*/
|
|
704
|
+
ConfigServiceIp?: string
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* 是否开启config-server公网
|
|
708
|
+
*/
|
|
709
|
+
EnableConfigInternet?: boolean
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* config-server公网访问地址
|
|
713
|
+
*/
|
|
714
|
+
ConfigInternetServiceIp?: string
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* 规格ID
|
|
718
|
+
*/
|
|
719
|
+
SpecId?: string
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* 环境的节点数
|
|
723
|
+
*/
|
|
724
|
+
EnvReplica?: number
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* 环境运行的节点数
|
|
728
|
+
*/
|
|
729
|
+
RunningCount?: number
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* 环境别名
|
|
733
|
+
*/
|
|
734
|
+
AliasEnvName?: string
|
|
735
|
+
}
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeSREInstancesRequest, DescribeSREInstanceAccessAddressResponse,
|
|
2
|
+
import { DescribeSREInstancesRequest, DescribeSREInstancesResponse, DescribeSREInstanceAccessAddressResponse, DeleteEngineResponse, CreateEngineResponse, CreateEngineRequest, DeleteEngineRequest, DescribeSREInstanceAccessAddressRequest } from "./tse_models";
|
|
3
3
|
/**
|
|
4
4
|
* tse client
|
|
5
5
|
* @class
|
|
6
6
|
*/
|
|
7
7
|
export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
8
8
|
constructor(clientConfig: TencentCloudCommon.ClientConfig);
|
|
9
|
+
/**
|
|
10
|
+
* 删除引擎实例
|
|
11
|
+
*/
|
|
12
|
+
DeleteEngine(req: DeleteEngineRequest, cb?: (error: string, rep: DeleteEngineResponse) => void): Promise<DeleteEngineResponse>;
|
|
9
13
|
/**
|
|
10
14
|
* 查询引擎实例访问地址
|
|
11
15
|
*/
|
|
12
16
|
DescribeSREInstanceAccessAddress(req: DescribeSREInstanceAccessAddressRequest, cb?: (error: string, rep: DescribeSREInstanceAccessAddressResponse) => void): Promise<DescribeSREInstanceAccessAddressResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* 创建引擎实例
|
|
19
|
+
*/
|
|
20
|
+
CreateEngine(req: CreateEngineRequest, cb?: (error: string, rep: CreateEngineResponse) => void): Promise<CreateEngineResponse>;
|
|
13
21
|
/**
|
|
14
22
|
* 用于查询引擎实例列表
|
|
15
23
|
*/
|
|
@@ -27,12 +27,24 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
27
27
|
constructor(clientConfig) {
|
|
28
28
|
super("tse.tencentcloudapi.com", "2020-12-07", clientConfig);
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* 删除引擎实例
|
|
32
|
+
*/
|
|
33
|
+
async DeleteEngine(req, cb) {
|
|
34
|
+
return this.request("DeleteEngine", req, cb);
|
|
35
|
+
}
|
|
30
36
|
/**
|
|
31
37
|
* 查询引擎实例访问地址
|
|
32
38
|
*/
|
|
33
39
|
async DescribeSREInstanceAccessAddress(req, cb) {
|
|
34
40
|
return this.request("DescribeSREInstanceAccessAddress", req, cb);
|
|
35
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* 创建引擎实例
|
|
44
|
+
*/
|
|
45
|
+
async CreateEngine(req, cb) {
|
|
46
|
+
return this.request("CreateEngine", req, cb);
|
|
47
|
+
}
|
|
36
48
|
/**
|
|
37
49
|
* 用于查询引擎实例列表
|
|
38
50
|
*/
|