tencentcloud-sdk-nodejs-tse 4.0.981 → 4.0.989

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.
@@ -153,6 +153,12 @@ class Client extends TencentCloudCommon.AbstractClient {
153
153
  async DescribeAutoScalerResourceStrategies(req, cb) {
154
154
  return this.request("DescribeAutoScalerResourceStrategies", req, cb);
155
155
  }
156
+ /**
157
+ * 修改网关服务来源
158
+ */
159
+ async ModifyNativeGatewayServiceSource(req, cb) {
160
+ return this.request("ModifyNativeGatewayServiceSource", req, cb);
161
+ }
156
162
  /**
157
163
  * 修改云原生API网关实例网络基本信息,例如带宽以及描述,只支持修改客户端公网/内网的信息。
158
164
  */
@@ -225,6 +231,12 @@ class Client extends TencentCloudCommon.AbstractClient {
225
231
  async PublishConfigFiles(req, cb) {
226
232
  return this.request("PublishConfigFiles", req, cb);
227
233
  }
234
+ /**
235
+ * 删除治理中心服务
236
+ */
237
+ async DeleteGovernanceServices(req, cb) {
238
+ return this.request("DeleteGovernanceServices", req, cb);
239
+ }
228
240
  /**
229
241
  * 根据命名空间、组、名字查找配置文件
230
242
  */
@@ -280,10 +292,10 @@ class Client extends TencentCloudCommon.AbstractClient {
280
292
  return this.request("DescribeGovernanceNamespaces", req, cb);
281
293
  }
282
294
  /**
283
- * 更新网关上游实例列表,仅支持IPList服务类型
295
+ * 删除治理中心服务实例
284
296
  */
285
- async UpdateUpstreamTargets(req, cb) {
286
- return this.request("UpdateUpstreamTargets", req, cb);
297
+ async DeleteGovernanceInstancesByHost(req, cb) {
298
+ return this.request("DeleteGovernanceInstancesByHost", req, cb);
287
299
  }
288
300
  /**
289
301
  * 创建云原生网关路由
@@ -363,6 +375,12 @@ class Client extends TencentCloudCommon.AbstractClient {
363
375
  async DescribeUpstreamHealthCheckConfig(req, cb) {
364
376
  return this.request("DescribeUpstreamHealthCheckConfig", req, cb);
365
377
  }
378
+ /**
379
+ * 查询网关服务来源实例列表
380
+ */
381
+ async DescribeNativeGatewayServiceSources(req, cb) {
382
+ return this.request("DescribeNativeGatewayServiceSources", req, cb);
383
+ }
366
384
  /**
367
385
  * 修改云原生API网关实例分组基础信息
368
386
  */
@@ -382,10 +400,10 @@ class Client extends TencentCloudCommon.AbstractClient {
382
400
  return this.request("ModifyCloudNativeAPIGatewayServiceRateLimit", req, cb);
383
401
  }
384
402
  /**
385
- * 删除治理中心服务
403
+ * 创建网关服务来源
386
404
  */
387
- async DeleteGovernanceServices(req, cb) {
388
- return this.request("DeleteGovernanceServices", req, cb);
405
+ async CreateNativeGatewayServiceSource(req, cb) {
406
+ return this.request("CreateNativeGatewayServiceSource", req, cb);
389
407
  }
390
408
  /**
391
409
  * 重启微服务引擎实例
@@ -471,6 +489,12 @@ class Client extends TencentCloudCommon.AbstractClient {
471
489
  async DescribeGovernanceServiceContractVersions(req, cb) {
472
490
  return this.request("DescribeGovernanceServiceContractVersions", req, cb);
473
491
  }
492
+ /**
493
+ * 更新网关上游实例列表,仅支持IPList服务类型
494
+ */
495
+ async UpdateUpstreamTargets(req, cb) {
496
+ return this.request("UpdateUpstreamTargets", req, cb);
497
+ }
474
498
  /**
475
499
  * 开启 WAF 防护
476
500
  */
@@ -688,10 +712,10 @@ class Client extends TencentCloudCommon.AbstractClient {
688
712
  return this.request("CreateCloudNativeAPIGatewayServiceRateLimit", req, cb);
689
713
  }
690
714
  /**
691
- * 删除治理中心服务实例
715
+ * 删除网关服务来源实例
692
716
  */
693
- async DeleteGovernanceInstancesByHost(req, cb) {
694
- return this.request("DeleteGovernanceInstancesByHost", req, cb);
717
+ async DeleteNativeGatewayServiceSource(req, cb) {
718
+ return this.request("DeleteNativeGatewayServiceSource", req, cb);
695
719
  }
696
720
  /**
697
721
  * 获取配置文件发布历史列表
@@ -317,6 +317,52 @@ export interface DescribePublicNetworkResult {
317
317
  */
318
318
  PublicNetwork?: CloudNativeAPIGatewayConfig;
319
319
  }
320
+ /**
321
+ * 网关数据来源单个描述
322
+ */
323
+ export interface NativeGatewayServiceSourceItem {
324
+ /**
325
+ * 网关实例ID
326
+ */
327
+ GatewayID: string;
328
+ /**
329
+ * 服务来源ID
330
+ */
331
+ SourceID: string;
332
+ /**
333
+ * 服务来源名称
334
+ */
335
+ SourceName: string;
336
+ /**
337
+ * 服务来源类型
338
+ */
339
+ SourceType: string;
340
+ /**
341
+ * 服务来源额外信息
342
+ */
343
+ SourceInfo: SourceInfo;
344
+ /**
345
+ * 创建时间
346
+ */
347
+ CreateTime: string;
348
+ /**
349
+ * 修改时间
350
+ */
351
+ ModifyTime: string;
352
+ }
353
+ /**
354
+ * CreateNativeGatewayServiceSource返回参数结构体
355
+ */
356
+ export interface CreateNativeGatewayServiceSourceResponse {
357
+ /**
358
+ * 创建是否成功
359
+ */
360
+ Result?: boolean;
361
+ /**
362
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
363
+ */
364
+ RequestId?: string;
365
+ }
320
366
  /**
321
367
  * CreateCloudNativeAPIGatewayService请求参数结构体
322
368
  */
@@ -910,46 +956,24 @@ export interface KongTarget {
910
956
  Tags?: Array<string>;
911
957
  }
912
958
  /**
913
- * Zookeeper副本信息
959
+ * 实例鉴权信息
914
960
  */
915
- export interface ZookeeperReplica {
916
- /**
917
- * 名称
918
- */
919
- Name: string;
920
- /**
921
- * 角色
922
- */
923
- Role: string;
924
- /**
925
- * 状态
926
- */
927
- Status: string;
928
- /**
929
- * 子网ID
930
- 注意:此字段可能返回 null,表示取不到有效值。
931
- */
932
- SubnetId: string;
933
- /**
934
- * 可用区ID
935
- 注意:此字段可能返回 null,表示取不到有效值。
936
- */
937
- Zone: string;
961
+ export interface SourceInstanceAuth {
938
962
  /**
939
- * 可用区ID
963
+ * 用户名
940
964
  注意:此字段可能返回 null,表示取不到有效值。
941
965
  */
942
- ZoneId: string;
966
+ Username?: string;
943
967
  /**
944
- * 别名
968
+ * 账户密码
945
969
  注意:此字段可能返回 null,表示取不到有效值。
946
970
  */
947
- AliasName: string;
971
+ Password?: string;
948
972
  /**
949
- * VPC ID
973
+ * 访问凭据 token
950
974
  注意:此字段可能返回 null,表示取不到有效值。
951
975
  */
952
- VpcId?: string;
976
+ AccessToken?: string;
953
977
  }
954
978
  /**
955
979
  * 扩容策略
@@ -1426,21 +1450,43 @@ export interface ModifyNetworkAccessStrategyResponse {
1426
1450
  RequestId?: string;
1427
1451
  }
1428
1452
  /**
1429
- * RestartSREInstance请求参数结构体
1453
+ * ModifyAutoScalerResourceStrategy请求参数结构体
1430
1454
  */
1431
- export interface RestartSREInstanceRequest {
1455
+ export interface ModifyAutoScalerResourceStrategyRequest {
1432
1456
  /**
1433
- * 微服务引擎实例Id
1457
+ * 网关实例ID
1434
1458
  */
1435
- InstanceId: string;
1459
+ GatewayId: string;
1436
1460
  /**
1437
- * 重启的环境类型(PROD,DEV,UAT等)
1461
+ * 策略ID
1438
1462
  */
1439
- EnvTypes?: Array<string>;
1463
+ StrategyId: string;
1440
1464
  /**
1441
- * 指定需要重启的实例节点(当前仅支持zk单节点重启)
1465
+ * 策略名称
1442
1466
  */
1443
- NodeName?: string;
1467
+ StrategyName?: string;
1468
+ /**
1469
+ * 策略描述
1470
+ */
1471
+ Description?: string;
1472
+ /**
1473
+ * 指标伸缩配置
1474
+ */
1475
+ Config?: CloudNativeAPIGatewayStrategyAutoScalerConfig;
1476
+ /**
1477
+ * 定时伸缩配置
1478
+ * @deprecated
1479
+ */
1480
+ CronScalerConfig?: CloudNativeAPIGatewayStrategyCronScalerConfig;
1481
+ /**
1482
+ * 最大节点数
1483
+ * @deprecated
1484
+ */
1485
+ MaxReplicas?: number;
1486
+ /**
1487
+ * 指标伸缩配置
1488
+ */
1489
+ CronConfig?: CloudNativeAPIGatewayStrategyCronScalerConfig;
1444
1490
  }
1445
1491
  /**
1446
1492
  * UnbindAutoScalerResourceStrategyFromGroups请求参数结构体
@@ -2385,6 +2431,19 @@ export interface ApolloEnvParam {
2385
2431
  */
2386
2432
  EnvDesc?: string;
2387
2433
  }
2434
+ /**
2435
+ * DeleteNativeGatewayServiceSource返回参数结构体
2436
+ */
2437
+ export interface DeleteNativeGatewayServiceSourceResponse {
2438
+ /**
2439
+ * 结果
2440
+ */
2441
+ Result?: boolean;
2442
+ /**
2443
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2444
+ */
2445
+ RequestId?: string;
2446
+ }
2388
2447
  /**
2389
2448
  * DescribeCloudNativeAPIGatewayServiceRateLimit请求参数结构体
2390
2449
  */
@@ -2608,6 +2667,42 @@ export interface DescribeCloudNativeAPIGatewayServicesResponse {
2608
2667
  */
2609
2668
  RequestId?: string;
2610
2669
  }
2670
+ /**
2671
+ * CreateNativeGatewayServiceSource请求参数结构体
2672
+ */
2673
+ export interface CreateNativeGatewayServiceSourceRequest {
2674
+ /**
2675
+ * 网关实例ID
2676
+ */
2677
+ GatewayID: string;
2678
+ /**
2679
+ * 服务来源类型,参考值:
2680
+ - TSE-Nacos
2681
+ - TSE-Consul
2682
+ - TSE-PolarisMesh
2683
+ - Customer-Nacos
2684
+ - Customer-Consul
2685
+ - Customer-PolarisMesh
2686
+ - TSF
2687
+ - TKE
2688
+ - EKS
2689
+ - PrivateDNS
2690
+ - Customer-DNS
2691
+ */
2692
+ SourceType: string;
2693
+ /**
2694
+ * 服务来源实例ID,当SourceType的值不为PrivateDNS或Customer-DNS时,必填
2695
+ */
2696
+ SourceID?: string;
2697
+ /**
2698
+ * 服务来源实例名称,当SourceType的值不为PrivateDNS时,必填
2699
+ */
2700
+ SourceName?: string;
2701
+ /**
2702
+ * 服务来源实例额外信息
2703
+ */
2704
+ SourceInfo?: SourceInfo;
2705
+ }
2611
2706
  /**
2612
2707
  * 云原生网关限流插件Qps阈值
2613
2708
  */
@@ -2773,6 +2868,27 @@ export interface ConfigFile {
2773
2868
  */
2774
2869
  ReleaseBy?: string;
2775
2870
  }
2871
+ /**
2872
+ * ModifyNativeGatewayServiceSource请求参数结构体
2873
+ */
2874
+ export interface ModifyNativeGatewayServiceSourceRequest {
2875
+ /**
2876
+ * 网关实例ID
2877
+ */
2878
+ GatewayID: string;
2879
+ /**
2880
+ * 服务来源实例ID
2881
+ */
2882
+ SourceID: string;
2883
+ /**
2884
+ * 服务来源名称
2885
+ */
2886
+ SourceName: string;
2887
+ /**
2888
+ * 服务来源实例额外信息
2889
+ */
2890
+ SourceInfo?: SourceInfo;
2891
+ }
2776
2892
  /**
2777
2893
  * Kong网关主动健康检查配置
2778
2894
  */
@@ -2975,6 +3091,25 @@ export interface KongCertificate {
2975
3091
  */
2976
3092
  Cert?: KongCertificatesPreview;
2977
3093
  }
3094
+ /**
3095
+ * 服务来源
3096
+ */
3097
+ export interface SourceInfo {
3098
+ /**
3099
+ * 微服务引擎接入IP地址信息
3100
+ */
3101
+ Addresses?: Array<string>;
3102
+ /**
3103
+ * 微服务引擎VPC信息
3104
+ 注意:此字段可能返回 null,表示取不到有效值。
3105
+ */
3106
+ VpcInfo?: SourceInstanceVpcInfo;
3107
+ /**
3108
+ * 微服务引擎鉴权信息
3109
+ 注意:此字段可能返回 null,表示取不到有效值。
3110
+ */
3111
+ Auth?: SourceInstanceAuth;
3112
+ }
2978
3113
  /**
2979
3114
  * DeleteGovernanceInstances返回参数结构体
2980
3115
  */
@@ -4098,6 +4233,21 @@ export interface ModifyGovernanceNamespacesRequest {
4098
4233
  */
4099
4234
  GovernanceNamespaces: Array<GovernanceNamespaceInput>;
4100
4235
  }
4236
+ /**
4237
+ * 微服务引擎实例的VPC信息
4238
+ */
4239
+ export interface SourceInstanceVpcInfo {
4240
+ /**
4241
+ * 微服务引擎VPC信息
4242
+ 注意:此字段可能返回 null,表示取不到有效值。
4243
+ */
4244
+ VpcID?: string;
4245
+ /**
4246
+ * 微服务引擎子网信息
4247
+ 注意:此字段可能返回 null,表示取不到有效值。
4248
+ */
4249
+ SubnetID?: string;
4250
+ }
4101
4251
  /**
4102
4252
  * ModifyConfigFileGroup返回参数结构体
4103
4253
  */
@@ -5311,6 +5461,48 @@ export interface CreateConfigFileGroupRequest {
5311
5461
  */
5312
5462
  ConfigFileGroup: ConfigFileGroup;
5313
5463
  }
5464
+ /**
5465
+ * Zookeeper副本信息
5466
+ */
5467
+ export interface ZookeeperReplica {
5468
+ /**
5469
+ * 名称
5470
+ */
5471
+ Name: string;
5472
+ /**
5473
+ * 角色
5474
+ */
5475
+ Role: string;
5476
+ /**
5477
+ * 状态
5478
+ */
5479
+ Status: string;
5480
+ /**
5481
+ * 子网ID
5482
+ 注意:此字段可能返回 null,表示取不到有效值。
5483
+ */
5484
+ SubnetId: string;
5485
+ /**
5486
+ * 可用区ID
5487
+ 注意:此字段可能返回 null,表示取不到有效值。
5488
+ */
5489
+ Zone: string;
5490
+ /**
5491
+ * 可用区ID
5492
+ 注意:此字段可能返回 null,表示取不到有效值。
5493
+ */
5494
+ ZoneId: string;
5495
+ /**
5496
+ * 别名
5497
+ 注意:此字段可能返回 null,表示取不到有效值。
5498
+ */
5499
+ AliasName: string;
5500
+ /**
5501
+ * VPC ID
5502
+ 注意:此字段可能返回 null,表示取不到有效值。
5503
+ */
5504
+ VpcId?: string;
5505
+ }
5314
5506
  /**
5315
5507
  * DeleteAutoScalerResourceStrategy返回参数结构体
5316
5508
  */
@@ -6067,6 +6259,23 @@ export interface ConfigFileTag {
6067
6259
  */
6068
6260
  Value?: string;
6069
6261
  }
6262
+ /**
6263
+ * DescribeNativeGatewayServiceSources返回参数结构体
6264
+ */
6265
+ export interface DescribeNativeGatewayServiceSourcesResponse {
6266
+ /**
6267
+ * 总实例数
6268
+ */
6269
+ Total?: number;
6270
+ /**
6271
+ * 服务来源实例列表
6272
+ */
6273
+ List?: Array<NativeGatewayServiceSourceItem>;
6274
+ /**
6275
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6276
+ */
6277
+ RequestId?: string;
6278
+ }
6070
6279
  /**
6071
6280
  * 获取云原生API网关实例列表响应结果。
6072
6281
  */
@@ -6482,6 +6691,39 @@ export interface CreatePublicNetworkResult {
6482
6691
  */
6483
6692
  NetworkId?: string;
6484
6693
  }
6694
+ /**
6695
+ * DescribeNativeGatewayServiceSources请求参数结构体
6696
+ */
6697
+ export interface DescribeNativeGatewayServiceSourcesRequest {
6698
+ /**
6699
+ * 网关实例ID
6700
+ */
6701
+ GatewayID: string;
6702
+ /**
6703
+ * 单页条数,最大100
6704
+ */
6705
+ Limit: number;
6706
+ /**
6707
+ * 分页偏移量
6708
+ */
6709
+ Offset: number;
6710
+ /**
6711
+ * 服务来源实例名称,模糊搜索
6712
+ */
6713
+ SourceName?: string;
6714
+ /**
6715
+ * 微服务引擎类型:TSE-Nacos|TSE-Consul|TSE-PolarisMesh|Customer-Nacos|Customer-Consul|Customer-PolarisMesh
6716
+ */
6717
+ SourceTypes?: Array<string>;
6718
+ /**
6719
+ * 排序字段类型,当前仅支持SourceName
6720
+ */
6721
+ OrderField?: string;
6722
+ /**
6723
+ * 排序类型,AES/DESC
6724
+ */
6725
+ OrderType?: string;
6726
+ }
6485
6727
  /**
6486
6728
  * CLB多可用区信息
6487
6729
  */
@@ -7488,43 +7730,21 @@ export interface Filter {
7488
7730
  Values: Array<string>;
7489
7731
  }
7490
7732
  /**
7491
- * ModifyAutoScalerResourceStrategy请求参数结构体
7733
+ * RestartSREInstance请求参数结构体
7492
7734
  */
7493
- export interface ModifyAutoScalerResourceStrategyRequest {
7494
- /**
7495
- * 网关实例ID
7496
- */
7497
- GatewayId: string;
7498
- /**
7499
- * 策略ID
7500
- */
7501
- StrategyId: string;
7502
- /**
7503
- * 策略名称
7504
- */
7505
- StrategyName?: string;
7506
- /**
7507
- * 策略描述
7508
- */
7509
- Description?: string;
7510
- /**
7511
- * 指标伸缩配置
7512
- */
7513
- Config?: CloudNativeAPIGatewayStrategyAutoScalerConfig;
7735
+ export interface RestartSREInstanceRequest {
7514
7736
  /**
7515
- * 定时伸缩配置
7516
- * @deprecated
7737
+ * 微服务引擎实例Id
7517
7738
  */
7518
- CronScalerConfig?: CloudNativeAPIGatewayStrategyCronScalerConfig;
7739
+ InstanceId: string;
7519
7740
  /**
7520
- * 最大节点数
7521
- * @deprecated
7741
+ * 重启的环境类型(PROD,DEV,UAT等)
7522
7742
  */
7523
- MaxReplicas?: number;
7743
+ EnvTypes?: Array<string>;
7524
7744
  /**
7525
- * 指标伸缩配置
7745
+ * 指定需要重启的实例节点(当前仅支持zk单节点重启)
7526
7746
  */
7527
- CronConfig?: CloudNativeAPIGatewayStrategyCronScalerConfig;
7747
+ NodeName?: string;
7528
7748
  }
7529
7749
  /**
7530
7750
  * CreateOrUpdateConfigFileAndRelease返回参数结构体
@@ -7562,6 +7782,19 @@ export interface DescribeOneCloudNativeAPIGatewayServiceResponse {
7562
7782
  */
7563
7783
  RequestId?: string;
7564
7784
  }
7785
+ /**
7786
+ * DeleteNativeGatewayServiceSource请求参数结构体
7787
+ */
7788
+ export interface DeleteNativeGatewayServiceSourceRequest {
7789
+ /**
7790
+ * 网关实例 ID
7791
+ */
7792
+ GatewayID: string;
7793
+ /**
7794
+ * 服务来源实例 ID
7795
+ */
7796
+ SourceID: string;
7797
+ }
7565
7798
  /**
7566
7799
  * RestartSREInstance返回参数结构体
7567
7800
  */
@@ -7681,6 +7914,15 @@ export interface KongServices {
7681
7914
  */
7682
7915
  TotalCount?: number;
7683
7916
  }
7917
+ /**
7918
+ * ModifyNativeGatewayServiceSource返回参数结构体
7919
+ */
7920
+ export interface ModifyNativeGatewayServiceSourceResponse {
7921
+ /**
7922
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7923
+ */
7924
+ RequestId?: string;
7925
+ }
7684
7926
  /**
7685
7927
  * 创建网关分组信息
7686
7928
  */