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.
@@ -1,40 +1,3 @@
1
- /**
2
- * Nacos副本信息
3
- */
4
- export interface NacosReplica {
5
- /**
6
- * 名称
7
- */
8
- Name: string;
9
- /**
10
- * 角色
11
- */
12
- Role: string;
13
- /**
14
- * 状态
15
- */
16
- Status: string;
17
- /**
18
- * 子网ID
19
- 注意:此字段可能返回 null,表示取不到有效值。
20
- */
21
- SubnetId: string;
22
- /**
23
- * 可用区ID
24
- 注意:此字段可能返回 null,表示取不到有效值。
25
- */
26
- Zone: string;
27
- /**
28
- * 可用区ID
29
- 注意:此字段可能返回 null,表示取不到有效值。
30
- */
31
- ZoneId: string;
32
- /**
33
- * VPC ID
34
- 注意:此字段可能返回 null,表示取不到有效值。
35
- */
36
- VpcId?: string;
37
- }
38
1
  /**
39
2
  * DescribeNacosReplicas请求参数结构体
40
3
  */
@@ -53,21 +16,22 @@ export interface DescribeNacosReplicasRequest {
53
16
  Offset?: number;
54
17
  }
55
18
  /**
56
- * UpdateEngineInternetAccess请求参数结构体
19
+ * CreateCloudNativeAPIGatewayService返回参数结构体
57
20
  */
58
- export interface UpdateEngineInternetAccessRequest {
59
- /**
60
- * 引擎ID
61
- */
62
- InstanceId: string;
21
+ export interface CreateCloudNativeAPIGatewayServiceResponse {
63
22
  /**
64
- * 引擎类型
23
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
65
24
  */
66
- EngineType: string;
25
+ RequestId?: string;
26
+ }
27
+ /**
28
+ * DeleteCloudNativeAPIGatewayRouteRateLimit返回参数结构体
29
+ */
30
+ export interface DeleteCloudNativeAPIGatewayRouteRateLimitResponse {
67
31
  /**
68
- * 是否开启客户端公网访问,true开 false关
32
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
69
33
  */
70
- EnableClientInternetAccess?: boolean;
34
+ RequestId?: string;
71
35
  }
72
36
  /**
73
37
  * Apollo 环境配置参数
@@ -106,74 +70,42 @@ export interface ApolloEnvParam {
106
70
  EnvDesc?: string;
107
71
  }
108
72
  /**
109
- * UpdateEngineInternetAccess返回参数结构体
110
- */
111
- export interface UpdateEngineInternetAccessResponse {
112
- /**
113
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
114
- */
115
- RequestId?: string;
116
- }
117
- /**
118
- * 键值对
119
- */
120
- export interface KVPair {
121
- /**
122
- * 键
123
- */
124
- Key: string;
125
- /**
126
- * 值
127
- */
128
- Value: string;
129
- }
130
- /**
131
- * DeleteEngine返回参数结构体
132
- */
133
- export interface DeleteEngineResponse {
134
- /**
135
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
136
- */
137
- RequestId?: string;
138
- }
139
- /**
140
- * CreateEngine返回参数结构体
73
+ * DescribeCloudNativeAPIGatewayServiceRateLimit请求参数结构体
141
74
  */
142
- export interface CreateEngineResponse {
75
+ export interface DescribeCloudNativeAPIGatewayServiceRateLimitRequest {
143
76
  /**
144
- * 引擎实例 ID
77
+ * 网关Id
145
78
  */
146
- InstanceId?: string;
79
+ GatewayId: string;
147
80
  /**
148
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
81
+ * 服务名称,或服务ID。
149
82
  */
150
- RequestId?: string;
83
+ Name: string;
151
84
  }
152
85
  /**
153
- * DescribeZookeeperReplicas请求参数结构体
86
+ * 含百分比流量配置的服务
154
87
  */
155
- export interface DescribeZookeeperReplicasRequest {
88
+ export interface CloudNativeAPIGatewayBalancedService {
156
89
  /**
157
- * 注册引擎实例ID
90
+ * 服务 ID,作为入参时,必填
91
+ 注意:此字段可能返回 null,表示取不到有效值。
158
92
  */
159
- InstanceId: string;
93
+ ServiceID?: string;
160
94
  /**
161
- * 副本列表Limit
95
+ * 服务名称,作为入参时,无意义
96
+ 注意:此字段可能返回 null,表示取不到有效值。
162
97
  */
163
- Limit?: number;
98
+ ServiceName?: string;
164
99
  /**
165
- * 副本列表Offset
100
+ * Upstream 名称,作为入参时,无意义
101
+ 注意:此字段可能返回 null,表示取不到有效值。
166
102
  */
167
- Offset?: number;
168
- }
169
- /**
170
- * DeleteEngine请求参数结构体
171
- */
172
- export interface DeleteEngineRequest {
103
+ UpstreamName?: string;
173
104
  /**
174
- * 引擎实例 ID
105
+ * 百分比,10 即 10%,范围0-100
106
+ 注意:此字段可能返回 null,表示取不到有效值。
175
107
  */
176
- InstanceId: string;
108
+ Percent?: number;
177
109
  }
178
110
  /**
179
111
  * DescribeCloudNativeAPIGatewayNodes请求参数结构体
@@ -197,301 +129,1835 @@ export interface DescribeCloudNativeAPIGatewayNodesRequest {
197
129
  Offset?: number;
198
130
  }
199
131
  /**
200
- * 获取网关节点信息
132
+ * ModifyCloudNativeAPIGatewayRoute请求参数结构体
201
133
  */
202
- export interface DescribeCloudNativeAPIGatewayNodesResult {
134
+ export interface ModifyCloudNativeAPIGatewayRouteRequest {
203
135
  /**
204
- * 获取云原生API网关节点列表响应结果。
136
+ * 网关ID
205
137
  */
206
- TotalCount: number;
138
+ GatewayId: string;
207
139
  /**
208
- * 云原生API网关节点列表。
140
+ * 所属服务的ID
209
141
  */
210
- NodeList: Array<CloudNativeAPIGatewayNode>;
211
- }
212
- /**
213
- * Zookeeper副本信息
214
- */
215
- export interface ZookeeperReplica {
142
+ ServiceID: string;
216
143
  /**
217
- * 名称
144
+ * 路由的ID,实例级别唯一
218
145
  */
219
- Name: string;
146
+ RouteID: string;
220
147
  /**
221
- * 角色
148
+ * 路由的名字,实例级别唯一,可以不提供
222
149
  */
223
- Role: string;
150
+ RouteName?: string;
224
151
  /**
225
- * 状态
152
+ * 路由的方法,其中方法可选值:
153
+ - GET
154
+ - POST
155
+ - DELETE
156
+ - PUT
157
+ - OPTIONS
158
+ - PATCH
159
+ - HEAD
160
+ - ANY
161
+ - TRACE
162
+ - COPY
163
+ - MOVE
164
+ - PROPFIND
165
+ - PROPPATCH
166
+ - MKCOL
167
+ - LOCK
168
+ - UNLOCK
226
169
  */
227
- Status: string;
170
+ Methods?: Array<string>;
228
171
  /**
229
- * 子网ID
230
- 注意:此字段可能返回 null,表示取不到有效值。
172
+ * 路由的域名
231
173
  */
232
- SubnetId: string;
174
+ Hosts?: Array<string>;
233
175
  /**
234
- * 可用区ID
235
- 注意:此字段可能返回 null,表示取不到有效值。
176
+ * 路由的路径
236
177
  */
237
- Zone: string;
178
+ Paths?: Array<string>;
238
179
  /**
239
- * 可用区ID
240
- 注意:此字段可能返回 null,表示取不到有效值。
180
+ * 路由的协议,可选
181
+ - https
182
+ - http
241
183
  */
242
- ZoneId: string;
184
+ Protocols?: Array<string>;
243
185
  /**
244
- * 别名
245
- 注意:此字段可能返回 null,表示取不到有效值。
186
+ * 转发到后端时是否保留Host
246
187
  */
247
- AliasName: string;
188
+ PreserveHost?: boolean;
248
189
  /**
249
- * VPC ID
250
- 注意:此字段可能返回 null,表示取不到有效值。
190
+ * https重定向状态码
251
191
  */
252
- VpcId?: string;
253
- }
254
- /**
255
- * 引擎地域配置详情
256
- */
257
- export interface EngineRegionInfo {
192
+ HttpsRedirectStatusCode?: number;
258
193
  /**
259
- * 引擎节点所在地域
194
+ * 转发到后端时是否StripPath
260
195
  */
261
- EngineRegion: string;
196
+ StripPath?: boolean;
262
197
  /**
263
- * 此地域节点分配数量
198
+ * 是否开启强制HTTPS
199
+ * @deprecated
264
200
  */
265
- Replica: number;
201
+ ForceHttps?: boolean;
266
202
  /**
267
- * 集群网络信息
203
+ * 四层匹配的目的端口
268
204
  */
269
- VpcInfos: Array<VpcInfo>;
205
+ DestinationPorts?: Array<number>;
206
+ /**
207
+ * 路由的Headers
208
+ */
209
+ Headers?: Array<KVMapping>;
270
210
  }
271
211
  /**
272
- * DescribeNacosServerInterfaces请求参数结构体
212
+ * DescribeSREInstanceAccessAddress返回参数结构体
273
213
  */
274
- export interface DescribeNacosServerInterfacesRequest {
214
+ export interface DescribeSREInstanceAccessAddressResponse {
275
215
  /**
276
- * 实例id
216
+ * 内网访问地址
277
217
  */
278
- InstanceId?: string;
218
+ IntranetAddress: string;
279
219
  /**
280
- * 返回的列表个数
220
+ * 公网访问地址
281
221
  */
282
- Limit?: number;
222
+ InternetAddress: string;
283
223
  /**
284
- * 返回的列表起始偏移量
224
+ * apollo多环境公网ip
285
225
  */
286
- Offset?: number;
287
- }
288
- /**
289
- * 微服务注册引擎实例
290
- */
291
- export interface SREInstance {
226
+ EnvAddressInfos: Array<EnvAddressInfo>;
292
227
  /**
293
- * 实例ID
228
+ * 控制台公网访问地址
229
+ 注意:此字段可能返回 null,表示取不到有效值。
294
230
  */
295
- InstanceId: string;
231
+ ConsoleInternetAddress: string;
296
232
  /**
297
- * 名称
233
+ * 控制台内网访问地址
234
+ 注意:此字段可能返回 null,表示取不到有效值。
298
235
  */
299
- Name: string;
236
+ ConsoleIntranetAddress: string;
300
237
  /**
301
- * 版本号
238
+ * 客户端公网带宽
239
+ 注意:此字段可能返回 null,表示取不到有效值。
302
240
  */
303
- Edition: string;
241
+ InternetBandWidth: number;
304
242
  /**
305
- * 状态, 枚举值:creating/create_fail/running/updating/update_fail/restarting/restart_fail/destroying/destroy_fail
243
+ * 控制台公网带宽
244
+ 注意:此字段可能返回 null,表示取不到有效值。
306
245
  */
307
- Status: string;
246
+ ConsoleInternetBandWidth: number;
308
247
  /**
309
- * 规格ID
248
+ * 北极星限流server节点接入IP
249
+ 注意:此字段可能返回 null,表示取不到有效值。
310
250
  */
311
- SpecId: string;
251
+ LimiterAddressInfos: Array<PolarisLimiterAddress>;
312
252
  /**
313
- * 副本数
253
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
314
254
  */
315
- Replica: number;
255
+ RequestId?: string;
256
+ }
257
+ /**
258
+ * DeleteCloudNativeAPIGatewayCanaryRule请求参数结构体
259
+ */
260
+ export interface DeleteCloudNativeAPIGatewayCanaryRuleRequest {
316
261
  /**
317
- * 类型
262
+ * 网关 ID
318
263
  */
319
- Type: string;
264
+ GatewayId: string;
320
265
  /**
321
- * Vpc iD
266
+ * 服务 ID
322
267
  */
323
- VpcId: string;
268
+ ServiceId: string;
324
269
  /**
325
- * 子网ID
326
- 注意:此字段可能返回 null,表示取不到有效值。
270
+ * 优先级
327
271
  */
328
- SubnetIds: Array<string>;
272
+ Priority: number;
273
+ }
274
+ /**
275
+ * DescribeCloudNativeAPIGatewayServices返回参数结构体
276
+ */
277
+ export interface DescribeCloudNativeAPIGatewayServicesResponse {
329
278
  /**
330
- * 是否开启持久化存储
279
+ *
331
280
  注意:此字段可能返回 null,表示取不到有效值。
332
281
  */
333
- EnableStorage: boolean;
282
+ Result?: KongServices;
334
283
  /**
335
- * 数据存储方式
336
- 注意:此字段可能返回 null,表示取不到有效值。
284
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
337
285
  */
338
- StorageType: string;
286
+ RequestId?: string;
287
+ }
288
+ /**
289
+ * 云原生网关限流插件Qps阈值
290
+ */
291
+ export interface QpsThreshold {
339
292
  /**
340
- * 云硬盘容量
341
- 注意:此字段可能返回 null,表示取不到有效值。
293
+ * qps阈值控制维度,包含:second、minute、hour、day、month、year
342
294
  */
343
- StorageCapacity: number;
295
+ Unit: string;
344
296
  /**
345
- * 计费方式
346
- 注意:此字段可能返回 null,表示取不到有效值。
297
+ * 阈值
347
298
  */
348
- Paymode: string;
299
+ Max: number;
300
+ }
301
+ /**
302
+ * ModifyCloudNativeAPIGatewayService返回参数结构体
303
+ */
304
+ export interface ModifyCloudNativeAPIGatewayServiceResponse {
349
305
  /**
350
- * EKS集群的ID
351
- 注意:此字段可能返回 null,表示取不到有效值。
306
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
352
307
  */
353
- EKSClusterID: string;
308
+ RequestId?: string;
309
+ }
310
+ /**
311
+ * DescribeCloudNativeAPIGatewayNodes返回参数结构体
312
+ */
313
+ export interface DescribeCloudNativeAPIGatewayNodesResponse {
354
314
  /**
355
- * 集群创建时间
356
- 注意:此字段可能返回 null,表示取不到有效值。
315
+ * 获取云原生网关节点列表结果。
357
316
  */
358
- CreateTime: string;
317
+ Result: DescribeCloudNativeAPIGatewayNodesResult;
318
+ /**
319
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
320
+ */
321
+ RequestId?: string;
322
+ }
323
+ /**
324
+ * 私有网络信息
325
+ */
326
+ export interface VpcInfo {
327
+ /**
328
+ * Vpc Id
329
+ */
330
+ VpcId: string;
331
+ /**
332
+ * 子网ID
333
+ */
334
+ SubnetId: string;
335
+ /**
336
+ * 内网访问地址
337
+ 注意:此字段可能返回 null,表示取不到有效值。
338
+ */
339
+ IntranetAddress?: string;
340
+ }
341
+ /**
342
+ * ModifyCloudNativeAPIGatewayCanaryRule返回参数结构体
343
+ */
344
+ export interface ModifyCloudNativeAPIGatewayCanaryRuleResponse {
345
+ /**
346
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
347
+ */
348
+ RequestId?: string;
349
+ }
350
+ /**
351
+ * 云原生网关服务预览信息
352
+ */
353
+ export interface KongServicePreview {
354
+ /**
355
+ * 服务ID
356
+ 注意:此字段可能返回 null,表示取不到有效值。
357
+ */
358
+ ID: string;
359
+ /**
360
+ * 服务名字
361
+ 注意:此字段可能返回 null,表示取不到有效值。
362
+ */
363
+ Name?: string;
364
+ /**
365
+ * 标签
366
+ 注意:此字段可能返回 null,表示取不到有效值。
367
+ */
368
+ Tags?: Array<string>;
369
+ /**
370
+ * 后端配置
371
+ 注意:此字段可能返回 null,表示取不到有效值。
372
+ */
373
+ UpstreamInfo?: KongUpstreamInfo;
374
+ /**
375
+ * 后端类型
376
+ 注意:此字段可能返回 null,表示取不到有效值。
377
+ */
378
+ UpstreamType?: string;
379
+ /**
380
+ * 创建时间
381
+ 注意:此字段可能返回 null,表示取不到有效值。
382
+ */
383
+ CreatedTime?: string;
384
+ /**
385
+ * 是否可编辑
386
+ 注意:此字段可能返回 null,表示取不到有效值。
387
+ */
388
+ Editable?: boolean;
389
+ }
390
+ /**
391
+ * ModifyCloudNativeAPIGatewayRouteRateLimit请求参数结构体
392
+ */
393
+ export interface ModifyCloudNativeAPIGatewayRouteRateLimitRequest {
394
+ /**
395
+ * 网关ID
396
+ */
397
+ GatewayId: string;
398
+ /**
399
+ * 路由id,或路由名称。
400
+ 不支持“未命名”
401
+ */
402
+ Id: string;
403
+ /**
404
+ * 限流配置
405
+ */
406
+ LimitDetail: CloudNativeAPIGatewayRateLimitDetail;
407
+ }
408
+ /**
409
+ * nacos服务端接口列表,用于云监控
410
+ */
411
+ export interface NacosServerInterface {
412
+ /**
413
+ * 接口名
414
+ 注意:此字段可能返回 null,表示取不到有效值。
415
+ */
416
+ Interface: string;
417
+ }
418
+ /**
419
+ * CreateCloudNativeAPIGatewayService请求参数结构体
420
+ */
421
+ export interface CreateCloudNativeAPIGatewayServiceRequest {
422
+ /**
423
+ * 网关ID
424
+ */
425
+ GatewayId: string;
426
+ /**
427
+ * 服务名称
428
+ */
429
+ Name: string;
430
+ /**
431
+ * 请求协议:
432
+ - https
433
+ - http
434
+ - tcp
435
+ - udp
436
+ */
437
+ Protocol: string;
438
+ /**
439
+ * 请求路径
440
+ */
441
+ Path: string;
442
+ /**
443
+ * 超时时间,单位ms
444
+ */
445
+ Timeout: number;
446
+ /**
447
+ * 重试次数
448
+ */
449
+ Retries: number;
450
+ /**
451
+ * 服务类型:
452
+ - Kubernetes
453
+ - Registry
454
+ - IPList
455
+ - HostIP
456
+ - Scf
457
+ */
458
+ UpstreamType: string;
459
+ /**
460
+ * 服务配置信息
461
+ */
462
+ UpstreamInfo: KongUpstreamInfo;
463
+ }
464
+ /**
465
+ * 云原生网关限流插件外部redis配置
466
+ */
467
+ export interface ExternalRedis {
468
+ /**
469
+ * redis ip
470
+ 注意:此字段可能返回 null,表示取不到有效值。
471
+ */
472
+ RedisHost: string;
473
+ /**
474
+ * redis密码
475
+ 注意:此字段可能返回 null,表示取不到有效值。
476
+ */
477
+ RedisPassword: string;
478
+ /**
479
+ * redis端口
480
+ 注意:此字段可能返回 null,表示取不到有效值。
481
+ */
482
+ RedisPort: number;
483
+ /**
484
+ * 超时时间 ms
485
+ 注意:此字段可能返回 null,表示取不到有效值。
486
+ */
487
+ RedisTimeout: number;
488
+ }
489
+ /**
490
+ * 多环境网络信息
491
+ */
492
+ export interface EnvAddressInfo {
493
+ /**
494
+ * 环境名
495
+ */
496
+ EnvName: string;
497
+ /**
498
+ * 是否开启config公网
499
+ */
500
+ EnableConfigInternet: boolean;
501
+ /**
502
+ * config公网ip
503
+ */
504
+ ConfigInternetServiceIp: string;
505
+ /**
506
+ * config内网访问地址
507
+ 注意:此字段可能返回 null,表示取不到有效值。
508
+ */
509
+ ConfigIntranetAddress: string;
510
+ /**
511
+ * 是否开启config内网clb
512
+ 注意:此字段可能返回 null,表示取不到有效值。
513
+ */
514
+ EnableConfigIntranet?: boolean;
515
+ /**
516
+ * 客户端公网带宽
517
+ 注意:此字段可能返回 null,表示取不到有效值。
518
+ */
519
+ InternetBandWidth?: number;
520
+ }
521
+ /**
522
+ * 引擎实例的标签信息
523
+ */
524
+ export interface InstanceTagInfo {
525
+ /**
526
+ * 标签键
527
+ */
528
+ TagKey?: string;
529
+ /**
530
+ * 标签值
531
+ */
532
+ TagValue?: string;
533
+ }
534
+ /**
535
+ * DescribeCloudNativeAPIGatewayServices请求参数结构体
536
+ */
537
+ export interface DescribeCloudNativeAPIGatewayServicesRequest {
538
+ /**
539
+ * 网关ID
540
+ */
541
+ GatewayId: string;
542
+ /**
543
+ * 列表数量
544
+ */
545
+ Limit?: number;
546
+ /**
547
+ * 列表 offset
548
+ */
549
+ Offset?: number;
550
+ /**
551
+ * 过滤条件,多个过滤条件之间是与的关系,支持 name,upstreamType
552
+ */
553
+ Filters?: Array<ListFilter>;
554
+ }
555
+ /**
556
+ * Nacos副本信息
557
+ */
558
+ export interface NacosReplica {
559
+ /**
560
+ * 名称
561
+ */
562
+ Name: string;
563
+ /**
564
+ * 角色
565
+ */
566
+ Role: string;
567
+ /**
568
+ * 状态
569
+ */
570
+ Status: string;
571
+ /**
572
+ * 子网ID
573
+ 注意:此字段可能返回 null,表示取不到有效值。
574
+ */
575
+ SubnetId: string;
576
+ /**
577
+ * 可用区ID
578
+ 注意:此字段可能返回 null,表示取不到有效值。
579
+ */
580
+ Zone: string;
581
+ /**
582
+ * 可用区ID
583
+ 注意:此字段可能返回 null,表示取不到有效值。
584
+ */
585
+ ZoneId: string;
586
+ /**
587
+ * VPC ID
588
+ 注意:此字段可能返回 null,表示取不到有效值。
589
+ */
590
+ VpcId?: string;
591
+ }
592
+ /**
593
+ * UpdateEngineInternetAccess请求参数结构体
594
+ */
595
+ export interface UpdateEngineInternetAccessRequest {
596
+ /**
597
+ * 引擎ID
598
+ */
599
+ InstanceId: string;
600
+ /**
601
+ * 引擎类型
602
+ */
603
+ EngineType: string;
604
+ /**
605
+ * 是否开启客户端公网访问,true开 false关
606
+ */
607
+ EnableClientInternetAccess?: boolean;
608
+ }
609
+ /**
610
+ * CreateCloudNativeAPIGatewayCanaryRule返回参数结构体
611
+ */
612
+ export interface CreateCloudNativeAPIGatewayCanaryRuleResponse {
613
+ /**
614
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
615
+ */
616
+ RequestId?: string;
617
+ }
618
+ /**
619
+ * CreateCloudNativeAPIGatewayRoute请求参数结构体
620
+ */
621
+ export interface CreateCloudNativeAPIGatewayRouteRequest {
622
+ /**
623
+ * 网关ID
624
+ */
625
+ GatewayId: string;
626
+ /**
627
+ * 所属服务的ID
628
+ */
629
+ ServiceID: string;
630
+ /**
631
+ * 路由的名字,实例级别唯一,可以不提供
632
+ */
633
+ RouteName?: string;
634
+ /**
635
+ * 路由的方法,其中方法可选值:
636
+ - GET
637
+ - POST
638
+ - DELETE
639
+ - PUT
640
+ - OPTIONS
641
+ - PATCH
642
+ - HEAD
643
+ - ANY
644
+ - TRACE
645
+ - COPY
646
+ - MOVE
647
+ - PROPFIND
648
+ - PROPPATCH
649
+ - MKCOL
650
+ - LOCK
651
+ - UNLOCK
652
+ */
653
+ Methods?: Array<string>;
654
+ /**
655
+ * 路由的域名
656
+ */
657
+ Hosts?: Array<string>;
658
+ /**
659
+ * 路由的路径
660
+ */
661
+ Paths?: Array<string>;
662
+ /**
663
+ * 路由的协议,可选
664
+ - https
665
+ - http
666
+ */
667
+ Protocols?: Array<string>;
668
+ /**
669
+ * 转发到后端时是否保留Host
670
+ */
671
+ PreserveHost?: boolean;
672
+ /**
673
+ * https重定向状态码
674
+ */
675
+ HttpsRedirectStatusCode?: number;
676
+ /**
677
+ * 转发到后端时是否StripPath
678
+ */
679
+ StripPath?: boolean;
680
+ /**
681
+ * 是否开启强制HTTPS
682
+ * @deprecated
683
+ */
684
+ ForceHttps?: boolean;
685
+ /**
686
+ * 四层匹配的目的端口
687
+ */
688
+ DestinationPorts?: Array<number>;
689
+ /**
690
+ * 路由的Headers
691
+ */
692
+ Headers?: Array<KVMapping>;
693
+ }
694
+ /**
695
+ * 键值对
696
+ */
697
+ export interface KVPair {
698
+ /**
699
+ * 键
700
+ */
701
+ Key: string;
702
+ /**
703
+ * 值
704
+ */
705
+ Value: string;
706
+ }
707
+ /**
708
+ * DeleteEngine返回参数结构体
709
+ */
710
+ export interface DeleteEngineResponse {
711
+ /**
712
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
713
+ */
714
+ RequestId?: string;
715
+ }
716
+ /**
717
+ * DescribeCloudNativeAPIGatewayRoutes返回参数结构体
718
+ */
719
+ export interface DescribeCloudNativeAPIGatewayRoutesResponse {
720
+ /**
721
+ * 无
722
+ 注意:此字段可能返回 null,表示取不到有效值。
723
+ */
724
+ Result?: KongServiceRouteList;
725
+ /**
726
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
727
+ */
728
+ RequestId?: string;
729
+ }
730
+ /**
731
+ * DescribeZookeeperReplicas请求参数结构体
732
+ */
733
+ export interface DescribeZookeeperReplicasRequest {
734
+ /**
735
+ * 注册引擎实例ID
736
+ */
737
+ InstanceId: string;
738
+ /**
739
+ * 副本列表Limit
740
+ */
741
+ Limit?: number;
742
+ /**
743
+ * 副本列表Offset
744
+ */
745
+ Offset?: number;
746
+ }
747
+ /**
748
+ * DeleteCloudNativeAPIGatewayService返回参数结构体
749
+ */
750
+ export interface DeleteCloudNativeAPIGatewayServiceResponse {
751
+ /**
752
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
753
+ */
754
+ RequestId?: string;
755
+ }
756
+ /**
757
+ * DeleteCloudNativeAPIGatewayRoute返回参数结构体
758
+ */
759
+ export interface DeleteCloudNativeAPIGatewayRouteResponse {
760
+ /**
761
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
762
+ */
763
+ RequestId?: string;
764
+ }
765
+ /**
766
+ * CreateCloudNativeAPIGatewayRouteRateLimit请求参数结构体
767
+ */
768
+ export interface CreateCloudNativeAPIGatewayRouteRateLimitRequest {
769
+ /**
770
+ * 网关ID
771
+ */
772
+ GatewayId: string;
773
+ /**
774
+ * 路由id,或路由名称。
775
+ 不支持“未命名”
776
+ */
777
+ Id: string;
778
+ /**
779
+ * 限流配置
780
+ */
781
+ LimitDetail: CloudNativeAPIGatewayRateLimitDetail;
782
+ }
783
+ /**
784
+ * ModifyCloudNativeAPIGatewayRoute返回参数结构体
785
+ */
786
+ export interface ModifyCloudNativeAPIGatewayRouteResponse {
787
+ /**
788
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
789
+ */
790
+ RequestId?: string;
791
+ }
792
+ /**
793
+ * 服务治理相关的信息
794
+ */
795
+ export interface ServiceGovernanceInfo {
796
+ /**
797
+ * 引擎所在的地域
798
+ */
799
+ EngineRegion: string;
800
+ /**
801
+ * 服务治理引擎绑定的kubernetes集群信息
802
+ */
803
+ BoundK8SInfos?: Array<BoundK8SInfo>;
804
+ /**
805
+ * 服务治理引擎绑定的网络信息
806
+ */
807
+ VpcInfos?: Array<VpcInfo>;
808
+ /**
809
+ * 当前实例鉴权是否开启
810
+ */
811
+ AuthOpen?: boolean;
812
+ /**
813
+ * 该实例支持的功能,鉴权就是 Auth
814
+ */
815
+ Features?: Array<string>;
816
+ /**
817
+ * 主账户名默认为 polaris,该值为主账户的默认密码
818
+ */
819
+ MainPassword?: string;
820
+ /**
821
+ * 服务治理pushgateway引擎绑定的网络信息
822
+ */
823
+ PgwVpcInfos?: Array<VpcInfo>;
824
+ /**
825
+ * 服务治理限流server引擎绑定的网络信息
826
+ */
827
+ LimiterVpcInfos?: Array<VpcInfo>;
828
+ }
829
+ /**
830
+ * DescribeNacosReplicas返回参数结构体
831
+ */
832
+ export interface DescribeNacosReplicasResponse {
833
+ /**
834
+ * 引擎实例副本信息
835
+ */
836
+ Replicas: Array<NacosReplica>;
837
+ /**
838
+ * 副本个数
839
+ 注意:此字段可能返回 null,表示取不到有效值。
840
+ */
841
+ TotalCount: number;
842
+ /**
843
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
844
+ */
845
+ RequestId?: string;
846
+ }
847
+ /**
848
+ * DeleteCloudNativeAPIGatewayServiceRateLimit请求参数结构体
849
+ */
850
+ export interface DeleteCloudNativeAPIGatewayServiceRateLimitRequest {
851
+ /**
852
+ * 网关Id
853
+ */
854
+ GatewayId: string;
855
+ /**
856
+ * 服务名称,或服务ID
857
+ */
858
+ Name: string;
859
+ }
860
+ /**
861
+ * 灰度规则列表
862
+ */
863
+ export interface CloudAPIGatewayCanaryRuleList {
864
+ /**
865
+ * 灰度规则
866
+ 注意:此字段可能返回 null,表示取不到有效值。
867
+ */
868
+ CanaryRuleList?: Array<CloudNativeAPIGatewayCanaryRule>;
869
+ /**
870
+ * 总数
871
+ 注意:此字段可能返回 null,表示取不到有效值。
872
+ */
873
+ TotalCount?: number;
874
+ }
875
+ /**
876
+ * 云原生网关路由信息
877
+ */
878
+ export interface KongRoutePreview {
879
+ /**
880
+ * 服务ID
881
+ 注意:此字段可能返回 null,表示取不到有效值。
882
+ */
883
+ ID: string;
884
+ /**
885
+ * 服务名字
886
+ 注意:此字段可能返回 null,表示取不到有效值。
887
+ */
888
+ Name?: string;
889
+ /**
890
+ * 无
891
+ 注意:此字段可能返回 null,表示取不到有效值。
892
+ */
893
+ Methods?: Array<string>;
894
+ /**
895
+ * 无
896
+ 注意:此字段可能返回 null,表示取不到有效值。
897
+ */
898
+ Paths?: Array<string>;
899
+ /**
900
+ * 无
901
+ 注意:此字段可能返回 null,表示取不到有效值。
902
+ */
903
+ Hosts?: Array<string>;
904
+ /**
905
+ * 无
906
+ 注意:此字段可能返回 null,表示取不到有效值。
907
+ */
908
+ Protocols?: Array<string>;
909
+ /**
910
+ * 无
911
+ 注意:此字段可能返回 null,表示取不到有效值。
912
+ */
913
+ PreserveHost?: boolean;
914
+ /**
915
+ * 无
916
+ 注意:此字段可能返回 null,表示取不到有效值。
917
+ */
918
+ HttpsRedirectStatusCode?: number;
919
+ /**
920
+ * 无
921
+ 注意:此字段可能返回 null,表示取不到有效值。
922
+ */
923
+ StripPath?: boolean;
924
+ /**
925
+ * 无
926
+ 注意:此字段可能返回 null,表示取不到有效值。
927
+ */
928
+ CreatedTime?: string;
929
+ /**
930
+ * 是否开启了强制HTTPS
931
+ 注意:此字段可能返回 null,表示取不到有效值。
932
+ */
933
+ ForceHttps?: boolean;
934
+ /**
935
+ * 服务名
936
+ 注意:此字段可能返回 null,表示取不到有效值。
937
+ */
938
+ ServiceName?: string;
939
+ /**
940
+ * 服务ID
941
+ 注意:此字段可能返回 null,表示取不到有效值。
942
+ */
943
+ ServiceID?: string;
944
+ /**
945
+ * 目的端口
946
+ 注意:此字段可能返回 null,表示取不到有效值。
947
+ */
948
+ DestinationPorts?: Array<number>;
949
+ /**
950
+ * 路由的Headers
951
+ 注意:此字段可能返回 null,表示取不到有效值。
952
+ */
953
+ Headers?: KVMapping;
954
+ }
955
+ /**
956
+ * 云原生网关Tse 限流插件配置
957
+ */
958
+ export interface CloudNativeAPIGatewayRateLimitDetail {
959
+ /**
960
+ * 插件启用状态
961
+ */
962
+ Enabled: boolean;
963
+ /**
964
+ * qps阈值
965
+ */
966
+ QpsThresholds: Array<QpsThreshold>;
967
+ /**
968
+ * 限流依据
969
+ ip service consumer credential path header
970
+ */
971
+ LimitBy: string;
972
+ /**
973
+ * 响应策略
974
+ url请求转发
975
+ text 响应配置
976
+ default 直接返回
977
+
978
+ */
979
+ ResponseType: string;
980
+ /**
981
+ * 是否隐藏限流客户端响应头
982
+ */
983
+ HideClientHeaders: boolean;
984
+ /**
985
+ * 是否开启请求排队
986
+ */
987
+ IsDelay: boolean;
988
+ /**
989
+ * 需要进行流量控制的请求路径
990
+ 注意:此字段可能返回 null,表示取不到有效值。
991
+ */
992
+ Path?: string;
993
+ /**
994
+ * 需要进行流量控制的请求头Key
995
+ 注意:此字段可能返回 null,表示取不到有效值。
996
+ */
997
+ Header?: string;
998
+ /**
999
+ * 外部redis配置
1000
+ 注意:此字段可能返回 null,表示取不到有效值。
1001
+ */
1002
+ ExternalRedis?: ExternalRedis;
1003
+ /**
1004
+ * 计数器策略
1005
+ local 单机
1006
+ redis 默认redis
1007
+ external_redis 外部redis
1008
+
1009
+ 注意:此字段可能返回 null,表示取不到有效值。
1010
+ */
1011
+ Policy?: string;
1012
+ /**
1013
+ * 响应配置,响应策略为text
1014
+
1015
+ 注意:此字段可能返回 null,表示取不到有效值。
1016
+ */
1017
+ RateLimitResponse?: RateLimitResponse;
1018
+ /**
1019
+ * 请求转发地址
1020
+ 注意:此字段可能返回 null,表示取不到有效值。
1021
+ */
1022
+ RateLimitResponseUrl?: string;
1023
+ /**
1024
+ * 排队时间
1025
+ */
1026
+ LineUpTime?: number;
1027
+ }
1028
+ /**
1029
+ * CreateCloudNativeAPIGatewayRoute返回参数结构体
1030
+ */
1031
+ export interface CreateCloudNativeAPIGatewayRouteResponse {
1032
+ /**
1033
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1034
+ */
1035
+ RequestId?: string;
1036
+ }
1037
+ /**
1038
+ * 实例地域信息描述
1039
+ */
1040
+ export interface DescribeInstanceRegionInfo {
1041
+ /**
1042
+ * 引擎部署地域信息
1043
+ 注意:此字段可能返回 null,表示取不到有效值。
1044
+ */
1045
+ EngineRegion: string;
1046
+ /**
1047
+ * 引擎在该地域的副本数
1048
+ 注意:此字段可能返回 null,表示取不到有效值。
1049
+ */
1050
+ Replica: number;
1051
+ /**
1052
+ * 引擎在该地域的规格id
1053
+ 注意:此字段可能返回 null,表示取不到有效值。
1054
+ */
1055
+ SpecId: string;
1056
+ /**
1057
+ * 内网的网络信息
1058
+ 注意:此字段可能返回 null,表示取不到有效值。
1059
+ */
1060
+ IntranetVpcInfos: Array<VpcInfo>;
1061
+ /**
1062
+ * 是否开公网
1063
+ 注意:此字段可能返回 null,表示取不到有效值。
1064
+ */
1065
+ EnableClientInternet: boolean;
1066
+ }
1067
+ /**
1068
+ * Kong Upstream中的Target
1069
+ */
1070
+ export interface KongTarget {
1071
+ /**
1072
+ * Host
1073
+ */
1074
+ Host: string;
1075
+ /**
1076
+ * 端口
1077
+ */
1078
+ Port: number;
1079
+ /**
1080
+ * 权重
1081
+ */
1082
+ Weight: number;
1083
+ /**
1084
+ * 健康状态
1085
+ */
1086
+ Health?: string;
1087
+ /**
1088
+ * 创建时间
1089
+ */
1090
+ CreatedTime?: string;
1091
+ /**
1092
+ * Target的来源
1093
+ */
1094
+ Source?: string;
1095
+ }
1096
+ /**
1097
+ * 引擎地域配置详情
1098
+ */
1099
+ export interface EngineRegionInfo {
1100
+ /**
1101
+ * 引擎节点所在地域
1102
+ */
1103
+ EngineRegion: string;
1104
+ /**
1105
+ * 此地域节点分配数量
1106
+ */
1107
+ Replica: number;
1108
+ /**
1109
+ * 集群网络信息
1110
+ */
1111
+ VpcInfos: Array<VpcInfo>;
1112
+ }
1113
+ /**
1114
+ * DescribeNacosServerInterfaces返回参数结构体
1115
+ */
1116
+ export interface DescribeNacosServerInterfacesResponse {
1117
+ /**
1118
+ * 接口总个数
1119
+ */
1120
+ TotalCount: number;
1121
+ /**
1122
+ * 接口列表
1123
+ */
1124
+ Content: Array<NacosServerInterface>;
1125
+ /**
1126
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1127
+ */
1128
+ RequestId?: string;
1129
+ }
1130
+ /**
1131
+ * 键值对
1132
+ */
1133
+ export interface KVMapping {
1134
+ /**
1135
+ * key
1136
+ 注意:此字段可能返回 null,表示取不到有效值。
1137
+ */
1138
+ Key?: string;
1139
+ /**
1140
+ * value
1141
+ 注意:此字段可能返回 null,表示取不到有效值。
1142
+ */
1143
+ Value?: string;
1144
+ }
1145
+ /**
1146
+ * 云原生网关限流插件自定义响应
1147
+ */
1148
+ export interface RateLimitResponse {
1149
+ /**
1150
+ * 自定义响应体
1151
+ 注意:此字段可能返回 null,表示取不到有效值。
1152
+ */
1153
+ Body?: string;
1154
+ /**
1155
+ * headrs
1156
+ 注意:此字段可能返回 null,表示取不到有效值。
1157
+ */
1158
+ Headers?: Array<KVMapping>;
1159
+ /**
1160
+ * http状态码
1161
+ 注意:此字段可能返回 null,表示取不到有效值。
1162
+ */
1163
+ HttpStatus?: number;
1164
+ }
1165
+ /**
1166
+ * DescribeCloudNativeAPIGatewayServiceRateLimit返回参数结构体
1167
+ */
1168
+ export interface DescribeCloudNativeAPIGatewayServiceRateLimitResponse {
1169
+ /**
1170
+ * 获取云原生网关限流插件(服务)
1171
+ */
1172
+ Result?: CloudNativeAPIGatewayRateLimitDetail;
1173
+ /**
1174
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1175
+ */
1176
+ RequestId?: string;
1177
+ }
1178
+ /**
1179
+ * DeleteCloudNativeAPIGatewayService请求参数结构体
1180
+ */
1181
+ export interface DeleteCloudNativeAPIGatewayServiceRequest {
1182
+ /**
1183
+ * 网关ID
1184
+ */
1185
+ GatewayId: string;
1186
+ /**
1187
+ * 服务名字,服务ID
1188
+ */
1189
+ Name: string;
1190
+ }
1191
+ /**
1192
+ * 环境具体信息
1193
+ */
1194
+ export interface EnvInfo {
1195
+ /**
1196
+ * 环境名称
1197
+ */
1198
+ EnvName: string;
1199
+ /**
1200
+ * 环境对应的网络信息
1201
+ */
1202
+ VpcInfos: Array<VpcInfo>;
1203
+ /**
1204
+ * 云硬盘容量
1205
+ */
1206
+ StorageCapacity: number;
1207
+ /**
1208
+ * 运行状态
1209
+ */
1210
+ Status?: string;
1211
+ /**
1212
+ * Admin service 访问地址
1213
+ */
1214
+ AdminServiceIp?: string;
1215
+ /**
1216
+ * Config service访问地址
1217
+ */
1218
+ ConfigServiceIp?: string;
1219
+ /**
1220
+ * 是否开启config-server公网
1221
+ */
1222
+ EnableConfigInternet?: boolean;
1223
+ /**
1224
+ * config-server公网访问地址
1225
+ */
1226
+ ConfigInternetServiceIp?: string;
1227
+ /**
1228
+ * 规格ID
1229
+ */
1230
+ SpecId?: string;
1231
+ /**
1232
+ * 环境的节点数
1233
+ */
1234
+ EnvReplica?: number;
1235
+ /**
1236
+ * 环境运行的节点数
1237
+ */
1238
+ RunningCount?: number;
1239
+ /**
1240
+ * 环境别名
1241
+ */
1242
+ AliasEnvName?: string;
1243
+ /**
1244
+ * 环境描述
1245
+ */
1246
+ EnvDesc?: string;
1247
+ /**
1248
+ * 客户端带宽
1249
+ */
1250
+ ClientBandWidth?: number;
1251
+ /**
1252
+ * 客户端内网开关
1253
+ 注意:此字段可能返回 null,表示取不到有效值。
1254
+ */
1255
+ EnableConfigIntranet?: boolean;
1256
+ }
1257
+ /**
1258
+ * DescribeCloudNativeAPIGatewayRouteRateLimit请求参数结构体
1259
+ */
1260
+ export interface DescribeCloudNativeAPIGatewayRouteRateLimitRequest {
1261
+ /**
1262
+ * 网关Id
1263
+ */
1264
+ GatewayId: string;
1265
+ /**
1266
+ * 路由Id,或路由名称。
1267
+ 不支持“未命名”
1268
+ */
1269
+ Id: string;
1270
+ }
1271
+ /**
1272
+ * DescribeOneCloudNativeAPIGatewayService请求参数结构体
1273
+ */
1274
+ export interface DescribeOneCloudNativeAPIGatewayServiceRequest {
1275
+ /**
1276
+ * 网关ID
1277
+ */
1278
+ GatewayId: string;
1279
+ /**
1280
+ * 服务名字,或服务ID
1281
+ */
1282
+ Name: string;
1283
+ }
1284
+ /**
1285
+ * CreateCloudNativeAPIGatewayRouteRateLimit返回参数结构体
1286
+ */
1287
+ export interface CreateCloudNativeAPIGatewayRouteRateLimitResponse {
1288
+ /**
1289
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1290
+ */
1291
+ RequestId?: string;
1292
+ }
1293
+ /**
1294
+ * UpdateEngineInternetAccess返回参数结构体
1295
+ */
1296
+ export interface UpdateEngineInternetAccessResponse {
1297
+ /**
1298
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1299
+ */
1300
+ RequestId?: string;
1301
+ }
1302
+ /**
1303
+ * DeleteCloudNativeAPIGatewayRouteRateLimit请求参数结构体
1304
+ */
1305
+ export interface DeleteCloudNativeAPIGatewayRouteRateLimitRequest {
1306
+ /**
1307
+ * 网关Id
1308
+ */
1309
+ GatewayId: string;
1310
+ /**
1311
+ * 路由Id,或路由名称。
1312
+ 不支持“未命名”
1313
+ */
1314
+ Id: string;
1315
+ }
1316
+ /**
1317
+ * 列表过滤条件,模糊匹配
1318
+ */
1319
+ export interface ListFilter {
1320
+ /**
1321
+ * 过滤字段
1322
+ */
1323
+ Key?: string;
1324
+ /**
1325
+ * 过滤值
1326
+ */
1327
+ Value?: string;
1328
+ }
1329
+ /**
1330
+ * DeleteEngine请求参数结构体
1331
+ */
1332
+ export interface DeleteEngineRequest {
1333
+ /**
1334
+ * 引擎实例 ID
1335
+ */
1336
+ InstanceId: string;
1337
+ }
1338
+ /**
1339
+ * Zookeeper副本信息
1340
+ */
1341
+ export interface ZookeeperReplica {
1342
+ /**
1343
+ * 名称
1344
+ */
1345
+ Name: string;
1346
+ /**
1347
+ * 角色
1348
+ */
1349
+ Role: string;
1350
+ /**
1351
+ * 状态
1352
+ */
1353
+ Status: string;
1354
+ /**
1355
+ * 子网ID
1356
+ 注意:此字段可能返回 null,表示取不到有效值。
1357
+ */
1358
+ SubnetId: string;
1359
+ /**
1360
+ * 可用区ID
1361
+ 注意:此字段可能返回 null,表示取不到有效值。
1362
+ */
1363
+ Zone: string;
1364
+ /**
1365
+ * 可用区ID
1366
+ 注意:此字段可能返回 null,表示取不到有效值。
1367
+ */
1368
+ ZoneId: string;
1369
+ /**
1370
+ * 别名
1371
+ 注意:此字段可能返回 null,表示取不到有效值。
1372
+ */
1373
+ AliasName: string;
1374
+ /**
1375
+ * VPC ID
1376
+ 注意:此字段可能返回 null,表示取不到有效值。
1377
+ */
1378
+ VpcId?: string;
1379
+ }
1380
+ /**
1381
+ * DescribeCloudNativeAPIGatewayCanaryRules返回参数结构体
1382
+ */
1383
+ export interface DescribeCloudNativeAPIGatewayCanaryRulesResponse {
1384
+ /**
1385
+ * 灰度规则列表
1386
+ */
1387
+ Result?: CloudAPIGatewayCanaryRuleList;
1388
+ /**
1389
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1390
+ */
1391
+ RequestId?: string;
1392
+ }
1393
+ /**
1394
+ * 微服务注册引擎实例
1395
+ */
1396
+ export interface SREInstance {
1397
+ /**
1398
+ * 实例ID
1399
+ */
1400
+ InstanceId: string;
1401
+ /**
1402
+ * 名称
1403
+ */
1404
+ Name: string;
1405
+ /**
1406
+ * 版本号
1407
+ */
1408
+ Edition: string;
1409
+ /**
1410
+ * 状态, 枚举值:creating/create_fail/running/updating/update_fail/restarting/restart_fail/destroying/destroy_fail
1411
+ */
1412
+ Status: string;
1413
+ /**
1414
+ * 规格ID
1415
+ */
1416
+ SpecId: string;
1417
+ /**
1418
+ * 副本数
1419
+ */
1420
+ Replica: number;
1421
+ /**
1422
+ * 类型
1423
+ */
1424
+ Type: string;
1425
+ /**
1426
+ * Vpc iD
1427
+ */
1428
+ VpcId: string;
1429
+ /**
1430
+ * 子网ID
1431
+ 注意:此字段可能返回 null,表示取不到有效值。
1432
+ */
1433
+ SubnetIds: Array<string>;
1434
+ /**
1435
+ * 是否开启持久化存储
1436
+ 注意:此字段可能返回 null,表示取不到有效值。
1437
+ */
1438
+ EnableStorage: boolean;
1439
+ /**
1440
+ * 数据存储方式
1441
+ 注意:此字段可能返回 null,表示取不到有效值。
1442
+ */
1443
+ StorageType: string;
1444
+ /**
1445
+ * 云硬盘容量
1446
+ 注意:此字段可能返回 null,表示取不到有效值。
1447
+ */
1448
+ StorageCapacity: number;
1449
+ /**
1450
+ * 计费方式
1451
+ 注意:此字段可能返回 null,表示取不到有效值。
1452
+ */
1453
+ Paymode: string;
1454
+ /**
1455
+ * EKS集群的ID
1456
+ 注意:此字段可能返回 null,表示取不到有效值。
1457
+ */
1458
+ EKSClusterID: string;
1459
+ /**
1460
+ * 集群创建时间
1461
+ 注意:此字段可能返回 null,表示取不到有效值。
1462
+ */
1463
+ CreateTime: string;
359
1464
  /**
360
1465
  * 环境配置信息列表
361
1466
  注意:此字段可能返回 null,表示取不到有效值。
362
1467
  */
363
- EnvInfos: Array<EnvInfo>;
1468
+ EnvInfos: Array<EnvInfo>;
1469
+ /**
1470
+ * 引擎所在的区域
1471
+ 注意:此字段可能返回 null,表示取不到有效值。
1472
+ */
1473
+ EngineRegion: string;
1474
+ /**
1475
+ * 注册引擎是否开启公网
1476
+ 注意:此字段可能返回 null,表示取不到有效值。
1477
+ */
1478
+ EnableInternet: boolean;
1479
+ /**
1480
+ * 私有网络列表信息
1481
+ 注意:此字段可能返回 null,表示取不到有效值。
1482
+ */
1483
+ VpcInfos: Array<VpcInfo>;
1484
+ /**
1485
+ * 服务治理相关信息列表
1486
+ 注意:此字段可能返回 null,表示取不到有效值。
1487
+ */
1488
+ ServiceGovernanceInfos: Array<ServiceGovernanceInfo>;
1489
+ /**
1490
+ * 实例的标签信息
1491
+ 注意:此字段可能返回 null,表示取不到有效值。
1492
+ */
1493
+ Tags: Array<KVPair>;
1494
+ /**
1495
+ * 引擎实例是否开启控制台公网访问地址
1496
+ 注意:此字段可能返回 null,表示取不到有效值。
1497
+ */
1498
+ EnableConsoleInternet: boolean;
1499
+ /**
1500
+ * 引擎实例是否开启控制台内网访问地址
1501
+ 注意:此字段可能返回 null,表示取不到有效值。
1502
+ */
1503
+ EnableConsoleIntranet: boolean;
1504
+ /**
1505
+ * 引擎实例是否展示参数配置页面
1506
+ 注意:此字段可能返回 null,表示取不到有效值。
1507
+ */
1508
+ ConfigInfoVisible: boolean;
1509
+ /**
1510
+ * 引擎实例控制台默认密码
1511
+ 注意:此字段可能返回 null,表示取不到有效值。
1512
+ */
1513
+ ConsoleDefaultPwd: string;
1514
+ /**
1515
+ * 交易付费类型,0后付费/1预付费
1516
+ 注意:此字段可能返回 null,表示取不到有效值。
1517
+ */
1518
+ TradeType: number;
1519
+ /**
1520
+ * 自动续费标记:0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费
1521
+ 注意:此字段可能返回 null,表示取不到有效值。
1522
+ */
1523
+ AutoRenewFlag: number;
1524
+ /**
1525
+ * 预付费到期时间
1526
+ 注意:此字段可能返回 null,表示取不到有效值。
1527
+ */
1528
+ CurDeadline: string;
1529
+ /**
1530
+ * 隔离开始时间
1531
+ 注意:此字段可能返回 null,表示取不到有效值。
1532
+ */
1533
+ IsolateTime: string;
1534
+ /**
1535
+ * 实例地域相关的描述信息
1536
+ 注意:此字段可能返回 null,表示取不到有效值。
1537
+ */
1538
+ RegionInfos: Array<DescribeInstanceRegionInfo>;
1539
+ /**
1540
+ * 所在EKS环境,分为common和yunti
1541
+ 注意:此字段可能返回 null,表示取不到有效值。
1542
+ */
1543
+ EKSType: string;
1544
+ /**
1545
+ * 引擎的产品版本
1546
+ 注意:此字段可能返回 null,表示取不到有效值。
1547
+ */
1548
+ FeatureVersion?: string;
1549
+ /**
1550
+ * 引擎实例是否开启客户端内网访问地址
1551
+ 注意:此字段可能返回 null,表示取不到有效值。
1552
+ */
1553
+ EnableClientIntranet?: boolean;
1554
+ }
1555
+ /**
1556
+ * DeleteCloudNativeAPIGatewayServiceRateLimit返回参数结构体
1557
+ */
1558
+ export interface DeleteCloudNativeAPIGatewayServiceRateLimitResponse {
1559
+ /**
1560
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1561
+ */
1562
+ RequestId?: string;
1563
+ }
1564
+ /**
1565
+ * ModifyCloudNativeAPIGatewayServiceRateLimit请求参数结构体
1566
+ */
1567
+ export interface ModifyCloudNativeAPIGatewayServiceRateLimitRequest {
1568
+ /**
1569
+ * 网关ID
1570
+ */
1571
+ GatewayId: string;
1572
+ /**
1573
+ * 服务名称,或服务ID
1574
+ */
1575
+ Name: string;
1576
+ /**
1577
+ * 限流配置
1578
+ */
1579
+ LimitDetail: CloudNativeAPIGatewayRateLimitDetail;
1580
+ }
1581
+ /**
1582
+ * 云原生API网关节点信息。
1583
+ */
1584
+ export interface CloudNativeAPIGatewayNode {
1585
+ /**
1586
+ * 云原生网关节点 id
1587
+ */
1588
+ NodeId: string;
1589
+ /**
1590
+ * 节点 ip
1591
+ */
1592
+ NodeIp: string;
1593
+ /**
1594
+ * Zone id
1595
+ 注意:此字段可能返回 null,表示取不到有效值。
1596
+ */
1597
+ ZoneId?: string;
1598
+ /**
1599
+ * Zone
1600
+ 注意:此字段可能返回 null,表示取不到有效值。
1601
+ */
1602
+ Zone?: string;
1603
+ /**
1604
+ * 分组ID
1605
+ 注意:此字段可能返回 null,表示取不到有效值。
1606
+ */
1607
+ GroupId?: string;
1608
+ /**
1609
+ * 分组名
1610
+ 注意:此字段可能返回 null,表示取不到有效值。
1611
+ */
1612
+ GroupName?: string;
1613
+ /**
1614
+ * 状态
1615
+ 注意:此字段可能返回 null,表示取不到有效值。
1616
+ */
1617
+ Status?: string;
1618
+ }
1619
+ /**
1620
+ * DescribeZookeeperServerInterfaces返回参数结构体
1621
+ */
1622
+ export interface DescribeZookeeperServerInterfacesResponse {
1623
+ /**
1624
+ * 接口总个数
1625
+ */
1626
+ TotalCount: number;
1627
+ /**
1628
+ * 接口列表
1629
+ */
1630
+ Content: Array<ZookeeperServerInterface>;
1631
+ /**
1632
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1633
+ */
1634
+ RequestId?: string;
1635
+ }
1636
+ /**
1637
+ * 查询过滤通用对象
1638
+ */
1639
+ export interface Filter {
1640
+ /**
1641
+ * 过滤参数名
1642
+ */
1643
+ Name: string;
1644
+ /**
1645
+ * 过滤参数值
1646
+ */
1647
+ Values: Array<string>;
1648
+ }
1649
+ /**
1650
+ * 查询Limiter的接入地址
1651
+ */
1652
+ export interface PolarisLimiterAddress {
1653
+ /**
1654
+ * VPC接入IP列表
1655
+ 注意:此字段可能返回 null,表示取不到有效值。
1656
+ */
1657
+ IntranetAddress: string;
1658
+ }
1659
+ /**
1660
+ * DescribeOneCloudNativeAPIGatewayService返回参数结构体
1661
+ */
1662
+ export interface DescribeOneCloudNativeAPIGatewayServiceResponse {
364
1663
  /**
365
- * 引擎所在的区域
366
- 注意:此字段可能返回 null,表示取不到有效值。
1664
+ *
367
1665
  */
368
- EngineRegion: string;
1666
+ Result?: KongServiceDetail;
369
1667
  /**
370
- * 注册引擎是否开启公网
371
- 注意:此字段可能返回 null,表示取不到有效值。
1668
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
372
1669
  */
373
- EnableInternet: boolean;
1670
+ RequestId?: string;
1671
+ }
1672
+ /**
1673
+ * ModifyCloudNativeAPIGatewayService请求参数结构体
1674
+ */
1675
+ export interface ModifyCloudNativeAPIGatewayServiceRequest {
374
1676
  /**
375
- * 私有网络列表信息
376
- 注意:此字段可能返回 null,表示取不到有效值。
1677
+ * 网关ID
377
1678
  */
378
- VpcInfos: Array<VpcInfo>;
1679
+ GatewayId: string;
379
1680
  /**
380
- * 服务治理相关信息列表
381
- 注意:此字段可能返回 null,表示取不到有效值。
1681
+ * 服务名称
382
1682
  */
383
- ServiceGovernanceInfos: Array<ServiceGovernanceInfo>;
1683
+ Name: string;
384
1684
  /**
385
- * 实例的标签信息
386
- 注意:此字段可能返回 null,表示取不到有效值。
1685
+ * 请求协议:
1686
+ - https
1687
+ - http
1688
+ - tcp
1689
+ - udp
387
1690
  */
388
- Tags: Array<KVPair>;
1691
+ Protocol: string;
389
1692
  /**
390
- * 引擎实例是否开启控制台公网访问地址
391
- 注意:此字段可能返回 null,表示取不到有效值。
1693
+ * 请求路径
392
1694
  */
393
- EnableConsoleInternet: boolean;
1695
+ Path: string;
394
1696
  /**
395
- * 引擎实例是否开启控制台内网访问地址
396
- 注意:此字段可能返回 null,表示取不到有效值。
1697
+ * 超时时间,单位ms
397
1698
  */
398
- EnableConsoleIntranet: boolean;
1699
+ Timeout: number;
399
1700
  /**
400
- * 引擎实例是否展示参数配置页面
401
- 注意:此字段可能返回 null,表示取不到有效值。
1701
+ * 重试次数
402
1702
  */
403
- ConfigInfoVisible: boolean;
1703
+ Retries: number;
404
1704
  /**
405
- * 引擎实例控制台默认密码
406
- 注意:此字段可能返回 null,表示取不到有效值。
1705
+ * 服务类型:
1706
+ - Kubernetes
1707
+ - Registry
1708
+ - IPList
1709
+ - HostIP
1710
+ - Scf
407
1711
  */
408
- ConsoleDefaultPwd: string;
1712
+ UpstreamType: string;
409
1713
  /**
410
- * 交易付费类型,0后付费/1预付费
1714
+ * 服务配置
1715
+ */
1716
+ UpstreamInfo: KongUpstreamInfo;
1717
+ /**
1718
+ * 服务ID
1719
+ */
1720
+ ID: string;
1721
+ }
1722
+ /**
1723
+ * kong实例的服务列表
1724
+ */
1725
+ export interface KongServices {
1726
+ /**
1727
+ * kong实例的服务列表
411
1728
  注意:此字段可能返回 null,表示取不到有效值。
412
1729
  */
413
- TradeType: number;
1730
+ ServiceList?: Array<KongServicePreview>;
414
1731
  /**
415
- * 自动续费标记:0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费
1732
+ * 列表总数
416
1733
  注意:此字段可能返回 null,表示取不到有效值。
417
1734
  */
418
- AutoRenewFlag: number;
1735
+ TotalCount?: number;
1736
+ }
1737
+ /**
1738
+ * DescribeZookeeperServerInterfaces请求参数结构体
1739
+ */
1740
+ export interface DescribeZookeeperServerInterfacesRequest {
419
1741
  /**
420
- * 预付费到期时间
1742
+ * 实例id
1743
+ */
1744
+ InstanceId?: string;
1745
+ /**
1746
+ * 返回的列表个数
1747
+ */
1748
+ Limit?: number;
1749
+ /**
1750
+ * 返回的列表起始偏移量
1751
+ */
1752
+ Offset?: number;
1753
+ }
1754
+ /**
1755
+ * DescribeCloudNativeAPIGatewayRouteRateLimit返回参数结构体
1756
+ */
1757
+ export interface DescribeCloudNativeAPIGatewayRouteRateLimitResponse {
1758
+ /**
1759
+ * 获取云原生网关限流插件(路由)
1760
+ */
1761
+ Result?: CloudNativeAPIGatewayRateLimitDetail;
1762
+ /**
1763
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1764
+ */
1765
+ RequestId?: string;
1766
+ }
1767
+ /**
1768
+ * CreateCloudNativeAPIGatewayCanaryRule请求参数结构体
1769
+ */
1770
+ export interface CreateCloudNativeAPIGatewayCanaryRuleRequest {
1771
+ /**
1772
+ * 网关 ID
1773
+ */
1774
+ GatewayId: string;
1775
+ /**
1776
+ * 服务 ID
1777
+ */
1778
+ ServiceId: string;
1779
+ /**
1780
+ * 灰度规则配置
1781
+ */
1782
+ CanaryRule: CloudNativeAPIGatewayCanaryRule;
1783
+ }
1784
+ /**
1785
+ * DeleteCloudNativeAPIGatewayRoute请求参数结构体
1786
+ */
1787
+ export interface DeleteCloudNativeAPIGatewayRouteRequest {
1788
+ /**
1789
+ * 网关ID
1790
+ */
1791
+ GatewayId: string;
1792
+ /**
1793
+ * 路由的ID或名字,不支持名称“未命名”
1794
+ */
1795
+ Name: string;
1796
+ }
1797
+ /**
1798
+ * DescribeCloudNativeAPIGatewayRoutes请求参数结构体
1799
+ */
1800
+ export interface DescribeCloudNativeAPIGatewayRoutesRequest {
1801
+ /**
1802
+ * 网关ID
1803
+ */
1804
+ GatewayId: string;
1805
+ /**
1806
+ * 翻页单页查询限制数量[0,1000], 默认值0
1807
+ */
1808
+ Limit?: number;
1809
+ /**
1810
+ * 翻页单页偏移量,默认值0
1811
+ */
1812
+ Offset?: number;
1813
+ /**
1814
+ * 服务的名字,精确匹配
1815
+ */
1816
+ ServiceName?: string;
1817
+ /**
1818
+ * 路由的名字,精确匹配
1819
+ */
1820
+ RouteName?: string;
1821
+ /**
1822
+ * 过滤条件,多个过滤条件之间是与的关系,支持 name, path, host, method, service, protocol
1823
+ */
1824
+ Filters?: Array<ListFilter>;
1825
+ }
1826
+ /**
1827
+ * CreateEngine返回参数结构体
1828
+ */
1829
+ export interface CreateEngineResponse {
1830
+ /**
1831
+ * 引擎实例 ID
1832
+ */
1833
+ InstanceId?: string;
1834
+ /**
1835
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1836
+ */
1837
+ RequestId?: string;
1838
+ }
1839
+ /**
1840
+ * CreateCloudNativeAPIGatewayServiceRateLimit返回参数结构体
1841
+ */
1842
+ export interface CreateCloudNativeAPIGatewayServiceRateLimitResponse {
1843
+ /**
1844
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1845
+ */
1846
+ RequestId?: string;
1847
+ }
1848
+ /**
1849
+ * 获取网关节点信息
1850
+ */
1851
+ export interface DescribeCloudNativeAPIGatewayNodesResult {
1852
+ /**
1853
+ * 获取云原生API网关节点列表响应结果。
1854
+ */
1855
+ TotalCount: number;
1856
+ /**
1857
+ * 云原生API网关节点列表。
1858
+ */
1859
+ NodeList: Array<CloudNativeAPIGatewayNode>;
1860
+ }
1861
+ /**
1862
+ * 灰度规则
1863
+ */
1864
+ export interface CloudNativeAPIGatewayCanaryRule {
1865
+ /**
1866
+ * 优先级,值范围为 0 到 100;值越大,优先级越高;不同规则间优先级不可重复
421
1867
  注意:此字段可能返回 null,表示取不到有效值。
422
1868
  */
423
- CurDeadline: string;
1869
+ Priority: number;
424
1870
  /**
425
- * 隔离开始时间
1871
+ * 是否启用规则
426
1872
  注意:此字段可能返回 null,表示取不到有效值。
427
1873
  */
428
- IsolateTime: string;
1874
+ Enabled: boolean;
429
1875
  /**
430
- * 实例地域相关的描述信息
1876
+ * 参数匹配条件
431
1877
  注意:此字段可能返回 null,表示取不到有效值。
432
1878
  */
433
- RegionInfos: Array<DescribeInstanceRegionInfo>;
1879
+ ConditionList?: Array<CloudNativeAPIGatewayCanaryRuleCondition>;
434
1880
  /**
435
- * 所在EKS环境,分为common和yunti
1881
+ * 服务的流量百分比配置
436
1882
  注意:此字段可能返回 null,表示取不到有效值。
437
1883
  */
438
- EKSType: string;
1884
+ BalancedServiceList?: Array<CloudNativeAPIGatewayBalancedService>;
439
1885
  /**
440
- * 引擎的产品版本
1886
+ * 归属服务 ID
441
1887
  注意:此字段可能返回 null,表示取不到有效值。
442
1888
  */
443
- FeatureVersion?: string;
1889
+ ServiceId?: string;
444
1890
  /**
445
- * 引擎实例是否开启客户端内网访问地址
1891
+ * 归属服务名称
446
1892
  注意:此字段可能返回 null,表示取不到有效值。
447
1893
  */
448
- EnableClientIntranet?: boolean;
1894
+ ServiceName?: string;
449
1895
  }
450
1896
  /**
451
- * DescribeSREInstanceAccessAddress返回参数结构体
1897
+ * ModifyCloudNativeAPIGatewayServiceRateLimit返回参数结构体
452
1898
  */
453
- export interface DescribeSREInstanceAccessAddressResponse {
1899
+ export interface ModifyCloudNativeAPIGatewayServiceRateLimitResponse {
454
1900
  /**
455
- * 内网访问地址
1901
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
456
1902
  */
457
- IntranetAddress: string;
1903
+ RequestId?: string;
1904
+ }
1905
+ /**
1906
+ * DescribeNacosServerInterfaces请求参数结构体
1907
+ */
1908
+ export interface DescribeNacosServerInterfacesRequest {
458
1909
  /**
459
- * 公网访问地址
1910
+ * 实例id
460
1911
  */
461
- InternetAddress: string;
1912
+ InstanceId?: string;
462
1913
  /**
463
- * apollo多环境公网ip
1914
+ * 返回的列表个数
464
1915
  */
465
- EnvAddressInfos: Array<EnvAddressInfo>;
1916
+ Limit?: number;
466
1917
  /**
467
- * 控制台公网访问地址
1918
+ * 返回的列表起始偏移量
1919
+ */
1920
+ Offset?: number;
1921
+ }
1922
+ /**
1923
+ * 灰度规则中的条件配置
1924
+ */
1925
+ export interface CloudNativeAPIGatewayCanaryRuleCondition {
1926
+ /**
1927
+ * 条件类型,支持 path, method, query, header, cookie, body 和 system。
468
1928
  注意:此字段可能返回 null,表示取不到有效值。
469
1929
  */
470
- ConsoleInternetAddress: string;
1930
+ Type: string;
471
1931
  /**
472
- * 控制台内网访问地址
1932
+ * 参数名
473
1933
  注意:此字段可能返回 null,表示取不到有效值。
474
1934
  */
475
- ConsoleIntranetAddress: string;
1935
+ Key?: string;
476
1936
  /**
477
- * 客户端公网带宽
1937
+ * 操作符,支持 "le", "eq", "lt", "ne", "ge", "gt", "regex", "exists", "in", "not in", "prefix" ,"exact", "regex" 等
478
1938
  注意:此字段可能返回 null,表示取不到有效值。
479
1939
  */
480
- InternetBandWidth: number;
1940
+ Operator?: string;
481
1941
  /**
482
- * 控制台公网带宽
1942
+ * 目标参数值
483
1943
  注意:此字段可能返回 null,表示取不到有效值。
484
1944
  */
485
- ConsoleInternetBandWidth: number;
1945
+ Value?: string;
486
1946
  /**
487
- * 北极星限流server节点接入IP
1947
+ * 分隔符,当 Operator 为 in 或者 not in 时生效。支持值为英文逗号,英文分号,空格,换行符。
488
1948
  注意:此字段可能返回 null,表示取不到有效值。
489
1949
  */
490
- LimiterAddressInfos: Array<PolarisLimiterAddress>;
1950
+ Delimiter?: string;
491
1951
  /**
492
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1952
+ * 全局配置 Id
1953
+ 注意:此字段可能返回 null,表示取不到有效值。
493
1954
  */
494
- RequestId?: string;
1955
+ GlobalConfigId?: string;
1956
+ /**
1957
+ * 全局配置名称
1958
+ 注意:此字段可能返回 null,表示取不到有效值。
1959
+ */
1960
+ GlobalConfigName?: string;
495
1961
  }
496
1962
  /**
497
1963
  * DescribeSREInstances返回参数结构体
@@ -521,133 +1987,104 @@ export interface ZookeeperServerInterface {
521
1987
  Interface: string;
522
1988
  }
523
1989
  /**
524
- * 服务治理相关的信息
1990
+ * 服务治理引擎绑定的kubernetes信息
525
1991
  */
526
- export interface ServiceGovernanceInfo {
527
- /**
528
- * 引擎所在的地域
529
- */
530
- EngineRegion: string;
531
- /**
532
- * 服务治理引擎绑定的kubernetes集群信息
533
- */
534
- BoundK8SInfos?: Array<BoundK8SInfo>;
1992
+ export interface BoundK8SInfo {
535
1993
  /**
536
- * 服务治理引擎绑定的网络信息
1994
+ * 绑定的kubernetes集群ID
537
1995
  */
538
- VpcInfos?: Array<VpcInfo>;
1996
+ BoundClusterId: string;
539
1997
  /**
540
- * 当前实例鉴权是否开启
1998
+ * 绑定的kubernetes的集群类型,分tke和eks两种
1999
+ 注意:此字段可能返回 null,表示取不到有效值。
541
2000
  */
542
- AuthOpen?: boolean;
2001
+ BoundClusterType: string;
543
2002
  /**
544
- * 该实例支持的功能,鉴权就是 Auth
2003
+ * 服务同步模式,all为全量同步,demand为按需同步
2004
+ 注意:此字段可能返回 null,表示取不到有效值。
545
2005
  */
546
- Features?: Array<string>;
2006
+ SyncMode?: string;
2007
+ }
2008
+ /**
2009
+ * 服务的后端配置
2010
+ */
2011
+ export interface KongUpstreamInfo {
547
2012
  /**
548
- * 主账户名默认为 polaris,该值为主账户的默认密码
2013
+ * IP或域名
549
2014
  */
550
- MainPassword?: string;
2015
+ Host?: string;
551
2016
  /**
552
- * 服务治理pushgateway引擎绑定的网络信息
2017
+ * 端口
553
2018
  */
554
- PgwVpcInfos?: Array<VpcInfo>;
2019
+ Port?: number;
555
2020
  /**
556
- * 服务治理限流server引擎绑定的网络信息
2021
+ * 服务来源ID
557
2022
  */
558
- LimiterVpcInfos?: Array<VpcInfo>;
559
- }
560
- /**
561
- * 云原生API网关节点信息。
562
- */
563
- export interface CloudNativeAPIGatewayNode {
2023
+ SourceID?: string;
564
2024
  /**
565
- * 云原生网关节点 id
2025
+ * 名字空间
566
2026
  */
567
- NodeId: string;
2027
+ Namespace?: string;
568
2028
  /**
569
- * 节点 ip
2029
+ * 服务(注册中心或Kubernetes中的服务)名字
570
2030
  */
571
- NodeIp: string;
2031
+ ServiceName?: string;
572
2032
  /**
573
- * Zone id
574
- 注意:此字段可能返回 null,表示取不到有效值。
2033
+ * 服务后端类型是IPList时提供
575
2034
  */
576
- ZoneId?: string;
2035
+ Targets?: Array<KongTarget>;
577
2036
  /**
578
- * Zone
579
- 注意:此字段可能返回 null,表示取不到有效值。
2037
+ * 服务来源类型
580
2038
  */
581
- Zone?: string;
2039
+ SourceType?: string;
582
2040
  /**
583
- * 分组ID
584
- 注意:此字段可能返回 null,表示取不到有效值。
2041
+ * SCF函数类型
585
2042
  */
586
- GroupId?: string;
2043
+ ScfType?: string;
587
2044
  /**
588
- * 分组名
589
- 注意:此字段可能返回 null,表示取不到有效值。
2045
+ * SCF函数命名空间
590
2046
  */
591
- GroupName?: string;
2047
+ ScfNamespace?: string;
592
2048
  /**
593
- * 状态
594
- 注意:此字段可能返回 null,表示取不到有效值。
2049
+ * SCF函数名
595
2050
  */
596
- Status?: string;
597
- }
598
- /**
599
- * DescribeNacosReplicas返回参数结构体
600
- */
601
- export interface DescribeNacosReplicasResponse {
2051
+ ScfLambdaName?: string;
602
2052
  /**
603
- * 引擎实例副本信息
2053
+ * SCF函数版本
604
2054
  */
605
- Replicas: Array<NacosReplica>;
2055
+ ScfLambdaQualifier?: string;
606
2056
  /**
607
- * 副本个数
608
- 注意:此字段可能返回 null,表示取不到有效值。
2057
+ * 冷启动时间,单位秒
609
2058
  */
610
- TotalCount: number;
2059
+ SlowStart?: number;
611
2060
  /**
612
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2061
+ * 负载均衡算法,默认为 round-robin,还支持 least-connections,consisten_hashing
613
2062
  */
614
- RequestId?: string;
615
- }
616
- /**
617
- * DescribeZookeeperServerInterfaces返回参数结构体
618
- */
619
- export interface DescribeZookeeperServerInterfacesResponse {
2063
+ Algorithm?: string;
620
2064
  /**
621
- * 接口总个数
2065
+ * CVM弹性伸缩组ID
622
2066
  */
623
- TotalCount: number;
2067
+ AutoScalingGroupID?: string;
624
2068
  /**
625
- * 接口列表
2069
+ * CVM弹性伸缩组端口
626
2070
  */
627
- Content: Array<ZookeeperServerInterface>;
2071
+ AutoScalingCvmPort?: number;
628
2072
  /**
629
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2073
+ * CVM弹性伸缩组使用的CVM TAT命令状态
630
2074
  */
631
- RequestId?: string;
632
- }
633
- /**
634
- * 服务治理引擎绑定的kubernetes信息
635
- */
636
- export interface BoundK8SInfo {
2075
+ AutoScalingTatCmdStatus?: string;
637
2076
  /**
638
- * 绑定的kubernetes集群ID
2077
+ * CVM弹性伸缩组生命周期挂钩状态
639
2078
  */
640
- BoundClusterId: string;
2079
+ AutoScalingHookStatus?: string;
641
2080
  /**
642
- * 绑定的kubernetes的集群类型,分tke和eks两种
643
- 注意:此字段可能返回 null,表示取不到有效值。
2081
+ * 服务来源的名字
644
2082
  */
645
- BoundClusterType: string;
2083
+ SourceName?: string;
646
2084
  /**
647
- * 服务同步模式,all为全量同步,demand为按需同步
648
- 注意:此字段可能返回 null,表示取不到有效值。
2085
+ * 精确的服务来源类型,新建服务来源时候传入的类型
649
2086
  */
650
- SyncMode?: string;
2087
+ RealSourceType?: string;
651
2088
  }
652
2089
  /**
653
2090
  * DescribeSREInstances请求参数结构体
@@ -675,17 +2112,21 @@ export interface DescribeSREInstancesRequest {
675
2112
  QuerySource?: string;
676
2113
  }
677
2114
  /**
678
- * DescribeCloudNativeAPIGatewayNodes返回参数结构体
2115
+ * CreateCloudNativeAPIGatewayServiceRateLimit请求参数结构体
679
2116
  */
680
- export interface DescribeCloudNativeAPIGatewayNodesResponse {
2117
+ export interface CreateCloudNativeAPIGatewayServiceRateLimitRequest {
681
2118
  /**
682
- * 获取云原生网关节点列表结果。
2119
+ * 网关ID
683
2120
  */
684
- Result: DescribeCloudNativeAPIGatewayNodesResult;
2121
+ GatewayId: string;
685
2122
  /**
686
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2123
+ * 服务名称,或服务ID
687
2124
  */
688
- RequestId?: string;
2125
+ Name: string;
2126
+ /**
2127
+ * 限流配置
2128
+ */
2129
+ LimitDetail: CloudNativeAPIGatewayRateLimitDetail;
689
2130
  }
690
2131
  /**
691
2132
  * DescribeZookeeperReplicas返回参数结构体
@@ -705,51 +2146,6 @@ export interface DescribeZookeeperReplicasResponse {
705
2146
  */
706
2147
  RequestId?: string;
707
2148
  }
708
- /**
709
- * 私有网络信息
710
- */
711
- export interface VpcInfo {
712
- /**
713
- * Vpc Id
714
- */
715
- VpcId: string;
716
- /**
717
- * 子网ID
718
- */
719
- SubnetId: string;
720
- /**
721
- * 内网访问地址
722
- 注意:此字段可能返回 null,表示取不到有效值。
723
- */
724
- IntranetAddress?: string;
725
- }
726
- /**
727
- * 引擎的初始管理帐号
728
- */
729
- export interface EngineAdmin {
730
- /**
731
- * 控制台初始用户名
732
- */
733
- Name?: string;
734
- /**
735
- * 控制台初始密码
736
- */
737
- Password?: string;
738
- /**
739
- * 引擎接口的管理员 Token
740
- */
741
- Token?: string;
742
- }
743
- /**
744
- * 查询Limiter的接入地址
745
- */
746
- export interface PolarisLimiterAddress {
747
- /**
748
- * VPC接入IP列表
749
- 注意:此字段可能返回 null,表示取不到有效值。
750
- */
751
- IntranetAddress: string;
752
- }
753
2149
  /**
754
2150
  * CreateEngine请求参数结构体
755
2151
  */
@@ -876,34 +2272,40 @@ export interface CreateEngineRequest {
876
2272
  EngineRegionInfos?: Array<EngineRegionInfo>;
877
2273
  }
878
2274
  /**
879
- * 实例地域信息描述
2275
+ * ModifyCloudNativeAPIGatewayCanaryRule请求参数结构体
880
2276
  */
881
- export interface DescribeInstanceRegionInfo {
2277
+ export interface ModifyCloudNativeAPIGatewayCanaryRuleRequest {
882
2278
  /**
883
- * 引擎部署地域信息
884
- 注意:此字段可能返回 null,表示取不到有效值。
2279
+ * 网关 ID
885
2280
  */
886
- EngineRegion: string;
2281
+ GatewayId: string;
887
2282
  /**
888
- * 引擎在该地域的副本数
889
- 注意:此字段可能返回 null,表示取不到有效值。
2283
+ * 服务 ID
890
2284
  */
891
- Replica: number;
2285
+ ServiceId: string;
892
2286
  /**
893
- * 引擎在该地域的规格id
894
- 注意:此字段可能返回 null,表示取不到有效值。
2287
+ * 优先级,同一个服务的灰度规则优先级是唯一的
895
2288
  */
896
- SpecId: string;
2289
+ Priority: number;
897
2290
  /**
898
- * 内网的网络信息
2291
+ * 灰度规则配置
2292
+ */
2293
+ CanaryRule: CloudNativeAPIGatewayCanaryRule;
2294
+ }
2295
+ /**
2296
+ * kong服务路由列表
2297
+ */
2298
+ export interface KongServiceRouteList {
2299
+ /**
2300
+ * 无
899
2301
  注意:此字段可能返回 null,表示取不到有效值。
900
2302
  */
901
- IntranetVpcInfos: Array<VpcInfo>;
2303
+ RouteList?: Array<KongRoutePreview>;
902
2304
  /**
903
- * 是否开公网
2305
+ * 总数
904
2306
  注意:此字段可能返回 null,表示取不到有效值。
905
2307
  */
906
- EnableClientInternet: boolean;
2308
+ TotalCount?: number;
907
2309
  }
908
2310
  /**
909
2311
  * DescribeSREInstanceAccessAddress请求参数结构体
@@ -931,170 +2333,118 @@ export interface DescribeSREInstanceAccessAddressRequest {
931
2333
  EngineRegion?: string;
932
2334
  }
933
2335
  /**
934
- * DescribeNacosServerInterfaces返回参数结构体
2336
+ * ModifyCloudNativeAPIGatewayRouteRateLimit返回参数结构体
935
2337
  */
936
- export interface DescribeNacosServerInterfacesResponse {
937
- /**
938
- * 接口总个数
939
- */
940
- TotalCount: number;
941
- /**
942
- * 接口列表
943
- */
944
- Content: Array<NacosServerInterface>;
2338
+ export interface ModifyCloudNativeAPIGatewayRouteRateLimitResponse {
945
2339
  /**
946
2340
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
947
2341
  */
948
2342
  RequestId?: string;
949
2343
  }
950
2344
  /**
951
- * 查询过滤通用对象
2345
+ * 引擎的初始管理帐号
952
2346
  */
953
- export interface Filter {
2347
+ export interface EngineAdmin {
954
2348
  /**
955
- * 过滤参数名
2349
+ * 控制台初始用户名
956
2350
  */
957
- Name: string;
2351
+ Name?: string;
958
2352
  /**
959
- * 过滤参数值
2353
+ * 控制台初始密码
960
2354
  */
961
- Values: Array<string>;
962
- }
963
- /**
964
- * nacos服务端接口列表,用于云监控
965
- */
966
- export interface NacosServerInterface {
2355
+ Password?: string;
967
2356
  /**
968
- * 接口名
969
- 注意:此字段可能返回 null,表示取不到有效值。
2357
+ * 引擎接口的管理员 Token
970
2358
  */
971
- Interface: string;
2359
+ Token?: string;
972
2360
  }
973
2361
  /**
974
- * DescribeZookeeperServerInterfaces请求参数结构体
2362
+ * DescribeCloudNativeAPIGatewayCanaryRules请求参数结构体
975
2363
  */
976
- export interface DescribeZookeeperServerInterfacesRequest {
2364
+ export interface DescribeCloudNativeAPIGatewayCanaryRulesRequest {
977
2365
  /**
978
- * 实例id
2366
+ * 网关ID
979
2367
  */
980
- InstanceId?: string;
2368
+ GatewayId: string;
981
2369
  /**
982
- * 返回的列表个数
2370
+ * 服务 ID
2371
+ */
2372
+ ServiceId: string;
2373
+ /**
2374
+ * 列表数量
983
2375
  */
984
2376
  Limit?: number;
985
2377
  /**
986
- * 返回的列表起始偏移量
2378
+ * 列表offset
987
2379
  */
988
2380
  Offset?: number;
989
2381
  }
990
2382
  /**
991
- * 环境具体信息
2383
+ * DeleteCloudNativeAPIGatewayCanaryRule返回参数结构体
992
2384
  */
993
- export interface EnvInfo {
994
- /**
995
- * 环境名称
996
- */
997
- EnvName: string;
998
- /**
999
- * 环境对应的网络信息
1000
- */
1001
- VpcInfos: Array<VpcInfo>;
1002
- /**
1003
- * 云硬盘容量
1004
- */
1005
- StorageCapacity: number;
1006
- /**
1007
- * 运行状态
1008
- */
1009
- Status?: string;
1010
- /**
1011
- * Admin service 访问地址
1012
- */
1013
- AdminServiceIp?: string;
1014
- /**
1015
- * Config service访问地址
1016
- */
1017
- ConfigServiceIp?: string;
1018
- /**
1019
- * 是否开启config-server公网
1020
- */
1021
- EnableConfigInternet?: boolean;
1022
- /**
1023
- * config-server公网访问地址
1024
- */
1025
- ConfigInternetServiceIp?: string;
1026
- /**
1027
- * 规格ID
1028
- */
1029
- SpecId?: string;
1030
- /**
1031
- * 环境的节点数
1032
- */
1033
- EnvReplica?: number;
1034
- /**
1035
- * 环境运行的节点数
1036
- */
1037
- RunningCount?: number;
2385
+ export interface DeleteCloudNativeAPIGatewayCanaryRuleResponse {
1038
2386
  /**
1039
- * 环境别名
2387
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1040
2388
  */
1041
- AliasEnvName?: string;
2389
+ RequestId?: string;
2390
+ }
2391
+ /**
2392
+ * 云原生网关服务详细信息
2393
+ */
2394
+ export interface KongServiceDetail {
1042
2395
  /**
1043
- * 环境描述
2396
+ * 服务ID
2397
+ 注意:此字段可能返回 null,表示取不到有效值。
1044
2398
  */
1045
- EnvDesc?: string;
2399
+ ID: string;
1046
2400
  /**
1047
- * 客户端带宽
2401
+ * 服务名字
2402
+ 注意:此字段可能返回 null,表示取不到有效值。
1048
2403
  */
1049
- ClientBandWidth?: number;
2404
+ Name?: string;
1050
2405
  /**
1051
- * 客户端内网开关
2406
+ * 后端协议
1052
2407
  注意:此字段可能返回 null,表示取不到有效值。
1053
2408
  */
1054
- EnableConfigIntranet?: boolean;
1055
- }
1056
- /**
1057
- * 多环境网络信息
1058
- */
1059
- export interface EnvAddressInfo {
2409
+ Protocol?: string;
1060
2410
  /**
1061
- * 环境名
2411
+ * 后端路径
2412
+ 注意:此字段可能返回 null,表示取不到有效值。
1062
2413
  */
1063
- EnvName: string;
2414
+ Path?: string;
1064
2415
  /**
1065
- * 是否开启config公网
2416
+ * 后端延时,单位ms
2417
+ 注意:此字段可能返回 null,表示取不到有效值。
1066
2418
  */
1067
- EnableConfigInternet: boolean;
2419
+ Timeout?: number;
1068
2420
  /**
1069
- * config公网ip
2421
+ * 重试次数
2422
+ 注意:此字段可能返回 null,表示取不到有效值。
1070
2423
  */
1071
- ConfigInternetServiceIp: string;
2424
+ Retries?: number;
1072
2425
  /**
1073
- * config内网访问地址
2426
+ * 标签
1074
2427
  注意:此字段可能返回 null,表示取不到有效值。
1075
2428
  */
1076
- ConfigIntranetAddress: string;
2429
+ Tags?: Array<string>;
1077
2430
  /**
1078
- * 是否开启config内网clb
2431
+ * 后端配置
1079
2432
  注意:此字段可能返回 null,表示取不到有效值。
1080
2433
  */
1081
- EnableConfigIntranet?: boolean;
2434
+ UpstreamInfo?: KongUpstreamInfo;
1082
2435
  /**
1083
- * 客户端公网带宽
2436
+ * 后端类型
1084
2437
  注意:此字段可能返回 null,表示取不到有效值。
1085
2438
  */
1086
- InternetBandWidth?: number;
1087
- }
1088
- /**
1089
- * 引擎实例的标签信息
1090
- */
1091
- export interface InstanceTagInfo {
2439
+ UpstreamType?: string;
1092
2440
  /**
1093
- * 标签键
2441
+ * 是否可编辑
2442
+ 注意:此字段可能返回 null,表示取不到有效值。
1094
2443
  */
1095
- TagKey?: string;
2444
+ Editable?: boolean;
1096
2445
  /**
1097
- * 标签值
2446
+ * 创建时间
2447
+ 注意:此字段可能返回 null,表示取不到有效值。
1098
2448
  */
1099
- TagValue?: string;
2449
+ CreatedTime?: string;
1100
2450
  }