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