tencentcloud-sdk-nodejs-tse 4.0.678 → 4.0.680

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.
@@ -176,16 +176,19 @@ export interface CloudNativeAPIGatewayStrategyCronScalerConfig {
176
176
  /**
177
177
  * 创建时间
178
178
  注意:此字段可能返回 null,表示取不到有效值。
179
+ * @deprecated
179
180
  */
180
181
  CreateTime?: string;
181
182
  /**
182
183
  * 修改时间
183
184
  注意:此字段可能返回 null,表示取不到有效值。
185
+ * @deprecated
184
186
  */
185
187
  ModifyTime?: string;
186
188
  /**
187
189
  * 弹性策略ID
188
190
  注意:此字段可能返回 null,表示取不到有效值。
191
+ * @deprecated
189
192
  */
190
193
  StrategyId?: string;
191
194
  }
@@ -304,53 +307,13 @@ export interface DeleteNativeGatewayServerGroupResponse {
304
307
  RequestId?: string;
305
308
  }
306
309
  /**
307
- * 网关实例策略
310
+ * CreateCloudNativeAPIGatewayRouteRateLimit返回参数结构体
308
311
  */
309
- export interface CloudNativeAPIGatewayStrategy {
310
- /**
311
- * 策略ID
312
- */
313
- StrategyId: string;
314
- /**
315
- * 策略名称
316
- 注意:此字段可能返回 null,表示取不到有效值。
317
- */
318
- StrategyName: string;
319
- /**
320
- * 创建时间
321
- 注意:此字段可能返回 null,表示取不到有效值。
322
- */
323
- CreateTime: string;
324
- /**
325
- * 更新时间
326
- 注意:此字段可能返回 null,表示取不到有效值。
327
- */
328
- ModifyTime: string;
329
- /**
330
- * 策略描述
331
- 注意:此字段可能返回 null,表示取不到有效值。
332
- */
333
- Description: string;
334
- /**
335
- * 弹性伸缩配置
336
- 注意:此字段可能返回 null,表示取不到有效值。
337
- */
338
- Config: CloudNativeAPIGatewayStrategyAutoScalerConfig;
339
- /**
340
- * 网关实例ID
341
- 注意:此字段可能返回 null,表示取不到有效值。
342
- */
343
- GatewayId: string;
344
- /**
345
- * 定时伸缩配置
346
- 注意:此字段可能返回 null,表示取不到有效值。
347
- */
348
- CronConfig?: CloudNativeAPIGatewayStrategyCronScalerConfig;
312
+ export interface CreateCloudNativeAPIGatewayRouteRateLimitResponse {
349
313
  /**
350
- * 最大节点数
351
- 注意:此字段可能返回 null,表示取不到有效值。
314
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
352
315
  */
353
- MaxReplicas?: number;
316
+ RequestId?: string;
354
317
  }
355
318
  /**
356
319
  * DescribeSREInstanceAccessAddress返回参数结构体
@@ -837,80 +800,29 @@ export interface CreateCloudNativeAPIGatewayCanaryRuleResponse {
837
800
  RequestId?: string;
838
801
  }
839
802
  /**
840
- * CreateCloudNativeAPIGatewayRoute请求参数结构体
803
+ * DescribeSREInstances请求参数结构体
841
804
  */
842
- export interface CreateCloudNativeAPIGatewayRouteRequest {
843
- /**
844
- * 网关ID
845
- */
846
- GatewayId: string;
847
- /**
848
- * 所属服务的ID
849
- */
850
- ServiceID: string;
851
- /**
852
- * 路由的名字,实例级别唯一,可以不提供
853
- */
854
- RouteName?: string;
855
- /**
856
- * 路由的方法,其中方法可选值:
857
- - GET
858
- - POST
859
- - DELETE
860
- - PUT
861
- - OPTIONS
862
- - PATCH
863
- - HEAD
864
- - ANY
865
- - TRACE
866
- - COPY
867
- - MOVE
868
- - PROPFIND
869
- - PROPPATCH
870
- - MKCOL
871
- - LOCK
872
- - UNLOCK
873
- */
874
- Methods?: Array<string>;
875
- /**
876
- * 路由的域名
877
- */
878
- Hosts?: Array<string>;
879
- /**
880
- * 路由的路径
881
- */
882
- Paths?: Array<string>;
883
- /**
884
- * 路由的协议,可选
885
- - https
886
- - http
887
- */
888
- Protocols?: Array<string>;
889
- /**
890
- * 转发到后端时是否保留Host
891
- */
892
- PreserveHost?: boolean;
805
+ export interface DescribeSREInstancesRequest {
893
806
  /**
894
- * https重定向状态码
807
+ * 请求过滤参数
895
808
  */
896
- HttpsRedirectStatusCode?: number;
809
+ Filters?: Array<Filter>;
897
810
  /**
898
- * 转发到后端时是否StripPath
811
+ * 翻页单页查询限制数量[0,1000], 默认值0
899
812
  */
900
- StripPath?: boolean;
813
+ Limit?: number;
901
814
  /**
902
- * 是否开启强制HTTPS
903
- * @deprecated
815
+ * 翻页单页偏移量,默认值0
904
816
  */
905
- ForceHttps?: boolean;
817
+ Offset?: number;
906
818
  /**
907
- * 四层匹配的目的端口
819
+ * 查询类型
908
820
  */
909
- DestinationPorts?: Array<number | bigint>;
821
+ QueryType?: string;
910
822
  /**
911
- * 路由的Headers
823
+ * 调用方来源
912
824
  */
913
- Headers?: Array<KVMapping>;
825
+ QuerySource?: string;
914
826
  }
915
827
  /**
916
828
  * 键值对
@@ -1536,6 +1448,26 @@ export interface DescribeCloudNativeAPIGatewaysRequest {
1536
1448
  */
1537
1449
  Filters?: Array<Filter>;
1538
1450
  }
1451
+ /**
1452
+ * 扩容策略
1453
+ */
1454
+ export interface AutoScalerPolicy {
1455
+ /**
1456
+ * 类型,Pods或Percent
1457
+ 注意:此字段可能返回 null,表示取不到有效值。
1458
+ */
1459
+ Type?: string;
1460
+ /**
1461
+ * 数量
1462
+ 注意:此字段可能返回 null,表示取不到有效值。
1463
+ */
1464
+ Value?: number;
1465
+ /**
1466
+ * 扩容周期
1467
+ 注意:此字段可能返回 null,表示取不到有效值。
1468
+ */
1469
+ PeriodSeconds?: number;
1470
+ }
1539
1471
  /**
1540
1472
  * DescribeNacosServerInterfaces返回参数结构体
1541
1473
  */
@@ -1754,13 +1686,54 @@ export interface DescribeOneCloudNativeAPIGatewayServiceRequest {
1754
1686
  Name: string;
1755
1687
  }
1756
1688
  /**
1757
- * CreateCloudNativeAPIGatewayRouteRateLimit返回参数结构体
1689
+ * 网关实例策略
1758
1690
  */
1759
- export interface CreateCloudNativeAPIGatewayRouteRateLimitResponse {
1691
+ export interface CloudNativeAPIGatewayStrategy {
1760
1692
  /**
1761
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1693
+ * 策略ID
1762
1694
  */
1763
- RequestId?: string;
1695
+ StrategyId?: string;
1696
+ /**
1697
+ * 策略名称
1698
+ 注意:此字段可能返回 null,表示取不到有效值。
1699
+ */
1700
+ StrategyName?: string;
1701
+ /**
1702
+ * 创建时间
1703
+ 注意:此字段可能返回 null,表示取不到有效值。
1704
+ */
1705
+ CreateTime?: string;
1706
+ /**
1707
+ * 更新时间
1708
+ 注意:此字段可能返回 null,表示取不到有效值。
1709
+ */
1710
+ ModifyTime?: string;
1711
+ /**
1712
+ * 策略描述
1713
+ 注意:此字段可能返回 null,表示取不到有效值。
1714
+ */
1715
+ Description?: string;
1716
+ /**
1717
+ * 弹性伸缩配置
1718
+ 注意:此字段可能返回 null,表示取不到有效值。
1719
+ */
1720
+ Config?: CloudNativeAPIGatewayStrategyAutoScalerConfig;
1721
+ /**
1722
+ * 网关实例ID
1723
+ 注意:此字段可能返回 null,表示取不到有效值。
1724
+ */
1725
+ GatewayId?: string;
1726
+ /**
1727
+ * 定时伸缩配置
1728
+ 注意:此字段可能返回 null,表示取不到有效值。
1729
+ */
1730
+ CronConfig?: CloudNativeAPIGatewayStrategyCronScalerConfig;
1731
+ /**
1732
+ * 最大节点数
1733
+ 注意:此字段可能返回 null,表示取不到有效值。
1734
+ * @deprecated
1735
+ */
1736
+ MaxReplicas?: number;
1764
1737
  }
1765
1738
  /**
1766
1739
  * DescribeCloudNativeAPIGateways返回参数结构体
@@ -1830,6 +1803,21 @@ export interface DeleteCloudNativeAPIGatewayRouteRateLimitRequest {
1830
1803
  */
1831
1804
  Id: string;
1832
1805
  }
1806
+ /**
1807
+ * 指标伸缩行为
1808
+ */
1809
+ export interface AutoScalerBehavior {
1810
+ /**
1811
+ * 扩容行为配置
1812
+ 注意:此字段可能返回 null,表示取不到有效值。
1813
+ */
1814
+ ScaleUp?: AutoScalerRules;
1815
+ /**
1816
+ * 缩容行为配置
1817
+ 注意:此字段可能返回 null,表示取不到有效值。
1818
+ */
1819
+ ScaleDown?: AutoScalerRules;
1820
+ }
1833
1821
  /**
1834
1822
  * 列表过滤条件,模糊匹配
1835
1823
  */
@@ -2712,23 +2700,32 @@ export interface CloudNativeAPIGatewayStrategyAutoScalerConfig {
2712
2700
  /**
2713
2701
  * 创建时间
2714
2702
  注意:此字段可能返回 null,表示取不到有效值。
2703
+ * @deprecated
2715
2704
  */
2716
2705
  CreateTime?: string;
2717
2706
  /**
2718
2707
  * 修改时间
2719
2708
  注意:此字段可能返回 null,表示取不到有效值。
2709
+ * @deprecated
2720
2710
  */
2721
2711
  ModifyTime?: string;
2722
2712
  /**
2723
2713
  * 弹性策略ID
2724
2714
  注意:此字段可能返回 null,表示取不到有效值。
2715
+ * @deprecated
2725
2716
  */
2726
2717
  StrategyId?: string;
2727
2718
  /**
2728
2719
  * 指标配置ID
2729
2720
  注意:此字段可能返回 null,表示取不到有效值。
2721
+ * @deprecated
2730
2722
  */
2731
2723
  AutoScalerId?: string;
2724
+ /**
2725
+ * 指标伸缩行为配置
2726
+ 注意:此字段可能返回 null,表示取不到有效值。
2727
+ */
2728
+ Behavior?: AutoScalerBehavior;
2732
2729
  }
2733
2730
  /**
2734
2731
  * DescribeNacosServerInterfaces请求参数结构体
@@ -2856,6 +2853,26 @@ export interface BoundK8SInfo {
2856
2853
  */
2857
2854
  SyncMode?: string;
2858
2855
  }
2856
+ /**
2857
+ * 指标伸缩的规则
2858
+ */
2859
+ export interface AutoScalerRules {
2860
+ /**
2861
+ * 稳定窗口时间
2862
+ 注意:此字段可能返回 null,表示取不到有效值。
2863
+ */
2864
+ StabilizationWindowSeconds?: number;
2865
+ /**
2866
+ * 选择策略依据
2867
+ 注意:此字段可能返回 null,表示取不到有效值。
2868
+ */
2869
+ SelectPolicy?: string;
2870
+ /**
2871
+ * 扩容策略
2872
+ 注意:此字段可能返回 null,表示取不到有效值。
2873
+ */
2874
+ Policies?: Array<AutoScalerPolicy>;
2875
+ }
2859
2876
  /**
2860
2877
  * 服务的后端配置
2861
2878
  */
@@ -2938,29 +2955,80 @@ export interface KongUpstreamInfo {
2938
2955
  RealSourceType?: string;
2939
2956
  }
2940
2957
  /**
2941
- * DescribeSREInstances请求参数结构体
2958
+ * CreateCloudNativeAPIGatewayRoute请求参数结构体
2942
2959
  */
2943
- export interface DescribeSREInstancesRequest {
2960
+ export interface CreateCloudNativeAPIGatewayRouteRequest {
2944
2961
  /**
2945
- * 请求过滤参数
2962
+ * 网关ID
2946
2963
  */
2947
- Filters?: Array<Filter>;
2964
+ GatewayId: string;
2948
2965
  /**
2949
- * 翻页单页查询限制数量[0,1000], 默认值0
2966
+ * 所属服务的ID
2950
2967
  */
2951
- Limit?: number;
2968
+ ServiceID: string;
2952
2969
  /**
2953
- * 翻页单页偏移量,默认值0
2970
+ * 路由的名字,实例级别唯一,可以不提供
2954
2971
  */
2955
- Offset?: number;
2972
+ RouteName?: string;
2956
2973
  /**
2957
- * 查询类型
2974
+ * 路由的方法,其中方法可选值:
2975
+ - GET
2976
+ - POST
2977
+ - DELETE
2978
+ - PUT
2979
+ - OPTIONS
2980
+ - PATCH
2981
+ - HEAD
2982
+ - ANY
2983
+ - TRACE
2984
+ - COPY
2985
+ - MOVE
2986
+ - PROPFIND
2987
+ - PROPPATCH
2988
+ - MKCOL
2989
+ - LOCK
2990
+ - UNLOCK
2958
2991
  */
2959
- QueryType?: string;
2992
+ Methods?: Array<string>;
2960
2993
  /**
2961
- * 调用方来源
2994
+ * 路由的域名
2962
2995
  */
2963
- QuerySource?: string;
2996
+ Hosts?: Array<string>;
2997
+ /**
2998
+ * 路由的路径
2999
+ */
3000
+ Paths?: Array<string>;
3001
+ /**
3002
+ * 路由的协议,可选
3003
+ - https
3004
+ - http
3005
+ */
3006
+ Protocols?: Array<string>;
3007
+ /**
3008
+ * 转发到后端时是否保留Host
3009
+ */
3010
+ PreserveHost?: boolean;
3011
+ /**
3012
+ * https重定向状态码
3013
+ */
3014
+ HttpsRedirectStatusCode?: number;
3015
+ /**
3016
+ * 转发到后端时是否StripPath
3017
+ */
3018
+ StripPath?: boolean;
3019
+ /**
3020
+ * 是否开启强制HTTPS
3021
+ * @deprecated
3022
+ */
3023
+ ForceHttps?: boolean;
3024
+ /**
3025
+ * 四层匹配的目的端口
3026
+ */
3027
+ DestinationPorts?: Array<number | bigint>;
3028
+ /**
3029
+ * 路由的Headers
3030
+ */
3031
+ Headers?: Array<KVMapping>;
2964
3032
  }
2965
3033
  /**
2966
3034
  * CreateNativeGatewayServerGroup返回参数结构体