tencentcloud-sdk-nodejs-tse 4.0.632 → 4.0.639

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.
@@ -17,46 +17,105 @@
17
17
  */
18
18
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
19
19
  import {
20
- NacosReplica,
21
20
  DescribeNacosReplicasRequest,
22
- UpdateEngineInternetAccessRequest,
21
+ CreateCloudNativeAPIGatewayServiceResponse,
22
+ DeleteCloudNativeAPIGatewayRouteRateLimitResponse,
23
23
  ApolloEnvParam,
24
- UpdateEngineInternetAccessResponse,
24
+ DescribeCloudNativeAPIGatewayServiceRateLimitRequest,
25
+ CloudNativeAPIGatewayBalancedService,
26
+ DescribeCloudNativeAPIGatewayNodesRequest,
27
+ ModifyCloudNativeAPIGatewayRouteRequest,
28
+ DescribeSREInstanceAccessAddressResponse,
29
+ DeleteCloudNativeAPIGatewayCanaryRuleRequest,
30
+ DescribeCloudNativeAPIGatewayServicesResponse,
31
+ QpsThreshold,
32
+ ModifyCloudNativeAPIGatewayServiceResponse,
33
+ DescribeCloudNativeAPIGatewayNodesResponse,
34
+ VpcInfo,
35
+ ModifyCloudNativeAPIGatewayCanaryRuleResponse,
36
+ KongServicePreview,
37
+ ModifyCloudNativeAPIGatewayRouteRateLimitRequest,
38
+ NacosServerInterface,
39
+ CreateCloudNativeAPIGatewayServiceRequest,
40
+ ExternalRedis,
41
+ EnvAddressInfo,
42
+ InstanceTagInfo,
43
+ DescribeCloudNativeAPIGatewayServicesRequest,
44
+ NacosReplica,
45
+ UpdateEngineInternetAccessRequest,
46
+ CreateCloudNativeAPIGatewayCanaryRuleResponse,
47
+ CreateCloudNativeAPIGatewayRouteRequest,
25
48
  KVPair,
26
49
  DeleteEngineResponse,
27
- CreateEngineResponse,
50
+ DescribeCloudNativeAPIGatewayRoutesResponse,
28
51
  DescribeZookeeperReplicasRequest,
52
+ DeleteCloudNativeAPIGatewayServiceResponse,
53
+ DeleteCloudNativeAPIGatewayRouteResponse,
54
+ CreateCloudNativeAPIGatewayRouteRateLimitRequest,
55
+ ModifyCloudNativeAPIGatewayRouteResponse,
56
+ ServiceGovernanceInfo,
57
+ DescribeNacosReplicasResponse,
58
+ DeleteCloudNativeAPIGatewayServiceRateLimitRequest,
59
+ CloudAPIGatewayCanaryRuleList,
60
+ KongRoutePreview,
61
+ CloudNativeAPIGatewayRateLimitDetail,
62
+ CreateCloudNativeAPIGatewayRouteResponse,
63
+ DescribeInstanceRegionInfo,
64
+ KongTarget,
65
+ EngineRegionInfo,
66
+ DescribeNacosServerInterfacesResponse,
67
+ KVMapping,
68
+ RateLimitResponse,
69
+ DescribeCloudNativeAPIGatewayServiceRateLimitResponse,
70
+ DeleteCloudNativeAPIGatewayServiceRequest,
71
+ EnvInfo,
72
+ DescribeCloudNativeAPIGatewayRouteRateLimitRequest,
73
+ DescribeOneCloudNativeAPIGatewayServiceRequest,
74
+ CreateCloudNativeAPIGatewayRouteRateLimitResponse,
75
+ UpdateEngineInternetAccessResponse,
76
+ DeleteCloudNativeAPIGatewayRouteRateLimitRequest,
77
+ ListFilter,
29
78
  DeleteEngineRequest,
30
- DescribeCloudNativeAPIGatewayNodesRequest,
31
- DescribeCloudNativeAPIGatewayNodesResult,
32
79
  ZookeeperReplica,
33
- EngineRegionInfo,
34
- DescribeNacosServerInterfacesRequest,
80
+ DescribeCloudNativeAPIGatewayCanaryRulesResponse,
35
81
  SREInstance,
36
- DescribeSREInstanceAccessAddressResponse,
37
- DescribeSREInstancesResponse,
38
- ZookeeperServerInterface,
39
- ServiceGovernanceInfo,
82
+ DeleteCloudNativeAPIGatewayServiceRateLimitResponse,
83
+ ModifyCloudNativeAPIGatewayServiceRateLimitRequest,
40
84
  CloudNativeAPIGatewayNode,
41
- DescribeNacosReplicasResponse,
42
85
  DescribeZookeeperServerInterfacesResponse,
86
+ Filter,
87
+ PolarisLimiterAddress,
88
+ DescribeOneCloudNativeAPIGatewayServiceResponse,
89
+ ModifyCloudNativeAPIGatewayServiceRequest,
90
+ KongServices,
91
+ DescribeZookeeperServerInterfacesRequest,
92
+ DescribeCloudNativeAPIGatewayRouteRateLimitResponse,
93
+ CreateCloudNativeAPIGatewayCanaryRuleRequest,
94
+ DeleteCloudNativeAPIGatewayRouteRequest,
95
+ DescribeCloudNativeAPIGatewayRoutesRequest,
96
+ CreateEngineResponse,
97
+ CreateCloudNativeAPIGatewayServiceRateLimitResponse,
98
+ DescribeCloudNativeAPIGatewayNodesResult,
99
+ CloudNativeAPIGatewayCanaryRule,
100
+ ModifyCloudNativeAPIGatewayServiceRateLimitResponse,
101
+ DescribeNacosServerInterfacesRequest,
102
+ CloudNativeAPIGatewayCanaryRuleCondition,
103
+ DescribeSREInstancesResponse,
104
+ ZookeeperServerInterface,
43
105
  BoundK8SInfo,
106
+ KongUpstreamInfo,
44
107
  DescribeSREInstancesRequest,
45
- DescribeCloudNativeAPIGatewayNodesResponse,
108
+ CreateCloudNativeAPIGatewayServiceRateLimitRequest,
46
109
  DescribeZookeeperReplicasResponse,
47
- VpcInfo,
48
- EngineAdmin,
49
- PolarisLimiterAddress,
50
110
  CreateEngineRequest,
51
- DescribeInstanceRegionInfo,
111
+ ModifyCloudNativeAPIGatewayCanaryRuleRequest,
112
+ KongServiceRouteList,
52
113
  DescribeSREInstanceAccessAddressRequest,
53
- DescribeNacosServerInterfacesResponse,
54
- Filter,
55
- NacosServerInterface,
56
- DescribeZookeeperServerInterfacesRequest,
57
- EnvInfo,
58
- EnvAddressInfo,
59
- InstanceTagInfo,
114
+ ModifyCloudNativeAPIGatewayRouteRateLimitResponse,
115
+ EngineAdmin,
116
+ DescribeCloudNativeAPIGatewayCanaryRulesRequest,
117
+ DeleteCloudNativeAPIGatewayCanaryRuleResponse,
118
+ KongServiceDetail,
60
119
  } from "./tse_models"
61
120
 
62
121
  /**
@@ -69,13 +128,93 @@ export class Client extends TencentCloudCommon.AbstractClient {
69
128
  }
70
129
 
71
130
  /**
72
- * 查询Zookeeper类型注册引擎实例副本信息
131
+ * 获取云原生网关服务详情
73
132
  */
74
- async DescribeZookeeperReplicas(
75
- req: DescribeZookeeperReplicasRequest,
76
- cb?: (error: string, rep: DescribeZookeeperReplicasResponse) => void
77
- ): Promise<DescribeZookeeperReplicasResponse> {
78
- return this.request("DescribeZookeeperReplicas", req, cb)
133
+ async DescribeOneCloudNativeAPIGatewayService(
134
+ req: DescribeOneCloudNativeAPIGatewayServiceRequest,
135
+ cb?: (error: string, rep: DescribeOneCloudNativeAPIGatewayServiceResponse) => void
136
+ ): Promise<DescribeOneCloudNativeAPIGatewayServiceResponse> {
137
+ return this.request("DescribeOneCloudNativeAPIGatewayService", req, cb)
138
+ }
139
+
140
+ /**
141
+ * 删除云原生网关的限流插件(服务)
142
+ */
143
+ async DeleteCloudNativeAPIGatewayServiceRateLimit(
144
+ req: DeleteCloudNativeAPIGatewayServiceRateLimitRequest,
145
+ cb?: (error: string, rep: DeleteCloudNativeAPIGatewayServiceRateLimitResponse) => void
146
+ ): Promise<DeleteCloudNativeAPIGatewayServiceRateLimitResponse> {
147
+ return this.request("DeleteCloudNativeAPIGatewayServiceRateLimit", req, cb)
148
+ }
149
+
150
+ /**
151
+ * 查询zookeeper服务接口列表
152
+ */
153
+ async DescribeZookeeperServerInterfaces(
154
+ req: DescribeZookeeperServerInterfacesRequest,
155
+ cb?: (error: string, rep: DescribeZookeeperServerInterfacesResponse) => void
156
+ ): Promise<DescribeZookeeperServerInterfacesResponse> {
157
+ return this.request("DescribeZookeeperServerInterfaces", req, cb)
158
+ }
159
+
160
+ /**
161
+ * 修改云原生网关限流插件(服务)
162
+ */
163
+ async ModifyCloudNativeAPIGatewayServiceRateLimit(
164
+ req: ModifyCloudNativeAPIGatewayServiceRateLimitRequest,
165
+ cb?: (error: string, rep: ModifyCloudNativeAPIGatewayServiceRateLimitResponse) => void
166
+ ): Promise<ModifyCloudNativeAPIGatewayServiceRateLimitResponse> {
167
+ return this.request("ModifyCloudNativeAPIGatewayServiceRateLimit", req, cb)
168
+ }
169
+
170
+ /**
171
+ * 创建引擎实例
172
+ */
173
+ async CreateEngine(
174
+ req: CreateEngineRequest,
175
+ cb?: (error: string, rep: CreateEngineResponse) => void
176
+ ): Promise<CreateEngineResponse> {
177
+ return this.request("CreateEngine", req, cb)
178
+ }
179
+
180
+ /**
181
+ * 删除云原生网关服务
182
+ */
183
+ async DeleteCloudNativeAPIGatewayService(
184
+ req: DeleteCloudNativeAPIGatewayServiceRequest,
185
+ cb?: (error: string, rep: DeleteCloudNativeAPIGatewayServiceResponse) => void
186
+ ): Promise<DeleteCloudNativeAPIGatewayServiceResponse> {
187
+ return this.request("DeleteCloudNativeAPIGatewayService", req, cb)
188
+ }
189
+
190
+ /**
191
+ * 创建云原生网关服务
192
+ */
193
+ async CreateCloudNativeAPIGatewayService(
194
+ req: CreateCloudNativeAPIGatewayServiceRequest,
195
+ cb?: (error: string, rep: CreateCloudNativeAPIGatewayServiceResponse) => void
196
+ ): Promise<CreateCloudNativeAPIGatewayServiceResponse> {
197
+ return this.request("CreateCloudNativeAPIGatewayService", req, cb)
198
+ }
199
+
200
+ /**
201
+ * 查询云原生网关路由列表
202
+ */
203
+ async DescribeCloudNativeAPIGatewayRoutes(
204
+ req: DescribeCloudNativeAPIGatewayRoutesRequest,
205
+ cb?: (error: string, rep: DescribeCloudNativeAPIGatewayRoutesResponse) => void
206
+ ): Promise<DescribeCloudNativeAPIGatewayRoutesResponse> {
207
+ return this.request("DescribeCloudNativeAPIGatewayRoutes", req, cb)
208
+ }
209
+
210
+ /**
211
+ * 删除云原生网关路由
212
+ */
213
+ async DeleteCloudNativeAPIGatewayRoute(
214
+ req: DeleteCloudNativeAPIGatewayRouteRequest,
215
+ cb?: (error: string, rep: DeleteCloudNativeAPIGatewayRouteResponse) => void
216
+ ): Promise<DeleteCloudNativeAPIGatewayRouteResponse> {
217
+ return this.request("DeleteCloudNativeAPIGatewayRoute", req, cb)
79
218
  }
80
219
 
81
220
  /**
@@ -88,6 +227,56 @@ export class Client extends TencentCloudCommon.AbstractClient {
88
227
  return this.request("DeleteEngine", req, cb)
89
228
  }
90
229
 
230
+ /**
231
+ * 删除云原生网关的灰度规则
232
+ */
233
+ async DeleteCloudNativeAPIGatewayCanaryRule(
234
+ req: DeleteCloudNativeAPIGatewayCanaryRuleRequest,
235
+ cb?: (error: string, rep: DeleteCloudNativeAPIGatewayCanaryRuleResponse) => void
236
+ ): Promise<DeleteCloudNativeAPIGatewayCanaryRuleResponse> {
237
+ return this.request("DeleteCloudNativeAPIGatewayCanaryRule", req, cb)
238
+ }
239
+
240
+ /**
241
+ * 查询云原生网关服务列表
242
+ */
243
+ async DescribeCloudNativeAPIGatewayServices(
244
+ req: DescribeCloudNativeAPIGatewayServicesRequest,
245
+ cb?: (error: string, rep: DescribeCloudNativeAPIGatewayServicesResponse) => void
246
+ ): Promise<DescribeCloudNativeAPIGatewayServicesResponse> {
247
+ return this.request("DescribeCloudNativeAPIGatewayServices", req, cb)
248
+ }
249
+
250
+ /**
251
+ * 修改云原生网关限流插件(路由)
252
+ */
253
+ async ModifyCloudNativeAPIGatewayRouteRateLimit(
254
+ req: ModifyCloudNativeAPIGatewayRouteRateLimitRequest,
255
+ cb?: (error: string, rep: ModifyCloudNativeAPIGatewayRouteRateLimitResponse) => void
256
+ ): Promise<ModifyCloudNativeAPIGatewayRouteRateLimitResponse> {
257
+ return this.request("ModifyCloudNativeAPIGatewayRouteRateLimit", req, cb)
258
+ }
259
+
260
+ /**
261
+ * 查询nacos服务接口列表
262
+ */
263
+ async DescribeNacosServerInterfaces(
264
+ req: DescribeNacosServerInterfacesRequest,
265
+ cb?: (error: string, rep: DescribeNacosServerInterfacesResponse) => void
266
+ ): Promise<DescribeNacosServerInterfacesResponse> {
267
+ return this.request("DescribeNacosServerInterfaces", req, cb)
268
+ }
269
+
270
+ /**
271
+ * 查询Zookeeper类型注册引擎实例副本信息
272
+ */
273
+ async DescribeZookeeperReplicas(
274
+ req: DescribeZookeeperReplicasRequest,
275
+ cb?: (error: string, rep: DescribeZookeeperReplicasResponse) => void
276
+ ): Promise<DescribeZookeeperReplicasResponse> {
277
+ return this.request("DescribeZookeeperReplicas", req, cb)
278
+ }
279
+
91
280
  /**
92
281
  * 用于查询引擎实例列表
93
282
  */
@@ -99,13 +288,33 @@ export class Client extends TencentCloudCommon.AbstractClient {
99
288
  }
100
289
 
101
290
  /**
102
- * 查询Nacos类型引擎实例副本信息
291
+ * 查询云原生网关的限流插件(服务)
103
292
  */
104
- async DescribeNacosReplicas(
105
- req: DescribeNacosReplicasRequest,
106
- cb?: (error: string, rep: DescribeNacosReplicasResponse) => void
107
- ): Promise<DescribeNacosReplicasResponse> {
108
- return this.request("DescribeNacosReplicas", req, cb)
293
+ async DescribeCloudNativeAPIGatewayServiceRateLimit(
294
+ req: DescribeCloudNativeAPIGatewayServiceRateLimitRequest,
295
+ cb?: (error: string, rep: DescribeCloudNativeAPIGatewayServiceRateLimitResponse) => void
296
+ ): Promise<DescribeCloudNativeAPIGatewayServiceRateLimitResponse> {
297
+ return this.request("DescribeCloudNativeAPIGatewayServiceRateLimit", req, cb)
298
+ }
299
+
300
+ /**
301
+ * 查询云原生网关的限流插件(路由)
302
+ */
303
+ async DescribeCloudNativeAPIGatewayRouteRateLimit(
304
+ req: DescribeCloudNativeAPIGatewayRouteRateLimitRequest,
305
+ cb?: (error: string, rep: DescribeCloudNativeAPIGatewayRouteRateLimitResponse) => void
306
+ ): Promise<DescribeCloudNativeAPIGatewayRouteRateLimitResponse> {
307
+ return this.request("DescribeCloudNativeAPIGatewayRouteRateLimit", req, cb)
308
+ }
309
+
310
+ /**
311
+ * 修改云原生网关服务
312
+ */
313
+ async ModifyCloudNativeAPIGatewayService(
314
+ req: ModifyCloudNativeAPIGatewayServiceRequest,
315
+ cb?: (error: string, rep: ModifyCloudNativeAPIGatewayServiceResponse) => void
316
+ ): Promise<ModifyCloudNativeAPIGatewayServiceResponse> {
317
+ return this.request("ModifyCloudNativeAPIGatewayService", req, cb)
109
318
  }
110
319
 
111
320
  /**
@@ -119,13 +328,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
119
328
  }
120
329
 
121
330
  /**
122
- * 查询zookeeper服务接口列表
331
+ * 创建云原生网关的灰度规则
123
332
  */
124
- async DescribeZookeeperServerInterfaces(
125
- req: DescribeZookeeperServerInterfacesRequest,
126
- cb?: (error: string, rep: DescribeZookeeperServerInterfacesResponse) => void
127
- ): Promise<DescribeZookeeperServerInterfacesResponse> {
128
- return this.request("DescribeZookeeperServerInterfaces", req, cb)
333
+ async CreateCloudNativeAPIGatewayCanaryRule(
334
+ req: CreateCloudNativeAPIGatewayCanaryRuleRequest,
335
+ cb?: (error: string, rep: CreateCloudNativeAPIGatewayCanaryRuleResponse) => void
336
+ ): Promise<CreateCloudNativeAPIGatewayCanaryRuleResponse> {
337
+ return this.request("CreateCloudNativeAPIGatewayCanaryRule", req, cb)
129
338
  }
130
339
 
131
340
  /**
@@ -139,23 +348,83 @@ export class Client extends TencentCloudCommon.AbstractClient {
139
348
  }
140
349
 
141
350
  /**
142
- * 创建引擎实例
351
+ * 修改云原生网关的灰度规则
143
352
  */
144
- async CreateEngine(
145
- req: CreateEngineRequest,
146
- cb?: (error: string, rep: CreateEngineResponse) => void
147
- ): Promise<CreateEngineResponse> {
148
- return this.request("CreateEngine", req, cb)
353
+ async ModifyCloudNativeAPIGatewayCanaryRule(
354
+ req: ModifyCloudNativeAPIGatewayCanaryRuleRequest,
355
+ cb?: (error: string, rep: ModifyCloudNativeAPIGatewayCanaryRuleResponse) => void
356
+ ): Promise<ModifyCloudNativeAPIGatewayCanaryRuleResponse> {
357
+ return this.request("ModifyCloudNativeAPIGatewayCanaryRule", req, cb)
149
358
  }
150
359
 
151
360
  /**
152
- * 查询nacos服务接口列表
361
+ * 创建云原生网关限流插件(服务)
153
362
  */
154
- async DescribeNacosServerInterfaces(
155
- req: DescribeNacosServerInterfacesRequest,
156
- cb?: (error: string, rep: DescribeNacosServerInterfacesResponse) => void
157
- ): Promise<DescribeNacosServerInterfacesResponse> {
158
- return this.request("DescribeNacosServerInterfaces", req, cb)
363
+ async CreateCloudNativeAPIGatewayServiceRateLimit(
364
+ req: CreateCloudNativeAPIGatewayServiceRateLimitRequest,
365
+ cb?: (error: string, rep: CreateCloudNativeAPIGatewayServiceRateLimitResponse) => void
366
+ ): Promise<CreateCloudNativeAPIGatewayServiceRateLimitResponse> {
367
+ return this.request("CreateCloudNativeAPIGatewayServiceRateLimit", req, cb)
368
+ }
369
+
370
+ /**
371
+ * 创建云原生网关路由
372
+ */
373
+ async CreateCloudNativeAPIGatewayRoute(
374
+ req: CreateCloudNativeAPIGatewayRouteRequest,
375
+ cb?: (error: string, rep: CreateCloudNativeAPIGatewayRouteResponse) => void
376
+ ): Promise<CreateCloudNativeAPIGatewayRouteResponse> {
377
+ return this.request("CreateCloudNativeAPIGatewayRoute", req, cb)
378
+ }
379
+
380
+ /**
381
+ * 删除云原生网关的限流插件(路由)
382
+ */
383
+ async DeleteCloudNativeAPIGatewayRouteRateLimit(
384
+ req: DeleteCloudNativeAPIGatewayRouteRateLimitRequest,
385
+ cb?: (error: string, rep: DeleteCloudNativeAPIGatewayRouteRateLimitResponse) => void
386
+ ): Promise<DeleteCloudNativeAPIGatewayRouteRateLimitResponse> {
387
+ return this.request("DeleteCloudNativeAPIGatewayRouteRateLimit", req, cb)
388
+ }
389
+
390
+ /**
391
+ * 创建云原生网关限流插件(路由)
392
+ */
393
+ async CreateCloudNativeAPIGatewayRouteRateLimit(
394
+ req: CreateCloudNativeAPIGatewayRouteRateLimitRequest,
395
+ cb?: (error: string, rep: CreateCloudNativeAPIGatewayRouteRateLimitResponse) => void
396
+ ): Promise<CreateCloudNativeAPIGatewayRouteRateLimitResponse> {
397
+ return this.request("CreateCloudNativeAPIGatewayRouteRateLimit", req, cb)
398
+ }
399
+
400
+ /**
401
+ * 查询Nacos类型引擎实例副本信息
402
+ */
403
+ async DescribeNacosReplicas(
404
+ req: DescribeNacosReplicasRequest,
405
+ cb?: (error: string, rep: DescribeNacosReplicasResponse) => void
406
+ ): Promise<DescribeNacosReplicasResponse> {
407
+ return this.request("DescribeNacosReplicas", req, cb)
408
+ }
409
+
410
+ /**
411
+ * 修改云原生网关路由
412
+ */
413
+ async ModifyCloudNativeAPIGatewayRoute(
414
+ req: ModifyCloudNativeAPIGatewayRouteRequest,
415
+ cb?: (error: string, rep: ModifyCloudNativeAPIGatewayRouteResponse) => void
416
+ ): Promise<ModifyCloudNativeAPIGatewayRouteResponse> {
417
+ return this.request("ModifyCloudNativeAPIGatewayRoute", req, cb)
418
+ }
419
+
420
+ /**
421
+ * 查询云原生网关灰度规则列表
422
+ */
423
+ async DescribeCloudNativeAPIGatewayCanaryRules(
424
+ req: DescribeCloudNativeAPIGatewayCanaryRulesRequest,
425
+ cb?: (error: string, rep: DescribeCloudNativeAPIGatewayCanaryRulesResponse) => void
426
+ ): Promise<DescribeCloudNativeAPIGatewayCanaryRulesResponse> {
427
+ return this.request("DescribeCloudNativeAPIGatewayCanaryRules", req, cb)
159
428
  }
160
429
 
161
430
  /**